[Mesa-users] Build the Mesa driver for Broadcom VC4

YuGiOhJCJ Mailing-List yugiohjcj-mailinglist at laposte.net
Sun Apr 23 12:42:54 UTC 2017


Hello,

I am on Slackware ARM 14.2 on a Raspberry Pi 3 Model B and I am trying to build the Mesa driver for Broadcom VC4 (version 1c0ac1976ac7a87bfd2ade47f25047c31527f18a).

Here is what I have before I built/install Mesa drivers:
$ glxgears
86 frames in 5.0 seconds = 17.143 FPS
176 frames in 5.0 seconds = 35.094 FPS
174 frames in 5.0 seconds = 34.659 FPS
175 frames in 5.0 seconds = 34.837 FPS
167 frames in 5.0 seconds = 33.319 FPS
$ glxinfo | grep "direct rendering"
direct rendering: Yes
$ grep "EE" /var/log/Xorg.0.log 
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4628.692] (EE) open /dev/dri/card0: No such file or directory
[  4628.706] (EE) AIGLX: reverting to software rendering
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1824 x 984, current 1824 x 984, maximum 1824 x 984
default connected primary 1824x984+0+0 0mm x 0mm
   1824x984       0.00*

Here is what I have after I built/install Mesa drivers:
$ glxgears
Error: couldn't get an RGB, Double-buffered visual
$ glxinfo 
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
$ grep "EE" /var/log/Xorg.0.log        
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4094.098] (EE) open /dev/dri/card0: No such file or directory
[  4094.105] (EE) AIGLX: reverting to software rendering
[  4094.105] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[  4094.105] (EE) GLX: could not load software renderer
$ xrandr                           
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1824 x 984, current 1824 x 984, maximum 1824 x 984
default connected primary 1824x984+0+0 0mm x 0mm
   1824x984       0.00*

I followed instructions here: https://github.com/anholt/mesa/wiki/VC4-complete-Raspbian-upgrade (Mesa section)
And I only have rebuilt Mesa (not the kernel, not the libdrm and not the X server).

What am I doing wrong please?

Thank you.
Best regards.


More information about the mesa-users mailing list