WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade  (Read 8325 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Since the recent Xorg-7.7-3d.tcz upgrade to version 20.3.0, my portable version of xscreensaver fails with this kind of error:

Code: [Select]
glmatrix: display ":0.0" does not support the GLX extension.
glknots: display ":0.0" does not support the GLX extension.
glmatrix: display ":0.0" does not support the GLX extension.
lockward: display ":0.0" does not support the GLX extension.
geodesic: display ":0.0" does not support the GLX extension.
glmatrix: display ":0.0" does not support the GLX extension.

Any ideas how to fix, short of reverting to Xorg-7.7-3d.tcz version 19.2.3?
« Last Edit: December 09, 2020, 09:25:55 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #1 on: December 08, 2020, 04:43:42 PM »
Did you update libEGL, libGL and libGLESv2 at the same time?

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #2 on: December 08, 2020, 05:12:50 PM »
The system is fully updated, so I assume those extensions were updated at the same time.

Code: [Select]
bruno@x200:~$ cat /opt/tcemirror
http://repo.tinycorelinux.net/

bruno@x200:~$ tce-update
Checking for Easy Mode Operation... OK

Press Enter key to begin batch update of extensions in /sda3/tce
or enter any char to exit now:
Checking Tiny Core Applications in /mnt/sda3/tce/optional
Your system is up-to-date.
Press Enter key.

bruno@x200:~$ tce-status -i | grep 'lib.*GL'
libEGL
libGL
libGLESv2

I can confirm that on this fully-updated TCL11.1 x86_64 machine, the problem goes away if I go into tce/optional/ and replace newest Xorg-7.7-3d.tcz with previous version then reboot.
« Last Edit: December 08, 2020, 05:15:06 PM by GNUser »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #3 on: December 08, 2020, 06:04:42 PM »
Maybe the portable application has a built-in, older version of one or more of these libraries. I'll check.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #4 on: December 08, 2020, 10:07:16 PM »
Hi GNUser
You could try this to see if it reveals anything:
Code: [Select]
ldd /Path/To/xscreensaver

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #5 on: December 08, 2020, 10:36:50 PM »
Hi GNUser
If you load  mesa-demos.tcz  does this run without errors:
Code: [Select]
glxinfo

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #6 on: December 08, 2020, 11:25:17 PM »
Hi, Rich. Thanks for the suggestions.

Code: [Select]
$ ldd /opt/bin/xscreensaver
/opt/bin/xscreensaver: error while loading shared libraries: /opt/bin/xscreensaver: ELF file ABI version invalid
$ tce-load -wi mesa-demos
...
$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

The  ldd  error doesn't bother me because I get the same error with all other AppImages, including ones that are working perfectly.

The glxinfo is more concerning. I will see if the error goes away when I load the older version of Xorg-7.7-3d.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #7 on: December 08, 2020, 11:29:55 PM »
Everything points to a problem with the new version of Xorg-7.7-3d.tcz.

If I change nothing except replace new version of said extension with old version then reboot, then  glxinfo  works fine:

Code: [Select]
$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error,
    GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #8 on: December 08, 2020, 11:58:52 PM »
Hi GNUser
Looking at the dates in the  .info  files:
Code: [Select]
mesa-demos.tcz        2019/11/11 recompiled against mesa-19.2.3
Xorg-7.7-3d.tcz       2020/12/06 updated 19.2.3 -> 20.3.0
I'm guessing  glxinfo  may have failed because  mesa-demos  depends on  Xorg-7.7-3d  which was compiled after  mesa-demos.
« Last Edit: December 09, 2020, 12:02:56 AM by Rich »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #9 on: December 09, 2020, 03:02:05 AM »
Check your Xorg.0.log for any 3d/drm errors.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #10 on: December 09, 2020, 06:35:39 AM »
I tested the update for several days before posting - I just checked again and glxgears/glxinfo, vkcube/vulkaninfo, xscreensaver and others all work as expected.

Code: [Select]
$ glxinfo | grep 20.3
    Version: 20.3.0
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.0
OpenGL version string: 3.0 Mesa 20.3.0
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.3.0

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #11 on: December 09, 2020, 07:41:02 AM »
curaga, Xorg.0.log does not seem to contain any related errors: https://pastebin.com/mmFyP7te

I'm stuck because system is supposedly fully updated using official repo, but I can't get past this:
Code: [Select]
bruno@x200:~$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

Maybe it has something to do with my graphics hardware? Graphics is really not my forte. My machine is an X200 ThinkPad with integrated Intel graphics and Libreboot.

I'll revert to older Xorg-7.7-3d.tcz for now.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #12 on: December 09, 2020, 08:34:17 AM »
Hi GNUser
curaga, Xorg.0.log does not seem to contain any related errors: https://pastebin.com/mmFyP7te ...
Wouldn't this be suspect:
Code: [Select]
[    25.306] (II) Initializing extension GLX
[    25.314] (EE) AIGLX error: dlopen of /usr/local/lib/dri/i965_dri.so failed (libzstd.so.1: cannot open shared object file: No such file or directory)
[    25.314] (EE) AIGLX error: unable to load driver i965
[    25.334] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (libzstd.so.1: cannot open shared object file: No such file or directory)
[    25.334] (EE) AIGLX error: unable to load driver swrast
[    25.334] (EE) GLX: could not load software renderer
[    25.334] (II) GLX: no usable GL providers found for screen 0

 ----- Snip -----

[    25.935] (II) Initializing extension GLX
[    25.936] (EE) AIGLX error: dlopen of /usr/local/lib/dri/i965_dri.so failed (libzstd.so.1: cannot open shared object file: No such file or directory)
[    25.936] (EE) AIGLX error: unable to load driver i965
[    25.936] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (libzstd.so.1: cannot open shared object file: No such file or directory)
[    25.936] (EE) AIGLX error: unable to load driver swrast
[    25.936] (EE) GLX: could not load software renderer
[    25.936] (II) GLX: no usable GL providers found for screen 0

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #13 on: December 09, 2020, 08:45:46 AM »
Yes, that sure does seem suspect. Strangely, zstd.tcz is loaded, /usr/local/lib/dri/i965_dri.so exists, and /usr/local/lib/dri/swrast_dri.so also exists.

I'm going to fudge the .md5.txt files of all related extensions, to force them to be re-downloaded from official repo during "tce-update". Let's see if that fixes it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: xscreensaver/glx problems since recent Xorg-7.7-3d.tcz upgrade
« Reply #14 on: December 09, 2020, 08:52:11 AM »
Hi GNUser
... I'm going to fudge the .md5.txt files of all related extensions, to force them to be re-downloaded from official repo during "tce-update". Let's see if that fixes it.

This has always worked to update everything:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
Then click the  Exit  icon and select reboot.

By the way, if any of your extensions is missing its  .md5.txt  file, it won't get updated.
« Last Edit: December 09, 2020, 08:54:02 AM by Rich »