Skip to contentSkip to conversation

fails to boot into GUI mode.:(EE) open /dev/dri/card0: No such file or directory in Yocto

DISCUSSION Kamal GMBH 2 participants 3 messages Jun 11, 2024 1 message not in the archive

lore
Share & tools
lore

Kamal GMBH

author
#0 lore raw

I am building core-image-sato for my device but device *fails to boot into GUI mode*.

When I looked at Xorg.0.log file, found that Xserver is unable to find device node( /dev/dri/card0 ).

I am using scarthgap branch with 6.6.26 kernel.

error:

(II) modesetting: Driver for Modesetting Kernel Drivers: kms (II) FBDEV: driver for framebuffer: fbdev
(II) VESA: driver for VESA chipsets: vesa
(EE) *open /dev/dri/card0: No such file or directory* (WW) Falling back to old probe method for modesetting (EE) *open /dev/dri/card0: No such file or directory* (II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.21.1.11, module version = 0.0.2
ABI class: X.Org Video Driver, version 25.2
(EE) Unable to find a valid framebuffer device
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.21.1.11, module version = 0.0.2
ABI class: X.Org Video Driver, version 25.2
(EE) open /dev/fb0: No such file or directory
vesa: Ignoring device with a bound kernel driver
(EE) Screen 0 deleted because of no matching config section. (II) UnloadModule: "modesetting"
(EE) Screen 0 deleted because of no matching config section. (II) UnloadModule: "fbdev"
(II) UnloadSubModule: "fbdevhw"
(EE) Screen 0 deleted because of no matching config section. (II) UnloadModule: "vesa"
(EE) Device(s) detected, but none match those in the config file.

can you please help here!

#1 lore raw

You are not saying anything whatsoever about what the device is. Can you perhaps attach the full log and output of dmesg?

Alex

Quoted 51 lines · Kamal GMBH via lists.yoctoproject.org

I am building core-image-sato for my device but device fails to boot into GUI mode.

When I looked at Xorg.0.log file, found that Xserver is unable to find device node(/dev/dri/card0).

I am using scarthgap branch with 6.6.26 kernel.

error:

(II) modesetting: Driver for Modesetting Kernel Drivers: kms (II) FBDEV: driver for framebuffer: fbdev
(II) VESA: driver for VESA chipsets: vesa
(EE) open /dev/dri/card0: No such file or directory (WW) Falling back to old probe method for modesetting (EE) open /dev/dri/card0: No such file or directory (II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.21.1.11, module version = 0.0.2
ABI class: X.Org Video Driver, version 25.2
(EE) Unable to find a valid framebuffer device
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.21.1.11, module version = 0.0.2
ABI class: X.Org Video Driver, version 25.2
(EE) open /dev/fb0: No such file or directory
vesa: Ignoring device with a bound kernel driver
(EE) Screen 0 deleted because of no matching config section. (II) UnloadModule: "modesetting"
(EE) Screen 0 deleted because of no matching config section. (II) UnloadModule: "fbdev"
(II) UnloadSubModule: "fbdevhw"
(EE) Screen 0 deleted because of no matching config section. (II) UnloadModule: "vesa"
(EE) Device(s) detected, but none match those in the config file.

can you please help here!

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63315): https://lists.yoctoproject.org/g/yocto/message/63315
Mute This Topic: https://lists.yoctoproject.org/mt/106610331/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): CA+u1R=R5onfOc_DR_wHbeeZ+Mp3JD4-FRkhq3P-tNEWX++ydNQ@mail.gmail.com

#3 lore raw

What is MACHINE set to? Absence of /dev/dri/card0 means the correct kernel driver for the graphical hardware is absent, that's why I asked for dmesg output.

There's meta-amd layer, but it's not compatible with anything newer than kirkstone, no idea why is that.

I believe you can enable all needed drivers yourself, but it might take a bit of work figuring out what exactly needs to be switched on in the kernel config.

Alex

Quoted 13 lines · Kamal GMBH
Quoted 3 lines

Hello Alex,

I am using V2000 AMD Board.

I am attaching the log for referance.

Regards,
Kamal