Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
I installed a second GPU (GTX 1050 Ti) in my computer that I want to use to encode the stream, so I can fully use my primary GPU (RTX 4080) for gaming performance. I tried to play with the adapter_name option, but it didn't work, my primary GPU was used for encoding the stream no matter what.
Expected Behavior
Being able to use the second GPU to encode the stream.
Additional Context
No response
Host Operating System
Linux
Operating System Version
Ubuntu 23.10
Architecture
64 bit
Sunshine commit or version
0.21.0
Package
Linux - AppImage
GPU Type
Nvidia
GPU Model
RTX 4080 & GTX 1050 Ti
GPU Driver/Mesa Version
545.29.06
Capture Method (Linux Only)
X11
Config
adapter_name = /dev/dri/renderD129
min_threads = 5
fps = [10,30,60,90,120,144]
sw_preset = fast
Apps
No response
Relevant log output
[2023:12:04:10:11:18]: Info: Sunshine version: v0.21.0
[2023:12:04:10:11:18]: Info: System tray created
[2023:12:04:10:11:18]: Error: Failed to create session: This hardware does not support NvFBC
[2023:12:04:10:11:18]: Error: Couldn't expose some/all drm planes for card: /dev/dri/card0
[2023:12:04:10:11:18]: Info: Detecting monitors
[2023:12:04:10:11:18]: Info: Detected monitor 0: HDMI-0, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 1: DP-0, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 2: DP-1, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 3: DP-2, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 4: DP-3, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 5: DP-4, connected: true
[2023:12:04:10:11:18]: Info: Detected monitor 6: DP-5, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 7: DVI-D-1-0, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 8: HDMI-1-0, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 9: DP-1-0, connected: false
[2023:12:04:10:11:18]: Info: Detected monitor 10: DP-1-1, connected: false
[2023:12:04:10:11:18]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:12:04:10:11:18]: Info: Trying encoder [nvenc]
[2023:12:04:10:11:18]: Info: Screencasting with X11
[2023:12:04:10:11:18]: Info: Screencasting with X11
[2023:12:04:10:11:18]: Info: SDR color coding [Rec. 601]
[2023:12:04:10:11:18]: Info: Color depth: 8-bit
[2023:12:04:10:11:18]: Info: Color range: [JPEG]
[2023:12:04:10:11:18]: Info: Screencasting with X11
[2023:12:04:10:11:18]: Info: SDR color coding [Rec. 601]
[2023:12:04:10:11:18]: Info: Color depth: 8-bit
[2023:12:04:10:11:18]: Info: Color range: [JPEG]
[2023:12:04:10:11:18]: Info: Screencasting with X11
[2023:12:04:10:11:18]: Info: SDR color coding [Rec. 601]
[2023:12:04:10:11:18]: Info: Color depth: 8-bit
[2023:12:04:10:11:18]: Info: Color range: [JPEG]
[2023:12:04:10:11:18]: Info: Screencasting with X11
[2023:12:04:10:11:18]: Info: SDR color coding [Rec. 709]
[2023:12:04:10:11:18]: Info: Color depth: 10-bit
[2023:12:04:10:11:18]: Info: Color range: [JPEG]
[2023:12:04:10:11:18]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2023:12:04:10:11:18]: Info: Screencasting with X11
[2023:12:04:10:11:18]: Info: SDR color coding [Rec. 709]
[2023:12:04:10:11:18]: Info: Color depth: 10-bit
[2023:12:04:10:11:18]: Info: Color range: [JPEG]
[2023:12:04:10:11:18]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2023:12:04:10:11:18]: Info:
[2023:12:04:10:11:18]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:12:04:10:11:18]: Info:
[2023:12:04:10:11:18]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2023:12:04:10:11:18]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2023:12:04:10:11:18]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2023:12:04:10:11:18]: Info: Adding avahi service Sunshine
[2023:12:04:10:11:18]: Info: Configuration UI available at [https://localhost:47990]
[2023:12:04:10:11:19]: Info: Avahi service Sunshine successfully established.
[2023:12:04:10:11:40]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:12:04:10:11:40]: Info: Trying encoder [nvenc]
[2023:12:04:10:11:40]: Info: Screencasting with X11
[2023:12:04:10:11:40]: Info: Screencasting with X11
[2023:12:04:10:11:40]: Info: SDR color coding [Rec. 601]
[2023:12:04:10:11:40]: Info: Color depth: 8-bit
[2023:12:04:10:11:40]: Info: Color range: [JPEG]
[2023:12:04:10:11:40]: Info: Screencasting with X11
[2023:12:04:10:11:40]: Info: SDR color coding [Rec. 601]
[2023:12:04:10:11:40]: Info: Color depth: 8-bit
[2023:12:04:10:11:40]: Info: Color range: [JPEG]
[2023:12:04:10:11:41]: Info: Screencasting with X11
[2023:12:04:10:11:41]: Info: SDR color coding [Rec. 601]
[2023:12:04:10:11:41]: Info: Color depth: 8-bit
[2023:12:04:10:11:41]: Info: Color range: [JPEG]
[2023:12:04:10:11:41]: Info: Screencasting with X11
[2023:12:04:10:11:41]: Info: SDR color coding [Rec. 709]
[2023:12:04:10:11:41]: Info: Color depth: 10-bit
[2023:12:04:10:11:41]: Info: Color range: [JPEG]
[2023:12:04:10:11:41]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2023:12:04:10:11:41]: Info: Screencasting with X11
[2023:12:04:10:11:41]: Info: SDR color coding [Rec. 709]
[2023:12:04:10:11:41]: Info: Color depth: 10-bit
[2023:12:04:10:11:41]: Info: Color range: [JPEG]
[2023:12:04:10:11:41]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2023:12:04:10:11:41]: Info:
[2023:12:04:10:11:41]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:12:04:10:11:41]: Info:
[2023:12:04:10:11:41]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2023:12:04:10:11:41]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2023:12:04:10:11:41]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2023:12:04:10:11:41]: Info: Executing [Desktop]
[2023:12:04:10:11:41]: Info: 192.168.0.16: Ping Timeout
[2023:12:04:10:11:41]: Info: CLIENT CONNECTED
[2023:12:04:10:11:41]: Info: Detecting monitors
[2023:12:04:10:11:41]: Info: Detected monitor 0: HDMI-0, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 1: DP-0, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 2: DP-1, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 3: DP-2, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 4: DP-3, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 5: DP-4, connected: true
[2023:12:04:10:11:41]: Info: Detected monitor 6: DP-5, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 7: DVI-D-1-0, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 8: HDMI-1-0, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 9: DP-1-0, connected: false
[2023:12:04:10:11:41]: Info: Detected monitor 10: DP-1-1, connected: false
[2023:12:04:10:11:41]: Info: Screencasting with X11
[2023:12:04:10:11:41]: Info: Configuring selected monitor (0) to stream
[2023:12:04:10:11:41]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2023:12:04:10:11:41]: Info: SDR color coding [Rec. 601]
[2023:12:04:10:11:41]: Info: Color depth: 8-bit
[2023:12:04:10:11:41]: Info: Color range: [MPEG]
[2023:12:04:10:11:41]: Info: Setting default sink to: [sink-sunshine-stereo]
[2023:12:04:10:11:41]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2023:12:04:10:15:04]: Info: Quitting from system tray
[2023:12:04:10:15:04]: Info: Interrupt handler called
[2023:12:04:10:15:04]: Info: Setting default sink to: [alsa_output.pci-0000_01_00.1.hdmi-stereo]
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
I installed a second GPU (GTX 1050 Ti) in my computer that I want to use to encode the stream, so I can fully use my primary GPU (RTX 4080) for gaming performance. I tried to play with the adapter_name option, but it didn't work, my primary GPU was used for encoding the stream no matter what.
Expected Behavior
Being able to use the second GPU to encode the stream.
Additional Context
No response
Host Operating System
Linux
Operating System Version
Ubuntu 23.10
Architecture
64 bit
Sunshine commit or version
0.21.0
Package
Linux - AppImage
GPU Type
Nvidia
GPU Model
RTX 4080 & GTX 1050 Ti
GPU Driver/Mesa Version
545.29.06
Capture Method (Linux Only)
X11
Config
Apps
No response
Relevant log output