Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on raspberr pi os #340

Open
olevenets2 opened this issue Jun 28, 2024 · 7 comments
Open

error on raspberr pi os #340

olevenets2 opened this issue Jun 28, 2024 · 7 comments

Comments

@olevenets2
Copy link

olevenets2 commented Jun 28, 2024

Hi I compiled this program and tried to open the waydroid container on my raspberry pi 4 in openbox but I get an error:

olevenets@raspberrypi:~/build/cage/build $ ./cage waydroid
00:00:00.000 [backend/x11/backend.c:396] Creating X11 backend
00:00:00.003 [backend/x11/backend.c:612] Failed to query DRI3 DRM FD
00:00:00.003 [../cage.c:299] Unable to create the wlroots backend

Is there anything I can do?

@emersion
Copy link
Contributor

Which xserver driver are you using?

@olevenets2
Copy link
Author

This is Mesa 23.2.1. My glxinfo log https://paste.ee/p/3aTkF

@emersion
Copy link
Contributor

I mean the X.Org server drivers, not GL/Vulkan. These are typically called xf86-video-….

@olevenets2
Copy link
Author

olevenets2 commented Jun 28, 2024

Hmm, I don't know exactly what the package is called, but here's what it says in Xorg.log

olevenets@raspberrypi:~ $ cat /var/log/Xorg.0.log|grep -i driver
[    13.779] 	X.Org Video Driver: 25.2
[    13.779] 	X.Org XInput driver : 24.4
[    13.819] 	loading driver: modesetting
[    13.819] (==) Matched modesetting as autoconfigured driver 0
[    13.819] (==) Matched fbdev as autoconfigured driver 1
[    13.819] (==) Assigned the driver to the xf86ConfigLayout
[    13.820] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    13.831] 	Module class: X.Org Video Driver
[    13.831] 	ABI class: X.Org Video Driver, version 25.2
[    13.831] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    13.833] 	Module class: X.Org Video Driver
[    13.833] 	ABI class: X.Org Video Driver, version 25.2
[    13.833] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    13.833] (II) FBDEV: driver for framebuffer: fbdev
[    13.882] 	ABI class: X.Org Video Driver, version 25.2
[    15.251] (II) modeset(0): [DRI2]   DRI driver: vc4
[    15.251] (II) modeset(0): [DRI2]   VDPAU driver: vc4
[    15.427] 	Module class: X.Org XInput Driver
[    15.427] 	ABI class: X.Org XInput driver, version 24.4
[    15.427] (II) Using input driver 'libinput' for 'Barcode Reader '
[    15.534] (II) Using input driver 'libinput' for 'Barcode Reader  Mouse'
[    15.567] (II) No input driver specified, ignoring this device.
[    15.569] (II) Using input driver 'libinput' for 'Barcode Reader  System Control'
[    15.606] (II) Using input driver 'libinput' for 'Barcode Reader  Consumer Control'
[    15.629] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    15.660] (II) No input driver specified, ignoring this device.
[    15.661] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    15.684] (II) No input driver specified, ignoring this device.
[    15.697] (II) Using input driver 'libinput' for 'Barcode Reader  Consumer Control'
[    15.698] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    15.698] (II) Using input driver 'libinput' for 'vc4-hdmi-1'

@emersion
Copy link
Contributor

Right, thanks, this is the modesetting driver.

Hm, maybe that's because it's a split render/display node system…

@olevenets2
Copy link
Author

Will it be possible to count on a fix?

@emersion
Copy link
Contributor

No, I don't have enough free time to work on a fix for this. Patches welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants