You are not logged in.

#1 2020-10-09 01:55:45

DeletedUser210603
Banned
Registered: 2020-10-09
Posts: 2

How can I use software OpenGL (llvmpipe) over my hardware driver?

Is there anyway to use llvmpipe on my system instead of my hardware driver?
I want to play around with modern OpenGL 4.5, but my hardware is limited to 3.3 so I'm trying to run the software driver, I can't find a guide on how to do it
and if possible I need to know how can I make the vulkan software renderer work too (afaik will be out next mesa version 20.3.0)
I know the performance will not be that good, so can I run two of them at the same time? (like llvmpipe for the software I write and hardware driver stays default for the system)

Offline

#2 2020-10-09 11:14:11

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: How can I use software OpenGL (llvmpipe) over my hardware driver?

X relies heavily on autodetection, you'd have to override that through a custom conf-file .

please post full output of

$ lspci -k
$ glxinfo -B



I know the performance will not be that good, so can I run two of them at the same time? (like llvmpipe for the software I write and hardware driver stays default for the system)

Nope, you'll atleast have to re-start X .

Maybe, see progandy post.

Last edited by Lone_Wolf (2020-10-09 11:32:30)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2020-10-09 11:28:31

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: How can I use software OpenGL (llvmpipe) over my hardware driver?

You can probably set the environment variable LIBGL_ALWAYS_SOFTWARE=true for the software you want to run with llvmpipe.
https://docs.mesa3d.org/envvars.html

LIBGL_ALWAYS_SOFTWARE=true glxinfo | grep version

Last edited by progandy (2020-10-09 11:30:44)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2020-10-09 23:51:47

DeletedUser210603
Banned
Registered: 2020-10-09
Posts: 2

Re: How can I use software OpenGL (llvmpipe) over my hardware driver?

Yep thanks that worked, I guess I can live with that!

Offline

Board footer

Powered by FluxBB