[Libre-soc-bugs] [Bug 251] Initial 3D MESA non-accelerated software-only driver is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Aug 11 05:13:41 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=251

--- Comment #27 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to vivekvpandya from comment #25)
> Just to note I tried dumping NIR with debug mesa drivers:
> My command:
> vivek at vivek-VirtualBox:~/Downloads/mesa-demos/build/src/demos$
> GALLIUM_DEBGU=ir

misspelled here.

> LD_LIBRARY_PATH=/home/vivek/install/lib/x86_64-linux-gnu/
> LIBGL_DRIVERS_PATH=/home/vivek/install/lib/x86_64-linux-gnu/dri NIR_PRINT=1
> MESA_DEBUG=1 LIBGL_ALWAYS_SOFTWARE=true GALLIUM_DRIVER=llvmpipe
> LIBGL_DEBUG=verbose VC4_DEBUG=nir NIR_DEBUG=1 MIDGARD_MESA_DEBUG=shaders
> ./gears
> 
> I did not get anything.

gears doesn't actually use any opengl shaders AFAIK, so it uses a fallback
pipeline or something like that -- not exactly sure how the OpenGL API is wired
up to Gallium. Try using a more complex example program that uses shaders, or
just use a Vulkan example program (assuming you have a GPU in your VM), since
Vulkan doesn't have the fallback pipeline and will always use shaders if it
draws any triangles.

The other part that might be causing problems is the virtualbox guest
additions, which might be overriding the opengl libraries.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list