You are not logged in.

#1 2018-03-28 08:37:47

sltrv
Member
Registered: 2018-03-28
Posts: 2

[SOLVED] xscreensaver - "couldn't create GL context for visual 0x21"

Hello,

Many screensavers don't work, throwing an error such as:

discoball: couldn't create GL context for visual 0x21.

When starting xscreensaver-demo, the following warning is logged, I don't know if it has something to do with it:

(xscreensaver-demo:5818): libglade-WARNING **: 11:25:01.388: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory

Also tried to start with --debug, but no extra info seems to be there about the problem.

Here is my ~/.xscreensaver file:

timeout:    0:10:00
cycle:        0:10:00
lock:        False
lockTimeout:    0:00:00
passwdTimeout:    0:00:30
visualID:    default
installColormap:    True
verbose:    False
timestamp:    True
splash:        True
splashDuration:    0:00:05
demoCommand:    xscreensaver-demo
prefsCommand:    xscreensaver-demo -prefs
nice:        10
memoryLimit:    0
fade:        True
unfade:        False
fadeSeconds:    0:00:03
fadeTicks:    20
captureStderr:    True
ignoreUninstalledPrograms:False
font:        *-medium-r-*-140-*-m-*
dpmsEnabled:    False
dpmsQuickOff:    False
dpmsStandby:    2:00:00
dpmsSuspend:    2:00:00
dpmsOff:    4:00:00
grabDesktopImages:  True
grabVideoFrames:    False
chooseRandomImages: False
imageDirectory:   

mode:        random
selected:    -1

textMode:    program
textLiteral:    XScreenSaver
textFile:   
textProgram:    fortune
textURL:    https://en.wikipedia.org/w/index.php?ti … s&feed=rss

programs:                                      \
......

pointerPollTime:    0:00:05
pointerHysteresis:  10
windowCreationTimeout:0:00:30
initialDelay:    0:00:00
GetViewPortIsFullOfLies:False
procInterrupts:    True
xinputExtensionDev: False
overlayStderr:    True
authWarningSlack:   20

Any idea on where to start debugging this problem?

Thanks

Last edited by sltrv (2018-03-29 06:33:53)

Offline

#2 2018-03-28 10:30:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,558

Re: [SOLVED] xscreensaver - "couldn't create GL context for visual 0x21"

libgnome.so probably comes from libgnomeui package, that was moved to aur early in 2017.
I doubt it has to do with the GL issue though.

Post glxinfo | grep -i opengl    and    glxinfo | grep 0x21


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2018-03-29 06:33:21

sltrv
Member
Registered: 2018-03-28
Posts: 2

Re: [SOLVED] xscreensaver - "couldn't create GL context for visual 0x21"

Thank you Lone_Wolf, your query led me to the problem. When running glixinfo I got an error:

$ glxinfo
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  37
  Current serial number in output stream:  38

When searching for this problem, I discovered that I had the nvidia-340xx-utils package installed even though I don't have an NVIDIA graphics card. Removed the package and now it works!

Offline

Board footer

Powered by FluxBB