Hello all.

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/... .

Here some logs when I run firefox-esr from the command line: (The following results whether that line is added or not, no difference)

$ firefox-esr
[GFX1-]: glxtest: DRM device has no render node
[GFX1-]: No GPUs detected via PCI
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs

Here when run chromium from command line:

$ chromium
[3849:3880:0119/064546.568522:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018 [3895:3895:0119/064547.012768:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)

....

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
GL_EXTENSIONS = GL_ARB_mul......

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.

Thank you.

Reply via email to