Bug#1030909: Unable to run xscreensaver-demo or xscreensaver-settings

H. S. Teoh hsteoh at qfbox.info
Sun Feb 12 19:38:27 GMT 2023


On Fri, Feb 10, 2023 at 08:58:41AM +0100, Tormod Volden wrote:
> On Fri, Feb 10, 2023 at 1:18 AM H. S. Teoh wrote:
> 
> > xscreensaver-settings: 16:11:29: xscreensaver-gl-visual did not report a GL visual!
> > Segmentation fault
> > --------------------------snip-----------------------
> >
> > Apparently there *is* a segfault, even though it doesn't appear that way
> > when I run the official binaries.  This looks to be the same bug as
> > #1030659 after all.
> 
> Teoh, can you please apply the patch I posted in #1030659 to get rid
> of the segfault?

Hi Tormod,

Sorry for taking so long to get back to you.  Here's the output after I
recompiled with the patch:

------------------------------snip---------------------------------------
xscreensaver-settings: 11:15:48: DISPLAY=:0.0
xscreensaver-settings: 11:15:48: added "/usr/libexec/xscreensaver" to $PATH
xscreensaver-settings: 11:15:48: pref changed: GtkSpinButton
xscreensaver-settings: 11:15:48: pref changed: GtkSpinButton
xscreensaver-settings: 11:15:48: pref changed: GtkSpinButton
xscreensaver-settings: 11:15:48: pref changed: GtkSpinButton
xscreensaver-settings: 11:15:48: pref changed: GtkSpinButton
xscreensaver-settings: 11:15:48: pref changed: GtkSpinButton
xscreensaver-settings: 11:15:48: pref changed: GtkSpinButton
xscreensaver-settings: 11:15:48: pref changed: GtkCheckButton
xscreensaver-settings: 11:15:48: pref changed: GtkCheckButton
xscreensaver-settings: 11:15:48: pref changed: GtkCheckButton
xscreensaver-settings: 11:15:48: pref changed: GtkRadioButton
xscreensaver-settings: 11:15:48: pref changed: GtkRadioButton
xscreensaver-settings: 11:15:48: list selection changed
xscreensaver-settings: 11:15:48: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:15:48: /usr/local/share/xscreensaver/config/moebiusgears.xml does not exist.
xscreensaver-settings: 11:15:48: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:15:48: /usr/local/share/xscreensaver/config/moebiusgears.xml does not exist.
xscreensaver-settings: 11:15:48: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:15:48: select list elt 145
xscreensaver-settings: 11:15:48: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:15:48: /usr/local/share/xscreensaver/config/moebiusgears.xml does not exist.
xscreensaver-settings: 11:15:48: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:15:48: xscreensaver-gl-visual did not report a GL visual!
xscreensaver-settings: 11:15:48: couldn't convert X Visual 0x0 to a GdkVisual; winging it.
xscreensaver-settings: 11:15:48: using default visual 0x0
xscreensaver-settings: 11:15:48: saved screenshot 0x1a00010 1920x1080 for window 0x1a0000f 425x238+437+116

xscreensaver-settings: 11:15:48: X error:
xscreensaver-settings:   Failed request: BadMatch (invalid parameter attributes)
xscreensaver-settings:   Major opcode:   42 (X_SetInputFocus)
xscreensaver-settings:   Resource id:    0x1a00007
xscreensaver-settings:   Serial number:  451 / 452
------------------------------snip---------------------------------------


> In your first post (with the Debian binaries)
> xscreensaver-gl-visual reported 0x21, and there was no segfault. I
> wonder why xscreensaver-gl-visual is giving different results. Debian
> is not patching anything in this regard, although build flags can be
> different in your local build. Can you please attach your config.h?
> Did you install all standard build dependencies for xscreensaver?
[...]

I did an `apt-get builddep xscreensaver`.  That ought to have been
enough, right?

Here's my config.h:

------------------------------snip---------------------------------------
/* config.h.  Generated from config.h.in by configure.  */
/* config.h.in.  Generated from configure.ac by autoheader.  */


/* xscreensaver, Copyright © 1991-2022 Jamie Zawinski.
 * Generate this file by running 'configure' rather than editing it by hand.
 */


/* Define this to allow root to unlock, when not using PAM. */
/* #undef ALLOW_ROOT_PASSWD */

/* Define to 1 if translation of program messages to the user's native
   language is requested. */
#define ENABLE_NLS 1

/* This is the name of the gettext package to use. */
#define GETTEXT_PACKAGE "xscreensaver"

/* Define this if gettimeofday takes two arguments. */
#define GETTIMEOFDAY_TWO_ARGS 1

/* Define this for Solaris getpwanam. */
/* #undef HAVE_ADJUNCT_PASSWD */

/* Define to 1 if you have the Mac OS X function
   CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
/* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */

/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
   the CoreFoundation framework. */
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */

/* Define to 1 if you have the <crypt.h> header file. */
#define HAVE_CRYPT_H 1

/* Define if the GNU dcgettext() function is already present or preinstalled.
   */
#define HAVE_DCGETTEXT 1

/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
   */
#define HAVE_DIRENT_H 1

/* Define this if you have the X Double Buffer Extension. */
#define HAVE_DOUBLE_BUFFER_EXTENSION 1

/* Define this if you have the XDPMS extension. */
#define HAVE_DPMS_EXTENSION 1

/* Define this if OpenGL bindings are via EGL instead of GLX. */
#define HAVE_EGL 1

/* Define this for DEC/SCO "Enhanced Security" with getprpwnam. */
/* #undef HAVE_ENHANCED_PASSWD */

/* Define to 1 if you have the `fcntl' function. */
#define HAVE_FCNTL 1

/* Define this if you have forkpty. */
#define HAVE_FORKPTY 1

/* Define this if you have GDK-Pixbuf. */
#define HAVE_GDK_PIXBUF 1

/* Define this if you have the gdk_pixbuf_apply_embedded_orientation function
   (gdk-pixbuf 2.12). */
#define HAVE_GDK_PIXBUF_APPLY_EMBEDDED_ORIENTATION 1

/* Define this if you have GDK-Pixbuf-Xlib. */
/* #undef HAVE_GDK_PIXBUF_XLIB */

/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1

/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1

/* Define this if you have getifaddrs. */
#define HAVE_GETIFADDRS 1

/* Define if the GNU gettext() function is already present or preinstalled. */
#define HAVE_GETTEXT 1

/* Define this if you have gettimeofday. */
#define HAVE_GETTIMEOFDAY 1

/* Define to 1 if you have the `getwd' function. */
#define HAVE_GETWD 1

/* Define this if you have OpenGL. */
#define HAVE_GL 1

/* Define this if the OpenGL version is 1.1 or newer. */
#define HAVE_GLBINDTEXTURE 1

/* Define this if you have the GL Extrusion library. */
#define HAVE_GLE 1

/* Define this if GL Extrusion is version 3. */
#define HAVE_GLE3 1

/* Define this if the native OpenGL library is OpenGLES 1.x. */
#define HAVE_GLES 1

/* Define this if the native OpenGL library is OpenGLES 2.x. */
#define HAVE_GLES2 1

/* Define this if the native OpenGL library is OpenGLES 3.x. */
#define HAVE_GLES3 1

/* Define this if OpenGL supports the OpenGL Shading Language. */
#define HAVE_GLSL 1

/* Define this if you have Gtk 2.x. */
#define HAVE_GTK 1

/* Define this for HPUX so-called "Secure Passwords". */
/* #undef HAVE_HPUX_PASSWD */

/* Define this if ping uses struct icmp.icmp_id. */
#define HAVE_ICMP 1

/* Define this if ping uses struct icmphdr.un.echo.id. */
#define HAVE_ICMPHDR 1

/* Define if you have the iconv() function and it works. */
/* #undef HAVE_ICONV */

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define this if you have the JPEG Group's JPEG library. */
#define HAVE_JPEGLIB 1

/* Define this to emulate OpenGL 1.3 in terms of OpenGLES 1.x. */
/* #undef HAVE_JWZGLES */

/* Define this if you want to use Kerberos authentication to lock/unlock the
   screen instead of PAM. */
/* #undef HAVE_KERBEROS */

/* Define this if you have Kerberos 5. */
/* #undef HAVE_KERBEROS5 */

/* Define this if your system has libcap. */
/* #undef HAVE_LIBCAP */

/* Define this if you have libelogind. */
/* #undef HAVE_LIBELOGIND */

/* Define this if you have the Portable Network Graphics library. */
#define HAVE_LIBPNG 1

/* Define this if you have libsystemd. */
#define HAVE_LIBSYSTEMD 1

/* Using the MIT-SCREEN-SAVER extension means that the X server will crash at
   random times, and fading and hysteresis won't work. Don't use this. You'll
   be sorry. See comment in xscreensaver.c. */
/* #undef HAVE_MIT_SAVER_EXTENSION */

/* Define this if you have Motif. */
/* #undef HAVE_MOTIF */

/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */

/* Define to 1 if you have the `nice' function. */
#define HAVE_NICE 1

/* Define this if you have Pluggable Authentication Modules. */
#define HAVE_PAM 1

/* Define this if you have pam_fail_delay. */
/* #undef HAVE_PAM_FAIL_DELAY */

/* Define this if you have a Linux-like /proc/interrupts file which can be
   examined to determine when keyboard activity has occurred, and you use PS/2
   input devices instead of USB. */
/* #undef HAVE_PROC_INTERRUPTS */

/* Define this if you have a Linux-like /proc/.../oom_score_adj file which can
   be adjusted by root to exempt us from the out-of-memory killer. */
#define HAVE_PROC_OOM 1

/* Define this if you have POSIX threads. */
#define HAVE_PTHREAD 1

/* Have PTHREAD_PRIO_INHERIT. */
#define HAVE_PTHREAD_PRIO_INHERIT 1

/* Define to 1 if you have the <pty.h> header file. */
#define HAVE_PTY_H 1

/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1

/* Define this if your system uses getpwnam_shadow. */
/* #undef HAVE_PWNAM_SHADOW_PASSWD */

/* Define this if you have the Resize and Rotate extension. */
#define HAVE_RANDR 1

/* Define this if the RANDR library is version 1.2 or newer. */
#define HAVE_RANDR_12 1

/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1

/* Define this to enable recording of videos. */
/* #undef HAVE_RECORD_ANIM */

/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1

/* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1

/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1

/* Define to 1 if you have the `setpriority' function. */
#define HAVE_SETPRIORITY 1

/* Define to 1 if you have the `setrlimit' function. */
#define HAVE_SETRLIMIT 1

/* Define this if you have the SGI SCREEN_SAVER extension. */
/* #undef HAVE_SGI_SAVER_EXTENSION */

/* Define this if you have the SGI-VIDEO-CONTROL extension. */
/* #undef HAVE_SGI_VC_EXTENSION */

/* Define this if your system uses /etc/shadow. */
#define HAVE_SHADOW_PASSWD 1

/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1

/* Define to 1 if you have the `sigtimedwait' function. */
#define HAVE_SIGTIMEDWAIT 1

/* Define to 1 if you have the `sqrtf' function. */
/* #undef HAVE_SQRTF */

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
/* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */

/* Define to 1 if you have the `syslog' function. */
#define HAVE_SYSLOG 1

/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
   */
/* #undef HAVE_SYS_DIR_H */

/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
   */
/* #undef HAVE_SYS_NDIR_H */

/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/termios.h> header file. */
#define HAVE_SYS_TERMIOS_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1

/* Define to 1 if you have the `uname' function. */
#define HAVE_UNAME 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if you have the <util.h> header file. */
/* #undef HAVE_UTIL_H */

/* Define this if you have XF86VidModeGetViewPort, for virtual desktops. */
#define HAVE_XF86VMODE 1

/* Define this if you have XF86VidModeSetGamma, for fading. */
#define HAVE_XF86VMODE_GAMMA 1

/* Define this if you have XF86VidModeSetGammaRamp, for fading. */
#define HAVE_XF86VMODE_GAMMA_RAMP 1

/* Define this if you have libXft2. */
#define HAVE_XFT 1

/* Define this if you have XHPDisableReset, which allows Ctrl-Sh-Reset to be
   temporarily disabled. */
/* #undef HAVE_XHPDISABLERESET */

/* Define this if you have the X11R5 XIDLE extension. */
/* #undef HAVE_XIDLE_EXTENSION */

/* Define this if you have the Xinerama extension. */
#define HAVE_XINERAMA 1

/* Define this if you have the XInput2 extension. */
#define HAVE_XINPUT 1

/* Define this if you have the X Keyboard Extension. */
#define HAVE_XKB 1

/* Define this if you have the XmComboBox Motif 2.0 widget. */
/* #undef HAVE_XMCOMBOBOX */

/* Define this if you have the XML library. */
#define HAVE_XML 1

/* Define this if you have the X Shared Memory Extension. */
#define HAVE_XSHM_EXTENSION 1

/* Define this if you have the function Xutf8DrawString. */
#define HAVE_XUTF8DRAWSTRING 1

/* Define this to remove the option of locking the screen at all. */
/* #undef NO_LOCKING */

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""

/* Define to the full name of this package. */
#define PACKAGE_NAME ""

/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION ""

/* Whether PAM should check the result of account modules when authenticating.
   */
/* #undef PAM_CHECK_ACCOUNT_TYPE */

/* The name of the "xscreensaver" PAM service. */
#define PAM_SERVICE_NAME "xscreensaver"

/* Define if pam_strerror requires two arguments. */
#define PAM_STRERROR_TWO_ARGS 1

/* Define to necessary symbol if this constant uses a non-standard name on
   your system. */
/* #undef PTHREAD_CREATE_JOINABLE */

/* Return type of signal handlers */
#define RETSIGTYPE void

/* Define to 1 if all of the C90 standard headers exist (not just the ones
   required in a freestanding environment). This macro is provided for
   backward compatibility; new code need not use it. */
#define STDC_HEADERS 1

/* Stare into the void. */
/* #undef XPointer */

/* Define to 1 if the X Window System is missing or not being used. */
/* #undef X_DISPLAY_MISSING */

/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `__inline__' or `__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
#ifndef __cplusplus
/* #undef inline */
#endif

/* Define to `int' if <sys/types.h> does not define. */
/* #undef mode_t */

/* Define as a signed integer type capable of holding a process identifier. */
/* #undef pid_t */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define to `int' if <sys/types.h> or <sys/socket.h> does not define. */
/* #undef socklen_t */
------------------------------snip---------------------------------------


On Sun, Feb 12, 2023 at 12:50:26PM +0100, Tormod Volden wrote:
> >
> > Hi Marco, maybe as a start you can step through xscreensaver-gl-visual
> > with gdb. Run from your build tree:
> > gdb ./hacks/glx/xscreensaver-gl-visual
> > (gdb) break get_gl_visual
> > (gdb) run
> > # stops at get_gl_visual
> > (gdb) next
> > and then just press enter repeatedly and it will go "next" until end
> > of the program.
> >
> > Tormod
> >
> > > > Not having a GL visual reported here is definitely a problem in the "should never happen" category, so trying to figure out where that's going wrong would be helpful.
> > > Yes, let's keep this bug report for this missing GL visual issue, and
> 
> Teoh, can you please also try this (for the case you see the
> "xscreensaver-gl-visual did not report a GL visual!" message)?
[...]

Here's the odd thing.  If I run `hacks/glx/xscreensaver-gl-visual`, it
prints 0x21 and exits without an error.  But for some reason, when I run
`driver/xscreensaver-settings --debug`, it prints the message
"xscreensaver-gl-visual did not report a GL visual!", as you can see
from the output I pasted at the top of this message.

Anyway, here's the gdb trace of xscreensaver-gl-visual:

------------------------------snip---------------------------------------
$ gdb hacks/glx/xscreensaver-gl-visual 
GNU gdb (Debian 12.1-4+b1) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from hacks/glx/xscreensaver-gl-visual...
(gdb) break get_gl_visual
Breakpoint 1 at 0x25dd: file visual-gl.c, line 50.
(gdb) run
Starting program:
/usr/src/xscreensaver/xscreensaver-6.06+dfsg1/hacks/glx/xscreensaver-gl-visual 
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, get_gl_visual (screen=0x55555555f5e0) at visual-gl.c:50
50	  Display *dpy = DisplayOfScreen (screen);
(gdb) next
57	  EGLConfig egl_config = 0;
(gdb) 
58	  int egl_major = -1, egl_minor = -1;
(gdb) 
61	  egl_display = eglGetDisplay ((EGLNativeDisplayType) dpy);
(gdb) 
62	  if (!egl_display)
(gdb) 
68	  if (! eglInitialize (egl_display, &egl_major, &egl_minor))
(gdb) 

[New Thread 0x7fffea9ff6c0 (LWP 473310)]
[New Thread 0x7fffea1fe6c0 (LWP 473311)]
[New Thread 0x7fffe99fd6c0 (LWP 473312)]
[New Thread 0x7fffe91fc6c0 (LWP 473313)]
77	  get_egl_config (dpy, egl_display, -1, &egl_config);
(gdb) 
78	  if (!egl_config) abort();
(gdb) 
80	  if (!eglGetConfigAttrib (egl_display, egl_config,
(gdb) 
87	  v = id_to_visual (screen, vid);
(gdb) 
88	  if (!v)
(gdb) 
94	    return v;
(gdb) 
173	}
(gdb) 
main (argc=1, argv=0x7fffffffea78) at xscreensaver-gl-visual.c:81
81	  if (visual)
(gdb) 
82	    printf ("0x%x\n", (unsigned int) XVisualIDFromVisual
(visual));
(gdb) 
0x21
86	  exit (0);
(gdb) 
[Thread 0x7fffe91fc6c0 (LWP 473313) exited]
[Thread 0x7fffe99fd6c0 (LWP 473312) exited]
[Thread 0x7fffea1fe6c0 (LWP 473311) exited]
[Thread 0x7fffea9ff6c0 (LWP 473310) exited]
[Inferior 1 (process 473307) exited normally]
(gdb) 

quit
------------------------------snip---------------------------------------

As you can see, it correctly reports 0x21 and exits sucessfully.

//

Anyway, I decided to do a little digging of my own. I discovered that
the reason for the "xscreensaver-gl-visual did not report a GL visual!"
message was because xscreensaver-settings couldn't find the
xscreensaver-gl-visual binary (because I had downgraded the package to
the previous working version, so the xscreensaver-gl-visual didn't exist
in $PATH anymore, and the version that I built from source wasn't in
$PATH either).  So I ran it with PATH manually set so that it could find
xscreensaver-gl-visual, and here's the output:

------------------------------snip---------------------------------------
$ PATH=hacks/glx driver/xscreensaver-settings --debug
xscreensaver-settings: 11:34:53: DISPLAY=:0.0
xscreensaver-settings: 11:34:53: added "/usr/libexec/xscreensaver" to $PATH
xscreensaver-settings: 11:34:53: pref changed: GtkSpinButton
xscreensaver-settings: 11:34:53: pref changed: GtkSpinButton
xscreensaver-settings: 11:34:53: pref changed: GtkSpinButton
xscreensaver-settings: 11:34:53: pref changed: GtkSpinButton
xscreensaver-settings: 11:34:53: pref changed: GtkSpinButton
xscreensaver-settings: 11:34:53: pref changed: GtkSpinButton
xscreensaver-settings: 11:34:53: pref changed: GtkSpinButton
xscreensaver-settings: 11:34:53: pref changed: GtkCheckButton
xscreensaver-settings: 11:34:53: pref changed: GtkCheckButton
xscreensaver-settings: 11:34:53: pref changed: GtkCheckButton
xscreensaver-settings: 11:34:53: pref changed: GtkRadioButton
xscreensaver-settings: 11:34:53: pref changed: GtkRadioButton
xscreensaver-settings: 11:34:53: list selection changed
xscreensaver-settings: 11:34:53: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:34:53: /usr/local/share/xscreensaver/config/moebiusgears.xml does not exist.
xscreensaver-settings: 11:34:53: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:34:53: /usr/local/share/xscreensaver/config/moebiusgears.xml does not exist.
xscreensaver-settings: 11:34:53: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:34:53: select list elt 145
xscreensaver-settings: 11:34:53: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:34:53: /usr/local/share/xscreensaver/config/moebiusgears.xml does not exist.
xscreensaver-settings: 11:34:53: scheduling preview "moebiusgears --root"
xscreensaver-settings: 11:34:53: xscreensaver-gl-visual says the GL visual is 0x21.
xscreensaver-settings: 11:34:53: using non-default visual 0x21
xscreensaver-settings: 11:34:53: saved screenshot 0x1a00010 1920x1080 for window 0x1a0000f 425x238+437+116

xscreensaver-settings: 11:34:53: X error:
xscreensaver-settings:   Failed request: BadMatch (invalid parameter attributes)
xscreensaver-settings:   Major opcode:   42 (X_SetInputFocus)
xscreensaver-settings:   Resource id:    0x1a00007
xscreensaver-settings:   Serial number:  451 / 452
------------------------------snip---------------------------------------

This time round it did find the visual.  But nevertheless it failed on
X_SetInputFocus so it aborts with exit status 255.

Hope this information helps track down this problem.  Thanks!


T

-- 
Never trust an operating system you don't have source for! -- Martin Schulze



More information about the pkg-gnome-maintainers mailing list