RE: Chromecast + 1080p no stream - Nero_XIII - 2024-08-05
Thanks!
I did like you said. I even did a restart of the whole container. Still same error log
Code: ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable>
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/mnt/Nero-NAS-Media/Filme/Blade Runner 2049.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf60.16.100
Duration: 02:43:27.87, start: 0.000000, bitrate: 1302 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1728x720 [SAR 1:1 DAR 12:5], 1044 kb/s, 24 fps, 24 tbr, 90k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 251 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
[AVHWDeviceContext @ 0x64e32d88a0c0] No VA display found for any default device.
Device creation failed: -22.
No device available for decoder: device type vaapi needed for codec h264.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
Stream #0:1 -> #0:1 (copy)
Device setup failed for decoder on input stream #0:0 : Invalid argument
RE: Chromecast + 1080p no stream - Fate - 2024-08-05
Are you using a privileged or unprivileged lxc container?
RE: Chromecast + 1080p no stream - Nero_XIII - 2024-08-05
the container is privileged. Also it is connected to my TrueNAS where my Movies, Shows etc. are stored.
runing the comand "vainfo" returns this:
Code: error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.23 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 22.3.6 for AMD Radeon Graphics (renoir, LLVM 15.0.6, DRM 3.57, 6.8.4-2-pve)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Not sure if those are important as i am not familiar with this:
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
RE: Chromecast + 1080p no stream - Nero_XIII - 2024-08-05
i solved it -.-
it's so fucking stupid. it was just a permission issue.
i thought this was done automatically through the installation script automaticaly
i simply just did a
Code: chmod 777 /dev/dri/renderD128
RE: Chromecast + 1080p no stream - TheDreadPirate - 2024-08-05
For the record, that solution is temporary. The next time you reboot the permissions will be reset. And this problem will happen again. The proper solution is to give the LXC full permissions to the GPU.
These instructions are in the Intel section of our docs, but should still apply to your AMD iGPU.
https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#lxc-on-proxmox
RE: Chromecast + 1080p no stream - Nero_XIII - 2024-08-05
Thanks for the hint!
By that you mean that part?:
Code: lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
RE: Chromecast + 1080p no stream - TheDreadPirate - 2024-08-05
Yes.
|