Since the release of kernel 6.0.X, which has been announced the enabling
of v3d to support hard acceleration in RPi4, I've tried tested/daily
image from raspi.debian.net, the latest test, I installed Gnome, and I
can see from Settings/About, that 'v3d' is the GPU driver. (I've attach
the screenshot).
That initial support is out of the box, after I asked in
#debian-raspberrypi on IRC, they have suggested me to follow the link of https://melissawen.github.io/blog/2022/11/10/v3d-in-the-mainline .
I am not sure if recompiling the kernel is necessary, especially, I am getting some indicate that there is v3d, so I just added the 'device_tree=bcm2711-rpi-4-b.dtb' to config.txt, but nothing has been changed.
There are problems with firefox and chromium when launching them and window/maximizing/... .
DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
Failed to create scanout resource
Here when run "glxgears -info":
$ glxgears -info
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate.
GL_RENDERER = V3D 4.2
GL_VERSION = 2.1 Mesa 22.3.3
GL_VENDOR = Broadcom
Here when run glxinfo:
$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
....
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Broadcom (0x14e4)
Device: V3D 4.2 (0xffffffff)
Version: 22.3.3
Accelerated: yes
Video memory: 7800MB
Unified memory: yes
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Broadcom
OpenGL renderer string: V3D 4.2
OpenGL version string: 2.1 Mesa 22.3.3
OpenGL shading language version string: 1.20
I wish debian to get the fully 3d supported as it's already in the kernel.
That is userland and AFAIK you need to set special settings to make that work
and IIRC also in combination with Wayland. Which those are, I do not know.
But making browsers fully utilise GPU rendering is something the user needs to
do on their own devices with their own software.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 146:50:08 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,718 |