You are not logged in.

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

Andrew2000
Member
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: 8,492

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)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

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

progandy
Member
Registered: 2012-05-17
Posts: 3,900

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

Andrew2000
Member
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