VM with NVIDIA CUDA Cannot display X programs (like xfce4-terminal)

Hello,
while trying to solve a separate problem I have identified another (separate?) issue.

I have narrowed it down to the following reproducible steps:

  1. Update your QubesOS to the latest version of Dom0 and Debian12.
  2. Create a new StandaloneVM (Template Debian 12, Networking Default).
  3. In the settings:
    a) Include memory balancing = off
    b) Initial memory 4000 Mb
    c) Mode: HVM
    d) Devices → Pass the PCI devices associated to your NVIDIA GPU
    e) Private Storage space → 20 Gb
  4. start the VM, open a Xfce terminal and execute:
sudo apt-get install wget
wget https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nvidia-driver
  1. shut down the VM.

PROBLEM: Now, if you try to restar the VM from the Qubes menu, by launching the Xfce terminal, the VM starts but the Xfce terminal does not open.

If you look in the Log (from Qube Manager) of the VM, you’ll see at the end:

Debian GNU/Linux 12 CUDAtest hvc0 
CUDAtest login: [    5.531054] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:00:07.0 on minor 0
nvidia 0000:00:07.0: [drm] Cannot find any crtc or sizes

Can anybody reproduce this problem? Or is it just me? Any idea how to solve it?

Thanks!

1 Like

You need to install nvidia-kernel-dkms cuda-drivers not nvidia-driver

2 Likes

Thank you @renehoj !
I just tried to reproduce my steps 0–4, switchin in (4) from

sudo apt-get install nvidia-drivers 

to

sudo apt-get install nvidia-kernel-dkms cuda-drivers

But I still have the same problem when opening the Xfce terminal: it does not appear.
(however I noticed that, once in a while, after a reboot, it does appear. )

In any case, the log file still reports the same messages:

CUDAtest login: [    5.531054] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:00:07.0 on minor 0
nvidia 0000:00:07.0: [drm] Cannot find any crtc or sizes

I just checked with lspci and indeed 00:07.0 is the code of my NVIDIA gpu.

1 Like

UPDATE: when I launch the VM, and open a console (from Qube Manager) and execute:

xfce4-terminal

I get:

(xfce4-terminal:998): Gtk-WARNING ** cannot open display: :0 

Any suggestion on how I can track the source cause of this failure?

1 Like

This is how I installed the nvidia cuda driver.

curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb -o [cuda-keyring_1.1-1_all.deb](https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb)
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo add-apt-repository contrib
sudo apt update
sudo apt install nvidia-kernel-dkms cuda-drivers

It’s working as expected on my system, in a standalone hvm qube.

I’m guessing, your qube is trying to use the nvidia gpu as the display device, which doesn’t work.

2 Likes

Thank you @renehoj .
Following your script, I also have a working GPU!
It is correctly listed by nvidia-smi.
(incidentally, does this type of installation works for you with the regular Qubes/Debian12 updates? Are the drivers regularly updated? see also my other question)

But the original problem of this thread, related to the Gtk "cannot open display: :0" , persists.

To provide more context, my GPU has 4-outputs ports but none of these outputs is connected to any physical monitor. I want to use this VM just for ollama, and use the default Qubes monitor/graphical environment.

I also had a look at /var/log/Xorg.0.log in Dom0 and there are no errors produced when I try to execute xfce4-terminal from the GPU-VM.

1 Like

I have tried the same setup with older kernels (6.6.74-1.fc37, as well as the latest 6.6.77-1.fc37).
It always give the same result:

In the fresh Debia12 machine (20Gb space, 4Gb Ram, HVM, pci of the GPU passed), before doing anything, it gives:

$ xrandr --query
Screen 0: minimum 64 x 64, current 2560 x 1440, maximum 32767 x 32767
DUMMY0 connected primary 2560x1440+0+0 0mm x 0mm
   QB2560x1440   34.61*+
DUMMY1 disconnected
DUMMY2 disconnected
DUMMY3 disconnected
DUMMY4 disconnected
DUMMY5 disconnected
DUMMY6 disconnected
DUMMY7 disconnected
DUMMY8 disconnected
DUMMY9 disconnected
DUMMY10 disconnected
DUMMY11 disconnected
DUMMY12 disconnected
DUMMY13 disconnected
DUMMY14 disconnected
DUMMY15 disconnected

and after installing the NVIDIA drivers,

wget https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb

sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit nvidia-kernel-dkms cuda-drivers nvtop
sudo reboot

it gives:

$ xrandr --query
can't open display :0

What is very weird is that sometimes (1/20 times, more or less), after a reboot, it all works as normal. So I suspect there is some race or timeout happening at startup, with a bad result.
The boot log does not reveal any errors though.

1 Like

What is the output of

xrandr --query

the 1/20 that it works?

:slight_smile:

Ps. I assume it’s any X program that fails to run and not only XFCE Terminal …

1 Like

Yes, any X program fails.

The 1/20 output that works is the default (that is, given in all Qubes VM):

1 Like

While the problem still persists, I think I have made some progress! :face_holding_back_tears:

I have tried to do (in the CUDA faulty machine):

grep ps -ef | grep X

and the output (from the console opened from Qube Manager is):

user    1281    1001   0    08:12   hvc0     00:00:00 grep X

in other words, there is no X process active!

In a fresh (and therefore without CUDA drivers) Debian12 VM it instead gives:

user@temp:~$ ps -ef | grep X
root         651     630  0 08:22 tty7     00:00:00 /usr/bin/qubes-gui-runuser user /bin/sh -l -c exec /usr/bin/xinit /etc/X11/Xsession qubes-session -- /usr/lib/qubes/qubes-xorg-wrapper :0 -nolisten tcp vt07 -wr -config xorg-qubes.conf > ~/.xsession-errors 2>&1
user         676     651  0 08:22 ?        00:00:00 /usr/bin/xinit /etc/X11/Xsession qubes-session -- /usr/lib/qubes/qubes-xorg-wrapper :0 -nolisten tcp vt07 -wr -config xorg-qubes.conf
user         686     676  2 08:22 ?        00:00:00 /usr/lib/xorg/Xorg :0 -nolisten tcp vt07 -wr -config xorg-qubes.conf
user         954     951  0 08:22 pts/0    00:00:00 grep X

Looking at the first process (root), I see that errors are logged to ~/.xsession-errors .
So I went to the CUDA faulty VM and there is indeed an error logged:

Kernel command line: root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 clocksource=tsc xen_scrub_pages=0  apparmor=1 security=apparmor
xorg-server 2:21.1.7-3+deb12u8 (https://www.debian.org/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/user/.local/share/xorg/Xorg.0.log", Time: Thu Feb 20 09:15:58 2025
(++) Using config file: "/etc/X11/xorg-qubes.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Xorg: ../../../../dix/privates.c:382: dixRegisterPrivateKey: Assertion `!global_keys[type].created' failed.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x5f2ca33d7f79]
(EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x40) [0x740ecd25b050]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (pthread_key_delete+0x14c) [0x740ecd2a9ebc]
(EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x12) [0x740ecd25afb2]
(EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd3) [0x740ecd245472]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x740ecd245395]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (__assert_fail+0x42) [0x740ecd253eb2]
(EE) 7: /usr/lib/xorg/Xorg (dixRegisterPrivateKey+0x1be) [0x5f2ca328499e]
(EE) 8: /usr/lib/xorg/modules/libglamoregl.so (glamor_init+0xc8) [0x740eccefed08]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 9: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x740ec9716f30]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 10: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x740ec970d27e]
(EE) 11: /usr/lib/xorg/Xorg (AddGPUScreen+0xf4) [0x5f2ca3264ca4]
(EE) 12: /usr/lib/xorg/Xorg (xf86PlatformMatchDriver+0xa3d) [0x5f2ca32c0e9d]
(EE) 13: /usr/lib/xorg/Xorg (xf86PlatformDeviceCheckBusID+0x231) [0x5f2ca32c6b21]
(EE) 14: /usr/lib/xorg/Xorg (config_fini+0xfca) [0x5f2ca32c30aa]
(EE) 15: /usr/lib/xorg/Xorg (config_fini+0x1570) [0x5f2ca32c3650]
(EE) 16: /usr/lib/xorg/Xorg (OsCleanup+0x552) [0x5f2ca33d8912]
(EE) 17: /usr/lib/xorg/Xorg (WaitForSomething+0x183) [0x5f2ca33d1923]
(EE) 18: /usr/lib/xorg/Xorg (SendErrorToClient+0x113) [0x5f2ca3264603]
(EE) 19: /usr/lib/xorg/Xorg (InitFonts+0x3bc) [0x5f2ca326885c]
(EE) 20: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x8a) [0x740ecd24624a]
(EE) 21: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x740ecd246305]
(EE) 22: /usr/lib/xorg/Xorg (_start+0x21) [0x5f2ca3251b71]
(EE) 
(EE) 
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: connection to X server lost
ecting from X
2025-02-20 09:15:59,979 icon-sender: process exited too soon, waiting 5 seconds and retrying

Any idea on how to proceed tracking the error?

Thanks!

PS: the more detailed error log in /home/user/.local/share/xorg/Xorg.0.log (referred to in the error log above) gives:

[     3.835] Kernel command line: root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 clocksource=tsc xen_scrub_pages=0  apparmor=1 security=apparmor
[     3.835] xorg-server 2:21.1.7-3+deb12u8 (https://www.debian.org/support) 
[     3.835] Current version of pixman: 0.42.2
[     3.835] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     3.835] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     3.835] (==) Log file: "/home/user/.local/share/xorg/Xorg.0.log", Time: Thu Feb 20 09:15:58 2025
[     3.836] (++) Using config file: "/etc/X11/xorg-qubes.conf"
[     3.836] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     3.838] (==) ServerLayout "Default Layout"
[     3.838] (**) |-->Screen "Screen0" (0)
[     3.838] (**) |   |-->Monitor "Monitor0"
[     3.838] (**) |   |-->Device "Videocard0"
[     3.838] (**) |-->Input Device "qubesdev"
[     3.838] (==) Automatically adding devices
[     3.838] (==) Automatically enabling devices
[     3.838] (==) Automatically adding GPU devices
[     3.838] (==) Automatically binding GPU devices
[     3.838] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     3.839] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     3.839] 	Entry deleted from font path.
[     3.840] (==) 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
[     3.840] (==) ModulePath set to "/usr/lib/xorg/modules"
[     3.840] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     3.840] (II) Loader magic: 0x5f2ca3463f00
[     3.840] (II) Module ABI versions:
[     3.840] 	X.Org ANSI C Emulation: 0.4
[     3.840] 	X.Org Video Driver: 25.2
[     3.840] 	X.Org XInput driver : 24.4
[     3.840] 	X.Org Server Extension : 10.0
[     3.840] (++) using VT number 7

[     3.840] (--) controlling tty is VT number 7, auto-enabling KeepTty
[     3.841] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[     3.841] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.841] (II) Platform probe for /sys/devices/pci0000:00/0000:00:07.0/drm/card0
[     3.841] (EE) systemd-logind: failed to take device /dev/dri/card0: No such device
[     3.844] (--) PCI:*(0@0:4:0) 1234:1111:1af4:1100 rev 2, Mem @ 0xf3000000/16777216, 0xf5096000/4096, BIOS @ 0x????????/131072
[     3.844] (--) PCI: (0@0:7:0) 10de:2571:103c:1611 rev 161, Mem @ 0xf4000000/16777216, 0x200000000/8589934592, 0xf0000000/33554432, I/O @ 0x0000c300/128, BIOS @ 0x????????/131072
[     3.844] (II) "glx" will be loaded by default.
[     3.844] (II) LoadModule: "fb"
[     3.844] (II) Module "fb" already built-in
[     3.844] (II) LoadModule: "glamoregl"
[     3.844] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     3.849] (II) Module glamoregl: vendor="X.Org Foundation"
[     3.849] 	compiled for 1.21.1.7, module version = 1.0.1
[     3.849] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     3.849] (II) LoadModule: "glx"
[     3.849] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     3.853] (II) Module glx: vendor="X.Org Foundation"
[     3.853] 	compiled for 1.21.1.7, module version = 1.0.0
[     3.853] 	ABI class: X.Org Server Extension, version 10.0
[     3.853] (II) LoadModule: "dummyqbs"
[     3.853] (II) Loading /usr/lib/xorg/modules/drivers/dummyqbs_drv.so
[     3.854] (II) Module dummyqbs: vendor="X.Org Foundation"
[     3.854] 	compiled for 1.21.1.7, module version = 4.2.2
[     3.854] 	Module class: X.Org Video Driver
[     3.854] 	ABI class: X.Org Video Driver, version 25.2
[     3.854] (II) LoadModule: "qubes"
[     3.854] (II) Loading /usr/lib/xorg/modules/drivers/qubes_drv.so
[     3.855] (II) Module qubes: vendor="X.Org Foundation"
[     3.855] 	compiled for 1.21.1.7, module version = 0.0.1
[     3.855] 	Module class: X.Org XInput Driver
[     3.855] 	ABI class: X.Org XInput driver, version 24.4
[     3.855] (II) DUMMYQBS: Driver for Dummy chipsets: dummy
[     3.855] (WW) Falling back to old probe method for dummyqbs
[     3.855] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[     3.855] (II) DUMMYQBS(0): Chipset is a DUMMY
[     3.855] (**) DUMMYQBS(0): Depth 24, (--) framebuffer bpp 32
[     3.855] (==) DUMMYQBS(0): RGB weight 888
[     3.855] (==) DUMMYQBS(0): Default visual is TrueColor
[     3.855] (==) DUMMYQBS(0): Using gamma correction (1.0, 1.0, 1.0)
[     3.855] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[     3.855] (**) DUMMYQBS(0): Option "GUIDomID" "0"
[     3.855] (**) DUMMYQBS(0): VideoRAM: 22501 kByte
[     3.855] (--) DUMMYQBS(0): Max Clock: 300000 kHz
[     3.855] (II) DUMMYQBS(0): Monitor0: Using hsync range of 49.00-50.00 kHz
[     3.855] (II) DUMMYQBS(0): Monitor0: Using vrefresh range of 34.00-35.00 Hz
[     3.855] (II) DUMMYQBS(0): Clock range:  11.00 to 300.00 MHz
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x350" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x175" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x400" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "720x400" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "360x200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x480" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x240" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x480" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x240" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x480" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x240" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x480" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x240" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "400x300" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "400x300" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "400x300" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "400x300" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "400x300" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768i" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "512x384i" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "512x384" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "512x384" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "512x384" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "512x384" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1152x864" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "576x432" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x960" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x480" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x960" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x480" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x1024" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x512" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x1024" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x512" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x1024" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x512" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x1200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x1200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x1200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x1200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x1200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1792x1344" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "896x672" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1792x1344" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "896x672" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1856x1392" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "928x696" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1856x1392" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "928x696" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1440" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x720" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1440" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x720" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "832x624" (vrefresh out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "416x312" (vrefresh out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1400x1050" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "700x525" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1400x1050" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "700x525" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x720" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2048x1536" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x360" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x180" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x360" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "320x180" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "720x405" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "360x202" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "720x405" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "360x202" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "864x486" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "432x243" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "864x486" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "432x243" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x540" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "480x270" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x540" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "480x270" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x576" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "512x288" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x576" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "512x288" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x720" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x360" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x720" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x360" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1368x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "684x384" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1368x768" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "684x384" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x900" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x450" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x900" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "800x450" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1080" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x540" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1080" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x540" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2048x1152" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x576" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2048x1152" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1024x576" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2560x1440" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x720" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2560x1440" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x720" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2880x1620" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1440x810" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2880x1620" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1440x810" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "3200x1800" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x900" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "3200x1800" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1600x900" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "3840x2160" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1080" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "3840x2160" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1080" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "4096x2304" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2048x1152" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "4096x2304" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2048x1152" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "5120x2880" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2560x1440" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "5120x2880" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2560x1440" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "7680x4320" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "3840x2160" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "7680x4320" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "3840x2160" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "15360x8640" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "7680x4320" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "15360x8640" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "7680x4320" (insufficient memory for mode)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x800" (vrefresh out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x400" (vrefresh out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x800" (vrefresh out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "640x400" (vrefresh out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1400x900" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "700x450" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1400x900" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "700x450" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1680x1050" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "840x525" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1680x1050" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "840x525" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1920x1200" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "960x600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2560x1600" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x800" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Not using default mode "2560x1600" (bad mode clock/interlace/doublescan)
[     3.855] (II) DUMMYQBS(0): Not using default mode "1280x800" (hsync out of range)
[     3.855] (II) DUMMYQBS(0): Virtual size is 2560x1440 (pitch 2560)
[     3.855] (**) DUMMYQBS(0): *Mode "QB2560x1440": 128.0 MHz, 49.9 kHz, 34.6 Hz
[     3.855] (II) DUMMYQBS(0): Modeline "QB2560x1440"x34.6  128.00  2560 2561 2562 2563  1440 1441 1442 1443 (49.9 kHz z)
[     3.855] (==) DUMMYQBS(0): DPI set to (96, 96)
[     3.855] (II) Loading sub module "fb"
[     3.855] (II) LoadModule: "fb"
[     3.855] (II) Module "fb" already built-in
[     3.855] (II) Loading sub module "ramdac"
[     3.855] (II) LoadModule: "ramdac"
[     3.855] (II) Module "ramdac" already built-in
[     3.855] (EE) DUMMYQBS(0): Open render /dev/dri/renderD128 fail
[     3.858] (II) DUMMYQBS(0): Output DUMMY0 using monitor section Monitor0
[     3.858] (II) DUMMYQBS(0): Output DUMMY0 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb569bf90) and output DUMMY0 (0x5f2cb569ca60)
[     3.858] (II) DUMMYQBS(0): Output DUMMY1 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb569cec0) and output DUMMY1 (0x5f2cb569d990)
[     3.858] (II) DUMMYQBS(0): Output DUMMY2 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb569ddb0) and output DUMMY2 (0x5f2cb569e880)
[     3.858] (II) DUMMYQBS(0): Output DUMMY3 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb569eca0) and output DUMMY3 (0x5f2cb569f770)
[     3.858] (II) DUMMYQBS(0): Output DUMMY4 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb569fbc0) and output DUMMY4 (0x5f2cb56a0690)
[     3.858] (II) DUMMYQBS(0): Output DUMMY5 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a0ab0) and output DUMMY5 (0x5f2cb56a15c0)
[     3.858] (II) DUMMYQBS(0): Output DUMMY6 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a1a20) and output DUMMY6 (0x5f2cb56a24f0)
[     3.858] (II) DUMMYQBS(0): Output DUMMY7 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a2910) and output DUMMY7 (0x5f2cb56a3430)
[     3.858] (II) DUMMYQBS(0): Output DUMMY8 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a38a0) and output DUMMY8 (0x5f2cb56a4370)
[     3.858] (II) DUMMYQBS(0): Output DUMMY9 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a4790) and output DUMMY9 (0x5f2cb56a52c0)
[     3.858] (II) DUMMYQBS(0): Output DUMMY10 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a5740) and output DUMMY10 (0x5f2cb56a6210)
[     3.858] (II) DUMMYQBS(0): Output DUMMY11 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a6630) and output DUMMY11 (0x5f2cb56a7170)
[     3.858] (II) DUMMYQBS(0): Output DUMMY12 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a7600) and output DUMMY12 (0x5f2cb56a80d0)
[     3.858] (II) DUMMYQBS(0): Output DUMMY13 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a84f0) and output DUMMY13 (0x5f2cb56a9040)
[     3.858] (II) DUMMYQBS(0): Output DUMMY14 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56a94e0) and output DUMMY14 (0x5f2cb56a9fb0)
[     3.858] (II) DUMMYQBS(0): Output DUMMY15 has no monitor section
[     3.858] (II) DUMMYQBS(0): Created crtc (0x5f2cb56aa3d0) and output DUMMY15 (0x5f2cb56aaf30)
[     3.858] (II) DUMMYQBS(0): Printing probed modes for output DUMMY0
[     3.858] (II) DUMMYQBS(0): Modeline "QB2560x1440"x34.6  128.00  2560 2561 2562 2563  1440 1441 1442 1443 (49.9 kHz UzP)
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY1
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY2
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY3
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY4
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY5
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY6
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY7
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY8
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY9
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY10
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY11
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY12
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY13
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY14
[     3.858] (II) DUMMYQBS(0): EDID for output DUMMY15
[     3.858] (II) DUMMYQBS(0): Output DUMMY0 connected
[     3.858] (II) DUMMYQBS(0): Output DUMMY1 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY2 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY3 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY4 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY5 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY6 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY7 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY8 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY9 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY10 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY11 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY12 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY13 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY14 disconnected
[     3.858] (II) DUMMYQBS(0): Output DUMMY15 disconnected
[     3.858] (II) DUMMYQBS(0): Using user preference for initial modes
[     3.858] (II) DUMMYQBS(0): Output DUMMY0 using initial mode QB2560x1440 +0+0
[     3.858] (II) DUMMYQBS(0): Using 810 scanlines of offscreen memory 
[     3.858] (==) DUMMYQBS(0): Backing store enabled
[     3.858] (==) DUMMYQBS(0): Silken mouse enabled
[     3.859] (II) Initializing extension Generic Event Extension
[     3.859] (II) Initializing extension SHAPE
[     3.859] (II) Initializing extension MIT-SHM
[     3.859] (II) Initializing extension XInputExtension
[     3.859] (II) Initializing extension XTEST
[     3.859] (II) Initializing extension BIG-REQUESTS
[     3.859] (II) Initializing extension SYNC
[     3.859] (II) Initializing extension XKEYBOARD
[     3.859] (II) Initializing extension XC-MISC
[     3.859] (II) Initializing extension SECURITY
[     3.859] (II) Initializing extension XFIXES
[     3.860] (II) Initializing extension RENDER
[     3.860] (II) Initializing extension RANDR
[     3.860] (II) Initializing extension COMPOSITE
[     3.860] (II) Initializing extension DAMAGE
[     3.860] (II) Initializing extension MIT-SCREEN-SAVER
[     3.860] (II) Initializing extension DOUBLE-BUFFER
[     3.860] (II) Initializing extension RECORD
[     3.860] (II) Initializing extension DPMS
[     3.860] (II) Initializing extension Present
[     3.860] (II) Initializing extension DRI3
[     3.860] (II) Initializing extension X-Resource
[     3.860] (II) Initializing extension XVideo
[     3.860] (II) Initializing extension XVideo-MotionCompensation
[     3.860] (II) Initializing extension SELinux
[     3.860] (II) SELinux: Disabled on system
[     3.860] (II) Initializing extension GLX
[     3.860] (II) AIGLX: Screen 0 is not DRI2 capable
[     4.004] (II) IGLX: Loaded and initialized swrast
[     4.004] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     4.004] (II) Initializing extension XFree86-VidModeExtension
[     4.004] (II) Initializing extension XFree86-DGA
[     4.004] (II) Initializing extension XFree86-DRI
[     4.004] (II) Initializing extension DRI2
[     4.004] (II) DUMMYQBS(0): Setting screen physical size to 677 x 381
[     4.037] (II) Using input driver 'qubes' for 'qubesdev'
[     4.037] (**) qubesdev: always reports core events
[     4.037] (II) qubesdev: Using device /var/run/xf86-qubes-socket.
[     4.037] (**) qubesdev: always reports core events
[     4.037] (II) XINPUT: Adding extended input device "qubesdev" (type: MOUSE, id 6)
[     4.037] (II) qubesdev: num_buttons=7
[     4.037] (**) qubesdev: (accel) keeping acceleration scheme 1
[     4.037] (**) qubesdev: (accel) acceleration profile 0
[     4.037] (**) qubesdev: (accel) acceleration factor: 2.000
[     4.037] (**) qubesdev: (accel) acceleration threshold: 4
[     4.037] (II) qubesdev: On.
[     4.045] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[     4.045] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     4.045] (II) LoadModule: "libinput"
[     4.045] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     4.049] (II) Module libinput: vendor="X.Org Foundation"
[     4.049] 	compiled for 1.21.1.3, module version = 1.2.1
[     4.049] 	Module class: X.Org XInput Driver
[     4.049] 	ABI class: X.Org XInput driver, version 24.4
[     4.049] (II) Using input driver 'libinput' for 'Power Button'
[     4.049] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 20 paused 1
[     4.049] (II) systemd-logind: releasing fd for 13:64
[     4.056] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[     4.056] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     4.056] (II) Using input driver 'libinput' for 'Sleep Button'
[     4.056] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 20 paused 1
[     4.056] (II) systemd-logind: releasing fd for 13:65
[     4.062] (II) config/udev: Adding input device QEMU QEMU USB Tablet (/dev/input/event5)
[     4.062] (**) QEMU QEMU USB Tablet: Applying InputClass "libinput pointer catchall"
[     4.062] (II) Using input driver 'libinput' for 'QEMU QEMU USB Tablet'
[     4.114] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 20 paused 1
[     4.114] (II) systemd-logind: releasing fd for 13:69
[     4.128] (II) config/udev: Adding input device QEMU QEMU USB Tablet (/dev/input/mouse1)
[     4.128] (II) No input driver specified, ignoring this device.
[     4.128] (II) This device may have been added with another device file.
[     4.128] (II) config/udev: Adding drm device (/dev/dri/card0)
[     4.128] (II) xfree86: Adding drm device (/dev/dri/card0)
[     4.128] (II) Platform probe for /sys/devices/pci0000:00/0000:00:07.0/drm/card0
[     4.128] (EE) systemd-logind: failed to take device /dev/dri/card0: No such device
[     4.129] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event9)
[     4.129] (II) No input driver specified, ignoring this device.
[     4.129] (II) This device may have been added with another device file.
[     4.129] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event6)
[     4.129] (II) No input driver specified, ignoring this device.
[     4.129] (II) This device may have been added with another device file.
[     4.129] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event7)
[     4.129] (II) No input driver specified, ignoring this device.
[     4.129] (II) This device may have been added with another device file.
[     4.129] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event8)
[     4.129] (II) No input driver specified, ignoring this device.
[     4.129] (II) This device may have been added with another device file.
[     4.129] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event2)
[     4.129] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     4.129] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     4.130] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 20 paused 1
[     4.130] (II) systemd-logind: releasing fd for 13:66
[     4.139] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event3)
[     4.139] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
[     4.139] (II) Using input driver 'libinput' for 'ImExPS/2 Generic Explorer Mouse'
[     4.139] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 20 paused 1
[     4.139] (II) systemd-logind: releasing fd for 13:67
[     4.153] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse0)
[     4.153] (II) No input driver specified, ignoring this device.
[     4.153] (II) This device may have been added with another device file.
[     4.153] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[     4.153] (II) No input driver specified, ignoring this device.
[     4.153] (II) This device may have been added with another device file.
[     5.011] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:07.0/drm/card0 /dev/dri/card0
[     5.011] (II) config/udev: Adding drm device (/dev/dri/card0)
[     5.011] (II) xfree86: Adding drm device (/dev/dri/card0)
[     5.011] (II) Platform probe for /sys/devices/pci0000:00/0000:00:07.0/drm/card0
[     5.011] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 27 paused 0
[     5.011] (II) LoadModule: "modesetting"
[     5.011] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     5.013] (II) Module modesetting: vendor="X.Org Foundation"
[     5.013] 	compiled for 1.21.1.7, module version = 1.21.1
[     5.013] 	Module class: X.Org Video Driver
[     5.013] 	ABI class: X.Org Video Driver, version 25.2
[     5.013] (II) modeset(G0): using drv /dev/dri/card0
[     5.016] (**) modeset(G0): Depth 24, (--) framebuffer bpp 32
[     5.016] (==) modeset(G0): RGB weight 888
[     5.016] (==) modeset(G0): Default visual is TrueColor
[     5.016] (II) Loading sub module "glamoregl"
[     5.016] (II) LoadModule: "glamoregl"
[     5.016] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     5.016] (II) Module glamoregl: vendor="X.Org Foundation"
[     5.016] 	compiled for 1.21.1.7, module version = 1.0.1
[     5.016] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     5.239] (II) modeset(G0): glamor X acceleration enabled on NVIDIA RTX A2000 12GB/PCIe/SSE2
[     5.239] (II) modeset(G0): glamor initialized
[     5.240] (II) modeset(G0): Output DP-1-1 using monitor section Monitor0
[     5.240] (II) modeset(G0): Output DP-1-2 has no monitor section
[     5.241] (II) modeset(G0): Output DP-1-3 has no monitor section
[     5.241] (II) modeset(G0): Output DP-1-4 has no monitor section
[     5.243] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[     5.243] (==) modeset(G0): DPI set to (96, 96)
[     5.243] (II) Loading sub module "fb"
[     5.243] (II) LoadModule: "fb"
[     5.243] (II) Module "fb" already built-in
[     5.243] (EE) 
[     5.243] (EE) Backtrace:
[     5.244] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x5f2ca33d7f79]
[     5.244] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x40) [0x740ecd25b050]
[     5.244] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (pthread_key_delete+0x14c) [0x740ecd2a9ebc]
[     5.245] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x12) [0x740ecd25afb2]
[     5.245] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd3) [0x740ecd245472]
[     5.245] (EE) unw_get_proc_name failed: no unwind info found [-10]
[     5.245] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x740ecd245395]
[     5.246] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (__assert_fail+0x42) [0x740ecd253eb2]
[     5.246] (EE) 7: /usr/lib/xorg/Xorg (dixRegisterPrivateKey+0x1be) [0x5f2ca328499e]
[     5.246] (EE) 8: /usr/lib/xorg/modules/libglamoregl.so (glamor_init+0xc8) [0x740eccefed08]
[     5.246] (EE) unw_get_proc_name failed: no unwind info found [-10]
[     5.246] (EE) 9: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x740ec9716f30]
[     5.246] (EE) unw_get_proc_name failed: no unwind info found [-10]
[     5.246] (EE) 10: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x740ec970d27e]
[     5.246] (EE) 11: /usr/lib/xorg/Xorg (AddGPUScreen+0xf4) [0x5f2ca3264ca4]
[     5.246] (EE) 12: /usr/lib/xorg/Xorg (xf86PlatformMatchDriver+0xa3d) [0x5f2ca32c0e9d]
[     5.246] (EE) 13: /usr/lib/xorg/Xorg (xf86PlatformDeviceCheckBusID+0x231) [0x5f2ca32c6b21]
[     5.247] (EE) 14: /usr/lib/xorg/Xorg (config_fini+0xfca) [0x5f2ca32c30aa]
[     5.247] (EE) 15: /usr/lib/xorg/Xorg (config_fini+0x1570) [0x5f2ca32c3650]
[     5.247] (EE) 16: /usr/lib/xorg/Xorg (OsCleanup+0x552) [0x5f2ca33d8912]
[     5.247] (EE) 17: /usr/lib/xorg/Xorg (WaitForSomething+0x183) [0x5f2ca33d1923]
[     5.247] (EE) 18: /usr/lib/xorg/Xorg (SendErrorToClient+0x113) [0x5f2ca3264603]
[     5.247] (EE) 19: /usr/lib/xorg/Xorg (InitFonts+0x3bc) [0x5f2ca326885c]
[     5.247] (EE) 20: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x8a) [0x740ecd24624a]
[     5.248] (EE) 21: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x740ecd246305]
[     5.248] (EE) 22: /usr/lib/xorg/Xorg (_start+0x21) [0x5f2ca3251b71]
[     5.248] (EE) 
[     5.248] (EE) 
Fatal server error:
[     5.248] (EE) Caught signal 6 (Aborted). Server aborting
[     5.248] (EE) 
[     5.248] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     5.248] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[     5.248] (EE) 
[     5.253] (EE) Server terminated with error (1). Closing log file.
1 Like

After some research, I have found a “solution”… I hesitate to call it a solution because I don’t understand what it does, honestly. If anybody can shed some light I’d be grateful!

Solution

Disable nvidia-drm modeset, by edting /etc/modprobe.d/nvidia-options.conf
to

options nvidia-drm modeset=0

After this, X works well. I have also installed Ollama and the performance of the GPU is the expected one.

EDIT: for reference, I have found this option in https://wiki.debian.org/NvidiaGraphicsDrivers#bookworm-535, where in fact they suggest the opposite, to set modeset=1 when possibile.

1 Like