[X2Go-User] x2go glx issue in Ubuntu 22.04
h i
qpile117 at outlook.com
Tue Aug 27 23:36:52 CEST 2024
Okay,
Did some more digging.
Based on the below link, it mentions the classic drivers have been replaced by 'amber'. They are included with the Ubuntu 22.04, but not used by default.
Mesa's Classic Drivers Have Been Retired - Affecting ATI R100/R200 & More - Phoronix<https://www.phoronix.com/news/Mesa-Classic-Retired>
Therefore, I installed libglx-amber0
sudo apt-get install libglx-amber0
Then I added the following to my .bashrc file in my home directory:
export __GLX_VENDOR_LIBRARY_NAME=amber
Here is the output of
glxinfo | grep Open
glxinfo |grep Open
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits)
OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
Now, glxgears and glxinfo commands now work.
In the past, we didn't have to do this with Ubuntu 20.04, but with 22.04, this is what I had to do to get it to work. Haven't run other software just yet, but at least those basic commands now work again.
h.
________________________________
From: x2go-user <x2go-user-bounces at lists.x2go.org> on behalf of h i <qpile117 at outlook.com>
Sent: Tuesday, August 27, 2024 2:31 PM
To: Ulrich Sibiller <ulrich.sibiller at gmail.com>
Cc: x2go-user at lists.x2go.org <x2go-user at lists.x2go.org>
Subject: Re: [X2Go-User] x2go glx issue in Ubuntu 22.04
Tried, but no success.
I think it might relate to the following identified:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2017762 and Mesa's Classic Drivers Have Been Retired - Affecting ATI R100/R200 & More - Phoronix<https://www.phoronix.com/news/Mesa-Classic-Retired>
I have another server where everything works fine for ubuntu 20.04.
The current problem is with ubuntu 22.04. The main problem is Opengl. Read about mesa amber as an alternative. Using a Dell Poweredge server with Integrated Matrox G200eW3 Graphics Controller
It is related somehow to x2go because if use the glxinfo command directly on the server, the command works. Glxgears works.
Additionally, xclock works when I connect remotely using x2go. It is just glxgears, glxinfo, etc. glx related commands.
h.
________________________________
From: Ulrich Sibiller <ulrich.sibiller at gmail.com>
Sent: Monday, August 26, 2024 9:55 PM
To: h i <qpile117 at outlook.com>
Cc: x2go-user at lists.x2go.org <x2go-user at lists.x2go.org>
Subject: Re: [X2Go-User] x2go glx issue in Ubuntu 22.04
Maybe some of these mesa xlib vars might help, too: https://docs.mesa3d.org/envvars.html#mesa-xlib-driver-environment-variables
Uli
Ulrich Sibiller <ulrich.sibiller at gmail.com<mailto:ulrich.sibiller at gmail.com>> schrieb am Di., 27. Aug. 2024, 10:52:
Then please try to run glxinfo -i (forcing indirect rendering).
Uli
h i <qpile117 at outlook.com<mailto:qpile117 at outlook.com>> schrieb am Di., 27. Aug. 2024, 01:31:
Yes,
Thank you for your response.
I tried the following:
export LIBGL_ALWAYS_SOFTWARE=1
export LIBGL_ALWAYS_INDIRECT=1
However, still no success.
glxgears
Error: couldn't get an RGB, Double-buffered visual
glxinfo
name of display: :50
Error: couldn't find RGB GLX visual or fbconfig
h.
________________________________
From: Ulrich Sibiller <ulrich.sibiller at gmail.com<mailto:ulrich.sibiller at gmail.com>>
Sent: Saturday, August 24, 2024 8:41 PM
To: h i <qpile117 at outlook.com<mailto:qpile117 at outlook.com>>
Cc: x2go-user at lists.x2go.org<mailto:x2go-user at lists.x2go.org> <x2go-user at lists.x2go.org<mailto:x2go-user at lists.x2go.org>>
Subject: Re: [X2Go-User] x2go glx issue in Ubuntu 22.04
Have you tried settting mesa environment variables like LIBGL_ALWAYS_SOFTWARE and LIBGL_ALWAYS_INDIRECT? (Please google the exact names, cannot check myself right now.)
Uli
h i <qpile117 at outlook.com<mailto:qpile117 at outlook.com>> schrieb am Sa., 24. Aug. 2024, 22:55:
Hello,
Worked with x2go and Ubuntu 20.04 with no issues with glx. Commands such as glxinfo glxgears worked.
Using a Dell Poweredege Server, we have installed 22.04 and now commans like glxinfo, glxgears do not work connecting remotely to the server using x2goclient
glxinfo
name of display: :50
Error: couldn't find RGB GLX visual or fbconfig
glxgears
Error: couldn't get an RGB, Double-buffered visual
Mesa 22.0 and higher seems to be the issue.
Reading online, Ubuntu 22.04 no longer supports 'classic drivers' any longer. However, there is a 'mesa-amber' that could potentially resolve this?
Has anyone had any success using mesa-amber and getting commands like glxinfo, glxgears to work in Ubuntu 22.04? I tried the suggested downgrading to Mesa 21 and that just opened up another can worms with dependency issues.
Any help would greatly be appreciated.
Thanks,
h.
_______________________________________________
x2go-user mailing list
x2go-user at lists.x2go.org<mailto:x2go-user at lists.x2go.org>
https://lists.x2go.org/listinfo/x2go-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x2go.org/pipermail/x2go-user/attachments/20240827/3b9059cf/attachment-0001.htm>
More information about the x2go-user
mailing list