This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:glx-xlib-workaround [2020/08/20 20:58] uli42 |
wiki:development:glx-xlib-workaround [2020/08/20 21:49] uli42 [Wrappers] |
||
---|---|---|---|
Line 28: | Line 28: | ||
< | < | ||
#!/bin/sh | #!/bin/sh | ||
- | export | + | LD_LIBRARY_PATH=< |
- | exec " | + | |
</ | </ | ||
Line 35: | Line 34: | ||
< | < | ||
#!/bin/sh | #!/bin/sh | ||
- | export | + | LD_PRELOAD=< |
- | exec " | + | |
</ | </ | ||
Line 46: | Line 44: | ||
</ | </ | ||
- | Watch the output of the two glxinfo calls. You should see references to your mesa version and you should also see it reporting "GLX version: 1.4". | + | Watch the output of the two glxinfo calls. You should see references to your mesa version and you should also see it reporting "GLX version: 1.4", e.g. (shortened): |
+ | < | ||
+ | ... | ||
+ | server glx vendor string: Brian Paul | ||
+ | server glx version string: 1.4 Mesa 18.0.5 | ||
+ | ... | ||
+ | client glx vendor string: Brian Paul | ||
+ | client glx version string: 1.4 Mesa 18.0.5 | ||
+ | ... | ||
+ | GLX version: 1.4 | ||
+ | ... | ||
+ | OpenGL vendor string: VMware, Inc. | ||
+ | OpenGL renderer string: llvmpipe (LLVM 3.8, 128 bits) | ||
+ | OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.5 | ||
+ | ... | ||
+ | </ | ||
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=< |
</ | </ | ||