This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:development:glx-xlib-workaround [2020/08/20 21:39] uli42 [Wrappers] |
wiki:development:glx-xlib-workaround [2021/10/25 21:01] (current) uli42 [Usage] |
||
---|---|---|---|
Line 34: | Line 34: | ||
< | < | ||
#!/bin/sh | #!/bin/sh | ||
- | LD_PRELOAD=< | + | LD_PRELOAD=< |
</ | </ | ||
Line 64: | Line 64: | ||
Instead of creating the scripts mentioned above you can also add this to your .bashrc (or the config of your favourite shell): | Instead of creating the scripts mentioned above you can also add this to your .bashrc (or the config of your favourite shell): | ||
< | < | ||
- | export LD_LIBRARY_PATH=< | + | export LD_LIBRARY_PATH=< |
</ | </ | ||
Line 70: | Line 70: | ||
Now you can use one of these created wrapper scripts to run your application: | Now you can use one of these created wrapper scripts to run your application: | ||
- | If you still cannot succeed you can try to find your if your application needs some special treatment. If so, please add the solution to the end of this page or post it to the mailinglist for some to add it. | + | If you still cannot succeed, you need to elaborate |
Line 146: | Line 146: | ||
< | < | ||
ebuild "/ | ebuild "/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== NVidia driver / libGL ===== | ||
+ | |||
+ | On systems with a current (as of 2021) nvidia driver (including nvidia' | ||
+ | |||
+ | < | ||
+ | __GLX_VENDOR_LIBRARY_NAME=mesa LIBGL_ALWAYS_SOFTWARE=1 <your application> | ||
</ | </ | ||