Ubuntu 21.10 Xorg '/dev/dri/card0: No such file or directory' preventing intel graphics driver use; AIMB-218L SBC, Celeron N6211
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu 21.10 Xorg '/dev/dri/card0: No such file or directory' preventing intel graphics driver use; AIMB-218L SBC, Celeron N6211
Hi,
I'm trying to get Ubuntu 21.10 running on an AIMB-218L SBC. It is most essential that Ubuntu is able to use the hardware to it's full potential for benchmarking purposes, and as it currently stands I am not able to get Ubuntu to use the correct intel graphics driver with the iGPU on the N6211 processor. Disclaimer, I am not particularly well versed in linux...
Below is the Xorg.0.log:
Code:
[ 135.235] (--) Log file renamed from "/var/log/Xorg.pid-784.log" to "/var/log/Xorg.0.log"
[ 135.237]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[ 135.237] Build Operating System: linux Ubuntu
[ 135.237] Current Operating System: Linux nathan-aimb218 5.13.0-28-generic #31-Ubuntu SMP Thu Jan 13 17:41:06 UTC 2022 x86_64
[ 135.237] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13.0-28-generic root=UUID=39383294-7c4f-4ccb-82a5-8a166741979f ro quiet splash
[ 135.237] Build Date: 14 December 2021 02:07:57PM
[ 135.238] xorg-server 2:1.20.13-1ubuntu1.1 (For technical support please see http://www.ubuntu.com/support)
[ 135.238] Current version of pixman: 0.40.0
[ 135.238] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 135.238] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 135.239] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 17 07:55:42 2022
[ 135.242] (==) Using config file: "/etc/X11/xorg.conf"
[ 135.242] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 135.243] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 135.245] (==) No Layout section. Using the first Screen section.
[ 135.245] (**) |-->Screen "mainscreen" (0)
[ 135.245] (**) | |-->Monitor "mainmonitor"
[ 135.245] (**) | |-->Device "intelgraphics"
[ 135.246] (**) | |-->GPUDevice "intelgraphics"
[ 135.246] (==) Automatically adding devices
[ 135.246] (==) Automatically enabling devices
[ 135.246] (==) Automatically adding GPU devices
[ 135.246] (==) Automatically binding GPU devices
[ 135.246] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 135.249] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 135.249] Entry deleted from font path.
[ 135.249] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 135.249] Entry deleted from font path.
[ 135.249] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 135.249] Entry deleted from font path.
[ 135.250] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 135.250] Entry deleted from font path.
[ 135.250] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 135.250] Entry deleted from font path.
[ 135.250] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 135.250] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 135.250] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 135.250] (II) Loader magic: 0x55a610cb7020
[ 135.250] (II) Module ABI versions:
[ 135.250] X.Org ANSI C Emulation: 0.4
[ 135.250] X.Org Video Driver: 24.1
[ 135.250] X.Org XInput driver : 24.1
[ 135.250] X.Org Server Extension : 10.0
[ 135.251] (++) using VT number 1
[ 135.252] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 135.254] (--) PCI:*(0@0:2:0) 8086:4555:0000:0000 rev 1, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[ 135.254] (II) LoadModule: "glx"
[ 135.256] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 135.266] (II) Module glx: vendor="X.Org Foundation"
[ 135.266] compiled for 1.20.13, module version = 1.0.0
[ 135.266] ABI class: X.Org Server Extension, version 10.0
[ 135.266] (II) LoadModule: "modesetting"
[ 135.266] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 135.267] (II) Module modesetting: vendor="X.Org Foundation"
[ 135.267] compiled for 1.20.13, module version = 1.20.13
[ 135.267] Module class: X.Org Video Driver
[ 135.267] ABI class: X.Org Video Driver, version 24.1
[ 135.267] (II) LoadModule: "intel"
[ 135.267] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 135.271] (II) Module intel: vendor="X.Org Foundation"
[ 135.271] compiled for 1.20.13, module version = 2.99.917
[ 135.271] Module class: X.Org Video Driver
[ 135.271] ABI class: X.Org Video Driver, version 24.1
[ 135.271] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 135.271] (II) intel: Driver for Intel(R) 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
[ 135.272] (II) intel: Driver for Intel(R) HD Graphics
[ 135.272] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 135.272] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 135.272] (EE) open /dev/dri/card0: No such file or directory
[ 135.272] (WW) Falling back to old probe method for modesetting
[ 135.272] (EE) open /dev/dri/card0: No such file or directory
[ 135.272] (EE) Screen 0 deleted because of no matching config section.
[ 135.272] (II) UnloadModule: "modesetting"
[ 135.272] (EE) Device(s) detected, but none match those in the config file.
[ 135.272] (==) Matched modesetting as autoconfigured driver 0
[ 135.272] (==) Matched fbdev as autoconfigured driver 1
[ 135.272] (==) Matched vesa as autoconfigured driver 2
[ 135.272] (==) Assigned the driver to the xf86ConfigLayout
[ 135.272] (II) LoadModule: "modesetting"
[ 135.272] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 135.272] (II) Module modesetting: vendor="X.Org Foundation"
[ 135.272] compiled for 1.20.13, module version = 1.20.13
[ 135.272] Module class: X.Org Video Driver
[ 135.272] ABI class: X.Org Video Driver, version 24.1
[ 135.272] (II) UnloadModule: "modesetting"
[ 135.273] (II) Unloading modesetting
[ 135.273] (II) Failed to load module "modesetting" (already loaded, 0)
[ 135.273] (II) LoadModule: "intel"
[ 135.273] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 135.273] (II) Module intel: vendor="X.Org Foundation"
[ 135.273] compiled for 1.20.13, module version = 2.99.917
[ 135.273] Module class: X.Org Video Driver
[ 135.273] ABI class: X.Org Video Driver, version 24.1
[ 135.273] (II) UnloadModule: "intel"
[ 135.273] (II) Unloading intel
[ 135.273] (II) Failed to load module "intel" (already loaded, 0)
[ 135.273] (II) LoadModule: "fbdev"
[ 135.273] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 135.276] (II) Module fbdev: vendor="X.Org Foundation"
[ 135.276] compiled for 1.20.13, module version = 0.5.0
[ 135.277] Module class: X.Org Video Driver
[ 135.277] ABI class: X.Org Video Driver, version 24.1
[ 135.277] (II) LoadModule: "vesa"
[ 135.277] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 135.279] (II) Module vesa: vendor="X.Org Foundation"
[ 135.279] compiled for 1.20.13, module version = 2.5.0
[ 135.279] Module class: X.Org Video Driver
[ 135.279] ABI class: X.Org Video Driver, version 24.1
[ 135.279] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 135.279] (II) intel: Driver for Intel(R) 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
[ 135.281] (II) intel: Driver for Intel(R) HD Graphics
[ 135.281] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 135.281] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 135.281] (II) FBDEV: driver for framebuffer: fbdev
[ 135.281] (II) VESA: driver for VESA chipsets: vesa
[ 135.281] (EE) open /dev/dri/card0: No such file or directory
[ 135.281] (WW) Falling back to old probe method for modesetting
[ 135.281] (EE) open /dev/dri/card0: No such file or directory
[ 135.281] (II) Loading sub module "fbdevhw"
[ 135.281] (II) LoadModule: "fbdevhw"
[ 135.281] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 135.284] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 135.284] compiled for 1.20.13, module version = 0.0.2
[ 135.284] ABI class: X.Org Video Driver, version 24.1
[ 135.284] (**) FBDEV(1): claimed PCI slot 0@0:2:0
[ 135.284] (II) FBDEV(1): using default device
[ 135.284] (EE) Screen 0 deleted because of no matching config section.
[ 135.284] (II) UnloadModule: "modesetting"
[ 135.284] (II) FBDEV(0): Creating default Display subsection in Screen section
"mainscreen" for depth/fbbpp 24/32
[ 135.284] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 135.284] (==) FBDEV(0): RGB weight 888
[ 135.284] (==) FBDEV(0): Default visual is TrueColor
[ 135.284] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 135.284] (II) FBDEV(0): hardware: EFI VGA (video memory: 8100kB)
[ 135.284] (II) FBDEV(0): checking modes against framebuffer device...
[ 135.284] (II) FBDEV(0): checking modes against monitor...
[ 135.284] (II) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[ 135.284] (**) FBDEV(0): Built-in mode "current": 207.4 MHz, 85.3 kHz, 77.2 Hz
[ 135.284] (II) FBDEV(0): Modeline "current"x0.0 207.38 1920 1952 2192 2432 1080 1084 1088 1104 -hsync -vsync -csync (85.3 kHz b)
[ 135.284] (==) FBDEV(0): DPI set to (96, 96)
[ 135.284] (II) Loading sub module "fb"
[ 135.284] (II) LoadModule: "fb"
[ 135.284] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 135.286] (II) Module fb: vendor="X.Org Foundation"
[ 135.286] compiled for 1.20.13, module version = 1.0.0
[ 135.286] ABI class: X.Org ANSI C Emulation, version 0.4
[ 135.286] (**) FBDEV(0): using shadow framebuffer
[ 135.286] (II) Loading sub module "shadow"
[ 135.286] (II) LoadModule: "shadow"
[ 135.287] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 135.288] (II) Module shadow: vendor="X.Org Foundation"
[ 135.289] compiled for 1.20.13, module version = 1.1.0
[ 135.289] ABI class: X.Org ANSI C Emulation, version 0.4
[ 135.289] (II) UnloadModule: "intel"
[ 135.289] (II) Unloading intel
[ 135.289] (II) UnloadModule: "vesa"
[ 135.289] (II) Unloading vesa
[ 135.289] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[ 135.295] (==) FBDEV(0): Backing store enabled
[ 135.297] (==) FBDEV(0): DPMS enabled
[ 135.297] (II) Initializing extension Generic Event Extension
[ 135.297] (II) Initializing extension SHAPE
[ 135.297] (II) Initializing extension MIT-SHM
[ 135.297] (II) Initializing extension XInputExtension
[ 135.298] (II) Initializing extension XTEST
[ 135.298] (II) Initializing extension BIG-REQUESTS
[ 135.298] (II) Initializing extension SYNC
[ 135.298] (II) Initializing extension XKEYBOARD
[ 135.298] (II) Initializing extension XC-MISC
[ 135.298] (II) Initializing extension SECURITY
[ 135.299] (II) Initializing extension XFIXES
[ 135.299] (II) Initializing extension RENDER
[ 135.299] (II) Initializing extension RANDR
[ 135.299] (II) Initializing extension COMPOSITE
[ 135.299] (II) Initializing extension DAMAGE
[ 135.299] (II) Initializing extension MIT-SCREEN-SAVER
[ 135.299] (II) Initializing extension DOUBLE-BUFFER
[ 135.299] (II) Initializing extension RECORD
[ 135.300] (II) Initializing extension DPMS
[ 135.300] (II) Initializing extension Present
[ 135.300] (II) Initializing extension DRI3
[ 135.300] (II) Initializing extension X-Resource
[ 135.300] (II) Initializing extension XVideo
[ 135.300] (II) Initializing extension XVideo-MotionCompensation
[ 135.300] (II) Initializing extension SELinux
[ 135.300] (II) SELinux: Disabled on system
[ 135.300] (II) Initializing extension GLX
[ 135.301] (II) AIGLX: Screen 0 is not DRI2 capable
[ 135.566] (II) IGLX: Loaded and initialized swrast
[ 135.566] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 135.566] (II) Initializing extension XFree86-VidModeExtension
[ 135.567] (II) Initializing extension XFree86-DGA
[ 135.567] (II) Initializing extension XFree86-DRI
[ 135.567] (II) Initializing extension DRI2
[ 135.614] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 135.614] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 135.614] (II) LoadModule: "libinput"
[ 135.614] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 135.617] (II) Module libinput: vendor="X.Org Foundation"
[ 135.617] compiled for 1.20.13, module version = 1.1.0
[ 135.617] Module class: X.Org XInput Driver
[ 135.618] ABI class: X.Org XInput driver, version 24.1
[ 135.618] (II) Using input driver 'libinput' for 'Power Button'
[ 135.619] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 26 paused 0
[ 135.619] (**) Power Button: always reports core events
[ 135.619] (**) Option "Device" "/dev/input/event2"
[ 135.620] (**) Option "_source" "server/udev"
[ 135.630] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 135.630] (II) event2 - Power Button: device is a keyboard
[ 135.630] (II) event2 - Power Button: device removed
[ 135.630] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[ 135.630] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 135.630] (**) Option "xkb_model" "pc105"
[ 135.630] (**) Option "xkb_layout" "gb"
[ 135.648] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 135.650] (II) event2 - Power Button: device is a keyboard
[ 135.651] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 135.651] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 135.651] (II) Using input driver 'libinput' for 'Power Button'
[ 135.653] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 29 paused 0
[ 135.653] (**) Power Button: always reports core events
[ 135.653] (**) Option "Device" "/dev/input/event1"
[ 135.653] (**) Option "_source" "server/udev"
[ 135.654] (II) event1 - Power Button: is tagged by udev as: Keyboard
[ 135.654] (II) event1 - Power Button: device is a keyboard
[ 135.654] (II) event1 - Power Button: device removed
[ 135.654] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[ 135.654] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 135.654] (**) Option "xkb_model" "pc105"
[ 135.654] (**) Option "xkb_layout" "gb"
[ 135.655] (II) event1 - Power Button: is tagged by udev as: Keyboard
[ 135.655] (II) event1 - Power Button: device is a keyboard
[ 135.656] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[ 135.656] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 135.656] (II) Using input driver 'libinput' for 'Sleep Button'
[ 135.658] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 30 paused 0
[ 135.658] (**) Sleep Button: always reports core events
[ 135.658] (**) Option "Device" "/dev/input/event0"
[ 135.658] (**) Option "_source" "server/udev"
[ 135.659] (II) event0 - Sleep Button: is tagged by udev as: Keyboard
[ 135.659] (II) event0 - Sleep Button: device is a keyboard
[ 135.659] (II) event0 - Sleep Button: device removed
[ 135.659] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[ 135.659] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 135.659] (**) Option "xkb_model" "pc105"
[ 135.659] (**) Option "xkb_layout" "gb"
[ 135.660] (II) event0 - Sleep Button: is tagged by udev as: Keyboard
[ 135.660] (II) event0 - Sleep Button: device is a keyboard
[ 135.661] (II) config/udev: Adding input device Dell KB216 Wired Keyboard (/dev/input/event3)
[ 135.661] (**) Dell KB216 Wired Keyboard: Applying InputClass "libinput keyboard catchall"
[ 135.661] (II) Using input driver 'libinput' for 'Dell KB216 Wired Keyboard'
[ 135.663] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 31 paused 0
[ 135.663] (**) Dell KB216 Wired Keyboard: always reports core events
[ 135.663] (**) Option "Device" "/dev/input/event3"
[ 135.663] (**) Option "_source" "server/udev"
[ 135.664] (II) event3 - Dell KB216 Wired Keyboard: is tagged by udev as: Keyboard
[ 135.664] (II) event3 - Dell KB216 Wired Keyboard: device is a keyboard
[ 135.665] (II) event3 - Dell KB216 Wired Keyboard: device removed
[ 135.665] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:413C:2113.0001/input/input3/event3"
[ 135.665] (II) XINPUT: Adding extended input device "Dell KB216 Wired Keyboard" (type: KEYBOARD, id 9)
[ 135.665] (**) Option "xkb_model" "pc105"
[ 135.665] (**) Option "xkb_layout" "gb"
[ 135.666] (II) event3 - Dell KB216 Wired Keyboard: is tagged by udev as: Keyboard
[ 135.666] (II) event3 - Dell KB216 Wired Keyboard: device is a keyboard
[ 135.667] (II) config/udev: Adding input device Dell KB216 Wired Keyboard System Control (/dev/input/event4)
[ 135.667] (**) Dell KB216 Wired Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[ 135.667] (II) Using input driver 'libinput' for 'Dell KB216 Wired Keyboard System Control'
[ 135.669] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 32 paused 0
[ 135.669] (**) Dell KB216 Wired Keyboard System Control: always reports core events
[ 135.669] (**) Option "Device" "/dev/input/event4"
[ 135.669] (**) Option "_source" "server/udev"
[ 135.672] (II) event4 - Dell KB216 Wired Keyboard System Control: is tagged by udev as: Keyboard
[ 135.672] (II) event4 - Dell KB216 Wired Keyboard System Control: device is a keyboard
[ 135.672] (II) event4 - Dell KB216 Wired Keyboard System Control: device removed
[ 135.672] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:413C:2113.0002/input/input4/event4"
[ 135.672] (II) XINPUT: Adding extended input device "Dell KB216 Wired Keyboard System Control" (type: KEYBOARD, id 10)
[ 135.672] (**) Option "xkb_model" "pc105"
[ 135.672] (**) Option "xkb_layout" "gb"
[ 135.673] (II) event4 - Dell KB216 Wired Keyboard System Control: is tagged by udev as: Keyboard
[ 135.673] (II) event4 - Dell KB216 Wired Keyboard System Control: device is a keyboard
[ 135.674] (II) config/udev: Adding input device Dell KB216 Wired Keyboard Consumer Control (/dev/input/event5)
[ 135.674] (**) Dell KB216 Wired Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[ 135.674] (II) Using input driver 'libinput' for 'Dell KB216 Wired Keyboard Consumer Control'
[ 135.676] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 33 paused 0
[ 135.676] (**) Dell KB216 Wired Keyboard Consumer Control: always reports core events
[ 135.676] (**) Option "Device" "/dev/input/event5"
[ 135.676] (**) Option "_source" "server/udev"
[ 135.678] (II) event5 - Dell KB216 Wired Keyboard Consumer Control: is tagged by udev as: Keyboard
[ 135.678] (II) event5 - Dell KB216 Wired Keyboard Consumer Control: device is a keyboard
[ 135.678] (II) event5 - Dell KB216 Wired Keyboard Consumer Control: device removed
[ 135.678] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:413C:2113.0002/input/input5/event5"
[ 135.678] (II) XINPUT: Adding extended input device "Dell KB216 Wired Keyboard Consumer Control" (type: KEYBOARD, id 11)
[ 135.678] (**) Option "xkb_model" "pc105"
[ 135.678] (**) Option "xkb_layout" "gb"
[ 135.680] (II) event5 - Dell KB216 Wired Keyboard Consumer Control: is tagged by udev as: Keyboard
[ 135.680] (II) event5 - Dell KB216 Wired Keyboard Consumer Control: device is a keyboard
[ 135.681] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event6)
[ 135.681] (**) USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[ 135.681] (II) Using input driver 'libinput' for 'USB Optical Mouse'
[ 135.683] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 34 paused 0
[ 135.683] (**) USB Optical Mouse: always reports core events
[ 135.683] (**) Option "Device" "/dev/input/event6"
[ 135.683] (**) Option "_source" "server/udev"
[ 135.684] (II) event6 - USB Optical Mouse: is tagged by udev as: Mouse
[ 135.684] (II) event6 - USB Optical Mouse: device is a pointer
[ 135.684] (II) event6 - USB Optical Mouse: device removed
[ 135.684] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0461:4D22.0003/input/input6/event6"
[ 135.684] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 12)
[ 135.685] (**) Option "AccelerationScheme" "none"
[ 135.685] (**) USB Optical Mouse: (accel) selected scheme none/0
[ 135.685] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[ 135.685] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[ 135.686] (II) event6 - USB Optical Mouse: is tagged by udev as: Mouse
[ 135.686] (II) event6 - USB Optical Mouse: device is a pointer
[ 135.687] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[ 135.687] (II) No input driver specified, ignoring this device.
[ 135.687] (II) This device may have been added with another device file.
[ 144.802] (**) Option "fd" "26"
[ 144.802] (II) event2 - Power Button: device removed
[ 144.803] (**) Option "fd" "29"
[ 144.803] (II) event1 - Power Button: device removed
[ 144.803] (**) Option "fd" "30"
[ 144.804] (II) event0 - Sleep Button: device removed
[ 144.804] (**) Option "fd" "31"
[ 144.804] (II) event3 - Dell KB216 Wired Keyboard: device removed
[ 144.812] (**) Option "fd" "32"
[ 144.813] (II) event4 - Dell KB216 Wired Keyboard System Control: device removed
[ 144.813] (**) Option "fd" "33"
[ 144.814] (II) event5 - Dell KB216 Wired Keyboard Consumer Control: device removed
[ 144.814] (**) Option "fd" "34"
[ 144.814] (II) event6 - USB Optical Mouse: device removed
[ 144.832] (II) systemd-logind: got pause for 13:69
[ 144.832] (II) systemd-logind: got pause for 13:67
[ 144.832] (II) systemd-logind: got pause for 13:68
[ 144.833] (II) systemd-logind: got pause for 13:70
[ 144.833] (II) systemd-logind: got pause for 13:66
[ 144.833] (II) systemd-logind: got pause for 13:65
[ 144.834] (II) systemd-logind: got pause for 13:64
[ 149.920] (II) UnloadModule: "libinput"
[ 149.927] (II) systemd-logind: releasing fd for 13:70
[ 149.932] (II) UnloadModule: "libinput"
[ 149.932] (II) systemd-logind: releasing fd for 13:69
[ 149.948] (II) UnloadModule: "libinput"
[ 149.949] (II) systemd-logind: releasing fd for 13:68
[ 149.960] (II) UnloadModule: "libinput"
[ 149.961] (II) systemd-logind: releasing fd for 13:67
[ 149.980] (II) UnloadModule: "libinput"
[ 149.980] (II) systemd-logind: releasing fd for 13:64
[ 149.996] (II) UnloadModule: "libinput"
[ 149.996] (II) systemd-logind: releasing fd for 13:65
[ 150.013] (II) UnloadModule: "libinput"
[ 150.013] (II) systemd-logind: releasing fd for 13:66
[ 150.031] (II) Server terminated successfully (0). Closing log file.
This segment,
Code:
[ 135.272] (II) intel: Driver for Intel(R) HD Graphics
[ 135.272] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 135.272] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 135.272] (EE) open /dev/dri/card0: No such file or directory
implies to me that it attempts to load the intel driver and runs into an issue.
If I use inxi -Fxxxa, I can see that the intel graphics have not bound with a driver, as it says
Code:
driver: N/A alternate: i915
In addition, I'm seeing 3D performance that is orders of magnitude less than what I would expect from the hardware; confirming, at least, that something is very wrong!
I have searched low and high for a solution to this issue, maybe it's a red herring caused by something else entirely, but any help would be greatly appreciated. Thanks in advance.
Does `ubuntu-drivers list` suggest a driver? If the suggestion from that previous command looks reasonable, try `sudo ubuntu-drivers install`
As far as I know i915 is included in linux kernel. Perhaps (just guessing) there's proprietary firmware needed; when you installed ubuntu did you check the box to allow "3rd party" drivers/software?
Re: DRI / X.org on ATX/ITX boards with a "mobile" CPU
Too little too late, so just for the record:
...I've just had trouble myselfs, making an ITX board with an Intel iGPU work for me. The person responsible for the install picked a recent Ubuntu Mint of all the possibilities, the stock kernel is 5.15.0-82. Interestingly, Debian 11 with a vanilla kernel 5.15.110 does not give me trouble on the same hardware...
My hardware is older, some ITX board with a BayTrail J1900 and an eDP available on a header. And, HDMI and VGA available at the coastline connectors.
I believe the Elkhart Lake on the AIMB-218 would also have eDP available.
So much for similarities.
As for differences in our scenaria, Elkhart Lake is (was at the time of the OP asking) still relatively new and rare silicon, I wouldn't be surprised if the OP had a more fundamental problem = basic support for the Elkhart Lake IGP in the i915 driver.
Anyway in my case, the symptoms were:
Right after installation (not done by me): the kernel would start DRI/KMS and boot to the two external LCD displays attached (via HDMI and DB15 VGA), sending them their respective native resolutions, mirroring the text console output on both of them. Next, the lightdm would appear on both screens, with the logon window only on one of them (i.e. two displays already "side by side"), both displays still in their respective optimal resolutions. After logon, the Cinnamon desktop would start with two black screens (alive in the background).
I tried installing gdm3 and shifting the startup to it, using /etc/X11/default-display-manager. After that, I got two black screens as soon as the GDM3 started = I wouldn't even see the "greeter" (login). From the text-mode FB console boot messages rolling on the screen, straight into black screens as soon as the Xserver would start.
Interestingly, after that, even if I tried to switch back to lightdm, that would not help. Still I'd get a black screen already for the display manager.
Next I tried getting rid of xwayland, to force the thing to use the i915 Xserver/driver directly. To no avail / nothing changed in the misbehavior.
I proceeded to try to investigate, how the display manager and sessions are handled under SystemD, noticed that there was some SystemD scaffolding around Xwindows, and pretty much gave up.
I also did notice the message "open /dev/dri/card0: No such file or directory" in the X.org log file... that's how I got here.
If we added "nomodeset" to the kernel command line, the display manager and the logged-in session would start up just fine, albeit with a default SVGA resolution and 4:3 aspect ratio.
I also noticed several threads, mentioning that Gnome didn't like scaling other than 100%... and found no way to configure that without a working graphical display...
What finally solved the problem on my part:
in the BIOS SETUP, section "Chipset Settings -> North Bridge" or something like that, there's a submenu for the IGP. And, there was an option to enable or disable the internal LVDS (actually eDP, I suspect). It was enabled. I disabled it, saved the config and reset the machine.
Voila, I now had dual-display graphics on the external displays, in native resolution.
I've seen such effects before. On "mobile" platforms, likely to appear en masse in notebooks, the Intel drivers tend to prefer the "built-in notebook display", i.e. TTL/LVDS/eDP. Unfortunately, those interfaces do not have a "presence detect" mechanism in the wiring towards the display. Thus, you may end up in a situation where the OS sends its output on a port that you don't even know exists somewhere inside your "embedded PC" box. This applies to all ATOM SoC's and I suspect all the nominally "mobile-flavoured" CPU's / SoC's that you'd expect to find in a notebook. Including their "embedded" twin SKU's. The "mobile" product family tend to have characteristic BGA/PGA packages, distinct from the "desktop" LGA footprints... and, the Intel graphics drivers can probably distinguish between these categories. Maybe the IGP is somehow earmarked. Interestingly, if you disable the LVDS/eDP in the BIOS, the Intel driver tends to follow suit - at least it did in my particular scenario.
Actually before looking into the BIOS, I've tried addressing this by adding "video=card0-eDP-1:d" at the kernel command line, which interestingly did not help. By trying some kernel cmdline settings for the desired outputs card0-VGA-1 and card0-HDMI-A-1, I noticed that they did affect the kernel framebuffer, but not the Xserver for the i915.
For the record, to get a listing of your IGP's outputs, made available by the kernel-space driver, ls -l /sys/class/drm/* .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.