DRI not working in VBox 7.0.2 linux guests with Mesa 22.3-rc2

Discussions about using Linux guests in VirtualBox.
Post Reply
bero
Posts: 1
Joined: 14. Nov 2022, 22:37

DRI not working in VBox 7.0.2 linux guests with Mesa 22.3-rc2

Post by bero »

Hi,
when booting a Linux guest in VBox 7.0.2 with 3D acceleration enabled, the guest comes up, but uses software rendering for everything.

dmesg shows vboxvideo loading correctly:

Code: Select all

[Mon Nov 14 20:52:26 2022] vboxvideo: loading version 7.0.2 r154219
[Mon Nov 14 20:52:26 2022] vboxvideo 0000:00:02.0: vgaarb: deactivate vga console
[Mon Nov 14 20:52:26 2022] [drm] VRAM 08000000
[Mon Nov 14 20:52:26 2022] fbcon: vboxvideodrmfb (fb0) is primary device
[Mon Nov 14 20:52:26 2022] fbcon: Deferring console take-over
[Mon Nov 14 20:52:26 2022] vboxvideo 0000:00:02.0: [drm] fb0: vboxvideodrmfb frame buffer device
[Mon Nov 14 20:52:26 2022] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
It creates
/dev/dri/card0
as expected, but no
/dev/dri/control*
or
/dev/dri/render*
devices.
This seems to cause VBoxDRMClient to abort ("VBoxDRMClient: Error: unable to find DRM device").

glxinfo says "libGL error: glx: failed to create drisw screen".

There is nothing suspicious in Xorg.0.log (just the sort-of expected "(II) modeset(0): Refusing to try glamor on llvmpipe").

Plasma 5.26 started complaining about "Software Renderer In Use" when updating the client from Mesa 22.2.x to 22.3.x.

Both the host and the client are running VBox 7.0.2 with kernel 6.0.8. I've tried both the vboxvideo module included in the VBox source tarball and the one included in the kernel with similar effects.
Post Reply