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
cant find monitor but in GUI it's available
Info: Detecting displays
Info: Detected display: DVI-D-0 (id: 0) connected: false
Info: Detected display: HDMI-0 (id: 1) connected: true
Info: Detected display: DP-0 (id: 2) connected: true
Info: Detected display: DP-1 (id: 3) connected: false
Info: Detected display: DVI-D-1 (id: 4) connected: false
Expected Behavior
monitor should be found
Additional Context
latest docker compose image
services:
sunshine:
image: lizardbyte/sunshine:master-archlinux
container_name: sunshine
restart: unless-stopped
network_mode: host
privileged: true
cap_add:
- CAP_SYS_ADMIN
- SYS_ADMIN
volumes:
- ./config:/config
environment:
- PUID=1000
- PGID=1000
security_opt:
- seccomp=unconfined
devices:
- /dev/dri
- /dev/kfd
group_add:
- video
ipc: host
Host Operating System
Docker
Operating System Version
Linux archlinux 6.6.70-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 09 Jan 2025 13:22:24 +0000 x86_64 GNU/Linux
Architecture
amd64/x86_64
Sunshine commit or version
v2025.115.154312-archlinux
Package
Linux - Docker
GPU Type
AMD
GPU Model
7900 gre
GPU Driver/Mesa Version
lastest stable in arch linux
Capture Method
KMS (Linux)
Config
default with monitor id 2
Apps
Relevant log output
root@archlinux sunshine]# docker-compose up
[+] Running 1/1
✔ Container sunshine Created 0.0s
Attaching to sunshine
sunshine | [min_log_level] -- [0]
sunshine | [output_name] -- [2]
sunshine | [adapter_name] -- [/dev/dri/renderD128]
sunshine | [2025-01-15 20:35:22.481]: Info: Sunshine version: v2025.115.154312
sunshine | [2025-01-15 20:35:22.481]: Info: Package Publisher: LizardByte
sunshine | [2025-01-15 20:35:22.482]: Info: Publisher Website: https://app.lizardbyte.dev
sunshine | [2025-01-15 20:35:22.482]: Info: Get support: https://app.lizardbyte.dev/support
sunshine | [2025-01-15 20:35:22.483]: Error: Couldn't load cuda: -1
sunshine | Cannot load libcuda.so.1
sunshine | [2025-01-15 20:35:22.483]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:22.483]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:22.483]: Warning: Failed to create system tray
sunshine | [2025-01-15 20:35:22.483]: Debug: crtc(0, 0)
sunshine | [2025-01-15 20:35:22.483]: Debug: crtc(1280, 720)
sunshine | [2025-01-15 20:35:22.483]: Debug: plane->possible_crtcs == 2
sunshine | [2025-01-15 20:35:22.483]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(83)
sunshine | [2025-01-15 20:35:22.483]: Debug: Resolution: 1280x720: Pitch: 5120: Offset: 0
sunshine | [2025-01-15 20:35:22.483]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H]
sunshine | [2025-01-15 20:35:22.483]: Debug: crtc(0, 0)
sunshine | [2025-01-15 20:35:22.483]: Debug: crtc(2560, 1440)
sunshine | [2025-01-15 20:35:22.483]: Debug: plane->possible_crtcs == 1
sunshine | [2025-01-15 20:35:22.483]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(79)
sunshine | [2025-01-15 20:35:22.483]: Debug: Resolution: 2560x1440: Pitch: 10240: Offset: 0
sunshine | [2025-01-15 20:35:22.483]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H]
sunshine | [2025-01-15 20:35:22.483]: Error: Environment variable WAYLAND_DISPLAY has not been defined
sunshine | [2025-01-15 20:35:22.483]: Debug: Monitor description
sunshine | [2025-01-15 20:35:22.483]: Debug: Resolution: 0x0
sunshine | [2025-01-15 20:35:22.483]: Debug: Offset: 0x0
sunshine | [2025-01-15 20:35:22.483]: Debug: Monitor description
sunshine | [2025-01-15 20:35:22.483]: Debug: Resolution: 2560x1440
sunshine | [2025-01-15 20:35:22.483]: Debug: Offset: 0x0
sunshine | [2025-01-15 20:35:22.483]: Debug: Monitor description
sunshine | [2025-01-15 20:35:22.483]: Debug: Resolution: 1280x720
sunshine | [2025-01-15 20:35:22.483]: Debug: Offset: 0x0
sunshine | [2025-01-15 20:35:22.483]: Debug: Desktop resolution: 2560x1440
sunshine | [2025-01-15 20:35:22.500]: Warning: Unable to create virtual mouse: Permission denied
sunshine | [2025-01-15 20:35:22.500]: Warning: Unable to create virtual keyboard: Permission denied
sunshine | [2025-01-15 20:35:22.500]: Warning: Gamepad xone is disabled due to Permission denied
sunshine | [2025-01-15 20:35:22.500]: Warning: Gamepad ds5 is disabled due to Permission denied
sunshine | [2025-01-15 20:35:22.500]: Warning: Gamepad switch is disabled due to Permission denied
sunshine | [2025-01-15 20:35:22.500]: Warning: No gamepad input is available
sunshine | [2025-01-15 20:35:22.500]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
sunshine | [2025-01-15 20:35:22.500]: Info: Trying encoder [nvenc]
sunshine | [2025-01-15 20:35:22.500]: Info: Screencasting with KMS
sunshine | [2025-01-15 20:35:22.500]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:22.500]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:22.500]: Debug: "card1" is not a CUDA device
sunshine | [2025-01-15 20:35:22.500]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:22.500]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:22.500]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:22.500]: Debug: "card1" is not a CUDA device
sunshine | [2025-01-15 20:35:22.500]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:22.700]: Info: Screencasting with KMS
sunshine | [2025-01-15 20:35:22.700]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:22.700]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:22.700]: Debug: "card1" is not a CUDA device
sunshine | [2025-01-15 20:35:22.701]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:22.701]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:22.701]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:22.701]: Debug: "card1" is not a CUDA device
sunshine | [2025-01-15 20:35:22.701]: **Error: Couldn't find monitor [2]**
sunshine | [2025-01-15 20:35:22.901]: Info: Encoder [nvenc] failed
sunshine | [2025-01-15 20:35:22.901]: Info: Trying encoder [vaapi]
sunshine | [2025-01-15 20:35:22.901]: Info: Screencasting with KMS
sunshine | [2025-01-15 20:35:22.901]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:22.901]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:22.901]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:22.901]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:22.901]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:22.901]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:23.101]: Info: Screencasting with KMS
sunshine | [2025-01-15 20:35:23.101]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:23.101]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:23.102]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:23.102]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:23.102]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:23.102]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:23.302]: Info: Encoder [vaapi] failed
sunshine | [2025-01-15 20:35:23.302]: Info: Trying encoder [software]
sunshine | [2025-01-15 20:35:23.302]: Info: Screencasting with KMS
sunshine | [2025-01-15 20:35:23.302]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:23.302]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:23.303]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:23.503]: Info: Screencasting with KMS
sunshine | [2025-01-15 20:35:23.503]: Info: /dev/dri/card1 -> amdgpu
sunshine | [2025-01-15 20:35:23.503]: Debug: Opening render node: /dev/dri/renderD128
sunshine | [2025-01-15 20:35:23.503]: Error: Couldn't find monitor [2]
sunshine | [2025-01-15 20:35:23.703]: Info: Encoder [software] failed
sunshine | [2025-01-15 20:35:23.703]: Fatal: Unable to find display or encoder during startup.
sunshine | [2025-01-15 20:35:23.703]: Fatal: Please ensure your manually chosen GPU and monitor are connected and powered on.
sunshine | [2025-01-15 20:35:23.703]: Error: Video failed to find working encoder
sunshine | [2025-01-15 20:35:23.703]: Error: Failed to create client: Daemon not running
sunshine | [2025-01-15 20:35:23.704]: Info: Configuration UI available at [https://localhost:47990]
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
cant find monitor but in GUI it's available
Expected Behavior
monitor should be found
Additional Context
latest docker compose image
Host Operating System
Docker
Operating System Version
Linux archlinux 6.6.70-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 09 Jan 2025 13:22:24 +0000 x86_64 GNU/Linux
Architecture
amd64/x86_64
Sunshine commit or version
v2025.115.154312-archlinux
Package
Linux - Docker
GPU Type
AMD
GPU Model
7900 gre
GPU Driver/Mesa Version
lastest stable in arch linux
Capture Method
KMS (Linux)
Config
Apps
Relevant log output