[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: My X server not working. I think it cannot find /dev/dri/card0 [Solved]



On 3/26/21 4:50 PM, R. Ramesh wrote:
Hi,

  I installed debian buster on minisforum X35G with Core i3-1005G1. Install went through fine, but lightdm does not start up. Upon inspecting logs, I found out that X server does not startup for lightdm to use. Looking /var/log/Xorg.0.log, I see these error messages

   yoda-mini [rramesh] 43 > fgrep EE /var/log/Xorg.0.log
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   [  3134.273] (EE) open /dev/dri/card0: No such file or directory
   [  3134.273] (EE) open /dev/dri/card0: No such file or directory
   [  3134.274] (EE) Unable to find a valid framebuffer device
   [  3134.274] (EE) Screen 0 deleted because of no matching config
   section.
   [  3134.274] (EE) Screen 0 deleted because of no matching config
   section.
   [  3134.274] (EE)
   [  3134.274] (EE) Cannot run in framebuffer mode. Please specify
   busIDs        for all framebuffer devices
   [  3134.274] (EE)
   [  3134.274] (EE)
   [  3134.274] (EE) Please also check the log file at
   "/var/log/Xorg.0.log" for additional information.
   [  3134.274] (EE)
   [  3134.278] (EE) Server terminated with error (1). Closing log file.

Sure enough I cannot find /dev/dri. I double checked and udev is mounted on /dev

   yoda-mini [rramesh] 44 > df -h
   Filesystem      Size  Used Avail Use% Mounted on
   udev            7.7G     0  7.7G   0% /dev
   tmpfs           1.6G   18M  1.6G   2% /run
   /dev/nvme0n1p5  341G  3.6G  320G   2% /
   tmpfs           7.8G     0  7.8G   0% /dev/shm
   tmpfs           5.0M  4.0K  5.0M   1% /run/lock
   tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
   /dev/nvme0n1p1   96M   51M   46M  53% /boot/efi
   tmpfs           1.6G     0  1.6G   0% /run/user/1000

My lspci shows this

   00:00.0 Host bridge: Intel Corporation Device 8a02 (rev 03)
   00:02.0 VGA compatible controller: Intel Corporation Device 8a56
   (rev 07)
   00:07.0 PCI bridge: Intel Corporation Device 8a1d (rev 03)
   00:0d.0 USB controller: Intel Corporation Device 8a13 (rev 03)
   00:0d.2 System peripheral: Intel Corporation Device 8a17 (rev 03)
   00:14.0 USB controller: Intel Corporation Ice Lake-LP USB 3.1 xHCI
   Host Controller (rev 30)
   00:14.2 RAM memory: Intel Corporation Device 34ef (rev 30)
   00:15.0 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP
   Serial IO I2C Controller (rev 30)
   00:16.0 Communication controller: Intel Corporation Device 34e0 (rev 30)
   00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA
   Controller [RAID mode] (rev 30)
   00:1c.0 PCI bridge: Intel Corporation Device 34ba (rev 30)
   00:1c.4 PCI bridge: Intel Corporation Ice Lake-LP PCI Express Root
   Port (rev 30)
   00:1d.0 PCI bridge: Intel Corporation Ice Lake-LP PCI Express Root
   Port (rev 30)
   00:1d.4 PCI bridge: Intel Corporation Device 34b4 (rev 30)
   00:1e.0 Communication controller: Intel Corporation Ice Lake-LP
   Serial IO UART Controller (rev 30)
   00:1e.3 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP
   Serial IO SPI Controller (rev 30)
   00:1f.0 ISA bridge: Intel Corporation Ice Lake-LP LPC Controller
   (rev 30)
   00:1f.3 Audio device: Intel Corporation Device 34c8 (rev 30)
   00:1f.4 SMBus: Intel Corporation Ice Lake-LP SMBus Controller (rev 30)
   00:1f.5 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP
   SPI Controller (rev 30)
   2c:00.0 Network controller: Intel Corporation Device 2723 (rev 1a)
   2d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
   RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
   2e:00.0 Non-Volatile memory controller: Phison Electronics
   Corporation Device 5013 (rev 01)
   2f:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
   RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

I thought 00:02.0 is the device X is looking for, but for some reason its equivalent /dev/dri items are missing. Not sure how to help my X. Please advise.

Regards
Ramesh

I added "deb http://deb.debian.org/debian buster-backports main contrib non-free" to my sources.list and updated/installed 5.10 kernel and everything is fine per my quick check.

I think 10 generation intel cpu's graphics is not supported in 4.19 kernel that is installed with stable per an article I read while googling.

Ramesh


Reply to: