[Mesa-users] Problem with compiled mesa radeon libs

Rémi Galan Alfonso remi.galanalfonso at gmail.com
Mon Jun 26 22:56:26 UTC 2017


Hello mesa-users !

First of all, my graphic card is a Radeon R7 Graphics.

I recently compiled mesa from the repository (from master) and I think
there is something I am missing concerning the compiled libs.

The configure command line that I used was the following:
`./autogen.sh --with-gallium-drivers="radeonsi" 
--with-dri-drivers="radeon" --with-vulkan-drivers="radeon"`

The resulting radeon libs (ignoring vulkan, ... because that's not the
main issue here) are : mesa/lib/radeon_dri.so and
mesa/lib/gallium/radeonsi_dri.so

I wanted to test the libs before trying to install them or something
similar. I used the following command:
`LIBGL_DEBUG=verbose 
LIBGL_DRIVERS_PATH="/home/galanalr/Programs/mesa/lib:/home/galanalr/Programs/mesa/lib/gallium" 
glxinfo`

It begins by the following:
libGL: OpenDriver: trying 
/home/galanalr/Programs/mesa/lib/tls/radeonsi_dri.so
libGL: OpenDriver: trying /home/galanalr/Programs/mesa/lib/radeonsi_dri.so
libGL: dlopen /home/galanalr/Programs/mesa/lib/radeonsi_dri.so failed 
(/home/galanalr/Programs/mesa/lib/radeonsi_dri.so: cannot open shared 
object file: No such file or directory)
libGL: OpenDriver: trying 
/home/galanalr/Programs/mesa/lib/gallium/tls/radeonsi_dri.so
libGL: OpenDriver: trying 
/home/galanalr/Programs/mesa/lib/gallium/radeonsi_dri.so
libGL: Can't open configuration file /usr/local/etc/drirc: No such file 
or directory.
libGL: Can't open configuration file /home/galanalr/.drirc: No such file 
or directory.
libGL: Can't open configuration file /usr/local/etc/drirc: No such file 
or directory.
libGL: Can't open configuration file /home/galanalr/.drirc: No such file 
or directory.
libGL: Using DRI2 for screen 0

Notice that it originally looks for mesa/lib/radeonsi_dri.so while my
file is mesa/lib/radeon_dri.so; but it still finds the one in
gallium/.

The main problem is that it gives me the following OpenGL
informations:
Extended renderer info (GLX_MESA_query_renderer):
     Vendor: X.Org (0x1002)
     Device: AMD KAVERI (DRM 2.48.0 / 4.9.2-040902-generic, LLVM 5.0.0) 
(0x1309)
     Version: 17.2.0
     Accelerated: yes
     Video memory: 1024MB
     Unified memory: no
     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: 2.0

In particular "Max core profile version: 0.0" which sounds like a
problem.
In comparison my default mesa gives:
Extended renderer info (GLX_MESA_query_renderer):
     Vendor: X.Org (0x1002)
     Device: AMD KAVERI (DRM 2.48.0 / 4.9.2-040902-generic, LLVM 3.8.0) 
(0x1309)
     Version: 12.0.6
     Accelerated: yes
     Video memory: 1024MB
     Unified memory: no
     Preferred profile: core (0x1)
     Max core profile version: 4.1
     Max compat profile version: 3.0
     Max GLES1 profile version: 1.1
     Max GLES[23] profile version: 3.0


So what did I miss with how I built it?

Thanks,
Rémi



More information about the mesa-users mailing list