[Mesa-users] Compile and use software renderer

Jonathan Camilleri jon.d.cam at gmail.com
Thu Sep 10 18:30:31 UTC 2020


I am trying to run my application using the mesa software renderer
because I am having hardware issues which I cannot currently solve.

I have cloned mesa from github and compiled without any drivers, then
used ninja to install to '/usr/local'. I linked the application with
the newly built libraries, and set LD_LIBRARY_PATH to the directory.
The libraries were successfully found at runtime, however, there was
an error in shader compilation 'Supported versions are: 1.10 and 1.20'
where the compiled versions use '#version 300 es'.

I have used a precompiled 'opengl.dll' version of the mesa library for
Windows and the application worked without issues. I cannot figure out
how to make it work on ubuntu however. I am using a virtual machine
inside of Hyper-V if that makes a difference but I do not see how it
should since the library should do all the work.

I am quite new with this layer of programming so I apologise if this
is a trivial question.


More information about the mesa-users mailing list