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/01/23 18:22] uli42 [Approach] |
wiki:development:glx-xlib-workaround [2020/01/23 18:39] uli42 [Debian Buster and Mesa 19.3.2] |
||
---|---|---|---|
Line 11: | Line 11: | ||
Use a wrapper/ | Use a wrapper/ | ||
- | Please note: the instructions below are not current anymore since mesa now mainly uses meson for building, athough still offerings scons. Please consult https:// | + | |
+ | ==== Mesa 19 and newer ==== | ||
+ | Please note: the instructions below are valid for olter Mesa releases. In Mesa 19 //meson// is recommended | ||
+ | with any dri driver" | ||
< | < | ||
$ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" | $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" | ||
Line 17: | Line 20: | ||
</ | </ | ||
+ | ==== Debian Buster and Mesa 19.3.2 ==== | ||
+ | |||
+ | < | ||
+ | $ (download and extract tarball from mesa3d.org) | ||
+ | $ cd mesa-19.3.2 | ||
+ | $ mkdir build | ||
+ | $ cd build | ||
+ | $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" | ||
+ | $ ninja | ||
+ | $ LD_LIBRARY_PATH=`pwd`/ | ||
+ | </ | ||
+ | |||
+ | If you want you can copy the libgl-xlib directory to some location of your likes and write a small wrapper " | ||
+ | < | ||
+ | #!/bin/sh | ||
+ | LD_LIBRARY_PATH=< | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ chmod u+rx x2goglx | ||
+ | $ x2goglx glxinfo | ||
+ | </ | ||
==== Ubuntu 14.04 ==== | ==== Ubuntu 14.04 ==== | ||