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=159…
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers]
User …
[View More] : uli42
@@ -32,9 +32,9 @@
''x2goglx2'':
<code>
#!/bin/sh
- LD_PRELOAD=<your directory>/libgl-xlib/libGL.so exec "$@"
+ LD_PRELOAD=<your directory>/libgl-xlib/libGL.so.1 exec "$@"
</code>
Make them executable and test them:
<code>
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
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=159…
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers]
User …
[View More] : 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):
<code>
- export LD_LIBRARY_PATH=<your director>:${LD_LIBRARY_PATH}
+ export LD_LIBRARY_PATH=<your directory>/libgl-xlib:${LD_LIBRARY_PATH}
</code>
==== Usage ===
Now you can use one of these created wrapper scripts to run your application: ''x2goglx <your application>''. 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/
[View Less]
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=159…
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers]
User …
[View More] : uli42
@@ -42,9 +42,25 @@
$ x2goglx glxinfo
$ x2goglx2 glxinfo
</code>
- 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):
+ <code>
+ ...
+ 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
+ ...
+ </code>
+
Instead of creating the scripts mentioned above you can also add this to your .bashrc (or the config of your favourite shell):
<code>
export LD_LIBRARY_PATH=<your director>:${LD_LIBRARY_PATH}
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
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=159…
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: [Wrappers]
User …
[View More] : uli42
@@ -26,17 +26,15 @@
''x2goglx'':
<code>
#!/bin/sh
- export LD_LIBRARY_PATH=<your directory>/libgl-xlib:${LD_LIBRARY_PATH}
- exec "$@"
+ LD_LIBRARY_PATH=<your directory>/libgl-xlib:${LD_LIBRARY_PATH} exec "$@"
</code>
''x2goglx2'':
<code>
#!/bin/sh
- export LD_PRELOAD=<your directory>/libgl-xlib/libGL.so
- exec "$@"
+ LD_PRELOAD=<your directory>/libgl-xlib/libGL.so exec "$@"
</code>
Make them executable and test them:
<code>
--
This mail was
generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
This is an automated email from the git hooks/post-receive script.
x2go pushed a change to branch master
in repository x2gokdriveclient.
from 5d196b1 not use QClipboard class on Linux. It has problems mit INCR properties. Using XCB API instead.
new 8d39973 add xcb and xcb-fixes to deps.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository …
[View More]and have only
been added to this reference.
Summary of changes:
debian/changelog | 1 +
debian/control | 2 ++
2 files changed, 3 insertions(+)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git
[View Less]
This is an automated email from the git hooks/post-receive script.
x2go pushed a change to branch master
in repository x2gokdrive.
from 3d6295b Move selection functionality to separate thread. Use XCB API to manage selections.
new 5479661 add xcb-xfixes to deps.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to …
[View More]this reference.
Summary of changes:
Makefile | 2 +-
debian/changelog | 1 +
debian/control | 1 +
patches.xorg/1.18.4/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.19.2/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.19.6/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.20.1/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.20.3/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.20.4/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.20.5/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.20.6/xorg-server-configure-ac.patch | 2 +-
patches.xorg/1.20.7/xorg-server-configure-ac.patch | 2 +-
12 files changed, 12 insertions(+), 10 deletions(-)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
[View Less]
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=159…
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary:
User : …
[View More]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-<the version you downloaded>''
+ * ''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'':
+ <code>
+ #!/bin/sh
+ export LD_LIBRARY_PATH=<your directory>/libgl-xlib:${LD_LIBRARY_PATH}
+ exec "$@"
+ </code>
+
+ ''x2goglx2'':
+ <code>
+ #!/bin/sh
+ export LD_PRELOAD=<your directory>/libgl-xlib/libGL.so
+ exec "$@"
+ </code>
+
+ Make them executable and test them:
+ <code>
+ $ chmod u+rx
x2goglx*
+ $ x2goglx glxinfo
+ $ x2goglx2 glxinfo
+ </code>
+
+ 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):
+ <code>
+ export LD_LIBRARY_PATH=<your director>:${LD_LIBRARY_PATH}
+ </code>
+
+ ==== Usage ===
+ Now you can use one of these created wrapper scripts to run your application: ''x2goglx <your application>''. 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:
<code>
@@ -30,24 +79,8 @@
$ ninja
$ LD_LIBRARY_PATH=`pwd`/src/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH} glxinfo | grep 'GLX version:'
</code>
- 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:
- <code>
- #!/bin/sh
- LD_LIBRARY_PATH=<your directory>/libgl-xlib:${LD_LIBRARY_PATH} exec "$@"
- </code>
-
- <code>
- $ chmod u+rx x2goglx
- $ x2goglx glxinfo
- </code>
-
- 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:
- <code>
- #!/bin/sh
- LD_PRELOAD=<your directory>/libgl-xlib/libGL.so exec "$@"
- </code>
==== Ubuntu 14.04 ====
(with trusty-updates mesa 10.1.3-0ubuntu0.3)
@@ -99,9 +132,10 @@
<code>
ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" clean
</code>
- ===== Matlab 2019b =====
+ ===== Applications =====
+ ==== Matlab 2019b ====
Compile like this:
<code>
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/
[View Less]
This is an automated email from the git hooks/post-receive script.
x2go pushed a change to branch master
in repository x2gokdrive.
from df8f0b2 patches.xorg/1.18.4/xorg-server-configure-ac.patch: correctly add -pthread and -lpthread references *after* the pkgconfig checks execute.
new 3d6295b Move selection functionality to separate thread. Use XCB API to manage selections.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in …
[View More]separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
debian/changelog | 2 +
x2gokdriveinit.c | 2 +
x2gokdriveremote.c | 362 ++++++++------
x2gokdriveremote.h | 75 +--
x2gokdriveselection.c | 1252 +++++++++++++++++++++++++++++--------------------
x2gokdriveselection.h | 18 +-
6 files changed, 1052 insertions(+), 659 deletions(-)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
[View Less]
This is an automated email from the git hooks/post-receive script.
x2go pushed a change to branch master
in repository x2gokdriveclient.
from 04caf87 identify screen, when user hovering the action in the multiple monitors menu.
new 5d196b1 not use QClipboard class on Linux. It has problems mit INCR properties. Using XCB API instead.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "…
[View More]adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
client.cpp | 143 ++++++++-
client.h | 54 +++-
debian/changelog | 1 +
displayarea.cpp | 3 +-
x2gokdriveclient.pro | 7 +-
xcbclip.cpp | 816 +++++++++++++++++++++++++++++++++++++++++++++++++++
xcbclip.h | 79 +++++
7 files changed, 1088 insertions(+), 15 deletions(-)
create mode 100644 xcbclip.cpp
create mode 100644 xcbclip.h
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git
[View Less]
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=159…
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: add helper script …
[View More]with LD_PRELOAD
User : uli42
@@ -40,8 +40,15 @@
<code>
$ chmod u+rx x2goglx
$ x2goglx glxinfo
</code>
+
+ 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:
+ <code>
+ #!/bin/sh
+ LD_PRELOAD=<your directory>/libgl-xlib/libGL.so exec "$@"
+ </code>
+
==== Ubuntu 14.04 ====
(with trusty-updates mesa
10.1.3-0ubuntu0.3)
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]