selkies-project / docker-nvidia-glx-desktop

KDE Plasma Desktop container designed for Kubernetes, supporting OpenGL EGL and GLX, Vulkan, and Wine/Proton for NVIDIA GPUs through WebRTC and HTML5, providing an open-source remote cloud/HPC graphics or game streaming platform.
https://github.com/selkies-project/docker-nvidia-glx-desktop/pkgs/container/nvidia-glx-desktop
Mozilla Public License 2.0
296 stars 65 forks source link

KDE Plasma not coming up for Ubuntu 24.04 #54

Closed alexeadem closed 1 month ago

alexeadem commented 1 month ago

KDE plasma is not coming up. I can run separate components successfully such as glxgears (with NVIDIA suport), xterm etc... but KDE desktop is not showing up. I get a blank screen with mouse enabled

I got it working with xcfe4 by installing xcfe4 session though...

ehfd commented 1 month ago

Sorry for the late reply. Could you post all logs as cat /tmp/*.log inside the container (docker exec -it (name_of_container) bash)?

alexeadem commented 1 month ago

Sure. I had to do a multiple of fixes to the Dockerfile to make it work with xfce4

git branch
* main

docker --version
Docker version 24.0.5, build %{shortcommit_cli}

Display is not parsed and invalid in Dockerfile syntax so I passed as argument like this

ARG XDG_DISPLAY ENV XDG_DISPLAY=${XDG_DISPLAY} ... ENV DISPLAY=":${XDG_DISPLAY}"

Unsupported replacement in Dockerfile ${DISPLAY#*:}" https://github.com/selkies-project/docker-nvidia-glx-desktop/blob/b506c323db4360998584b618921ef81307224f22/Dockerfile#L611

Removed extra charater '@' to be able to parse the right BUS_ID https://github.com/selkies-project/docker-nvidia-glx-desktop/blob/b506c323db4360998584b618921ef81307224f22/entrypoint.sh#L124C1-L124C97

Running xfce4 sudo -u qbo /usr/bin/xfce4-session & in /etc/entrypoint.sh

See success web screenshot with glxgears running
Screenshot from 2024-07-18 08-12-17

But I haven't been able to get KDE or Gnome working I just get a blank screen with the mouse pointer. I'm running everything as root /usr/bin/startplasma-x11 &

I think the issue is:

dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 13 (Permission denied) on X server ":20"

See below for full logs:

cat /tmp/dbus.log 

dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.Notifications' requested by ':1.0' (uid=0 pid=2119 comm="/usr/bin/fcitx")
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2116 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=0 pid=2173 comm="/usr/bin/kcminit_startup")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=0 pid=2173 comm="/usr/bin/kcminit_startup")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.kde.kglobalaccel' requested by ':1.13' (uid=0 pid=2187 comm="/usr/bin/kded5")
dbus-daemon[1902]: [session uid=0 pid=1902] Successfully activated service 'org.kde.kglobalaccel'
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='ca.desrt.dconf' requested by ':1.17' (uid=0 pid=2187 comm="/usr/bin/kded5")
dbus-daemon[1902]: [session uid=0 pid=1902] Successfully activated service 'ca.desrt.dconf'
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.21' (uid=0 pid=2229 comm="/usr/bin/ksmserver")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.kde.ActivityManager' requested by ':1.37' (uid=0 pid=2239 comm="/usr/bin/plasmashell")
dbus-daemon[1902]: [session uid=0 pid=1902] Successfully activated service 'org.kde.ActivityManager'
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.xfce.Xfconf' requested by ':1.43' (uid=0 pid=2342 comm="xfconf-query -c xsettings -p /Gtk/CursorThemeSize")
dbus-daemon[1902]: [session uid=0 pid=1902] Successfully activated service 'org.xfce.Xfconf'
org.kde.knotifications: WaitForName: Service was not registered within timeout
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke: I/O error (code 1)
The X11 connection broke (error 1). Did the X11 server die?
XIO:  fatal IO error 13 (Permission denied) on X server ":20"
      after 8 requests (8 known processed) with 0 events remaining.
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.Notifications' requested by ':1.45' (uid=0 pid=3327 comm="/usr/bin/fcitx")
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.51' (uid=0 pid=3324 comm="/usr/bin/startplasma-x11")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.56' (uid=0 pid=3381 comm="/usr/bin/kcminit_startup")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.56' (uid=0 pid=3381 comm="/usr/bin/kcminit_startup")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.kde.kglobalaccel' requested by ':1.58' (uid=0 pid=3395 comm="/usr/bin/kded5")
dbus-daemon[1902]: [session uid=0 pid=1902] Successfully activated service 'org.kde.kglobalaccel'
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.freedesktop.systemd1' requested by ':1.65' (uid=0 pid=3433 comm="/usr/bin/ksmserver")
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.kde.ActivityManager' requested by ':1.78' (uid=0 pid=3443 comm="/usr/bin/plasmashell")
dbus-daemon[1902]: [session uid=0 pid=1902] Successfully activated service 'org.kde.ActivityManager'
org.kde.knotifications: WaitForName: Service was not registered within timeout
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 13 (Permission denied) on X server ":20"
      after 8 requests (8 known processed) with 0 events remaining.
The X11 connection broke (error 1). Did the X11 server die?
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.jackaudio.service' requested by ':1.2' (uid=0 pid=17 comm="/usr/bin/pipewire")
dbus-daemon[7]: [session uid=0 pid=7] Successfully activated service 'org.jackaudio.service'
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.Notifications' requested by ':1.5' (uid=0 pid=220 comm="/usr/bin/fcitx")
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=217 comm="/usr/bin/startplasma-x11")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.16' (uid=0 pid=278 comm="/usr/bin/kcminit_startup")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.16' (uid=0 pid=278 comm="/usr/bin/kcminit_startup")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.kde.kglobalaccel' requested by ':1.18' (uid=0 pid=292 comm="/usr/bin/kded5")
dbus-daemon[7]: [session uid=0 pid=7] Successfully activated service 'org.kde.kglobalaccel'
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='ca.desrt.dconf' requested by ':1.22' (uid=0 pid=292 comm="/usr/bin/kded5")
dbus-daemon[7]: [session uid=0 pid=7] Successfully activated service 'ca.desrt.dconf'
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.freedesktop.systemd1' requested by ':1.26' (uid=0 pid=336 comm="/usr/bin/ksmserver")
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[7]: [session uid=0 pid=7] Activating service name='org.kde.ActivityManager' requested by ':1.42' (uid=0 pid=346 comm="/usr/bin/plasmashell")
dbus-daemon[7]: [session uid=0 pid=7] Successfully activated service 'org.kde.ActivityManager'
org.kde.knotifications: WaitForName: Service was not registered within timeout
dbus-daemon[7]: [session uid=0 pid=7] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
cat /tmp/entrypoint.log 

TRAPed signal
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: Fatal IO error: client killed
The X11 connection broke (error 1). Did the X11 server die?
X connection to :20 broken (explicit kill or server shutdown).
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: sending SIGHUP to children.
klauncher: Exiting on signal 1
kdeinit5: sending SIGTERM to children.
kdeinit5: Exit.
(II)Failed to launch bus: Bus killed by signal 2 Server terminated successfully (0). Closing log file.
kdeinit5_wrapper: Warning: connect(/tmp/runtime-qbo/kdeinit5__20) failed: : No such file or directory
Error: Can not contact kdeinit5!
org.kde.startup: "kdeinit5_shutdown" () exited with code 255
startkde: Starting up...
startkde: Shutting down...
startkde: Done.
New password: Retype new password: passwd: password updated successfully
touch: cannot touch '/dev/input/js0': No such file or directory
touch: cannot touch '/dev/input/js1': No such file or directory
touch: cannot touch '/dev/input/js2': No such file or directory
touch: cannot touch '/dev/input/js3': No such file or directory
touch: cannot touch '/dev/input/js0': No such file or directory
touch: cannot touch '/dev/input/js1': No such file or directory
touch: cannot touch '/dev/input/js2': No such file or directory
touch: cannot touch '/dev/input/js3': No such file or directory
Failed to create joystick interposer devices

WARNING: Unable to locate/open X configuration file.

Option "ProbeAllGpus" "False" added to Screen "Screen0".
Option "IncludeImplicitMetaModes" "True" added to Screen "Screen0".
Option "ModeDebug" "True" 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'

Waiting for X Socket

X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
Current Operating System: Linux 62ff987957f7 6.9.9-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 11 19:29:01 UTC 2024 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.9.9-200.fc40.x86_64 root=/dev/mapper/fedora_localhost--live-root ro nvidia-drm.modeset=1 resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet selinux=0 nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
xorg-server 2:21.1.12-1ubuntu1 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.42.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.20.log", Time: Thu Jul 18 16:12:59 2024
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
X Server is ready
Session Running. Press [Return] to exit.
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-chttrans.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-xkb.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-spell.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-kimpanel-ui.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-unikey.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-xkbdbus.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-clipboard.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-punc.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-quickphrase.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-fullwidth-char.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-sayura.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-vk.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-freedesktop-notify.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-lua.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-ipc.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-xim.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-autoeng.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-remote-module.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-dbus.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-unicode.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-m17n.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-imselector.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-x11.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-mozc.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-hangul.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-keyboard.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-ipcportal.conf
(INFO-3327 addon.c:151) Load Addon Config File:fcitx-libpinyin.conf
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
(ERROR-3327 ime.c:432) fcitx-keyboard-us already exists
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 3376, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :20
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/qbo/.gtkrc:/home/qbo/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/qbo/.gtkrc-2.0:/home/qbo/.config/gtkrc-2.0' from launcher.
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
print-manager.kded: unable to register service to dbus
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.61'
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
xsettingsd: Loaded 13 settings from /home/qbo/.config/xsettingsd/xsettingsd.conf
xsettingsd: Created window 0x1c00001 on screen 0 with timestamp 109670740
xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
xsettingsd: Took ownership of selection _XSETTINGS_S0
Qt: Session management error: networkIdsList argument is NULL
kdeinit5: Got SETENV 'SESSION_MANAGER=local/62ff987957f7:@/tmp/.ICE-unix/3433,unix/62ff987957f7:/tmp/.ICE-unix/3433' from launcher.
kdeinit5: Got SETENV 'SESSION_MANAGER=local/62ff987957f7:@/tmp/.ICE-unix/3433,unix/62ff987957f7:/tmp/.ICE-unix/3433' from launcher.
Baloo File Indexing has been disabled

** (agent:3458): CRITICAL **: 16:13:01.716: Failed to get connection to system bus: Could not connect: No such file or directory
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
dbus-daemon[3471]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=3454 comm="/usr/bin/gmenudbusmenuproxy")
dbus-daemon[3471]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
"Cannot create unix session: No session for pid 3444"

** (process:3444): CRITICAL **: 16:13:01.952: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed
"Cannot register authentication agent!"
Couldn't register listener!
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
kf.plasma.quick: Applet preload policy set to 1
Could not load a session backend. Session management operations such as shutdown will not be operational. This is a setup issue.
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
kdeconnect.core: Could not query capabilities from notifications server
alexeadem commented 1 month ago

The issue happens with xorg. Xvfb in docker-nvidia-egl-desktop works just fine

ehfd commented 1 month ago

I am troubleshooting after some other things to deal with. Please be patient.

ehfd commented 1 month ago

First, I replaced ENV DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR:-/tmp}/dbus-session-${DISPLAY#*:}" as well as many other small changes.

Does this issue occur in the 555 drivers?

ehfd commented 1 month ago

Works for r550 drivers. Yet to test on r555.

ehfd commented 1 month ago

image

Works well for me...

ehfd commented 1 month ago

https://forums.developer.nvidia.com/t/kde-plasma-crashing-on-x11-after-555-58-update/298851/3

Note that this is likely a driver issue.

alexeadem commented 1 month ago

Ok let me review this.

alexeadem commented 1 month ago

I tried

nvidia-smi                                                                                                                                                                                                   main 
Wed Jul 24 20:55:27 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Quadro T1000                   Off |   00000000:01:00.0 Off |                  N/A |
| N/A   59C    P8              4W /   50W |     139MiB /   4096MiB |     31%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A     15329      G   /usr/libexec/Xorg                               4MiB |
|    0   N/A  N/A     66464      G   /usr/bin/kded5                                  1MiB |
|    0   N/A  N/A     66466      G   /usr/bin/ksmserver                              1MiB |
|    0   N/A  N/A     66468      G   /usr/bin/kwin_x11                               1MiB |
|    0   N/A  N/A     66620      G   /usr/bin/plasmashell                           71MiB |
|    0   N/A  N/A     66698      G   ...86_64-linux-gnu/libexec/kdeconnectd          1MiB |
|    0   N/A  N/A     66702      G   /usr/bin/kaccess                                1MiB |
|    0   N/A  N/A     66706      G   ...-linux-gnu/libexec/DiscoverNotifier          1MiB |
|    0   N/A  N/A     66712      G   /usr/bin/kmix                                   1MiB |
|    0   N/A  N/A     67485      G   /usr/games/etr                                 45MiB |
+-----------------------------------------------------------------------------------------+

and

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78                 Driver Version: 550.78         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Tesla V100-SXM2-32GB           Off |   00000000:62:00.0 Off |                    0 |
| N/A   35C    P0             42W /  300W |       1MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  Tesla V100-SXM2-32GB           Off |   00000000:89:00.0 Off |                    0 |
| N/A   35C    P0             41W /  300W |       1MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

and I had the same issue

ehfd commented 1 month ago

I see an additional issue with DBus. Let me check.

ehfd commented 1 month ago

Does this happen with Ubuntu 22.04?

ehfd commented 1 month ago

https://github.com/linuxserver/docker-webtop/issues/251

It seems that Noble (24.04) is very buggy for KDE now.

alexeadem commented 1 month ago

Does this happen with Ubuntu 22.04?

I'm using selkies-project/nvidia-glx-desktop:latest and fedora 40 as base OS

docker run --name xgl -it -d --gpus 1 --tmpfs /dev/shm:rw -e TZ=UTC -e DISPLAY_SIZEW=1920 -e DISPLAY_SIZEH=1080 -e DISPLAY_REFRESH=60 -e DISPLAY_DPI=96 -e DISPLAY_CDEPTH=24 -e PASSWD=mypasswd -e SELKIES_ENCODER=nvh264enc -e SELKIES_VIDEO_BITRATE=8000 -e SELKIES_FRAMERATE=60 -e SELKIES_AUDIO_BITRATE=128000 -e SELKIES_BASIC_AUTH_PASSWORD=mypasswd -p 8080:8080 ghcr.io/selkies-project/nvidia-glx-desktop:latest
alexeadem commented 1 month ago

linuxserver/docker-webtop#251

It seems that Noble (24.04) is very buggy for KDE now.

I ran a test with linuxserver debian 12

TAG=debian-kde  
#TAG=latest
#-gpus all 
docker run -d \
  --name=webtop \
  --security-opt seccomp=unconfined \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -p 3000:3000 \
  -p 3001:3001 \
  -v ./config:/config \
  -v /var/run/docker.sock:/var/run/docker.sock `#optional` \
  --device /dev/dri:/dev/dri `#optional` \
  --restart unless-stopped \
  lscr.io/linuxserver/webtop:$TAG

It works without -gpus all. It is definitely the Nvidia GPU causing the issue with KDE. It I run it with the nvidia runtime I get the same issue I'm getting with docker-nvidia-glx-desktop

alexeadem commented 1 month ago

I think this is the issue:

qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 185, resource id: 0, major code: 140 (Unknown), minor code: 20
QPixmap: QGuiApplication must be created before calling defaultDepth().
QPixmap: QGuiApplication must be created before calling defaultDepth().
Xlib:  extension "NV-GLX" missing on display ":1".
ehfd commented 1 month ago

I think this is the issue:

qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 185, resource id: 0, major code: 140 (Unknown), minor code: 20
QPixmap: QGuiApplication must be created before calling defaultDepth().
QPixmap: QGuiApplication must be created before calling defaultDepth().
Xlib:  extension "NV-GLX" missing on display ":1".

This part just means that you're using NVIDIA Optimus in your host (iGPU + dGPU).

dbus-daemon[1902]: [session uid=0 pid=1902] Activating service name='org.xfce.Xfconf' requested by ':1.43' (uid=0 pid=2342 comm="xfconf-query -c xsettings -p /Gtk/CursorThemeSize")
dbus-daemon[1902]: [session uid=0 pid=1902] Successfully activated service 'org.xfce.Xfconf'
org.kde.knotifications: WaitForName: Service was not registered within timeout
dbus-daemon[1902]: [session uid=0 pid=1902] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke: I/O error (code 1)
The X11 connection broke (error 1). Did the X11 server die?
XIO:  fatal IO error 13 (Permission denied) on X server ":20"
      after 8 requests (8 known processed) with 0 events remaining.

And just in case, please don't mix Xfce with KDE. Just in case.

ghcr.io/selkies-project/nvidia-glx-desktop:22.04

Could you try the Ubuntu 22.04 image and see if anything's different?

ehfd commented 1 month ago

I've tinkered with a number of things regarding KDE and DBus. Things might have changed.

alexeadem commented 1 month ago

ok plasma is working on ghcr.io/selkies-project/nvidia-glx-desktop:22.04. In order to build that image I can just build it from main?

Also I'm getting this error. This only works with NVIDIA Testa V100 with default setting VIDEO_PORT=DFP

I tried DP-1 and DP-0 and none fro VIDEO_PORT for Nvidia Quadro T1000 and Quadro T2000 but that didn't work.

/usr/games/etr 

----------- Extreme Tux Racer 0.8.1 ----------------
----------- (C) 2010-2021 Extreme Tux Racer Team  --------

X Error of failed request:  BadRROutput (invalid Output parameter)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  9 (RRGetOutputInfo)
  Serial number of failed request:  80
  Current serial number in output stream:  80
ehfd commented 1 month ago

ok plasma is working on ghcr.io/selkies-project/nvidia-glx-desktop:22.04. In order to build that image I can just build it from main?

Yes, it's not a different branch. Use --build-args DISTRIB_RELEASE=22.04. Still want to see whether Ubuntu 24.04 works after the commits I made today (use docker pull).

The below error shows when you use VIDEO_PORT as none. Try keeping it at DFP, and if it doesn't work, show me the X.org logs (likely in /home/ubuntu/.local/share/xorg/Xorg.20.log).

alexeadem commented 1 month ago

Was it a dbus issue? I see you made this change /usr/bin/dbus-launch --exit-with-session /usr/bin/startplasma-x11 I'd like to know case I'd like to fix it in Debian as well.

Thanks for the help.

Or let me test 24.04 and I'll report back

alexeadem commented 1 month ago

I tried 24.04 and still not working. There is probably an issue with the latest KDE/ Plasma release. It doesn't work in debian 12 as well.

Command ran:

docker run --name docker-nvidia-glx-desktop -it -d --gpus 1 --tmpfs /dev/shm:rw -e TZ=UTC -e DISPLAY_SIZEW=1920 -e DISPLAY_SIZEH=1080 -e DISPLAY_REFRESH=60 -e DISPLAY_DPI=96 -e DISPLAY_CDEPTH=24 -e PASSWD=mypasswd -e SELKIES_ENCODER=nvh264enc -e SELKIES_VIDEO_BITRATE=8000 -e SELKIES_FRAMERATE=60 -e SELKIES_AUDIO_BITRATE=128000 -e SELKIES_BASIC_AUTH_PASSWORD=mypasswd -p 8080:8080 ghcr.io/selkies-project/nvidia-glx-desktop:24.04

XFCE4 work well in 24.04 and Debian 12 with the following issue:

XFCE4 desktop works with Compiz enabled. Games (such as: Tuxracer) only works with TeslaV100 Hardware. I didn't work in my Quadro T1000 or T2000. I'll open a different issue on this. Maybe a driver issue?

Let me know if you get plasma working in Ubuntu 24.04

Plasma works in 22.04 with the same issue I mentioned above

ehfd commented 1 month ago

Okay. Just note that you have to pull the new image, if you have not done so.

ehfd commented 1 month ago

Let me know if you get plasma working in Ubuntu 24.04

Note that Plasma works fine in normal conditions that I use right now (Kubernetes or Docker + NVIDIA Container Toolkit). I need to know the peculiarities of your system. I need all the new cat /tmp/*.log logs, plus cat /home/ubuntu/.local/share/xorg/Xorg.20.log.

alexeadem commented 1 month ago

Is plasma in 24.04 is working for you? Can you share the environment. NVIDIA driver version and NVIDIA hardware? And is that GKE?

Regarding Kubernetes I doubt you are only using the Container Toolkit. You'll need the NVIDIA Operator as well if you are running the as pods. Unless I'm missing something....

Can you also share the ports for coturn ports needed and LB configuration in K8s. My next step is to run it in QBO Kubernetes engine.

I have upd/tcp 3478 and upd/tcp 3479 and 8080. But my guess is there are some more or some ipv6 requirements I'm missing. Still need to troubleshoot the ports needed in k8s.

I'm trying to make egl and glx images compatible with QBO https://qbo.io/#/ which should be able to run anywhere and not only in specific environments..

GLX is only working for me on NVIDIA v100 Teslas and xfce4 in 24.04 or Debian 12.

I'll share the logs "need all the new cat /tmp/*.log logs, plus cat /home/ubuntu/.local/share/xorg/Xorg.20.log." in a moment.

Thanks,

alexeadem commented 1 month ago
cat /home/ubuntu/.local/share/xorg/Xorg.20.log 
[  2253.511] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[  2253.513] 
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[  2253.513] Current Operating System: Linux fdaf3dd389b7 6.9.10-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 18 21:39:30 UTC 2024 x86_64
[  2253.513] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.9.10-200.fc40.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet selinux=0 nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[  2253.513] xorg-server 2:21.1.12-1ubuntu1 (For technical support please see http://www.ubuntu.com/support) 
[  2253.513] Current version of pixman: 0.42.2
[  2253.513]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  2253.513] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2253.513] (==) Log file: "/home/ubuntu/.local/share/xorg/Xorg.20.log", Time: Sun Jul 28 03:52:14 2024
[  2253.513] (==) Using config file: "/etc/X11/xorg.conf"
[  2253.513] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2253.513] (==) ServerLayout "Layout0"
[  2253.513] (**) |-->Screen "Screen0" (0)
[  2253.513] (**) |   |-->Monitor "Monitor0"
[  2253.514] (**) |   |-->Device "Device0"
[  2253.514] (**) |-->Input Device "Keyboard0"
[  2253.514] (**) |-->Input Device "Mouse0"
[  2253.514] (**) Option "DontVTSwitch" "true"
[  2253.514] (**) Option "AllowMouseOpenFail" "true"
[  2253.514] (**) Option "AutoAddGPU" "false"
[  2253.514] (**) Allowing byte-swapped clients
[  2253.514] (==) Automatically adding devices
[  2253.514] (==) Automatically enabling devices
[  2253.514] (**) Not automatically adding GPU devices
[  2253.514] (==) Automatically binding GPU devices
[  2253.514] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2253.514] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  2253.514]    Entry deleted from font path.
[  2253.514] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  2253.514]    Entry deleted from font path.
[  2253.514] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  2253.514]    Entry deleted from font path.
[  2253.514] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  2253.514]    Entry deleted from font path.
[  2253.514] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  2253.514]    Entry deleted from font path.
[  2253.514] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
[  2253.514] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2253.514] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  2253.514] (WW) Disabling Keyboard0
[  2253.514] (WW) Disabling Mouse0
[  2253.514] (II) Loader magic: 0x55c289891020
[  2253.514] (II) Module ABI versions:
[  2253.514]    X.Org ANSI C Emulation: 0.4
[  2253.514]    X.Org Video Driver: 25.2
[  2253.514]    X.Org XInput driver : 24.4
[  2253.514]    X.Org Server Extension : 10.0
[  2253.519] (EE) systemd-logind: failed to get session: The permission of the setuid helper is not correct
[  2253.521] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2253.521] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[  2253.521] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2253.521] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[  2253.526] (--) PCI:*(0@0:2:0) 8086:3e9b:1028:0906 rev 2, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[  2253.526] (--) PCI: (1@0:0:0) 10de:1fb9:1028:0906 rev 161, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[  2253.526] (II) LoadModule: "glx"
[  2253.526] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2253.527] (II) Module glx: vendor="X.Org Foundation"
[  2253.528]    compiled for 1.21.1.11, module version = 1.0.0
[  2253.528]    ABI class: X.Org Server Extension, version 10.0
[  2253.528] (II) LoadModule: "nvidia"
[  2253.528] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  2253.528] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2253.528]    compiled for 1.6.99.901, module version = 1.0.0
[  2253.528]    Module class: X.Org Video Driver
[  2253.528] (II) NVIDIA dlloader X Driver  555.58.02  Tue Jun 25 01:14:56 UTC 2024
[  2253.528] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2253.528] (II) Loading sub module "fb"
[  2253.528] (II) LoadModule: "fb"
[  2253.528] (II) Module "fb" already built-in
[  2253.528] (II) Loading sub module "wfb"
[  2253.528] (II) LoadModule: "wfb"
[  2253.529] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  2253.529] (II) Module wfb: vendor="X.Org Foundation"
[  2253.529]    compiled for 1.21.1.11, module version = 1.0.0
[  2253.529]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2253.529] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2253.529] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  2253.529] (==) NVIDIA(0): RGB weight 888
[  2253.529] (==) NVIDIA(0): Default visual is TrueColor
[  2253.529] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  2253.529] (**) NVIDIA(0): Option "ModeValidation" "NoMaxPClkCheck,NoEdidMaxPClkCheck,NoMaxSizeCheck,NoHorizSyncCheck,NoVertRefreshCheck,NoVirtualSizeCheck,NoExtendedGpuCapabilitiesCheck,NoTotalSizeCheck,NoDualLinkDVICheck,NoDisplayPortBandwidthCheck,AllowNon3DVisionModes,AllowNonHDMI3DModes,AllowNonEdidModes,NoEdidHDMI2Check,AllowDpInterlaced"
[  2253.529] (**) NVIDIA(0): Option "IncludeImplicitMetaModes" "True"
[  2253.529] (**) NVIDIA(0): Option "ProbeAllGpus" "False"
[  2253.529] (**) NVIDIA(0): Option "ModeDebug" "True"
[  2253.529] (**) NVIDIA(0): Option "BaseMosaic" "False"
[  2253.529] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "True"
[  2253.529] (**) NVIDIA(0): Option "AllowExternalGpus" "True"
[  2253.529] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
[  2253.529] (**) NVIDIA(0): Enabling 2D acceleration
[  2253.529] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
[  2253.529] (II) Loading sub module "glxserver_nvidia"
[  2253.529] (II) LoadModule: "glxserver_nvidia"
[  2253.530] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[  2253.544] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[  2253.544]    compiled for 1.6.99.901, module version = 1.0.0
[  2253.544]    Module class: X.Org Server Extension
[  2253.544] (II) NVIDIA GLX Module  555.58.02  Tue Jun 25 01:12:27 UTC 2024
[  2253.544] (II) NVIDIA: The X server supports PRIME Render Offload.
[  2253.554] (WW) NVIDIA: No DRM device: No direct render devices found.
[  2253.566] (II) NVIDIA(0): NVIDIA GPU Quadro T1000 (TU117GL-A) at PCI:1:0:0 (GPU-0)
[  2253.566] (--) NVIDIA(0): Memory: 4194304 kBytes
[  2253.567] (--) NVIDIA(0): VideoBIOS: 90.17.1c.40.4c
[  2253.567] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  2253.567] (II) NVIDIA(0): Validated MetaModes:
[  2253.567] (**) NVIDIA(0): Virtual screen size configured to be 1920 x 1080
[  2253.567] (++) NVIDIA(0): DPI set to (96, 96); computed from -dpi X commandline option
[  2253.568] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[  2253.568] (II) NVIDIA:     access.
[  2253.605] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[  2253.605] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[  2253.605] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[  2253.605] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[  2253.605] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[  2253.605] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[  2253.605] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[  2253.605] (II) NVIDIA(0):     Config Options in the README.
[  2253.627] (II) NVIDIA(0): Setting mode "NULL"
[  2253.667] (==) NVIDIA(0): Disabling shared memory pixmaps
[  2253.667] (==) NVIDIA(0): Backing store enabled
[  2253.667] (==) NVIDIA(0): Silken mouse enabled
[  2253.667] (**) NVIDIA(0): DPMS enabled
[  2253.667] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[  2253.667] (II) Loading sub module "dri2"
[  2253.667] (II) LoadModule: "dri2"
[  2253.667] (II) Module "dri2" already built-in
[  2253.667] (II) NVIDIA(0): [DRI2] Setup complete
[  2253.667] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  2253.667] (II) Initializing extension Generic Event Extension
[  2253.667] (II) Initializing extension SHAPE
[  2253.668] (II) Initializing extension MIT-SHM
[  2253.668] (II) Initializing extension XInputExtension
[  2253.668] (II) Initializing extension XTEST
[  2253.668] (II) Initializing extension BIG-REQUESTS
[  2253.668] (II) Initializing extension SYNC
[  2253.668] (II) Initializing extension XKEYBOARD
[  2253.668] (II) Initializing extension XC-MISC
[  2253.668] (II) Initializing extension SECURITY
[  2253.668] (II) Initializing extension XFIXES
[  2253.668] (II) Initializing extension RENDER
[  2253.668] (II) Initializing extension RANDR
[  2253.668] (II) Initializing extension COMPOSITE
[  2253.668] (II) Initializing extension DAMAGE
[  2253.668] (II) Initializing extension MIT-SCREEN-SAVER
[  2253.668] (II) Initializing extension DOUBLE-BUFFER
[  2253.668] (II) Initializing extension RECORD
[  2253.669] (II) Initializing extension DPMS
[  2253.669] (II) Initializing extension Present
[  2253.669] (II) Initializing extension DRI3
[  2253.669] (II) Initializing extension X-Resource
[  2253.669] (II) Initializing extension XVideo
[  2253.669] (II) Initializing extension XVideo-MotionCompensation
[  2253.669] (II) Initializing extension SELinux
[  2253.669] (II) SELinux: Disabled on system
[  2253.669] (II) Initializing extension GLX
[  2253.669] (II) Initializing extension GLX
[  2253.669] (II) Indirect GLX disabled.
[  2253.669] (II) GLX: Another vendor is already registered for screen 0
[  2253.669] (II) Initializing extension XFree86-VidModeExtension
[  2253.669] (II) Initializing extension XFree86-DGA
[  2253.669] (II) Initializing extension XFree86-DRI
[  2253.669] (II) Initializing extension DRI2
[  2253.669] (II) Initializing extension NV-GLX
[  2253.669] (II) Initializing extension NV-CONTROL
[  2253.723] (II) config/udev: Adding drm device (/dev/dri/card0)
[  2253.723] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2253.723] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[  2253.723] (II) config/udev: Adding drm device (/dev/dri/card1)
[  2253.723] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2253.723] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
alexeadem commented 1 month ago
cat /tmp/entrypoint.log 
New password: Retype new password: passwd: password updated successfully
mkdir: cannot create directory ‘/dev/input’: Permission denied
touch: cannot touch '/dev/input/js0': No such file or directory
touch: cannot touch '/dev/input/js1': No such file or directory
touch: cannot touch '/dev/input/js2': No such file or directory
touch: cannot touch '/dev/input/js3': No such file or directory
Creating directory NVIDIA-Linux-x86_64-555.58.02
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 555.58.02........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

WARNING: You specified the '--no-kernel-modules' command line option, nvidia-installer will not install any kernel modules as part of this driver installation, and it will not remove existing NVIDIA kernel modules not part of an earlier NVIDIA driver installation.  Please ensure that NVIDIA kernel modules matching this driver version are installed separately.

WARNING: Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path.

ERROR: Unable to delete existing file '/lib/firmware/nvidia/555.58.02/gsp_tu10x.bin' (Permission denied)

ERROR: Unable to delete existing file '/lib/firmware/nvidia/555.58.02/gsp_ga10x.bin' (Permission denied)

ERROR: Unable to delete existing file '/usr/bin/nvidia-smi' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/bin/nvidia-debugdump' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libcuda.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/bin/nvidia-cuda-mps-control' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/bin/nvidia-cuda-mps-server' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libcudadebugger.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/bin/nvidia-persistenced' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-gpucomp.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-tls.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-rtcore.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvoptix.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvcuvid.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-encode.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.555.58.02' (Device or resource busy)

ERROR: Unable to delete existing file '/usr/lib/x86_64-linux-gnu/libnvidia-pkcs11-openssl3.so.555.58.02' (Device or resource busy)

WARNING: Unable to locate/open X configuration file.

Option "ProbeAllGpus" "False" added to Screen "Screen0".
Option "IncludeImplicitMetaModes" "True" added to Screen "Screen0".
Option "ModeDebug" "True" 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'

ln: failed to create symbolic link '/dev/tty7': Permission denied
Waiting for X Socket
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
Current Operating System: Linux fdaf3dd389b7 6.9.10-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 18 21:39:30 UTC 2024 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.9.10-200.fc40.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet selinux=0 nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
xorg-server 2:21.1.12-1ubuntu1 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.42.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/ubuntu/.local/share/xorg/Xorg.20.log", Time: Sun Jul 28 03:52:14 2024
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
X Server is ready
Session Running. Press [Return] to exit.
(INFO-681 addon.c:151) Load Addon Config File:fcitx-chttrans.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-xkb.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-spell.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-kimpanel-ui.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-unikey.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-xkbdbus.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-clipboard.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-punc.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-quickphrase.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-fullwidth-char.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-sayura.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-vk.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-freedesktop-notify.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-lua.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-ipc.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-xim.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-autoeng.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-remote-module.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-dbus.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-unicode.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-m17n.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-imselector.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-x11.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-mozc.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-hangul.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-keyboard.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-ipcportal.conf
(INFO-681 addon.c:151) Load Addon Config File:fcitx-libpinyin.conf
QIODevice::read (QFile, "/home/ubuntu/.config/kdedefaults/package"): device not open
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
(ERROR-681 ime.c:432) fcitx-keyboard-us already exists
QPixmap: QGuiApplication must be created before calling defaultDepth().
QPixmap: QGuiApplication must be created before calling defaultDepth().
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 755, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :20
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/ubuntu/.gtkrc:/home/ubuntu/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/ubuntu/.gtkrc-2.0:/home/ubuntu/.config/gtkrc-2.0' from launcher.
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
print-manager.kded: unable to register service to dbus
kwin_core: Parse error in tiles configuration for monitor "58ca410b-ce44-58d6-82b9-fefe44aba0e3" : "illegal value" Creating default setup
Qt: Session management error: networkIdsList argument is NULL
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
kdeinit5: Got SETENV 'SESSION_MANAGER=local/fdaf3dd389b7:@/tmp/.ICE-unix/822,unix/fdaf3dd389b7:/tmp/.ICE-unix/822' from launcher.
kdeinit5: Got SETENV 'SESSION_MANAGER=local/fdaf3dd389b7:@/tmp/.ICE-unix/822,unix/fdaf3dd389b7:/tmp/.ICE-unix/822' from launcher.
/usr/bin/iceauth:  creating new authority file /tmp/runtime-ubuntu/ICEauthority
Baloo File Indexing has been disabled
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
dbus-daemon[873]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=860 comm="/usr/bin/gmenudbusmenuproxy")
dbus-daemon[873]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
"Cannot create unix session: No session for pid 840"

** (process:840): CRITICAL **: 03:52:16.431: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed
"Cannot register authentication agent!"
Couldn't register listener!
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
kf.plasma.quick: Applet preload policy set to 1
Could not load a session backend. Session management operations such as shutdown will not be operational. This is a setup issue.
requesting unexisting screen geometry -1
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
kde.plasmashell: Activity added twice "fbd4f1b2-2982-443a-967a-5f000076a7c1"
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.13'
xsettingsd: Loaded 13 settings from /home/ubuntu/.config/xsettingsd/xsettingsd.conf
xsettingsd: Created window 0x3800001 on screen 0 with timestamp 2256756
xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
xsettingsd: Took ownership of selection _XSETTINGS_S0
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
kdeconnect.core: Could not query capabilities from notifications server
kwin_core: XCB error: 3 (BadWindow), sequence: 1035, resource id: 16777230, major code: 129 (SHAPE), minor code: 6 (Input)
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
alexeadem commented 1 month ago

I can send you selkies-gstreamer-entrypoint.log and others but I don't think the issue is there. But let me know and I'm happy to send them over as well.

I did a pull request as you suggested above. The following commands were used

docker pull ghcr.io/selkies-project/nvidia-glx-desktop:24.04

docker run --name docker-nvidia-glx-desktop -it -d --gpus 1 --tmpfs /dev/shm:rw -e TZ=UTC -e DISPLAY_SIZEW=1920 -e DISPLAY_SIZEH=1080 -e DISPLAY_REFRESH=60 -e DISPLAY_DPI=96 -e DISPLAY_CDEPTH=24 -e PASSWD=mypasswd -e SELKIES_ENCODER=nvh264enc -e SELKIES_VIDEO_BITRATE=8000 -e SELKIES_FRAMERATE=60 -e SELKIES_AUDIO_BITRATE=128000 -e SELKIES_BASIC_AUTH_PASSWORD=mypasswd -p 8080:8080 ghcr.io/selkies-project/nvidia-glx-desktop:24.04
ehfd commented 1 month ago

Is plasma in 24.04 is working for you? Can you share the environment. NVIDIA driver version and NVIDIA hardware? And is that GKE?

Regarding Kubernetes I doubt you are only using the Container Toolkit. You'll need the NVIDIA Operator as well if you are running the as pods. Unless I'm missing something....

Yes, the NVIDIA/k8s-device-plugin and the operator is, of course, used.

The environment I'm using is a kubeadm cluster (self-hosted bare-metal, no cloud) NVIDIA drivers 550.76 + NVIDIA TITAN Xp and (in the same cluster but different node) NVIDIA drivers 550.90.07 + NVIDIA RTX 4090.

I may also use another node containing Docker with NVIDIA drivers 555.58.02 + NVIDIA Quadro RTX 6000.

And use a TURN server that is shared across the cluster.

ehfd commented 1 month ago

Note that WSL support from Windows is finicky, just in case it's the case (because I read descriptions about WSL in https://github.com/alexeadem/qbo-ce).

alexeadem commented 1 month ago

Note that WSL support from Windows is finicky, just in case it's the case (because I read descriptions about WSL in https://github.com/alexeadem/qbo-ce).

I'm using Qbo in Linux (Fedora 40) not Windows.

ehfd commented 1 month ago

OK. I'm continuing to try more potential fixes out.

ehfd commented 1 month ago

Swapped a few more things. I don't guarantee it is a fix for this problem, but removed one more unnecessary interaction between the GPU and KDE. @alexeadem

ehfd commented 1 month ago

Moreover, try updating the NVIDIA drivers to the latest that exists.

ehfd commented 1 month ago

https://github.com/carla-simulator/carla/issues/3999

This might be associated.

ehfd commented 1 month ago

image

Docker 27.1.0, Quadro RTX 6000, 555.58.02 drivers. Nothing peculiar in my range...

ehfd commented 1 month ago

@alexeadem I also need to check which type of PC you are running the GLX desktop here and where it fails.

If this part also fails only in a laptop, it's likely an Optimus/Bumblebee issue as well.

Generally, unless you really need to distribute your QBO to laptops (in this case, the EGL desktop is a much safer choice and exists because there is a need to accommodate more niche environments more resiliently), I only recommend using discrete GPUs for the GLX desktop unless you're willing to go through all the uncertainties of hybrid GPU systems.

ehfd commented 1 month ago

If this issue comes up only on a laptop, it's an Optimus/Bumblebee issue (thus an improvement instead of a bug). If it fails in the V100 as well, it's something much more serious (a high-priority bug).

alexeadem commented 1 month ago

@alexeadem I also need to check which type of PC you are running the GLX desktop here and where it fails.

If this part also fails only in a laptop, it's likely an Optimus/Bumblebee issue as well.

Generally, unless you really need to distribute your QBO to laptops (in this case, the EGL desktop is a much safer choice and exists because there is a need to accommodate more niche environments more resiliently), I only recommend using discrete GPUs for the GLX desktop unless you're willing to go through all the uncertainties of hybrid GPU systems.

First-of thanks for all the help. Selkies is a great project. The ability to use a GPU desktop via the web with such performance is impressive and game changer. VNC days are over with Selkies...

A couple of observations: GLX drawback is that once Xorg grabs a GPU it can't be used by another container. Boo. What would be the difference of just doing a pas-through with VFIO?

EGL is great but I see a limitation with vglrun in that the windows manager cannot be replaces by compiz replace. vglrun can only accelerate the app you give it as an argument

This is the command I'm referring to: https://github.com/selkies-project/docker-nvidia-egl-desktop/blob/711bfaacd1ed437ea65ed358444bad32d693f6f7/entrypoint.sh#L97

Overall regarding (GLX adn EGL) I don't see a big difference in performance compared to llvmpipe when docker toolkit is loaded. I just see more advantages of using: llmpipe. It is more flexible and works pretty much everywhere as long as you have the toolkit (probably also work in WSL2 ). You can also run Compiz and it doesn't require the NVIDIA drivers - which delays the startup of the containers by a lot. If you want to develop with CUDA you can just use the CUDA container toolkit without the need of the extra driver installation in the container.

That said I was able to build an image with systemd that incorporates all these changes and it runs in QBO Container Engine. I'll use the EGL image without vglrun to run it in QBO Kubernetes Engine cause it will be easier to run supervisord on containerD.

Check out the outcome in this video

QBO PLASMA DESKTOP

And I've added instructions on how to run it if you want to try the systemd image locally

https://github.com/alexeadem/plasma

ehfd commented 1 month ago

A couple of observations: GLX drawback is that once Xorg grabs a GPU it can't be used by another container. Boo. What would be the difference of just doing a pas-through with VFIO?

Yes, but GLX is used by many applications, and they cannot use EGL. VirtualGL (used in the EGL container) converts EGL to GLX. There is also Zink, available in Bookworm and Noble, which converts Vulkan to OpenGL, at a small performance cost.

My theory of the difference with VFIO is that VFIO takes even more of the GPU performance. Moreover, cloud VMs are much more expensive than cloud containers (as seen with AWS, GCP, DigitalOcean... versus TensorDock, VAST.ai, RunPod...) for the same hardware.

EGL is great but I see a limitation with vglrun in that the windows manager cannot be replaces by compiz replace. vglrun can only accelerate the app you give it as an argument

Correct. If you don't like that, you're welcome to investigate Zink. (https://github.com/linuxserver/docker-webtop/blob/debian-kde/root/defaults/startwm.sh)

I don't see a big difference in performance compared to llvmpipe when docker toolkit is loaded.

You should check with a real graphics application such as Basemark, Unigine, GFXBench. https://wiki.archlinux.org/title/Benchmarking#Graphics

glxgears and glmark2 are currently constrained to the CPU and there is a bottleneck that affects VirtualGL even harder. It's much more important to test actual graphics workloads that are intensive enough to operate close to 60-160 fps rather than comparing 2000 fps with 12000 fps, which the human eye isn't going to see anyways.

llvmpipe is nice when actual OpenGL heavy lifting doesn't happen, but try the Unreal Editor 5, for example, and compare. Same point as to benchmark Basemark, Unigine, GFXBench for actual performance barometers.

ehfd commented 1 month ago

@alexeadem I still have not received the answer about whether all containers work with V100 or not (VERY important!).

ehfd commented 1 month ago

Moreover, the ultimate premise of the GLX container is that there should be no X servers running with the same GPU. It seems that this says otherwise (/usr/libexec/Xorg is not something that exists in Ubuntu or Debian):

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Quadro T1000                   Off |   00000000:01:00.0 Off |                  N/A |
| N/A   59C    P8              4W /   50W |     139MiB /   4096MiB |     31%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A     15329      G   /usr/libexec/Xorg                               4MiB |
|    0   N/A  N/A     66464      G   /usr/bin/kded5                                  1MiB |
|    0   N/A  N/A     66466      G   /usr/bin/ksmserver                              1MiB |
|    0   N/A  N/A     66468      G   /usr/bin/kwin_x11                               1MiB |
|    0   N/A  N/A     66620      G   /usr/bin/plasmashell                           71MiB |
|    0   N/A  N/A     66698      G   ...86_64-linux-gnu/libexec/kdeconnectd          1MiB |
|    0   N/A  N/A     66702      G   /usr/bin/kaccess                                1MiB |
|    0   N/A  N/A     66706      G   ...-linux-gnu/libexec/DiscoverNotifier          1MiB |
|    0   N/A  N/A     66712      G   /usr/bin/kmix                                   1MiB |
|    0   N/A  N/A     67485      G   /usr/games/etr                                 45MiB |
+-----------------------------------------------------------------------------------------+
ehfd commented 1 month ago

What I cannot properly understand here is how exactly things work in the V100. There are a few issues (like the above) that I see with the laptop that I don't see with the V100.

ehfd commented 1 month ago

One thing that can provide issues in V100: the maximum resolution of DFP in V100 is 2560x1600. @alexeadem

alexeadem commented 1 month ago

@alexeadem I still have not received the answer about whether all containers work with V100 or not (VERY important!).

Not sure I understand what you mean by "all containers' Do you want me to test again Ubuntu 24.04 after the changes ?

alexeadem commented 1 month ago

What I cannot properly understand here is how exactly things work in the V100. There are a few issues (like the above) that I see with the laptop that I don't see with the V100.

To be clear Ubuntu 24.04 GLX Plasma desktop doesn't work in either one. The desktop remains with a blank screen and only the mouse is visible. This applies to Tesla v100 dacenter servers or Quadro T1000/ T2000 laptops. The plasma desktop doesn't come up. Glxgears works though.

Ubuntu 22.04 plasma GLX desktop works in both: Tesla v100 dacenter servers or Quadro T1000/ T2000 laptops. I get the full plasma desktop screen but games fail with the error in this issue: https://github.com/selkies-project/docker-nvidia-glx-desktop/issues/56#issue-2432960456 if I'm not using Tesla V100 in the data center. Glxgears works in both

Hope this clarifies things

alexeadem commented 1 month ago

A couple of observations: GLX drawback is that once Xorg grabs a GPU it can't be used by another container. Boo. What would be the difference of just doing a pass-through with VFIO?

Yes, but GLX is used by many applications, and they cannot use EGL. VirtualGL (used in the EGL container) converts EGL to GLX. There is also Zink, available in Bookworm and Noble, which converts Vulkan to OpenGL, at a small performance cost.

My theory of the difference with VFIO is that VFIO takes even more of the GPU performance. Moreover, cloud VMs are much more expensive than cloud containers (as seen with AWS, GCP, DigitalOcean... versus TensorDock, VAST.ai, RunPod...) for the same hardware.

Yeah I can't agree more.. The core objective of QBO is to eliminate the use of virtual machines (VMs) entirely, which is why this project aligns so well with QBO. Virtual machine performance is notably inferior compared to containers. QBO runs compute instances within the QBO Container Engine (QCE) using pure container technology, and similarly, the QBO Kubernetes Engine (QKE) leverages Kubernetes-in-Docker technology (Docker and containerD). This approach eliminates traditional virtualization altogether, provides metal performance and multi-tenancy in metal hosts.

But you can still do a VFIO pass-through to a container instead of a VM can't you?

EGL is great but I see a limitation with vglrun in that the windows manager cannot be replaces by compiz replace. vglrun can only accelerate the app you give it as an argument

Correct. If you don't like that, you're welcome to investigate Zink. (https://github.com/linuxserver/docker-webtop/blob/debian-kde/root/defaults/startwm.sh)

Ok let me give it a try. Thanks for the reference.

I don't see a big difference in performance compared to llvmpipe when docker toolkit is loaded.

You should check with a real graphics application such as Basemark, Unigine, GFXBench. https://wiki.archlinux.org/title/Benchmarking#Graphics

glxgears and glmark2 are currently constrained to the CPU and there is a bottleneck that affects VirtualGL even harder. It's much more important to test actual graphics workloads that are intensive enough to operate close to 60-160 fps rather than comparing 2000 fps with 12000 fps, which the human eye isn't going to see anyways.

llvmpipe is nice when actual OpenGL heavy lifting doesn't happen, but try the Unreal Editor 5, for example, and compare. Same point as to benchmark Basemark, Unigine, GFXBench for actual performance barometers.

I see. Let me check some benchmarks and OpenGL intensive applications.

alexeadem commented 1 month ago

Also if giving you access to QBO cloud facilitates troubleshooting. Happy to add an account for you. Just let me know.

ehfd commented 1 month ago

To be clear Ubuntu 24.04 GLX Plasma desktop doesn't work in either one. The desktop remains with a blank screen and only the mouse is visible. This applies to Tesla v100 dacenter servers or Quadro T1000/ T2000 laptops. The plasma desktop doesn't come up. Glxgears works though.

I would need access to the V100 instance to fix the issue. Wondering if this is rootless Docker or other non-conventional system.

The laptops are not expected to work as of now... Because laptops mostly have a hybrid architecture of [Monitor] -- [Intel iGPU] -- [NVIDIA GPU], you will have to experiment. #56 happens precisely because (X)RANDR is disabled if there is no physical display port allocated/VIDEO_PORT is none. The EGL desktop will always work, though.

ehfd commented 1 month ago

But you can still do a VFIO pass-through to a container instead of a VM can't you?

Not officially supported by any GPU vendor. They prefer injecting individual /dev/nvidiaX devices into the container.