LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-20-2023, 07:48 PM   #1
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Rep: Reputation: 37
xscreensaver 6.08 "No GL Visuals" Huh?


This was a recent system upgrade on slackware64-current which included the most recent 6.08 xscreensaver package. I know I should probably send this one to the maintainer (and I will) but since I couldn't find this error reported elsewhere I thought I would strobe a wider audience to see if anyone has observed the frequent crash with the reported error as follows:

Code:
No GL Visuals - xscreensaver-gl* packages are required
I tried rebuilding/upgrading the 6.08 package with "--with-glx" switch, thinking this would most certainly fix the behavior as I have an nVidia graphics card and CUDA/Toolkit is installed on the system (nvidia-smi out below).

This (to my surprise) did not fix it. It is still crashing randomly on certain modes. Please let me know if you have seen this? In the mean time I will reach out to Jamie over at jwz.org and aprise him of this.
Thanks!

Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.13    Driver Version: 525.60.13    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
| 33%   41C    P8     1W /  38W |    384MiB /  2048MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
 
Old 10-21-2023, 03:48 AM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,826

Rep: Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499
Does anything besides xscreensaver work which uses opengl? What does glinfo or glxinfo say?

Some graphic demos of xscreensaver use opengl and some don't. For example, run:
Code:
/usr/libexec/xscreensaver/antmaze
antmaze is linked against GL. Maybe it doesn't work for you but
Code:
/usr/libexec/xscreensaver/anemone
which does not link to GL, works?

Last edited by Petri Kaukasoina; 10-21-2023 at 04:02 AM.
 
Old 10-21-2023, 12:18 PM   #3
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Original Poster
Rep: Reputation: 37
Thanks Petri,

Both opengl and openglx are working fine on this system. I would report their entire output if they weren't so verbose - but below are some excerpts.

In the mean time here are some email exchanges I had with Jamie over at jwz.org who claims this might be an issue with $PATH not including "/usr/libexec/xscreensaver/". It's true that I don't find this anywhere in any of my Slackware System paths.

jwz: Run "xscreensaver-gl-visual". If that says command not found, fix that. If it says none, your X server configuration is screwed up.

me:That executable is in a non-standard location with my package. This is true even on my older xscreensaver packages (6.06 and less) which seem to be running just fine.
/usr/libexec/xscreensaver/xscreensaver-gl-visual
For now I have simply created a symlink in /usr/bin to that one binary (xscreensaver-gl-visual). I get the sense that it is a band-aid for something else that is broken on my system.

jwz: XScreenSaver puts /usr/libexec/xscreensaver/ on $PATH before launching anything. If you built it yourself, check the output of configure. Something got compiled or installed wrong.

I start the xscreensaver daemon in $HOME/.config/autostart/XScreenSaver.desktop
Code:
[Desktop Entry]
Exec=/usr/bin/xscreensaver --no-splash
Icon=xscreensaver
Name=XScreenSaver
Path=
Terminal=False
Type=Application

Code:
glinfo:
GL_VERSION: 4.6.0 NVIDIA 525.60.13
GL_RENDERER: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
GL_VENDOR: NVIDIA Corporation
GL_EXTENSIONS: GL_AMD_multi_draw_indirect <excluding extensions in favor of non-verbosity>
...
GL_SHADING_LANGUAGE_VERSION = 4.60 NVIDIA
GLU_VERSION: 1.3
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess 
GLUT_API_VERSION: 4
GLUT_XLIB_IMPLEMENTATION: 13
Code:
glxinfo:
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions: <excluding the remaining output in favor of post terseness>
 
Old 10-21-2023, 12:29 PM   #4
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Original Poster
Rep: Reputation: 37
follow up to above....

I have not seen a crash since I created a symlink to xscreensaver-gl-visual in /usr/bin
That said I think there is a reason for not including /usr/libexec/xscreensaver in the system path. This path must be linked from a background shell in the xscreensaver daemon which is definitely running - i.e.:
xscreensaver-systemd
 
Old 10-22-2023, 05:47 PM   #5
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Original Poster
Rep: Reputation: 37
This is looking more like a version issue (6.08) than nVidia or other. The same crash

Code:
No GL visuals: the xscreensaver-gl* packages are required.
was just observed on my recently upgraded AMD-Ryzen with Radeon RX 5700 XT graphics card. These systems never had exhibited this crash prior to 6.08. I have created the same symlink and restarted the xscreensaver-systemd daemon. Stay tuned...

Code:
/usr/bin_} ln -sfn /usr/libexec/xscreensaver/xscreensaver-gl-visual
 
Old 10-24-2023, 05:18 PM   #6
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Original Poster
Rep: Reputation: 37
This is most certainly new behavior with xscreensaver 6.08. For the time being until this (bug) is fixed I will revert to an earlier package. Creating a symlink to /usr/libexec/xscreensaver/xscreensaver-gl-visual in /usr/bin/ and restarting the daemon doesn't resolve the issue. Crashes are still occurring. I will submit this as a formal bug on Jamie's jwz.org website.

Since these are all stock slackware packages I'm surprised no one else is reporting it. I would imagine there is a log of it somewhere. I will dig around in my log files.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xscreensaver not using .xscreensaver psychobyte Fedora 4 04-07-2006 10:02 AM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 01:06 PM
Xmms fullscreen visuals... AudioMechanic Linux - General 0 04-19-2004 01:20 PM
error message: Couldn't initialize SDL: Found no sufficiently capable X11 visuals JimBass Linux - Software 2 03-05-2004 07:50 AM
huh huh hey bevis Im guna build a puter! cognosti Linux - Hardware 28 08-12-2003 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration