docker-steam-headless icon indicating copy to clipboard operation
docker-steam-headless copied to clipboard

[Bug]: Black screen when launch

Open ngoc-minh-do opened this issue 9 months ago • 7 comments

Describe the Bug

When I run the docker the first time, I can see the terminal and flatpak are installing some packages, but after flatpak installation is finished, the screen become black.

My setup: Proxmox > LXC > docker

Steps to Reproduce

No response

Expected Behavior

No response

Screenshots

No response

Relevant Settings

No response

Version

Build: [2025-02-22 02:58:19] [master] [14c770bce61db99c56592760c73c2ba454dab648] [debian]

Platform

  • Distribution: Debian GNU/Linux 12 (bookworm)
  • Linux Kernel: 6.8.12-8-pve
  • GPU Driver versions: NVIDIA-SMI 550.142
  • Docker: 27.4.1
  • Docker-compose: v2.32.1

Relevant log output

Build: [2025-02-22 02:58:19] [master] [14c770bce61db99c56592760c73c2ba454dab648] [debian]
[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
  - Setting default user uid=1000(default) gid=1000(default)
  usermod: no changes
  - Adding default user to any additional required device groups
    - Adding user 'default' to group: 'video'
    - Adding user 'default' to group: 'audio'
    - Adding user 'default' to group: 'input'
    - Adding user 'default' to group: 'pulse'
    - Setting umask to 000
    - Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
    - Setting ownership of all log files in '/home/default/.cache/log'
    - Setting root password
    - Setting user password
  DONE
[ /etc/cont-init.d/11-setup_sysctl_values.sh: executing... ]
**** Configure some system kernel parameters ****
  - The vm.max_map_count is already greater than '524288'
  DONE
[ /etc/cont-init.d/30-configure_dbus.sh: executing... ]
**** Configure container dbus ****
  - Container configured to run its own dbus
  DONE
[ /etc/cont-init.d/30-configure_udev.sh: executing... ]
**** Configure udevd ****
  - Disable udevd - /sys is mounted RO
    - Enable dumb-udev service
    - Ensure the default user has permission to r/w on input devices
  DONE
[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Configure local ****
  - Locales already set correctly to en_US.UTF-8 UTF-8
  DONE
[ /etc/cont-init.d/50-configure_pulseaudio.sh: executing... ]
**** Configure pulseaudio ****
  - Enable pulseaudio service.
    - Configure pulseaudio to pipe audio to a socket
  DONE
[ /etc/cont-init.d/60-configure_gpu_driver.sh: executing... ]
**** Found Intel device 'Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz' ****
  - Enable i386 arch
    - Install mesa vulkan drivers
  **** No AMD device found ****
**** Found NVIDIA device 'NVIDIA GeForce RTX 3060' ****
  - Installing NVIDIA driver v550.142 to match what is running on the host
    - Leaving NVIDIA driver stock without patching
  DONE
[ /etc/cont-init.d/70-configure_desktop.sh: executing... ]
**** Configure Desktop ****
  - Enable Desktop service.
    - Ensure home directory template is owned by the default user.
    - Installing default home directory template
  DONE
[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate NVIDIA xorg.conf ****
  - Configure Xwrapper.config
    - Removing /tmp/.X11-unix/X55 before starting
    - Configure container as primary the X server
    - Enabling evdev input class on pointers, keyboards, touchpads, touch screens, etc.
    - Configuring X11 with GPU ID: 'GPU-b006e55d-c095-2e08-a643-db34e72843ee'
    - Configuring X11 with PCI bus ID: 'PCI:101:0:0'
    - Writing X11 config with Modeline "1600x900R"  201.00  1600 1648 1680 1760  900 903 908 953 +hsync -vsync
  WARNING: Unable to locate/open X configuration file.
Option "ProbeAllGpus" "False" added to Screen "Screen0".
Option "BaseMosaic" "False" added to Screen "Screen0".
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Screen0".
New X configuration file written to '/etc/X11/xorg.conf'
DONE
[ /etc/cont-init.d/80-configure_flatpak.sh: executing... ]
**** Configure Flatpak ****
  - Flatpak configured for running inside a Docker container
  DONE
[ /etc/cont-init.d/90-configure_neko.sh: executing... ]
**** Configure Neko ****
  - Disable Neko server
  DONE
[ /etc/cont-init.d/90-configure_steam.sh: executing... ]
**** Configure Steam ****
  - Enable Steam auto-start script
  DONE
[ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
**** Configure Sunshine ****
  - Enable Sunshine server
  DONE
[ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
**** Configure VNC ****
  - Configure VNC service port '32038'
    - Configure pulseaudio encoded stream port '32039'
    - Enable VNC server
  DONE
[ /etc/cont-init.d/95-setup_wol.sh: executing... ]
**** Configure WoL Manager ****
  - Disable WoL Manager service.
  **** Starting supervisord ****
  - Logging all root services to '/var/log/supervisor/'
    - Logging all user services to '/home/default/.cache/log/'
  2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/wol-power-manager.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
2025-02-24 00:42:50,362 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
2025-02-24 00:42:50,362 INFO Set uid to user 0 succeeded
2025-02-24 00:42:50,365 INFO RPC interface 'supervisor' initialized
2025-02-24 00:42:50,365 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2025-02-24 00:42:50,365 INFO supervisord started with pid 1
2025-02-24 00:42:51,367 INFO spawned: 'dbus' with pid 546
2025-02-24 00:42:51,369 INFO spawned: 'udev' with pid 547
2025-02-24 00:42:51,371 INFO spawned: 'xorg' with pid 548
2025-02-24 00:42:51,372 INFO spawned: 'audiostream' with pid 549
2025-02-24 00:42:51,378 INFO spawned: 'frontend' with pid 550
2025-02-24 00:42:51,380 INFO spawned: 'pulseaudio' with pid 555
2025-02-24 00:42:51,381 INFO spawned: 'x11vnc' with pid 556
2025-02-24 00:42:51,386 INFO spawned: 'desktop' with pid 561
2025-02-24 00:42:51,388 INFO spawned: 'sunshine' with pid 562
PULSEAUDIO: Starting pulseaudio service
2025-02-24 00:42:51,405 INFO reaped unknown pid 575 (exit status 0)
2025-02-24 00:42:52,385 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,386 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,386 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,386 INFO success: audiostream entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,386 INFO success: frontend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,386 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,386 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,386 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:52,387 INFO success: sunshine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-24 00:42:54,579 INFO reaped unknown pid 644 (exit status 1)

ngoc-minh-do avatar Feb 23 '25 15:02 ngoc-minh-do

Looks like xorg is failing. What do the xorg logs say?

Josh5 avatar Feb 23 '25 18:02 Josh5

Thanks for your quick response. Bellow is Xorg logs inside docker container

[   938.814]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[   938.814] Current Operating System: Linux SteamHeadless 6.8.12-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-8 (2025-01-24T12:32Z) x86_64
[   938.814] Kernel command line: BOOT_IMAGE=/vmlinuz-6.8.12-8-pve root=ZFS=/ROOT/pve-1 ro root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet
[   938.814] xorg-server 2:21.1.7-3+deb12u8 (https://www.debian.org/support)
[   938.814] Current version of pixman: 0.42.2
[   938.814]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   938.814] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   938.814] (==) Log file: "/var/log/Xorg.55.log", Time: Mon Feb 24 10:27:54 2025
[   938.814] (==) Using config file: "/etc/X11/xorg.conf"
[   938.814] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   938.814] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   938.817] (==) ServerLayout "Layout0"
[   938.817] (**) |-->Screen "Screen0" (0)
[   938.817] (**) |   |-->Monitor "Monitor0"
[   938.817] (**) |   |-->Device "Device0"
[   938.818] (**) |-->Input Device "Keyboard0"
[   938.818] (**) |-->Input Device "Mouse0"
[   938.818] (**) Option "AutoAddGPU" "false"
[   938.818] (==) Automatically adding devices
[   938.818] (==) Automatically enabling devices
[   938.818] (**) Not automatically adding GPU devices
[   938.818] (==) Automatically binding GPU devices
[   938.818] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   938.819] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   938.819]    Entry deleted from font path.
[   938.821] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[   938.821] (==) ModulePath set to "/usr/lib/xorg/modules"
[   938.821] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   938.821] (WW) Disabling Keyboard0
[   938.821] (WW) Disabling Mouse0
[   938.821] (II) Loader magic: 0x5bdfa1651f00
[   938.821] (II) Module ABI versions:
[   938.821]    X.Org ANSI C Emulation: 0.4
[   938.821]    X.Org Video Driver: 25.2
[   938.821]    X.Org XInput driver : 24.4
[   938.821]    X.Org Server Extension : 10.0
[   938.821] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.NoServer (Failed to connect to socket /run/dbus/system_bus_socket: Connection refused)
[   938.823] (II) xfree86: Adding drm device (/dev/dri/card1)
[   938.823] (II) Platform probe for /sys/devices/pci0000:64/0000:64:00.0/0000:65:00.0/drm/card1
[   938.823] (II) xfree86: Adding drm device (/dev/dri/card0)
[   938.823] (II) Platform probe for /sys/devices/pci0000:64/0000:64:00.0/0000:65:00.0/simple-framebuffer.0/drm/card0
[   938.849] (--) PCI:*(101@0:0:0) 10de:2504:1462:397d rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x0000b000/128, BIOS @ 0x????????/524288
[   938.849] (II) LoadModule: "glx"
[   938.850] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   938.856] (II) Module glx: vendor="X.Org Foundation"
[   938.856]    compiled for 1.21.1.7, module version = 1.0.0
[   938.856]    ABI class: X.Org Server Extension, version 10.0
[   938.856] (II) LoadModule: "nvidia"
[   938.857] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   938.864] (II) Module nvidia: vendor="NVIDIA Corporation"
[   938.864]    compiled for 1.6.99.901, module version = 1.0.0
[   938.864]    Module class: X.Org Video Driver
[   938.864] (II) NVIDIA dlloader X Driver  550.142  Wed Dec 11 04:59:40 UTC 2024
[   938.864] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   938.866] (II) Loading sub module "fb"
[   938.866] (II) LoadModule: "fb"
[   938.866] (II) Module "fb" already built-in
[   938.866] (II) Loading sub module "wfb"
[   938.866] (II) LoadModule: "wfb"
[   938.866] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   938.868] (II) Module wfb: vendor="X.Org Foundation"
[   938.868]    compiled for 1.21.1.7, module version = 1.0.0
[   938.868]    ABI class: X.Org ANSI C Emulation, version 0.4
[   938.869] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   938.869] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   938.869] (==) NVIDIA(0): RGB weight 888
[   938.869] (==) NVIDIA(0): Default visual is TrueColor
[   938.869] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   938.869] (**) NVIDIA(0): Option "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck, NoMaxSizeCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoVirtualSizeCheck, NoTotalSizeCheck, NoDualLinkDVICheck, NoDisplayPortBandwidthCheck, AllowNon3DVisionModes, AllowNonHDMI3DModes, AllowNonEdidModes, NoEdidHDMI2Check, AllowDpInterlaced"
[   938.869] (**) NVIDIA(0): Option "ProbeAllGpus" "False"
[   938.869] (**) NVIDIA(0): Option "BaseMosaic" "False"
[   938.869] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "True"
[   938.869] (**) NVIDIA(0): Option "AllowExternalGpus" "True"
[   938.869] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
[   938.869] (**) NVIDIA(0): Enabling 2D acceleration
[   938.869] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
[   938.869] (II) Loading sub module "glxserver_nvidia"
[   938.869] (II) LoadModule: "glxserver_nvidia"
[   938.870] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[   938.986] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   938.986]    compiled for 1.6.99.901, module version = 1.0.0
[   938.986]    Module class: X.Org Server Extension
[   938.986] (II) NVIDIA GLX Module  550.142  Wed Dec 11 05:02:00 UTC 2024
[   938.987] (II) NVIDIA: The X server supports PRIME Render Offload.
[   938.987] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:101:0:0
[   938.987] (--) NVIDIA(0):     DFP-0
[   938.987] (--) NVIDIA(0):     DFP-1
[   938.987] (--) NVIDIA(0):     DFP-2
[   938.987] (--) NVIDIA(0):     DFP-3
[   938.988] (--) NVIDIA(0):     DFP-4
[   938.988] (--) NVIDIA(0):     DFP-5
[   938.988] (--) NVIDIA(0):     DFP-6 (boot)
[   938.988] (**) NVIDIA(0): Using ConnectedMonitor string "DFP-0".
[   938.988] (WW) NVIDIA: No DRM device: No direct render devices found.
[   938.989] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3060 (GA106-A) at PCI:101:0:0
[   938.989] (II) NVIDIA(0):     (GPU-0)
[   938.989] (--) NVIDIA(0): Memory: 12582912 kBytes
[   938.989] (--) NVIDIA(0): VideoBIOS: 94.06.2f.00.9a
[   938.989] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   938.991] (--) NVIDIA(GPU-0): DFP-0: connected
[   938.991] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   938.991] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   938.991] (--) NVIDIA(GPU-0):
[   938.991] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   938.991] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   938.991] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   938.991] (--) NVIDIA(GPU-0):
[   938.991] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   938.991] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   938.991] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   938.991] (--) NVIDIA(GPU-0):
[   938.991] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   938.991] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   938.991] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[   938.991] (--) NVIDIA(GPU-0):
[   938.991] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   938.991] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   938.991] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   938.991] (--) NVIDIA(GPU-0):
[   938.991] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   938.991] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   938.991] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   938.991] (--) NVIDIA(GPU-0):
[   938.991] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   938.991] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   938.991] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   938.991] (--) NVIDIA(GPU-0):
[   938.991] (**) NVIDIA(GPU-0): Mode Validation Overrides for DFP-0:
[   938.991] (**) NVIDIA(GPU-0):     NoMaxSizeCheck
[   938.991] (**) NVIDIA(GPU-0):     NoVirtualSizeCheck
[   938.991] (**) NVIDIA(GPU-0):     NoMaxPClkCheck
[   938.991] (**) NVIDIA(GPU-0):     NoEdidMaxPClkCheck
[   938.991] (**) NVIDIA(GPU-0):     NoHorizSyncCheck
[   938.991] (**) NVIDIA(GPU-0):     NoVertRefreshCheck
[   938.992] (**) NVIDIA(GPU-0):     NoTotalSizeCheck
[   938.992] (**) NVIDIA(GPU-0):     NoDualLinkDVICheck
[   938.992] (**) NVIDIA(GPU-0):     NoDisplayPortBandwidthCheck
[   938.992] (**) NVIDIA(GPU-0):     AllowNon3DVisionModes
[   938.992] (**) NVIDIA(GPU-0):     AllowNonEdidModes
[   938.992] (**) NVIDIA(GPU-0):     AllowNonHDMI3DModes
[   938.992] (**) NVIDIA(GPU-0):     NoEdidHDMI2Check
[   938.992] (**) NVIDIA(GPU-0):     AllowDpInterlaced
[   939.229] (II) NVIDIA(0): Validated MetaModes:
[   939.229] (II) NVIDIA(0):     "DFP-0:1600x900R"
[   939.229] (**) NVIDIA(0): Virtual screen size configured to be 1600 x 900
[   939.451] (WW) NVIDIA(0): DFP-0 does not have an EDID, or its EDID does not contain a
[   939.451] (WW) NVIDIA(0):     maximum image size; cannot compute DPI from DFP-0's EDID.
[   939.451] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   939.452] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   939.452] (II) NVIDIA:     access.
[   939.455] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   939.455] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   939.455] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   939.455] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   939.455] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   939.455] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   939.455] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   939.455] (II) NVIDIA(0):     Config Options in the README.
[   939.476] (II) NVIDIA(0): Setting mode "DFP-0:1600x900R"
[   939.565] (==) NVIDIA(0): Disabling shared memory pixmaps
[   939.565] (==) NVIDIA(0): Backing store enabled
[   939.565] (==) NVIDIA(0): Silken mouse enabled
[   939.566] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[   939.566] (WW) NVIDIA(0): Option "DPMS" is not used
[   939.566] (II) Loading sub module "dri2"
[   939.566] (II) LoadModule: "dri2"
[   939.566] (II) Module "dri2" already built-in
[   939.566] (II) NVIDIA(0): [DRI2] Setup complete
[   939.566] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   939.566] (II) Initializing extension Generic Event Extension
[   939.567] (II) Initializing extension SHAPE
[   939.567] (II) Initializing extension MIT-SHM
[   939.567] (II) Initializing extension XInputExtension
[   939.567] (II) Initializing extension XTEST
[   939.567] (II) Initializing extension BIG-REQUESTS
[   939.567] (II) Initializing extension SYNC
[   939.567] (II) Initializing extension XKEYBOARD
[   939.568] (II) Initializing extension XC-MISC
[   939.568] (II) Initializing extension SECURITY
[   939.568] (II) Initializing extension XFIXES
[   939.568] (II) Initializing extension RENDER
[   939.568] (II) Initializing extension RANDR
[   939.568] (II) Initializing extension COMPOSITE
[   939.569] (II) Initializing extension DAMAGE
[   939.569] (II) Initializing extension MIT-SCREEN-SAVER
[   939.569] (II) Initializing extension DOUBLE-BUFFER
[   939.569] (II) Initializing extension RECORD
[   939.569] (II) Initializing extension DPMS
[   939.569] (II) Initializing extension Present
[   939.569] (II) Initializing extension DRI3
[   939.569] (II) Initializing extension X-Resource
[   939.569] (II) Initializing extension XVideo
[   939.569] (II) Initializing extension XVideo-MotionCompensation
[   939.569] (II) Initializing extension SELinux
[   939.569] (II) SELinux: Disabled on system
[   939.569] (II) Initializing extension GLX
[   939.570] (II) Initializing extension GLX
[   939.570] (II) Indirect GLX disabled.
[   939.578] (II) GLX: Another vendor is already registered for screen 0
[   939.578] (II) Initializing extension XFree86-VidModeExtension
[   939.578] (II) Initializing extension XFree86-DGA
[   939.578] (II) Initializing extension XFree86-DRI
[   939.578] (II) Initializing extension DRI2
[   939.578] (II) Initializing extension NV-GLX
[   939.578] (II) Initializing extension NV-CONTROL
[   939.579] (II) Initializing extension XINERAMA
[   939.716] (II) config/udev: Adding drm device (/dev/dri/card1)
[   939.716] (II) xfree86: Adding drm device (/dev/dri/card1)
[   939.716] (II) Platform probe for /sys/devices/pci0000:64/0000:64:00.0/0000:65:00.0/drm/card1
[   939.717] (II) config/udev: Adding drm device (/dev/dri/card0)
[   939.717] (II) xfree86: Adding drm device (/dev/dri/card0)
[   939.717] (II) Platform probe for /sys/devices/pci0000:64/0000:64:00.0/0000:65:00.0/simple-framebuffer.0/drm/card0
[   939.727] (EE) systemd-logind: failed to get session: Failed to execute program org.freedesktop.login1: Permission denied
[   945.305] (WW) NVIDIA: Wait for channel idle timed out.
[   945.308] (--) NVIDIA(GPU-0): DFP-0: connected
[   945.308] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   945.308] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   945.308] (--) NVIDIA(GPU-0):
[   945.308] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   945.308] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   945.308] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   945.308] (--) NVIDIA(GPU-0):
[   945.308] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   945.308] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   945.308] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   945.308] (--) NVIDIA(GPU-0):
[   945.308] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   945.308] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   945.308] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[   945.308] (--) NVIDIA(GPU-0):
[   945.308] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   945.308] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   945.308] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   945.308] (--) NVIDIA(GPU-0):
[   945.308] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   945.308] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   945.308] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   945.308] (--) NVIDIA(GPU-0):
[   945.308] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   945.309] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   945.309] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   945.309] (--) NVIDIA(GPU-0):
[   945.358] (--) NVIDIA(GPU-0): DFP-0: connected
[   945.358] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   945.358] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   945.358] (--) NVIDIA(GPU-0):
[   945.358] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   945.358] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   945.358] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   945.358] (--) NVIDIA(GPU-0):
[   945.358] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   945.358] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   945.358] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   945.358] (--) NVIDIA(GPU-0):
[   945.358] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   945.358] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   945.358] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[   945.358] (--) NVIDIA(GPU-0):
[   945.358] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   945.358] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   945.358] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   945.358] (--) NVIDIA(GPU-0):
[   945.358] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   945.358] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   945.358] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   945.358] (--) NVIDIA(GPU-0):
[   945.358] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   945.358] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   945.359] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   945.359] (--) NVIDIA(GPU-0):
[   945.694] (--) NVIDIA(GPU-0): DFP-0: connected
[   945.694] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   945.694] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   945.694] (--) NVIDIA(GPU-0):
[   945.695] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   945.695] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   945.695] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   945.695] (--) NVIDIA(GPU-0):
[   945.695] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   945.695] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   945.695] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   945.695] (--) NVIDIA(GPU-0):
[   945.695] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   945.695] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   945.695] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[   945.695] (--) NVIDIA(GPU-0):
[   945.695] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   945.695] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   945.695] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   945.695] (--) NVIDIA(GPU-0):
[   945.695] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   945.695] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   945.695] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   945.695] (--) NVIDIA(GPU-0):
[   945.695] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   945.695] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   945.695] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   945.695] (--) NVIDIA(GPU-0):
[   945.726] (--) NVIDIA(GPU-0): DFP-0: connected
[   945.726] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   945.726] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   945.726] (--) NVIDIA(GPU-0):
[   945.726] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   945.726] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   945.726] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   945.726] (--) NVIDIA(GPU-0):
[   945.726] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   945.726] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   945.726] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   945.726] (--) NVIDIA(GPU-0):
[   945.726] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   945.726] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   945.726] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[   945.726] (--) NVIDIA(GPU-0):
[   945.726] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   945.726] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   945.726] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   945.726] (--) NVIDIA(GPU-0):
[   945.726] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   945.726] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   945.726] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   945.726] (--) NVIDIA(GPU-0):
[   945.726] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   945.726] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   945.726] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   945.726] (--) NVIDIA(GPU-0):
[   945.835] (--) NVIDIA(GPU-0): DFP-0: connected
[   945.835] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   945.835] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   945.835] (--) NVIDIA(GPU-0):
[   945.835] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   945.835] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   945.835] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   945.835] (--) NVIDIA(GPU-0):
[   945.835] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   945.835] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   945.836] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   945.836] (--) NVIDIA(GPU-0):
[   945.836] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   945.836] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   945.836] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[   945.836] (--) NVIDIA(GPU-0):
[   945.836] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   945.836] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   945.836] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   945.836] (--) NVIDIA(GPU-0):
[   945.836] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   945.836] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   945.837] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   945.837] (--) NVIDIA(GPU-0):
[   945.837] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   945.837] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   945.837] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   945.837] (--) NVIDIA(GPU-0):
[   946.778] (--) NVIDIA(GPU-0): DFP-0: connected
[   946.779] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   946.779] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   946.779] (--) NVIDIA(GPU-0):
[   946.779] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   946.779] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   946.779] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   946.779] (--) NVIDIA(GPU-0):
[   946.779] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   946.779] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   946.779] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   946.779] (--) NVIDIA(GPU-0):
[   946.779] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   946.779] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   946.779] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[   946.779] (--) NVIDIA(GPU-0):
[   946.779] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   946.779] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   946.779] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   946.779] (--) NVIDIA(GPU-0):
[   946.779] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   946.779] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   946.779] (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
[   946.779] (--) NVIDIA(GPU-0):
[   946.779] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   946.779] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[   946.779] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[   946.779] (--) NVIDIA(GPU-0):
[   984.668] (WW) NVIDIA: Wait for channel idle timed out.

ngoc-minh-do avatar Feb 24 '25 01:02 ngoc-minh-do

When I access remotely using sunshine, the screen also black. Bellow is sunshine log

[2025-02-24 21:52:17.785]: Info: Sunshine version: v2025.122.141614
[2025-02-24 21:52:17.785]: Info: Package Publisher: LizardByte
[2025-02-24 21:52:17.785]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-02-24 21:52:17.785]: Info: Get support: https://app.lizardbyte.dev/support
[2025-02-24 21:52:22.391]: Info: System tray created
[2025-02-24 21:52:22.766]: Info: Found [1] outputs
[2025-02-24 21:52:22.767]: Info: Virtual Desktop: 1600x900
[2025-02-24 21:52:22.767]: Info: XrandR: available
[2025-02-24 21:52:22.767]: Info: -- Output --
[2025-02-24 21:52:22.767]: Info:   Resolution: 1600x900
[2025-02-24 21:52:22.767]: Info:   Offset: 0x0
[2025-02-24 21:52:22.779]: Error: Couldn't release NvFBC context from current thread: 
[2025-02-24 21:52:22.779]: Info: Detecting displays
[2025-02-24 21:52:22.782]: Info: Detected display: HDMI-0 (id: 0)HDMI-0 connected: true
[2025-02-24 21:52:22.782]: Info: Detected display: DP-0 (id: 1)DP-0 connected: false
[2025-02-24 21:52:22.783]: Info: Detected display: DP-1 (id: 2)DP-1 connected: false
[2025-02-24 21:52:22.783]: Info: Detected display: DP-2 (id: 3)DP-2 connected: false
[2025-02-24 21:52:22.783]: Info: Detected display: DP-3 (id: 4)DP-3 connected: false
[2025-02-24 21:52:22.783]: Info: Detected display: DP-4 (id: 5)DP-4 connected: false
[2025-02-24 21:52:22.784]: Info: Detected display: DP-5 (id: 6)DP-5 connected: false
[2025-02-24 21:52:22.847]: Warning: Gamepad ds5 is disabled due to No such file or directory
[2025-02-24 21:52:22.847]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-02-24 21:52:22.847]: Info: Trying encoder [nvenc]
[2025-02-24 21:52:22.847]: Info: Screencasting with NvFBC
[2025-02-24 21:52:22.919]: Info: Creating encoder [h264_nvenc]
[2025-02-24 21:52:22.919]: Info: Color coding: SDR (Rec. 601)
[2025-02-24 21:52:22.919]: Info: Color depth: 8-bit
[2025-02-24 21:52:22.919]: Info: Color range: JPEG
[2025-02-24 21:52:23.245]: Info: Creating encoder [hevc_nvenc]
[2025-02-24 21:52:23.245]: Info: Color coding: SDR (Rec. 601)
[2025-02-24 21:52:23.245]: Info: Color depth: 8-bit
[2025-02-24 21:52:23.245]: Info: Color range: JPEG
[2025-02-24 21:52:23.499]: Info: Creating encoder [av1_nvenc]
[2025-02-24 21:52:23.499]: Info: Color coding: SDR (Rec. 601)
[2025-02-24 21:52:23.499]: Info: Color depth: 8-bit
[2025-02-24 21:52:23.499]: Info: Color range: JPEG
[2025-02-24 21:52:23.502]: Warning: [av1_nvenc @ 0x55c6364eb200] Codec not supported
[2025-02-24 21:52:23.502]: Error: [av1_nvenc @ 0x55c6364eb200] Provided device doesn't support required NVENC features
[2025-02-24 21:52:23.752]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2025-02-24 21:52:23.765]: Error: Couldn't release NvFBC context from current thread: 
[2025-02-24 21:52:23.765]: Info: Screencasting with NvFBC
[2025-02-24 21:52:23.822]: Info: Creating encoder [hevc_nvenc]
[2025-02-24 21:52:23.822]: Info: Color coding: SDR (Rec. 709)
[2025-02-24 21:52:23.822]: Info: Color depth: 10-bit
[2025-02-24 21:52:23.822]: Info: Color range: JPEG
[2025-02-24 21:52:23.837]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2025-02-24 21:52:24.087]: Error: Couldn't release NvFBC context from current thread: 
[2025-02-24 21:52:24.087]: Info: 
[2025-02-24 21:52:24.087]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-02-24 21:52:24.087]: Info: 
[2025-02-24 21:52:24.087]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-02-24 21:52:24.087]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-02-24 21:52:24.089]: Error: Failed to create client: Daemon not running
[2025-02-24 21:52:24.099]: Info: Configuration UI available at [https://localhost:47990]
[2025-02-24 21:55:19.815]: Info: Web UI: [192.168.0.100] -- not authorized
[2025-02-24 21:55:27.374]: Info: Web UI: [192.168.0.100] -- not authorized
[2025-02-24 21:56:49.892]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-02-24 21:56:49.892]: Info: Trying encoder [nvenc]
[2025-02-24 21:56:49.892]: Info: Screencasting with NvFBC
[2025-02-24 21:56:49.975]: Info: Creating encoder [h264_nvenc]
[2025-02-24 21:56:49.975]: Info: Color coding: SDR (Rec. 601)
[2025-02-24 21:56:49.975]: Info: Color depth: 8-bit
[2025-02-24 21:56:49.975]: Info: Color range: JPEG
[2025-02-24 21:56:50.237]: Info: Creating encoder [hevc_nvenc]
[2025-02-24 21:56:50.237]: Info: Color coding: SDR (Rec. 601)
[2025-02-24 21:56:50.237]: Info: Color depth: 8-bit
[2025-02-24 21:56:50.237]: Info: Color range: JPEG
[2025-02-24 21:56:50.491]: Info: Creating encoder [av1_nvenc]
[2025-02-24 21:56:50.491]: Info: Color coding: SDR (Rec. 601)
[2025-02-24 21:56:50.491]: Info: Color depth: 8-bit
[2025-02-24 21:56:50.491]: Info: Color range: JPEG
[2025-02-24 21:56:50.493]: Warning: [av1_nvenc @ 0x766a0cd7ee00] Codec not supported
[2025-02-24 21:56:50.493]: Error: [av1_nvenc @ 0x766a0cd7ee00] Provided device doesn't support required NVENC features
[2025-02-24 21:56:50.744]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2025-02-24 21:56:50.756]: Error: Couldn't release NvFBC context from current thread: 
[2025-02-24 21:56:50.756]: Info: Screencasting with NvFBC
[2025-02-24 21:56:50.813]: Info: Creating encoder [hevc_nvenc]
[2025-02-24 21:56:50.813]: Info: Color coding: SDR (Rec. 709)
[2025-02-24 21:56:50.813]: Info: Color depth: 10-bit
[2025-02-24 21:56:50.813]: Info: Color range: JPEG
[2025-02-24 21:56:50.827]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2025-02-24 21:56:51.079]: Error: Couldn't release NvFBC context from current thread: 
[2025-02-24 21:56:51.079]: Info: 
[2025-02-24 21:56:51.079]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-02-24 21:56:51.079]: Info: 
[2025-02-24 21:56:51.079]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-02-24 21:56:51.079]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-02-24 21:56:51.079]: Info: Executing [Desktop]
[2025-02-24 21:56:51.194]: Info: New streaming session started [active sessions: 1]
[2025-02-24 21:56:51.210]: Info: CLIENT CONNECTED
[2025-02-24 21:56:51.678]: Info: Setting default sink to: [sink-sunshine-stereo]
[2025-02-24 21:56:51.681]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2025-02-24 21:56:51.682]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2025-02-24 21:56:56.278]: Info: Found [1] outputs
[2025-02-24 21:56:56.278]: Info: Virtual Desktop: 1600x900
[2025-02-24 21:56:56.278]: Info: XrandR: available
[2025-02-24 21:56:56.278]: Info: -- Output --
[2025-02-24 21:56:56.278]: Info:   Resolution: 1600x900
[2025-02-24 21:56:56.278]: Info:   Offset: 0x0
[2025-02-24 21:56:56.290]: Error: Couldn't release NvFBC context from current thread: 
[2025-02-24 21:56:56.290]: Info: Screencasting with NvFBC
[2025-02-24 21:56:56.346]: Info: Creating encoder [hevc_nvenc]
[2025-02-24 21:56:56.346]: Info: Color coding: SDR (Rec. 601)
[2025-02-24 21:56:56.346]: Info: Color depth: 8-bit
[2025-02-24 21:56:56.346]: Info: Color range: MPEG
[2025-02-24 21:57:14.753]: Info: CLIENT DISCONNECTED
[2025-02-24 21:57:14.758]: Info: Setting default sink to: [auto_null]
[2025-02-24 21:57:14.758]: Error: Couldn't set default-sink [auto_null]: No such entity
[2025-02-24 21:57:14.874]: Error: Couldn't release NvFBC context from current thread: 
[2025-02-24 21:57:14.874]: Error: Couldn't release NvFBC context from current thread: 

ngoc-minh-do avatar Feb 24 '25 13:02 ngoc-minh-do

~~I solved this by set FORCE_X11_DUMMY_CONFIG to true. This is my mistake, I didn't read the doc carefully~~

It is very funny in my environment.

When I access to VNC by browser:

  • Screen show black

When I connect to Sunshine using Moonlight

  • I can see the screen
  • No mouse, keyboard

When I connect to Sunshine using Moonlight AND also access VNC by browser

  • VNC in browser display screen, I can use mouse, keyboard.
  • But if I disconnect Moonlight, the display on the browser not update anymore (freeze)

ngoc-minh-do avatar Feb 24 '25 13:02 ngoc-minh-do

My mistake, that looks ok. What about the desktop logs?

Josh5 avatar Feb 24 '25 18:02 Josh5

Try also deleting the /home/default/.config directory in your container and then start it.

Josh5 avatar Feb 24 '25 18:02 Josh5

After I remove .config folder, it VNC in browser worked. EDIT: After restart container, it go back to previous behaviour

But still there is no mouse, keyboard in sunshine, the behaviour might be similar with #107? ps aux | grep udevd not show systemd-udevd process. I tried to follow https://github.com/Steam-Headless/docker-steam-headless/issues/107#issuecomment-2480913699 but it doesn't work

/home/.cache/log/desktop.err.log before remove .config folder

(xfce4-session:345): dbind-WARNING **: 09:30:18.955: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
xfce4-session: No SSH authentication agent found
(xfwm4:378): dbind-WARNING **: 09:30:19.017: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfsettingsd:393): dbind-WARNING **: 09:30:19.337: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfsettingsd:393): libupower-glib-WARNING **: 09:30:24.349: Couldn't connect to proxy: Error calling StartServiceByName for org.freedesktop.UPower: Failed to execute program org.freedesktop.UPower: Permission denied
(xfce4-panel:410): dbind-WARNING **: 09:30:24.421: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(Thunar:414): dbind-WARNING **: 09:30:24.455: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfdesktop:419): dbind-WARNING **: 09:30:24.502: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable
(light-locker:434): dbind-WARNING **: 09:30:24.674: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (light-locker:434): ERROR **: 09:30:24.679: session_id is not set, is /proc mounted with hidepid>0?
(xfsettingsd:441): dbind-WARNING **: 09:30:24.696: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (xiccd:459): CRITICAL **: 09:30:24.701: Failed to connect to colord: Error calling StartServiceByName for org.freedesktop.ColorManager: Failed to execute program org.freedesktop.ColorManager: Permission denied
steam.sh[427]: Running Steam on debian 12 64-bit
steam.sh[427]: STEAM_RUNTIME is enabled automatically
(xfce4-notifyd:452): dbind-WARNING **: 09:30:24.723: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(polkit-gnome-authentication-agent-1:464): dbind-WARNING **: 09:30:24.728: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(polkit-gnome-authentication-agent-1:464): polkit-gnome-1-WARNING **: 09:30:24.737: Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Failed to execute program org.freedesktop.PolicyKit1: Permission denied
(wrapper-2.0:482): dbind-WARNING **: 09:30:24.740: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(wrapper-2.0:491): dbind-WARNING **: 09:30:24.748: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(wrapper-2.0:499): dbind-WARNING **: 09:30:24.757: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
libclock-Message: 09:30:24.759: could not get proxy for org.freedesktop.login1
(xfce4-panel:410): libclock-WARNING **: 09:30:24.759: could not instantiate a sleep monitor
setup.sh[506]: Steam runtime environment up-to-date!
(xfce4-session:345): xfce4-session-WARNING **: 09:31:29.124: ICE connection 0x5d718389bd00 rejected
(xfce4-session:345): xfce4-session-WARNING **: 09:32:02.843: ICE connection 0x5d718389bd00 rejected
(xfce4-session:345): xfce4-session-WARNING **: 09:32:07.265: ICE connection 0x5d718389bd00 rejected
(xfce4-session:345): xfce4-session-WARNING **: 09:32:54.516: ICE connection 0x5d718389bd00 rejected
(xfce4-session:345): xfce4-session-WARNING **: 09:32:54.520: ICE connection 0x5d718389bd00 rejected

/home/.cache/log/desktop.err.log after remove .config folder

(xfce4-session:332): dbind-WARNING **: 09:41:38.300: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
xfce4-session: No SSH authentication agent found
(xfwm4:360): dbind-WARNING **: 09:41:38.357: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfwm4:360): xfwm4-WARNING **: 09:41:38.856: Another compositing manager is running on screen 0
(xfsettingsd:380): dbind-WARNING **: 09:41:38.881: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfsettingsd:380): libupower-glib-WARNING **: 09:41:38.894: Couldn't connect to proxy: Error calling StartServiceByName for org.freedesktop.UPower: Failed to execute program org.freedesktop.UPower: Permission denied
(xfce4-panel:385): dbind-WARNING **: 09:41:38.944: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(migrate:390): dbind-WARNING **: 09:41:38.973: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(Thunar:389): dbind-WARNING **: 09:41:38.973: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfdesktop:397): dbind-WARNING **: 09:41:39.015: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable
(light-locker:408): dbind-WARNING **: 09:41:39.163: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (light-locker:408): ERROR **: 09:41:39.173: session_id is not set, is /proc mounted with hidepid>0?
(xfsettingsd:412): dbind-WARNING **: 09:41:39.183: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (xiccd:425): CRITICAL **: 09:41:39.186: Failed to connect to colord: Error calling StartServiceByName for org.freedesktop.ColorManager: Failed to execute program org.freedesktop.ColorManager: Permission denied
steam.sh[401]: Running Steam on debian 12 64-bit
steam.sh[401]: STEAM_RUNTIME is enabled automatically
setup.sh[474]: Steam runtime environment up-to-date!
(polkit-gnome-authentication-agent-1:430): dbind-WARNING **: 09:41:39.252: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(polkit-gnome-authentication-agent-1:430): polkit-gnome-1-WARNING **: 09:41:39.258: Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Failed to execute program org.freedesktop.PolicyKit1: Permission denied
(xfce4-notifyd:424): dbind-WARNING **: 09:41:39.258: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
xfce4-panel-Message: 09:41:39.377: Plugin "(null)-7" was not found and has been removed from the configuration
xfce4-panel-Message: 09:41:39.387: Plugin "power-manager-plugin-9" was not found and has been removed from the configuration
(wrapper-2.0:543): dbind-WARNING **: 09:41:39.420: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
libclock-Message: 09:41:39.436: could not get proxy for org.freedesktop.login1
(xfce4-panel:385): libclock-WARNING **: 09:41:39.436: could not instantiate a sleep monitor
(wrapper-2.0:556): dbind-WARNING **: 09:41:39.446: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(wrapper-2.0:550): dbind-WARNING **: 09:41:39.446: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(wrapper-2.0:590): dbind-WARNING **: 09:41:39.533: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(wrapper-2.0:590): libactions-WARNING **: 09:41:39.841: Calling CanShutdown failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.login1: Permission denied
(wrapper-2.0:590): libactions-WARNING **: 09:41:39.844: Calling CanRestart failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.login1: Permission denied
(xfce4-session:332): xfce4-session-WARNING **: 09:41:39.849: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:332): xfce4-session-WARNING **: 09:41:39.855: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:332): xfce4-session-WARNING **: 09:41:39.860: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfdesktop:397): GVFS-RemoteVolumeMonitor-WARNING **: 09:41:40.996: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported
(xfce4-session:332): xfce4-session-WARNING **: 09:41:41.782: ICE connection 0x61a7e2eb2f90 rejected
(exo-open:1128): dbind-WARNING **: 09:41:47.411: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-mime-helper:1130): dbind-WARNING **: 09:41:47.433: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-terminal:1131): dbind-WARNING **: 09:41:47.476: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-session:332): xfce4-session-WARNING **: 09:42:05.561: ICE connection 0x61a7e2f74020 rejected
(xfce4-session:332): xfce4-session-WARNING **: 09:42:05.573: ICE connection 0x61a7e2f74020 rejected

/home/.cache/log/sunshine.err.log

(sunshine:398): dbind-WARNING **: 09:30:24.351: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(sunshine:398): libayatana-appindicator-WARNING **: 09:30:24.388: Unable to get the session bus: Cannot spawn a message bus when AT_SECURE is set
(sunshine:398): LIBDBUSMENU-GLIB-WARNING **: 09:30:24.388: Unable to get session bus: Cannot spawn a message bus when AT_SECURE is set
(sunshine:398): Gdk-CRITICAL **: 09:31:16.032: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
/usr/bin/start-sunshine.sh: line 19: kill: (397) - No such process
/usr/bin/start-sunshine.sh: line 26: kill: (397) - No such process
(sunshine:481): dbind-WARNING **: 09:41:39.268: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(sunshine:481): libayatana-appindicator-WARNING **: 09:41:39.310: Unable to get the session bus: Cannot spawn a message bus when AT_SECURE is set
(sunshine:481): LIBDBUSMENU-GLIB-WARNING **: 09:41:39.310: Unable to get session bus: Cannot spawn a message bus when AT_SECURE is set
(sunshine:481): Gdk-CRITICAL **: 09:41:39.832: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

ngoc-minh-do avatar Feb 25 '25 01:02 ngoc-minh-do