[qubes-users] /dev/dri/card0: No such file or Directory

Hi,
When checking my /var/log/Xorg.0.log
I am getting an error for “/dev/dri/card0: No such file or directory” which is stopping me from connecting my external monitor. Does anyone have any ideas how I can rectify this?

Here is my /var/log/Xorg.0.log file

X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 40.211] X Protocol Version 11, Revision 0
[ 40.211] Build Operating System: 4.9.3-200.fc25.x86_64
[ 40.211] Current Operating System: Linux dom0 4.19.94-1.pvops.qubes.x86_64 #1 SMP Sun Jan 12 05:45:26 UTC 2020 x86_64
[ 40.211] Kernel command line: root=/dev/mapper/qubes_dom0-root rd.luks.uuid=luks-75e60b05-1b6b-456d-9510-8f4ba0ab7979 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.alpha_support=1 rhgb quiet plymouth.ignore-serial-consoles
[ 40.211] Build Date: 15 March 2017 06:37:12PM
[ 40.211] Build ID: xorg-x11-server 1.19.3-1.fc25
[ 40.211] Current version of pixman: 0.34.0
[ 40.211] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 40.211] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 40.211] (==) Log file: “/var/log/Xorg.0.log”, Time: Thu Dec 17 15:14:16 2020
[ 40.214] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 40.214] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 40.218] (==) No Layout section. Using the first Screen section.
[ 40.218] (==) No screen section available. Using defaults.
[ 40.218] (
) |–>Screen “Default Screen Section” (0)
[ 40.218] (**) | |–>Monitor “”
[ 40.218] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 40.218] (==) Automatically adding devices
[ 40.218] (==) Automatically enabling devices
[ 40.218] (==) Automatically adding GPU devices
[ 40.218] (==) Automatically binding GPU devices
[ 40.218] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 40.218] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 40.218] (==) ModulePath set to “/usr/lib64/xorg/modules”
[ 40.218] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 40.218] (II) Loader magic: 0x825e00
[ 40.218] (II) Module ABI versions:
[ 40.218] X.Org ANSI C Emulation: 0.4
[ 40.219] X.Org Video Driver: 23.0
[ 40.219] X.Org XInput driver : 24.1
[ 40.219] X.Org Server Extension : 10.0
[ 40.219] (++) using VT number 1

[ 40.219] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 40.222] (–) PCI:*(0:0:2:0) 8086:9b41:1558:1401 rev 2, Mem @ 0xb0000000/16777216, 0xa0000000/268435456, I/O @ 0x00001000/64, BIOS @ 0x???/131072
[ 40.224] (II) LoadModule: “glx”
[ 40.226] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 40.247] (II) Module glx: vendor=“X.Org Foundation”
[ 40.247] compiled for 1.19.3, module version = 1.0.0
[ 40.247] ABI class: X.Org Server Extension, version 10.0
[ 40.247] (==) Matched intel as autoconfigured driver 0
[ 40.247] (==) Matched modesetting as autoconfigured driver 1
[ 40.247] (==) Matched fbdev as autoconfigured driver 2
[ 40.247] (==) Matched vesa as autoconfigured driver 3
[ 40.247] (==) Assigned the driver to the xf86ConfigLayout
[ 40.247] (II) LoadModule: “intel”
[ 40.247] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 40.252] (II) Module intel: vendor=“X.Org Foundation”
[ 40.252] compiled for 1.19.3, module version = 2.99.917
[ 40.252] Module class: X.Org Video Driver
[ 40.252] ABI class: X.Org Video Driver, version 23.0
[ 40.252] (II) LoadModule: “modesetting”
[ 40.252] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 40.253] (II) Module modesetting: vendor=“X.Org Foundation”
[ 40.253] compiled for 1.19.3, module version = 1.19.3
[ 40.253] Module class: X.Org Video Driver
[ 40.253] ABI class: X.Org Video Driver, version 23.0
[ 40.253] (II) LoadModule: “fbdev”
[ 40.253] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[ 40.254] (II) Module fbdev: vendor=“X.Org Foundation”
[ 40.254] compiled for 1.18.99.901, module version = 0.4.3
[ 40.254] Module class: X.Org Video Driver
[ 40.254] ABI class: X.Org Video Driver, version 23.0
[ 40.254] (II) LoadModule: “vesa”
[ 40.254] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 40.256] (II) Module vesa: vendor=“X.Org Foundation”
[ 40.256] compiled for 1.18.99.901, module version = 2.3.2
[ 40.256] Module class: X.Org Video Driver
[ 40.256] ABI class: X.Org Video Driver, version 23.0
[ 40.256] (II) intel: Driver for Intel® Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 40.256] (II) intel: Driver for Intel® HD Graphics
[ 40.256] (II) intel: Driver for Intel® Iris™ Graphics
[ 40.256] (II) intel: Driver for Intel® Iris™ Pro Graphics
[ 40.256] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 40.256] (II) FBDEV: driver for framebuffer: fbdev
[ 40.256] (II) VESA: driver for VESA chipsets: vesa
[ 42.374] intel: waited 2020 ms for i915.ko driver to load
[ 42.380] (EE) open /dev/dri/card0: No such file or directory
[ 42.380] (WW) Falling back to old probe method for modesetting
[ 42.380] (EE) open /dev/dri/card0: No such file or directory
[ 42.380] (II) Loading sub module “fbdevhw”
[ 42.380] (II) LoadModule: “fbdevhw”
[ 42.381] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[ 42.384] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 42.384] compiled for 1.19.3, module version = 0.0.2
[ 42.384] ABI class: X.Org Video Driver, version 23.0
[ 42.385] () FBDEV(1): claimed PCI slot 0@0:2:0
[ 42.385] (II) FBDEV(1): using default device
[ 42.385] (WW) Falling back to old probe method for vesa
[ 42.385] (EE) Screen 0 deleted because of no matching config section.
[ 42.385] (II) UnloadModule: “modesetting”
[ 42.385] (II) FBDEV(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 42.385] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 42.385] (==) FBDEV(0): RGB weight 888
[ 42.385] (==) FBDEV(0): Default visual is TrueColor
[ 42.385] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 42.385] (II) FBDEV(0): hardware: EFI VGA (video memory: 8100kB)
[ 42.385] (II) FBDEV(0): checking modes against framebuffer device…
[ 42.385] (II) FBDEV(0): checking modes against monitor…
[ 42.385] (–) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[ 42.385] (
) FBDEV(0): Built-in mode “current”: 207.4 MHz, 85.3 kHz, 77.2 Hz
[ 42.385] (II) FBDEV(0): Modeline "current"x0.0 207.38 1920 1952 2192 2432 1080 1084 1088 1104 -hsync -vsync -csync (85.3 kHz b)
[ 42.385] (==) FBDEV(0): DPI set to (96, 96)
[ 42.385] (II) Loading sub module “fb”
[ 42.385] (II) LoadModule: “fb”
[ 42.385] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 42.386] (II) Module fb: vendor=“X.Org Foundation”
[ 42.386] compiled for 1.19.3, module version = 1.0.0
[ 42.386] ABI class: X.Org ANSI C Emulation, version 0.4
[ 42.386] () FBDEV(0): using shadow framebuffer
[ 42.387] (II) Loading sub module “shadow”
[ 42.387] (II) LoadModule: “shadow”
[ 42.387] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[ 42.387] (II) Module shadow: vendor=“X.Org Foundation”
[ 42.387] compiled for 1.19.3, module version = 1.1.0
[ 42.387] ABI class: X.Org ANSI C Emulation, version 0.4
[ 42.387] (II) UnloadModule: “vesa”
[ 42.388] (II) Unloading vesa
[ 42.388] (==) Depth 24 pixmap format is 32 bpp
[ 42.389] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[ 42.391] (==) FBDEV(0): Backing store enabled
[ 42.393] (==) FBDEV(0): DPMS enabled
[ 42.393] (==) RandR enabled
[ 42.398] (II) SELinux: Disabled on system
[ 42.398] (II) AIGLX: Screen 0 is not DRI2 capable
[ 42.398] (EE) AIGLX: reverting to software rendering
[ 42.471] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[ 42.472] (II) IGLX: Loaded and initialized swrast
[ 42.472] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 42.515] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 42.515] (
) Power Button: Applying InputClass “evdev keyboard catchall”
[ 42.515] () Power Button: Applying InputClass “libinput keyboard catchall”
[ 42.515] (
) Power Button: Applying InputClass “system-keyboard”
[ 42.515] (II) LoadModule: “libinput”
[ 42.515] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
[ 42.520] (II) Module libinput: vendor=“X.Org Foundation”
[ 42.520] compiled for 1.19.3, module version = 0.23.0
[ 42.520] Module class: X.Org XInput Driver
[ 42.520] ABI class: X.Org XInput driver, version 24.1
[ 42.520] (II) Using input driver ‘libinput’ for ‘Power Button’
[ 42.520] () Power Button: always reports core events
[ 42.520] (
) Option “Device” “/dev/input/event3”
[ 42.520] () Option “_source” “server/udev”
[ 42.520] (II) input device ‘Power Button’, /dev/input/event3 is tagged by udev as: Keyboard
[ 42.520] (II) input device ‘Power Button’, /dev/input/event3 is a keyboard
[ 42.538] (
) Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3”
[ 42.538] (II) XINPUT: Adding extended input device “Power Button” (type: KEYBOARD, id 6)
[ 42.538] () Option “xkb_layout” “us”
[ 42.538] (II) input device ‘Power Button’, /dev/input/event3 is tagged by udev as: Keyboard
[ 42.538] (II) input device ‘Power Button’, /dev/input/event3 is a keyboard
[ 42.538] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 42.538] (
) Power Button: Applying InputClass “evdev keyboard catchall”
[ 42.538] () Power Button: Applying InputClass “libinput keyboard catchall”
[ 42.538] (
) Power Button: Applying InputClass “system-keyboard”
[ 42.538] (II) Using input driver ‘libinput’ for ‘Power Button’
[ 42.538] () Power Button: always reports core events
[ 42.538] (
) Option “Device” “/dev/input/event0”
[ 42.538] () Option “_source” “server/udev”
[ 42.538] (II) input device ‘Power Button’, /dev/input/event0 is tagged by udev as: Keyboard
[ 42.538] (II) input device ‘Power Button’, /dev/input/event0 is a keyboard
[ 42.554] (
) Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0”
[ 42.554] (II) XINPUT: Adding extended input device “Power Button” (type: KEYBOARD, id 7)
[ 42.554] () Option “xkb_layout” “us”
[ 42.554] (II) input device ‘Power Button’, /dev/input/event0 is tagged by udev as: Keyboard
[ 42.554] (II) input device ‘Power Button’, /dev/input/event0 is a keyboard
[ 42.554] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[ 42.554] (II) No input driver specified, ignoring this device.
[ 42.554] (II) This device may have been added with another device file.
[ 42.555] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 42.555] (
) Sleep Button: Applying InputClass “evdev keyboard catchall”
[ 42.555] () Sleep Button: Applying InputClass “libinput keyboard catchall”
[ 42.555] (
) Sleep Button: Applying InputClass “system-keyboard”
[ 42.555] (II) Using input driver ‘libinput’ for ‘Sleep Button’
[ 42.555] () Sleep Button: always reports core events
[ 42.555] (
) Option “Device” “/dev/input/event1”
[ 42.555] () Option “_source” “server/udev”
[ 42.556] (II) input device ‘Sleep Button’, /dev/input/event1 is tagged by udev as: Keyboard
[ 42.556] (II) input device ‘Sleep Button’, /dev/input/event1 is a keyboard
[ 42.574] (
) Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1”
[ 42.574] (II) XINPUT: Adding extended input device “Sleep Button” (type: KEYBOARD, id 8)
[ 42.574] () Option “xkb_layout” “us”
[ 42.574] (II) input device ‘Sleep Button’, /dev/input/event1 is tagged by udev as: Keyboard
[ 42.574] (II) input device ‘Sleep Button’, /dev/input/event1 is a keyboard
[ 42.574] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event8)
[ 42.574] (II) No input driver specified, ignoring this device.
[ 42.574] (II) This device may have been added with another device file.
[ 42.575] (II) config/udev: Adding input device Intel HID events (/dev/input/event6)
[ 42.575] (
) Intel HID events: Applying InputClass “evdev keyboard catchall”
[ 42.575] () Intel HID events: Applying InputClass “libinput keyboard catchall”
[ 42.575] (
) Intel HID events: Applying InputClass “system-keyboard”
[ 42.575] (II) Using input driver ‘libinput’ for ‘Intel HID events’
[ 42.575] () Intel HID events: always reports core events
[ 42.575] (
) Option “Device” “/dev/input/event6”
[ 42.575] () Option “_source” “server/udev”
[ 42.576] (II) input device ‘Intel HID events’, /dev/input/event6 is tagged by udev as: Keyboard
[ 42.576] (II) input device ‘Intel HID events’, /dev/input/event6 is a keyboard
[ 42.602] (
) Option “config_info” “udev:/sys/devices/platform/INT33D5:00/input/input9/event6”
[ 42.602] (II) XINPUT: Adding extended input device “Intel HID events” (type: KEYBOARD, id 9)
[ 42.602] () Option “xkb_layout” “us”
[ 42.602] (II) input device ‘Intel HID events’, /dev/input/event6 is tagged by udev as: Keyboard
[ 42.602] (II) input device ‘Intel HID events’, /dev/input/event6 is a keyboard
[ 42.602] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 42.602] (
) AT Translated Set 2 keyboard: Applying InputClass “evdev keyboard catchall”
[ 42.602] () AT Translated Set 2 keyboard: Applying InputClass “libinput keyboard catchall”
[ 42.602] (
) AT Translated Set 2 keyboard: Applying InputClass “system-keyboard”
[ 42.602] (II) Using input driver ‘libinput’ for ‘AT Translated Set 2 keyboard’
[ 42.602] () AT Translated Set 2 keyboard: always reports core events
[ 42.602] (
) Option “Device” “/dev/input/event4”
[ 42.603] () Option “_source” “server/udev”
[ 42.603] (II) input device ‘AT Translated Set 2 keyboard’, /dev/input/event4 is tagged by udev as: Keyboard
[ 42.603] (II) input device ‘AT Translated Set 2 keyboard’, /dev/input/event4 is a keyboard
[ 42.642] (
) Option “config_info” “udev:/sys/devices/platform/i8042/serio0/input/input4/event4”
[ 42.642] (II) XINPUT: Adding extended input device “AT Translated Set 2 keyboard” (type: KEYBOARD, id 10)
[ 42.642] () Option “xkb_layout” “us”
[ 42.642] (II) input device ‘AT Translated Set 2 keyboard’, /dev/input/event4 is tagged by udev as: Keyboard
[ 42.642] (II) input device ‘AT Translated Set 2 keyboard’, /dev/input/event4 is a keyboard
[ 42.642] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event5)
[ 42.642] (
) ETPS/2 Elantech Touchpad: Applying InputClass “evdev touchpad catchall”
[ 42.642] () ETPS/2 Elantech Touchpad: Applying InputClass “libinput touchpad catchall”
[ 42.642] (II) Using input driver ‘libinput’ for ‘ETPS/2 Elantech Touchpad’
[ 42.643] (
) ETPS/2 Elantech Touchpad: always reports core events
[ 42.643] () Option “Device” “/dev/input/event5”
[ 42.643] (
) Option “_source” “server/udev”
[ 42.643] (II) input device ‘ETPS/2 Elantech Touchpad’, /dev/input/event5 is tagged by udev as: Touchpad
[ 42.643] (II) input device ‘ETPS/2 Elantech Touchpad’, /dev/input/event5 is a touchpad
[ 42.674] () Option “config_info” “udev:/sys/devices/platform/i8042/serio1/input/input8/event5”
[ 42.674] (II) XINPUT: Adding extended input device “ETPS/2 Elantech Touchpad” (type: TOUCHPAD, id 11)
[ 42.674] (
) Option “AccelerationScheme” “none”
[ 42.674] () ETPS/2 Elantech Touchpad: (accel) selected scheme none/0
[ 42.674] (
) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[ 42.674] () ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[ 42.674] (II) input device ‘ETPS/2 Elantech Touchpad’, /dev/input/event5 is tagged by udev as: Touchpad
[ 42.674] (II) input device ‘ETPS/2 Elantech Touchpad’, /dev/input/event5 is a touchpad
[ 42.674] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[ 42.674] (II) No input driver specified, ignoring this device.
[ 42.674] (II) This device may have been added with another device file.
[ 42.675] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[ 42.675] (II) No input driver specified, ignoring this device.
[ 42.675] (II) This device may have been added with another device file.
[ 42.679] (II) config/udev: Adding input device sys-net: QEMU QEMU USB Tablet (/dev/input/event9)
[ 42.679] (
) sys-net: QEMU QEMU USB Tablet: Applying InputClass “evdev keyboard catchall”
[ 42.679] () sys-net: QEMU QEMU USB Tablet: Applying InputClass “libinput keyboard catchall”
[ 42.679] (
) sys-net: QEMU QEMU USB Tablet: Applying InputClass “system-keyboard”
[ 42.679] (II) Using input driver ‘libinput’ for ‘sys-net: QEMU QEMU USB Tablet’
[ 42.679] () sys-net: QEMU QEMU USB Tablet: always reports core events
[ 42.679] (
) Option “Device” “/dev/input/event9”
[ 42.679] () Option “_source” “server/udev”
[ 42.679] (II) input device ‘sys-net: QEMU QEMU USB Tablet’, /dev/input/event9 is tagged by udev as: Keyboard
[ 42.679] (II) input device ‘sys-net: QEMU QEMU USB Tablet’, /dev/input/event9 is a keyboard
[ 42.699] (II) libinput: sys-net: QEMU QEMU USB Tablet: needs a virtual subdevice
[ 42.699] (
) Option “config_info” “udev:/sys/devices/virtual/input/input12/event9”
[ 42.699] (II) XINPUT: Adding extended input device “sys-net: QEMU QEMU USB Tablet” (type: MOUSE, id 12)
[ 42.699] () Option “AccelerationScheme” “none”
[ 42.699] (
) sys-net: QEMU QEMU USB Tablet: (accel) selected scheme none/0
[ 42.699] () sys-net: QEMU QEMU USB Tablet: (accel) acceleration factor: 2.000
[ 42.699] (
) sys-net: QEMU QEMU USB Tablet: (accel) acceleration threshold: 4
[ 42.699] (II) input device ‘sys-net: QEMU QEMU USB Tablet’, /dev/input/event9 is tagged by udev as: Keyboard
[ 42.699] (II) input device ‘sys-net: QEMU QEMU USB Tablet’, /dev/input/event9 is a keyboard
[ 42.699] (II) config/udev: Adding input device sys-net: QEMU QEMU USB Tablet (/dev/input/mouse1)
[ 42.699] () sys-net: QEMU QEMU USB Tablet: Applying InputClass “system-keyboard”
[ 42.699] (II) No input driver specified, ignoring this device.
[ 42.699] (II) This device may have been added with another device file.
[ 42.703] (
) sys-net: QEMU QEMU USB Tablet: Applying InputClass “evdev keyboard catchall”
[ 42.703] () sys-net: QEMU QEMU USB Tablet: Applying InputClass “libinput keyboard catchall”
[ 42.703] (
) sys-net: QEMU QEMU USB Tablet: Applying InputClass “system-keyboard”
[ 42.703] (II) Using input driver ‘libinput’ for ‘sys-net: QEMU QEMU USB Tablet’
[ 42.703] () sys-net: QEMU QEMU USB Tablet: always reports core events
[ 42.703] (
) Option “Device” “/dev/input/event9”
[ 42.703] () Option “_source” “_driver/libinput”
[ 42.703] (II) libinput: sys-net: QEMU QEMU USB Tablet: is a virtual subdevice
[ 42.703] (
) Option “config_info” “udev:/sys/devices/virtual/input/input12/event9”
[ 42.703] (II) XINPUT: Adding extended input device “sys-net: QEMU QEMU USB Tablet” (type: KEYBOARD, id 13)
[ 42.703] (**) Option “xkb_layout” “us”

Thanks in advance
Hayden

Archie J:

Hi,
When checking my /var/log/Xorg.0.log
I am getting an error for "/dev/dri/card0: No such file or directory" which
is stopping me from connecting my external monitor. Does anyone have any
ideas how I can rectify this?

If you have the monitor connected and powered on before booting the computer, not sure what else I'd try. Installing kernel-latest in dom0 has some possibility of breaking other things, but might be worth a try.