Open tomowang opened 3 months ago
same issue, reverting back to nVidia driver 555-58 with CUDA 12.5 (doing clean uninstalls first) fixes it.
I just checked the syslog and the driver init lines for both drivers (560 and 555) are exactly the same (so no errors), so it has to do with Sunshine freaking out over something.
Relevant log (when connecting to sunshine from moonlight client):
Sep 20 22:27:03 MYPC01 bash[1400]: [2024:09:20:22:27:03]: Error: Couldn't initialize cuda: CUDA_ERROR_OPERATING_SYSTEM:OS call failed or operation not supported on this OS
Sep 20 22:27:03 MYPC01 bash[1400]: [2024:09:20:22:27:03]: Error: Couldn't initialize cuda: CUDA_ERROR_OPERATING_SYSTEM:OS call failed or operation not supported on this OS
Sep 20 22:27:03 MYPC01 bash[1400]: [2024:09:20:22:27:03]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:03 MYPC01 bash[1400]: [2024:09:20:22:27:03]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:03 MYPC01 bash[1400]: [2024:09:20:22:27:03]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:03 MYPC01 bash[1400]: [2024:09:20:22:27:03]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:03 MYPC01 bash[1400]: libEGL warning: egl: failed to create dri2 screen
Sep 20 22:27:04 MYPC01 bash[1400]: [2024:09:20:22:27:04]: Error: Missing extension: [EGL_EXT_image_dma_buf_import]
Sep 20 22:27:04 MYPC01 systemd-logind[962]: Watching system buttons on /dev/input/event11 (Keyboard passthrough)
Sep 20 22:27:04 MYPC01 bash[1400]: libEGL warning: egl: failed to create dri2 screen
Sep 20 22:27:04 MYPC01 bash[1400]: [2024:09:20:22:27:04]: Error: Missing extension: [EGL_EXT_image_dma_buf_import]
Sep 20 22:27:04 MYPC01 bash[1400]: [2024:09:20:22:27:04]: Fatal: Unable to find display or encoder during startup.
Sep 20 22:27:04 MYPC01 bash[1400]: [2024:09:20:22:27:04]: Fatal: Please check that a display is connected and powered on.
Sep 20 22:27:04 MYPC01 bash[1400]: [2024:09:20:22:27:04]: Error: Video failed to find working encoder
Sep 20 22:27:04 MYPC01 systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Couldn't initialize cuda: CUDA_ERROR_OPERATING_SYSTEM:OS call failed or operation not supported on this OS
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Couldn't initialize cuda: CUDA_ERROR_OPERATING_SYSTEM:OS call failed or operation not supported on this OS
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Couldn't initialize EGL display: [00003001]
Sep 20 22:27:05 MYPC01 bash[1400]: libEGL warning: egl: failed to create dri2 screen
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Missing extension: [EGL_EXT_image_dma_buf_import]
Sep 20 22:27:05 MYPC01 bash[1400]: libEGL warning: egl: failed to create dri2 screen
Sep 20 22:27:05 MYPC01 bash[1400]: [2024:09:20:22:27:05]: Error: Missing extension: [EGL_EXT_image_dma_buf_import]
Sep 20 22:27:06 MYPC01 bash[1400]: [2024:09:20:22:27:06]: Fatal: Unable to find display or encoder during startup.
Sep 20 22:27:06 MYPC01 bash[1400]: [2024:09:20:22:27:06]: Fatal: Please check that a display is connected and powered on.
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
When start sunshine, the logs report errors and moonlight streaming with black screen (audio works).
Expected Behavior
The sunshine with moonlight can stream with normal video.
Additional Context
No response
Host Operating System
Linux
Operating System Version
Ubuntu 24.04 LTS
Architecture
64 bit
Sunshine commit or version
v0.23.1
Package
Linux - deb
GPU Type
Nvidia
GPU Model
NVIDIA GeForce RTX 4070 Ti SUPER
GPU Driver/Mesa Version
Driver Version: 560.28.03 CUDA Version: 12.6
Capture Method
None
Config
Apps
Relevant log output