[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2021-10-25 Thread wiki-admin
A page in your DokuWiki was added or changed. Here are the details:

Browser : Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 
Firefox/78.0
IP Address  : 79.249.39.86
Hostname: p4ff92756.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1634798706
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Date of New Revision: 2021/10/25 21:01
Edit Summary: [Usage] 
User: uli42

There may be newer changes after this revision. If this
happens, a message will be shown on the top of the rev page.

@@ -68,9 +68,9 @@
  
   Usage ===
  Now you can use one of these created wrapper scripts to run your application: 
''x2goglx ''. Some apps modify ''LD_LIBRARY_PATH'' so the 
''x2goglx'' could have no effect. In that case try ''x2goglx2''.
  
- If you still cannot succeed you need to elaborate 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 someone to add it here.
+ If you still cannot succeed, you need to elaborate 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 someone to add it here.
  
  
  = Versions / Platforms =
  The following chapters give some hints on how to compile the library on 
various combinations of platforms and mesa versions.


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2021-10-21 Thread wiki-admin
A page in your DokuWiki was added or changed. Here are the details:

Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
IP Address  : 79.249.39.86
Hostname: p4ff92756.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1634798521
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Date of New Revision: 2021/10/21 06:45
Edit Summary: 
User: uli42

There may be newer changes after this revision. If this
happens, a message will be shown on the top of the rev page.

@@ -144,8 +144,17 @@
  Cleanup:
  
  
  ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" clean
+ 
+ 
+ 
+ = NVidia driver / libGL =
+ 
+ On systems with a current (as of 2021) nvidia driver (including nvidia's 
libGL) instead of the above workaround you can try to run your application like 
this:
+ 
+ 
+ __GLX_VENDOR_LIBRARY_NAME=mesa LIBGL_ALWAYS_SOFTWARE=1 
  
  
  = Applications =
   Matlab 2019b 


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2021-10-21 Thread wiki-admin
A page in your DokuWiki was added or changed. Here are the details:

Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
IP Address  : 79.249.39.86
Hostname: p4ff92756.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597960192
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Date of New Revision: 2021/10/21 06:42
Edit Summary: [Usage] rephrase, fix typos
User: uli42

There may be newer changes after this revision. If this
happens, a message will be shown on the top of the rev page.

@@ -68,9 +68,9 @@
  
   Usage ===
  Now you can use one of these created wrapper scripts to run your application: 
''x2goglx ''. Some apps modify ''LD_LIBRARY_PATH'' so the 
''x2goglx'' could have no effect. In that case try ''x2goglx2''.
  
- 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 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 someone to add it here.
  
  
  = Versions / Platforms =
  The following chapters give some hints on how to compile the library on 
various combinations of platforms and mesa versions.


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 21:49
Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/80.0.3987.132 Safari/537.36
IP-Address  : 87.172.238.24
Hostname: p57acee18.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597959589
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers] 
User: uli42


@@ -32,9 +32,9 @@
 
 ''x2goglx2'':

 
 #!/bin/sh
- LD_PRELOAD=/libgl-xlib/libGL.so exec "$@"
+ LD_PRELOAD=/libgl-xlib/libGL.so.1 exec "$@"
 
 
 Make them executable and test them:

 


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 21:39
Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/80.0.3987.132 Safari/537.36
IP-Address  : 87.172.238.24
Hostname: p57acee18.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597959555
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers] 
User: uli42


@@ -62,9 +62,9 @@
 
 
 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=:${LD_LIBRARY_PATH}
+ export LD_LIBRARY_PATH=/libgl-xlib:${LD_LIBRARY_PATH}
 
 
  Usage ===

 Now you can use one of these created wrapper scripts to run your application: 
''x2goglx ''. Some apps modify ''LD_LIBRARY_PATH'' so the
''x2goglx'' could have no effect. In that case try ''x2goglx2''.


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 21:39
Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/80.0.3987.132 Safari/537.36
IP-Address  : 87.172.238.24
Hostname: p57acee18.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597959434
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers] 
User: uli42


@@ -42,9 +42,25 @@
 $ x2goglx glxinfo
 $ x2goglx2 glxinfo
 
 
- 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):

 
 export LD_LIBRARY_PATH=:${LD_LIBRARY_PATH}


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 21:37
Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/80.0.3987.132 Safari/537.36
IP-Address  : 87.172.238.24
Hostname: p57acee18.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597957118
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers] 
User: uli42


@@ -26,17 +26,15 @@
 
 ''x2goglx'':

 
 #!/bin/sh
- export LD_LIBRARY_PATH=/libgl-xlib:${LD_LIBRARY_PATH}
- exec "$@"
+ LD_LIBRARY_PATH=/libgl-xlib:${LD_LIBRARY_PATH} exec "$@"
 
 
 ''x2goglx2'':

 
 #!/bin/sh
- export LD_PRELOAD=/libgl-xlib/libGL.so
- exec "$@"
+ LD_PRELOAD=/libgl-xlib/libGL.so exec "$@"
 
 
 Make them executable and test them:

 


--
This mail was
generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 20:58
Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/80.0.3987.132 Safari/537.36
IP-Address  : 87.172.238.24
Hostname: p57acee18.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597955061
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: 
User: uli42


@@ -9,9 +9,58 @@
 = Approach =
 
 Use a wrapper/proxy library provided by Mesa. The applications will use the supplied libGL.so, which in turn uses the lib interface to talk to the X server (nxagent) rather than the GLX interface. From the applications' perspective, they have GLX 1.4.
 
+  Compile 

+ The general way to build the required library is this (see also 
https://mesa3d.org/llvmpipe.html):
+   * download and extract tarball from mesa3d.org. Try with the
newest and go down to older versions if you have problems with the newer one
+   * ''cd mesa-''
+   * ''mkdir build''
+   * ''cd build''
+   * ''meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3''
+   * ''ninja''
 
+  Wrappers ===

+ Now you should find a libGL.so in ''src/gallium/targets/libgl-xlib''. This is 
the lib the your program need to load instead of the libGL of the system.
+ 
+ Copy ''the src/gallium/targets/libgl-xlib'' directory to a place of your preference. Create two wrapper scripts ''~/x2goglx'' and ''~/x2goglx2''
+ 
+ ''x2goglx'':

+ 
+ #!/bin/sh
+ export LD_LIBRARY_PATH=/libgl-xlib:${LD_LIBRARY_PATH}
+ exec "$@"
+ 
+ 
+ ''x2goglx2'':

+ 
+ #!/bin/sh
+ export LD_PRELOAD=/libgl-xlib/libGL.so
+ exec "$@"
+ 
+ 
+ Make them executable and test them:

+ 
+ $ chmod u+rx
x2goglx*
+ $ x2goglx glxinfo
+ $ x2goglx2 glxinfo
+ 
+ 
+ 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".
+ 
+ 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=:${LD_LIBRARY_PATH}
+ 
+ 
+  Usage ===

+ Now you can use one of these created wrapper scripts to run your application: 
''x2goglx ''. Some apps modify ''LD_LIBRARY_PATH'' so the 
''x2goglx'' could have no effect. In that case try ''x2goglx2''.
+ 
+ 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.
+ 
+ 
+ = Versions / Platforms =

+ The following chapters give some hints on how to compile the library on
various combinations of platforms and mesa versions.
  Mesa 19 and newer 
 Please note: the instructions below are valid for older Mesa releases. In Mesa 19 
//meson// is recommended for building. Please consult 
https://mesa3d.org/llvmpipe.html for a basic compilation instruction. Since those 
instructions will not work out of the box (Error: "gallium-xlib conflicts
 with any dri driver") as of Mesa 19.3.2 you need to call //meson// with some 
further parameters like this:
 
@@ -30,24 +79,8 @@
 $ ninja
 $ LD_LIBRARY_PATH=`pwd`/src/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH} 
glxinfo | grep 'GLX version:'
 
 
- If you want you can copy the libgl-xlib directory to some location of your likes and write a small wrapper "x2goglx" for starting GLX applications:

- 
- #!/bin/sh
- LD_LIBRARY_PATH=/libgl-xlib:${LD_LIBRARY_PATH} exec "$@"
- 
- 
- 

- $ chmod u+rx x2goglx
- $ x2goglx glxinfo
- 
- 
- Some software modifies

LD_LIBRARY_PATH itself. In that case you might be successful with LD_PRELOAD. 
Instead of setting LD_LIBRARY_PATH point to a directory you set LD_PRELOAD to 
point to the generated library itself:
- 
- #!/bin/sh
- LD_PRELOAD=/libgl-xlib/libGL.so exec "$@"
- 
 
  Ubuntu 14.04 
 
 (with trusty-updates mesa 10.1.3-0ubuntu0.3)

@@ -99,9 +132,10 @@
 
 ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" clean
 
 
- = Matlab 2019b =

+ = Applications =
+  Matlab 2019b 
 
 Compile like this:

 
 meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3 
-Dprefix=/usr/local/mesa-20.1.0/


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 20:24
Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/80.0.3987.132 Safari/537.36
IP-Address  : 87.172.238.24
Hostname: p57acee18.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597950529
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: add helper script with LD_PRELOAD
User: uli42

@@ -40,8 +40,15 @@
 
 $ chmod u+rx x2goglx
 $ x2goglx glxinfo
 
+ 
+ Some software modifies LD_LIBRARY_PATH itself. In that case you might be successful with LD_PRELOAD. Instead of setting LD_LIBRARY_PATH point to a directory you set LD_PRELOAD to point to the generated library itself:

+ 
+ #!/bin/sh
+ LD_PRELOAD=/libgl-xlib/libGL.so exec "$@"
+ 
+ 
  Ubuntu 14.04 
 
 (with trusty-updates mesa

10.1.3-0ubuntu0.3)
 



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 19:08
Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/80.0.3987.132 Safari/537.36
IP-Address  : 87.172.238.24
Hostname: p57acee18.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1597931994
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Debian Buster and Mesa 19.3.2] 
User: uli42


@@ -33,9 +33,9 @@
 
 If you want you can copy the libgl-xlib directory to some location of your likes and write a small wrapper "x2goglx" for starting GLX applications:

 
 #!/bin/sh
- LD_LIBRARY_PATH=/libgl-xlib exec "$@"
+ LD_LIBRARY_PATH=/libgl-xlib:${LD_LIBRARY_PATH} exec "$@"
 
 
 

 $ chmod u+rx x2goglx


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-08-20 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/08/20 13:59
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 62.96.26.163
Hostname: 62.96.26.163
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1591125203
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Mesa 19 and newer] 
User: uli42


@@ -11,9 +11,9 @@
 Use a wrapper/proxy library provided by Mesa. The applications will use the 
supplied libGL.so, which in turn uses the lib interface to talk to the X server 
(nxagent) rather than the GLX interface. From the applications' perspective, 
they have GLX 1.4.
 
 
  Mesa 19 and newer 

- Please note: the instructions below are valid for olter Mesa releases. In 
Mesa 19 //meson// is recommended for building. Please consult 
https://mesa3d.org/llvmpipe.html for a basic compilation instruction. Since
those instructions will not work out of the box (Error: "gallium-xlib conflicts
+ Please note: the instructions below are valid for older Mesa releases. In Mesa 19 
//meson// is recommended for building. Please consult 
https://mesa3d.org/llvmpipe.html for a basic compilation instruction. Since those 
instructions will not work out of the box (Error: "gallium-xlib conflicts
 with any dri driver") as of Mesa 19.3.2 you need to call //meson// with some 
further parameters like this:
 
 $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
 $ ninja


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-06-02 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/06/02 19:13
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.160
Hostname: p57934ba0.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1591125176
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: 
User: uli42


@@ -102,7 +102,7 @@
 
 To make Matlab load the new driver modify Matlab's lib search path:

 cp $MATLAB_DIRECTORY/bin/.matlab7rc.sh ~
 
- Edit the file ~/.matlab7rc.sh, find the glnxa* section and add `/usr/local/mesa-20.1.0/lib/x86_64-linux-gnu` to LDPATH_PREFIX

+ Edit the file ~/.matlab7rc.sh, find the glnxa* section and add 
''/usr/local/mesa-20.1.0/lib/x86_64-linux-gnu'' to LDPATH_PREFIX
 
 Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-06-02 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/06/02 19:12
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.160
Hostname: p57934ba0.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1591125104
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: 
User: uli42


@@ -95,14 +95,14 @@
 
 = Matlab 2019b =
 
 Compile like this:

- ```
+ 
 meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3 
-Dprefix=/usr/local/mesa-20.1.0/
- ```
+ 
 
 To make Matlab load the new driver modify Matlab's lib search path:

 cp $MATLAB_DIRECTORY/bin/.matlab7rc.sh ~
 
- Edit the file ~/.matlab7rc.sh, find the glnxa* section and add the path to you mesa library, e.g.

/usr/local/mesa-20.1.0/lib/x86_64-linux-gnu, to LDPATH_PREFIX
+ Edit the file ~/.matlab7rc.sh, find the glnxa* section and add 
`/usr/local/mesa-20.1.0/lib/x86_64-linux-gnu` to LDPATH_PREFIX
 
 Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-06-02 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/06/02 19:11
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.160
Hostname: p57934ba0.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1591124928
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Matlab 2019b] 
User: uli42


@@ -93,11 +93,16 @@
 ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" clean
 
 
 = Matlab 2019b =
+ 
+ Compile like this:

+ ```
+ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3 
-Dprefix=/usr/local/mesa-20.1.0/
+ ```
 
 To make Matlab load the new driver modify Matlab's lib search path:

 cp $MATLAB_DIRECTORY/bin/.matlab7rc.sh ~
 
 Edit the file

~/.matlab7rc.sh, find the glnxa* section and add the path to you mesa library, 
e.g. /usr/local/mesa-20.1.0/lib/x86_64-linux-gnu, to LDPATH_PREFIX
 
 Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-06-02 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/06/02 19:08
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.160
Hostname: p57934ba0.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804757
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: 
User: uli42


@@ -91,4 +91,13 @@
 
 

 ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" clean
 
+ 
+ = Matlab 2019b =
+ 
+ To make Matlab load the new driver modify Matlab's lib search path:

+ cp $MATLAB_DIRECTORY/bin/.matlab7rc.sh ~
+ 
+ Edit the file ~/.matlab7rc.sh, find the glnxa* section and add the path to you mesa library, e.g. /usr/local/mesa-20.1.0/lib/x86_64-linux-gnu, to LDPATH_PREFIX
+ 
+ Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0



--
This mail was generated by
DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:28
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804059
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Debian Buster and Mesa 19.3.2] 
User: uli42


@@ -19,9 +19,9 @@
 $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
 $ ninja
 
 
- = Debian Buster and Mesa 19.3.2 =

+  Debian Buster and Mesa 19.3.2 
 
 

 $ (download and extract tarball from mesa3d.org)
 $ cd mesa-19.3.2


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:28
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804083
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Mesa 19 and newer] 
User: uli42


@@ -12,11 +12,10 @@
 
 
 = Mesa 19 and newer =

 Please note: the instructions below are not current anymore since Mesa now mainly 
uses meson for building. Please consult https://mesa3d.org/llvmpipe.html for a basic 
compilation instruction. Since those instructions will not work out of the box 
(Error: "gallium-xlib conflicts
- with any dri driver") as of Mesa 19.3.2 you need to call meson with some 
further parameters:
+ with any dri driver") as of Mesa 19.3.2 you need to call meson with some
further parameters like this:
 
- $ 
 $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3

 $ ninja
 
 



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:28
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804110
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Mesa 19 and newer] 
User: uli42


@@ -10,9 +10,9 @@
 
 Use a wrapper/proxy library provided by Mesa. The applications will use the supplied libGL.so, which in turn uses the lib interface to talk to the X server (nxagent) rather than the GLX interface. From the applications' perspective, they have GLX 1.4.
 
 
- = Mesa 19 and newer =

+  Mesa 19 and newer 
 Please note: the instructions below are not current anymore since Mesa now 
mainly uses meson for building. Please consult https://mesa3d.org/llvmpipe.html 
for a
basic compilation instruction. Since those instructions will not work out of the box 
(Error: "gallium-xlib conflicts
 with any dri driver") as of Mesa 19.3.2 you need to call meson with some 
further parameters like this:
 
 $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:39
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804726
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Debian Buster and Mesa 19.3.2] 
User: uli42


@@ -33,9 +33,9 @@
 
 If you want you can copy the libgl-xlib directory to some location of your likes and write a small wrapper "x2goglx" for starting GLX applications:

 
 #!/bin/sh
- 
LD_LIBRARY_PATH=/home/uli/work/nx/ArcticaProject/upstream/mesa3d/mesa-19.3.2/build/./src/gallium/targets/libgl-xlib
 exec "$@"
+ LD_LIBRARY_PATH=/libgl-xlib exec "$@"
 
 
 

 $ chmod u+rx x2goglx


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:38
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804299
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Debian Buster and Mesa 19.3.2] 
User: uli42


@@ -30,8 +30,18 @@
 $ ninja
 $ LD_LIBRARY_PATH=`pwd`/src/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH} 
glxinfo | grep 'GLX version:'
 
 
+ If you want you can copy the libgl-xlib directory to some location of your likes and write a small wrapper "x2goglx" for starting GLX applications:

+ 
+ #!/bin/sh
+ 
LD_LIBRARY_PATH=/home/uli/work/nx/ArcticaProject/upstream/mesa3d/mesa-19.3.2/build/./src/gallium/targets/libgl-xlib
 exec "$@"
+ 
+ 
+ 

+ $ chmod u+rx x2goglx
+ $
x2goglx glxinfo
+ 
  Ubuntu 14.04 
 
 (with trusty-updates mesa 10.1.3-0ubuntu0.3)
 



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:31
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804251
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Debian Buster and Mesa 19.3.2] 
User: uli42


@@ -27,9 +27,9 @@
 $ mkdir build
 $ cd build
 $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
 $ ninja
- $ 
LD_LIBRARY_PATH=`pwd`/build/linux-x86_64-debug/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH}
 glxinfo | grep 'GLX version:'
+ $ LD_LIBRARY_PATH=`pwd`/src/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH} 
glxinfo | grep 'GLX version:'
 
 
  Ubuntu 14.04 





--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:30
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579804125
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Mesa 19 and newer] 
User: uli42


@@ -11,10 +11,10 @@
 Use a wrapper/proxy library provided by Mesa. The applications will use the 
supplied libGL.so, which in turn uses the lib interface to talk to the X server 
(nxagent) rather than the GLX interface. From the applications' perspective, 
they have GLX 1.4.
 
 
  Mesa 19 and newer 

- Please note: the instructions below are not current anymore since Mesa now 
mainly uses meson for building. Please consult https://mesa3d.org/llvmpipe.html 
for a basic compilation instruction. Since
those instructions will not work out of the box (Error: "gallium-xlib conflicts
- with any dri driver") as of Mesa 19.3.2 you need to call meson with some 
further parameters like this:
+ Please note: the instructions below are valid for olter Mesa releases. In Mesa 19 
//meson// is recommended for building. Please consult 
https://mesa3d.org/llvmpipe.html for a basic compilation instruction. Since those 
instructions will not work out of the box (Error: "gallium-xlib conflicts
+ with any dri driver") as of Mesa 19.3.2 you need to call //meson// with some 
further parameters like this:
 
 $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
 $ ninja
 


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:27
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579803923
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Mesa 19 and newer] 
User: uli42


@@ -17,8 +17,20 @@
 
 $ 
 $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3

 $ ninja
+ 
+ 
+ = 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="" -D vulkan-drivers="" -D
buildtype=release -D optimization=3
+ $ ninja
+ $ LD_LIBRARY_PATH
 
 
  Ubuntu 14.04 
 



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 18:22
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 87.147.75.43
Hostname: p57934B2B.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1579803661
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Approach] 
User: uli42


@@ -9,9 +9,14 @@
 = Approach =
 
 Use a wrapper/proxy library provided by Mesa. The applications will use the supplied libGL.so, which in turn uses the lib interface to talk to the X server (nxagent) rather than the GLX interface. From the applications' perspective, they have GLX 1.4.
 
- Please note: the following is not current anymore since mesa now mainly uses meson for building. Please consult https://mesa3d.org/llvmpipe.html for a description how to compile the required library. Not that that

instructions are incomplete as of Mesa 19.3.2, you need to call meson with some further parameters: 
meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
+ Please note: the instructions below are not current anymore since mesa now 
mainly uses meson for building, athough still offerings scons. Please consult 
https://mesa3d.org/llvmpipe.html for a description how to compile the required 
library. Note that those instructions are incomplete as of Mesa 19.3.2, you 
need to call meson with some further parameters:
+ 
+ $ meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D 
dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
+ $ ninja
+ 
+ 
  Ubuntu 14.04 
 
 (with trusty-updates mesa 10.1.3-0ubuntu0.3)
 



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2020-01-23 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2020/01/23 12:47
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
Firefox/68.0
IP-Address  : 217.243.222.148
Hostname: 217.243.222.148
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1509795133
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Approach] 
User: uli42


@@ -9,8 +9,9 @@
 = Approach =
 
 Use a wrapper/proxy library provided by Mesa. The applications will use the supplied libGL.so, which in turn uses the lib interface to talk to the X server (nxagent) rather than the GLX interface. From the applications' perspective, they have GLX 1.4.
 
+ Please note: the following is not current anymore but is kept here for reference. Please consult https://mesa3d.org/llvmpipe.html for a description how to compile the required library.

  Ubuntu 14.04 
 
 (with

trusty-updates mesa 10.1.3-0ubuntu0.3)
 



--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2017-11-04 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2017/11/04 11:32
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 
Firefox/56.0
IP-Address  : 178.162.222.163
Hostname: 178.162.222.163.adsl.inet-telecom.org
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1509795111
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: And even more quotes.
User: ionic

@@ -58,6 +58,6 @@
 
 Cleanup:
 
 

- ebuild /usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild clean
+ ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" clean
 


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2017-11-04 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2017/11/04 11:31
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 
Firefox/56.0
IP-Address  : 178.162.222.163
Hostname: 178.162.222.163.adsl.inet-telecom.org
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1509794890
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: More quotes, don't export MESA_VERSION variable - child processes 
don't use that. Rename it to a lower-case version. Use -av while running cp.
User: ionic

@@ -35,28 +35,29 @@
 Create a place to store the library - adapt this path to your liking.
 
 mkdir -p /usr/local/share/mesa-libgl-xlib
 
+ 
 Place the following line in a suitable place - either in your .bashrc or in the script that calls the individual application:

 
 export LD_LIBRARY_PATH=/usr/local/share/mesa-libgl-xlib/:${LD_LIBRARY_PATH}


 
- Configure portage to keep the working area that is used to compile the Mesa package. Before doing so, ensure that the USE flags for media-libs/mesa are configured to your liking.

+ Configure portage to extract and patch the Mesa package into a known 
location. Before doing so, ensure that the USE flags for media-libs/mesa are 
configured to your liking.
 
 

- export MESA_VERSION=$(equery -q list media-libs/mesa -F '$version')
- ebuild "/usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild" prepare
+ mesa_version="$(equery -q list media-libs/mesa -F '$version')"
+ ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" prepare
 
 
 Now compile the library and move it over to the storage location:

 
- cd /var/tmp/portage/media-libs/mesa-${MESA_VERSION}/work/mesa-${MESA_VERSION}
+ cd 
"/var/tmp/portage/media-libs/mesa-${mesa_version}/work/mesa-${mesa_version}"
 scons libgl-xlib
- cp build/linux-x86_64-debug/gallium/targets/libgl-xlib/*
/usr/local/share/mesa-libgl-xlib/
+ cp -av build/linux-x86_64-debug/gallium/targets/libgl-xlib/* 
/usr/local/share/mesa-libgl-xlib/
 
 
 Cleanup:
 
 

- ebuild /usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild clean
+ ebuild /usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild clean
 


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2017-11-04 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2017/11/04 11:28
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 
Firefox/56.0
IP-Address  : 178.162.222.163
Hostname: 178.162.222.163.adsl.inet-telecom.org
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1509794840
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: Do not record development tools in world file if not strictly 
necessary.
User: ionic

@@ -28,9 +28,9 @@
 
 Ensure that some required tools are installed:
 
 

- emerge -av app-portage/gentoolkit dev-util/scons dev-python/mako
+ emerge -1av app-portage/gentoolkit dev-util/scons dev-python/mako
 
 
 Create a place to store the library - adapt this path to your liking.

 


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2017-11-04 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2017/11/04 11:27
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 
Firefox/56.0
IP-Address  : 178.162.222.163
Hostname: 178.162.222.163.adsl.inet-telecom.org
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1509793792
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: Don't build the full MESA suite first, use the ebuild tool 
directly.
User: ionic

@@ -43,24 +43,20 @@
 
 Configure portage to keep the working area that is used to compile the Mesa package. Before doing so, ensure that the USE flags for media-libs/mesa are configured to your liking.
 
 

- mkdir -p /etc/portage/env
- echo 'FEATURES="noclean"' > /etc/portage/env/features-noclean
- echo 'media-libs/mesa features-noclean' >> /etc/portage/package.env
- emerge -av media-libs/mesa
+ export MESA_VERSION=$(equery -q list
media-libs/mesa -F '$version')
+ ebuild "/usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild" prepare
 
 
 Now compile the library and move it over to the storage location:

 
- export MESA_VERSION=$(equery -q list media-libs/mesa -F '$version')
 cd /var/tmp/portage/media-libs/mesa-${MESA_VERSION}/work/mesa-${MESA_VERSION}
 scons libgl-xlib
 cp build/linux-x86_64-debug/gallium/targets/libgl-xlib/* 
/usr/local/share/mesa-libgl-xlib/
 
 
- Warning: The ''noclean'' feature will result in old versions of the working area for media-libs/mesa stacking up in /var/tmp/portage over time. Remove them from time to time - or right now after compiling and saving the library:

+ Cleanup:
 
 

- cd
 ebuild /usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild clean
 


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround

2017-11-04 Thread wiki-admin

A page in your DokuWiki was added or changed. Here are the details:

Date: 2017/11/04 11:06
Browser : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) 
AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5
IP-Address  : 79.244.144.125
Hostname: p4FF4907D.dip0.t-ipconnect.de
Old Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1425696320
New Revision: 
https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: added instructions for Gentoo 
User: vwegert


@@ -1,16 +1,66 @@
- Workaround for getting GLX 1.4 working.
+ == Workaround for getting GLX 1.4 working ==
 
- Applications will use libGL.so, which in turn uses the xlib interface to talk to the X server (nxagent) rather than the GLX interface.

+ = Symptoms =
 
- From the applications' perspective, they have GLX 1.4.

+   * Gnome-based and other applications report messages like ''"Failed to 
initialize gtk+: Unable to
initialize the Clutter backend: no available drivers found."''
+   * ''glxinfo'' reports GLX Version is 1.2
+   * Disabling GLX entirely in ''/etc/x2go/x2goagent.options'' via 
''-extension GLX'' does not work because the application does not have the 
capability to work without GLX at all.
+ 
+ = Approach =
+ 
+ Use a wrapper/proxy library provided by Mesa. The applications will use the supplied libGL.so, which in turn uses the lib interface to talk to the X server (nxagent) rather than the GLX interface. From the applications' perspective, they have GLX 1.4.
+ 
+  Ubuntu 14.04 
+ 
+ (with trusty-updates mesa 10.1.3-0ubuntu0.3)
 
- Ubuntu 14.04 (with trusty-updates mesa 10.1.3-0ubuntu0.3):

 
 sudo aptitude build-dep mesa
 sudo aptitude install scons llvm-dev
 apt-get source mesa
 cd mesa
 scons libgl-xlib
 export 
LD_LIBRARY_PATH=`pwd`/build/linux-x86_64-debug/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH}
 glxinfo | grep 'GLX version:'
+ 
+ 
+

 Gentoo 
+ 
+ Ensure that some required tools are installed:
+ 
+ 

+ emerge -av app-portage/gentoolkit dev-util/scons dev-python/mako
+ 
+ 
+ Create a place to store the library - adapt this path to your liking.

+ 
+ mkdir -p /usr/local/share/mesa-libgl-xlib
+ 
+ Place the following line in a suitable place - either in your .bashrc or in 
the script that calls the individual application:
+ 
+ export LD_LIBRARY_PATH=/usr/local/share/mesa-libgl-xlib/:${LD_LIBRARY_PATH}
+ 
+ 
+ Configure portage to keep the working area that is used to compile the Mesa package. Before doing so, ensure that the USE flags for media-libs/mesa are configured to your liking.
+ 
+ 

+ mkdir -p /etc/portage/env
+ echo 'FEATURES="noclean"' > /etc/portage/env/features-noclean
+ echo 'media-libs/mesa features-noclean' >> /etc/portage/package.env
+ emerge -av media-libs/mesa
+ 
+ 
+ Now compile the library and move it over to the storage location:

+

+ export MESA_VERSION=$(equery -q list media-libs/mesa -F '$version')
+ cd /var/tmp/portage/media-libs/mesa-${MESA_VERSION}/work/mesa-${MESA_VERSION}
+ scons libgl-xlib
+ cp build/linux-x86_64-debug/gallium/targets/libgl-xlib/* 
/usr/local/share/mesa-libgl-xlib/
+ 
+ 
+ Warning: The ''noclean'' feature will result in old versions of the working area for media-libs/mesa stacking up in /var/tmp/portage over time. Remove them from time to time - or right now after compiling and saving the library:
+ 
+ 

+ cd
+ build /usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild clean
 


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits