You are not logged in.

#1 2023-10-27 08:13:37

rwd
Member
Registered: 2009-02-08
Posts: 671

[SOLVED] Where to configure LIBGL_DRIVERS_PATH?

When fixing an issue with a wrongly configured LIBGL_DRIVERS_PATH I discovered that this environment variable was set by /etc/profile.d/lib32-dri.sh . This file is not owned by any package judging by pacman -Qo, but I don't remember putting it there. So assume it is a remnant of some uninstalled package. I know an environment variable can be configured anywhere, but is there a standard place to do this for LIBGL_DRIVERS_PATH?

Last edited by rwd (2023-10-27 14:00:45)

Offline

#2 2023-10-27 09:40:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: [SOLVED] Where to configure LIBGL_DRIVERS_PATH?

As mentioned in that thread. It isn't supposed to be set in the first place and generally a debugging option for when you intend to test different GL implementations. It should not be set and the file should not exist for normal operation. That it even does anything with /opt sounds fishy and likely some weird proprietary tool not knowing what it was doing.

Last edited by V1del (2023-10-27 10:26:25)

Offline

#3 2023-10-27 14:00:29

rwd
Member
Registered: 2009-02-08
Posts: 671

Re: [SOLVED] Where to configure LIBGL_DRIVERS_PATH?

I removed /etc/profile.d/lib32-dri.sh, and after a reboot xreader will start. So LIBGL_DRIVERS_PATH does not have to be set seemingly, just like you said.Thanks.

Offline

Board footer

Powered by FluxBB