amonakov / libgl-switcheroo Goto Github PK
View Code? Open in Web Editor NEWlibGL switching for primus users
License: ISC License
libGL switching for primus users
License: ISC License
Is this only for Nvidia drivers? Does it work with AMD/ATI discreet graphic cards?
Tried this a few years ago on my old laptop, seems like still the same issue?
Will this ever be fixed?
Any workarounds or dirty hacks I could try?
(I just edited my launcher to use primus, but as I also use my GPU in KVM sometimes (which makes it unavailable to X) it would be handy to get the popup)
Steps to reproduce:
I've just followed the README, but I dont get any dialog asking me for my choice.
Did I miss something?
I even dont understand your export Line.
Why does LD_LIBRARY_PATH contains a the $LIB variable? Where does this variable come from?
setti@Lappy - 12:24:09 - ~ $ echo $LD_LIBRARY_PATH /tmp/libgl-switcheroo-setti/fs/$LIB
If i strace glxinfo i get a lot of "file not found" messages like this:
stat("/tmp/libgl-switcheroo-setti/fs/lib", 0x7fffdae34360) = -1 ENOENT (No such file or directory)
Indeed this directory does not exist.
setti@Lappy - 12:23:19 - ~ $ ls /tmp/libgl-switcheroo-setti/
insgesamt 0
drwxr-xr-x 3 setti setti 80 2. Jul 12:09 .
drwxrwxrwt 18 root root 400 2. Jul 12:23 ..
drwxr-xr-x 2 setti setti 40 2. Jul 12:15 fs
srwxr-xr-x 1 setti setti 0 2. Jul 12:09 socket
setti@Lappy - 12:23:22 - ~ $ ls /tmp/libgl-switcheroo-setti/fs/
insgesamt 0
drwxr-xr-x 2 setti setti 40 2. Jul 12:15 .
drwxr-xr-x 3 setti setti 80 2. Jul 12:09 ..
The readme states to install xdialog, reading up it's not in ubuntu repos as it's old and unsupported is that right?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.