-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- I have read the documentation
Is your issue present in the nightly release?
- This issue is present in the nightly release
Describe the Bug
Encoder VAAPI fails when using AppImage or the official Flatpak (not from flathub)
Expected Behavior
No response
Additional Context
VAAPI works when using the Sunshine deb
Host Operating System
Linux
Operating System Version
Ubuntu 23.10
Architecture
64 bit
Sunshine commit or version
0.23.0
Package
Linux - AppImage
GPU Type
AMD
GPU Model
RX 6600XT
GPU Driver/Mesa Version
23.2.1
Capture Method (Linux Only)
X11
Config
output_name = 1
adapter_name = /dev/dri/renderD128Apps
No response
Relevant log output
AppImage:
[2024:04:11:12:18:51]: Info: Sunshine version: 0.23.0
[2024:04:11:12:18:51]: Error: Couldn't load cuda: -1
[2024:04:11:12:18:51]: Error: Failed to gain CAP_SYS_ADMIN
[2024:04:11:12:18:51]: Info: /dev/dri/card0 -> amdgpu
[2024:04:11:12:18:51]: Error: Failed to gain CAP_SYS_ADMIN
[2024:04:11:12:18:51]: Error: Couldn't get handle for DRM Framebuffer [126]: Probably not permitted
[2024:04:11:12:18:51]: Error: You must run [sudo setcap cap_sys_admin+p $(readlink -f sunshine)] for KMS display capture to work!
[2024:04:11:12:18:51]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2024:04:11:12:18:51]: Info: Detecting monitors
[2024:04:11:12:18:51]: Info: Detected monitor 0: DisplayPort-0, connected: true
[2024:04:11:12:18:51]: Info: Detected monitor 1: DisplayPort-1, connected: false
[2024:04:11:12:18:51]: Info: Detected monitor 2: DisplayPort-2, connected: false
[2024:04:11:12:18:51]: Info: Detected monitor 3: HDMI-A-0, connected: true
[2024:04:11:12:18:51]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:04:11:12:18:51]: Info: Trying encoder [nvenc]
[2024:04:11:12:18:51]: Info: Screencasting with X11
[2024:04:11:12:18:51]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:18:51]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:18:51]: Error: Couldn't load cuda: -1
[2024:04:11:12:18:51]: Error: Couldn't load cuda: -1
[2024:04:11:12:18:51]: Info: Encoder [nvenc] failed
[2024:04:11:12:18:51]: Info: Trying encoder [vaapi]
[2024:04:11:12:18:51]: Info: Screencasting with X11
[2024:04:11:12:18:51]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:18:51]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:18:51]: Info: SDR color coding [Rec. 601]
[2024:04:11:12:18:51]: Info: Color depth: 8-bit
[2024:04:11:12:18:51]: Info: Color range: [JPEG]
[2024:04:11:12:18:51]: Info: System tray created
[2024:04:11:12:18:51]: Info: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
[2024:04:11:12:18:51]: Error: Couldn't initialize va display: unknown libva error
[2024:04:11:12:18:51]: Info: SDR color coding [Rec. 601]
[2024:04:11:12:18:51]: Info: Color depth: 8-bit
[2024:04:11:12:18:51]: Info: Color range: [JPEG]
[2024:04:11:12:18:51]: Info: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
[2024:04:11:12:18:51]: Error: Couldn't initialize va display: unknown libva error
[2024:04:11:12:18:51]: Info: SDR color coding [Rec. 601]
[2024:04:11:12:18:51]: Info: Color depth: 8-bit
[2024:04:11:12:18:51]: Info: Color range: [JPEG]
[2024:04:11:12:18:51]: Info: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
[2024:04:11:12:18:51]: Error: Couldn't initialize va display: unknown libva error
[2024:04:11:12:18:51]: Info: SDR color coding [Rec. 601]
[2024:04:11:12:18:51]: Info: Color depth: 8-bit
[2024:04:11:12:18:51]: Info: Color range: [JPEG]
[2024:04:11:12:18:51]: Info: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
[2024:04:11:12:18:51]: Error: Couldn't initialize va display: unknown libva error
[2024:04:11:12:18:51]: Info: Encoder [vaapi] failed
[2024:04:11:12:18:51]: Info: Trying encoder [software]
[2024:04:11:12:18:51]: Info: Screencasting with X11
[2024:04:11:12:18:51]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:18:51]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:18:51]: Info: SDR color coding [Rec. 601]
[2024:04:11:12:18:51]: Info: Color depth: 8-bit
[2024:04:11:12:18:51]: Info: Color range: [JPEG]
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] profile High, level 4.2, 4:2:0, 8-bit
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] frame I:1 Avg QP:31.00 size: 1203
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] mb I I16..4: 99.9% 0.0% 0.0%
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] 8x8 transform intra:0.0%
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] i16 v,h,dc,p: 97% 0% 3% 0%
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] i8c dc,h,v,p: 100% 0% 0% 0%
[2024:04:11:12:18:51]: Info: [libx264 @ 0x634d40a6bd40] kb/s:577.44
[2024:04:11:12:18:51]: Info: Screencasting with X11
[2024:04:11:12:18:51]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:18:51]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:18:51]: Info:
[2024:04:11:12:18:51]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:04:11:12:18:51]: Info:
[2024:04:11:12:18:51]: Info: Found H.264 encoder: libx264 [software]
Flatpak:
[2024:04:11:12:30:08]: Info: Sunshine version: 0.23.0
[2024:04:11:12:30:08]: Error: Couldn't load cuda: -1
[2024:04:11:12:30:08]: Error: Failed to gain CAP_SYS_ADMIN
[2024:04:11:12:30:08]: Info: /dev/dri/card0 -> amdgpu
[2024:04:11:12:30:08]: Error: Failed to gain CAP_SYS_ADMIN
[2024:04:11:12:30:08]: Error: Couldn't get handle for DRM Framebuffer [132]: Probably not permitted
[2024:04:11:12:30:08]: Error: You must run [sudo setcap cap_sys_admin+p $(readlink -f sunshine)] for KMS display capture to work!
[2024:04:11:12:30:08]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2024:04:11:12:30:08]: Info: Detecting monitors
[2024:04:11:12:30:08]: Info: Detected monitor 0: DisplayPort-0, connected: true
[2024:04:11:12:30:08]: Info: Detected monitor 1: DisplayPort-1, connected: false
[2024:04:11:12:30:08]: Info: Detected monitor 2: DisplayPort-2, connected: false
[2024:04:11:12:30:08]: Info: Detected monitor 3: HDMI-A-0, connected: true
[2024:04:11:12:30:08]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:04:11:12:30:08]: Info: Trying encoder [nvenc]
[2024:04:11:12:30:08]: Info: Screencasting with X11
[2024:04:11:12:30:08]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:30:08]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:30:08]: Error: Couldn't load cuda: -1
[2024:04:11:12:30:08]: Error: Couldn't load cuda: -1
[2024:04:11:12:30:08]: Info: Encoder [nvenc] failed
[2024:04:11:12:30:08]: Info: Trying encoder [vaapi]
[2024:04:11:12:30:08]: Info: Screencasting with X11
[2024:04:11:12:30:08]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:30:08]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:30:08]: Error: Couldn't create GBM device: [No such file or directory]
[2024:04:11:12:30:08]: Info: System tray created
[2024:04:11:12:30:08]: Error: Couldn't create GBM device: [No such file or directory]
[2024:04:11:12:30:08]: Error: Couldn't create GBM device: [No such file or directory]
[2024:04:11:12:30:08]: Error: Couldn't create GBM device: [No such file or directory]
[2024:04:11:12:30:08]: Info: Encoder [vaapi] failed
[2024:04:11:12:30:08]: Info: Trying encoder [software]
[2024:04:11:12:30:08]: Info: Screencasting with X11
[2024:04:11:12:30:08]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:30:08]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:30:08]: Info: SDR color coding [Rec. 601]
[2024:04:11:12:30:08]: Info: Color depth: 8-bit
[2024:04:11:12:30:08]: Info: Color range: [JPEG]
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] profile High, level 4.2, 4:2:0, 8-bit
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] frame I:1 Avg QP:31.00 size: 1203
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] mb I I16..4: 99.9% 0.0% 0.0%
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] 8x8 transform intra:0.0%
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] i16 v,h,dc,p: 97% 0% 3% 0%
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] i8c dc,h,v,p: 100% 0% 0% 0%
[2024:04:11:12:30:08]: Info: [libx264 @ 0x5adf759c5000] kb/s:577.44
[2024:04:11:12:30:08]: Info: Screencasting with X11
[2024:04:11:12:30:08]: Info: Configuring selected monitor (1) to stream
[2024:04:11:12:30:08]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:04:11:12:30:08]: Info:
[2024:04:11:12:30:08]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:04:11:12:30:08]: Info:
[2024:04:11:12:30:08]: Info: Found H.264 encoder: libx264 [software]Reactions are currently unavailable