• Bug#264928: Some screensavers are severely broken

    From Christian Kurz@1:229/2 to All on Wed Aug 11 01:20:09 2004
    From: [email protected]

    Package: kscreensaver
    Version: 4:3.2.3-2
    Severity: important

    Hi,

    today I had time to investigate why suddenly my screensaver wasn't
    working anymore. I've then found out about /usr/bin/*.kss and tested
    them manually. Some, including my favourite ksolardwinds, are broken.
    Here's the transcript:

    |[salem:~]-73> /usr/bin/ksolarwinds.kss
    |Unable to resolve GL/GLX symbols - please check your GL library installation. |zsh: exit 1 /usr/bin/ksolarwinds.kss
    |[salem:~]-74> /usr/bin/keuphoria.kss
    |Unable to resolve GL/GLX symbols - please check your GL library installation. |zsh: exit 1 /usr/bin/keuphoria.kss
    |[salem:~]-75> /usr/bin/kflux.kss
    |Unable to resolve GL/GLX symbols - please check your GL library installation. |zsh: exit 1 /usr/bin/kflux.kss
    |[salem:~]-76> /usr/bin/kfountain.kss
    |Unable to resolve GL/GLX symbols - please check your GL library installation. |zsh: exit 1 /usr/bin/kfountain.kss
    |[salem:~]-77> /usr/bin/kgravity.kss
    |Unable to resolve GL/GLX symbols - please check your GL library installation. |zsh: exit 1 /usr/bin/kgravity.kss
    |[salem:~]-78> /usr/bin/kwave.kss
    |Unable to resolve GL/GLX symbols - please check your GL library installation. |zsh: exit 1 /usr/bin/kwave.kss


    I would appreciate if you could take a look at the issue and fix it
    soon. Thanks for looking into the issue.

    Christian

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.8-rc3
    Locale: LANG=POSIX, LC_CTYPE=de_DE@euro

    Versions of packages kscreensaver depends on:
    ii kdebase-bin 4:3.2.3-1 KDE Base (binaries)
    ii kdelibs4 4:3.2.3-4 KDE core libraries
    ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi ii libc6 2.3.2.ds1-15 GNU C Library: Shared libraries an ii libfam0c102 2.7.0-5 client library to control the FAM ii libgcc1 1:3.4.1-5 GCC support library
    ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
    ii libpng12-0 1.2.5.0-7 PNG library - runtime
    ii libqt3c102-mt 3:3.3.2-3 Qt GUI Library (Threaded runtime v ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management ii libstdc++5 1:3.3.4-7 The GNU Standard C++ Library v3
    ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte ii libxrender1 0.8.3-7 X Rendering Extension client libra ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
    ii xlibmesa3-gl [libgl1] 4.2.1-16 Mesa 3D graphics library [XFree86] ii xlibmesa3-glu [libglu1] 4.2.1-16 Mesa OpenGL utility library [XFree ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m ii zlib1g 1:1.2.1.1-5 compression library - runtime

    -- no debconf information

    --
    Think of all the beauty still left around you and be happy.
    -- Anne Frank


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ben Burton@1:229/2 to All on Thu Aug 12 13:40:08 2004
    From: [email protected]

    Hi.

    ii xlibmesa3-gl [libgl1] 4.2.1-16 Mesa 3D graphics library [XFree86]
    ii xlibmesa3-glu [libglu1] 4.2.1-16 Mesa OpenGL utility library [XFree

    These packages do not exist in either unstable or testing.

    Can you please try replacing them with xlibmesa-gl and xlibmesa-glu,
    which are both in testing/unstable? Does this fix the problem?

    Ben.



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Christian Kurz@1:229/2 to Ben Burton on Thu Aug 12 17:00:11 2004
    From: [email protected]

    Hi Ben

    On [12/08/04 21:16], Ben Burton wrote:
    ii xlibmesa3-gl [libgl1] 4.2.1-16 Mesa 3D graphics library [XFree86]
    ii xlibmesa3-glu [libglu1] 4.2.1-16 Mesa OpenGL utility library [XFree

    These packages do not exist in either unstable or testing.

    Hm, maybe there were once availabe.

    Can you please try replacing them with xlibmesa-gl and xlibmesa-glu,
    which are both in testing/unstable? Does this fix the problem?

    [salem:~]-3> dpkg -l xlibmesa-gl xlibmesa-glu Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-======================================================
    ii xlibmesa-gl 4.3.0.dfsg.1-6 Mesa 3D graphics library [XFree86] ii xlibmesa-glu 4.3.0.dfsg.1-6 Mesa OpenGL utility library [XFree86]

    So as you can see, I just installed those packages. Now I'm trying to
    start one of the screensavers:

    [salem:~]-4> /usr/bin/ksolarwinds.kss
    Unable to resolve GL/GLX symbols - please check your GL library installation. zsh: exit 1 /usr/bin/ksolarwinds.kss

    I've now decided to investigate this a bit further. With the help of
    strace, I noticed, that ksolarwinds.kss was looking for libGL.so. I then searched on packages.debian.org for this file. I found it in the package xlibmesa-gl-dev. After installing it, ksolarwinds.kss will start up
    fine, except that it's now damn slow. Okay after installing xlibmesa-dri
    and restarting X/KDE, everything works now fine.

    So I'm wondering why I now needed to install a -dev package to get the
    file that some kscreensavers depend upon. And I just noticed that the
    screen saver now produces the following warning:

    |[salem:~]-10> /usr/bin/ksolarwinds.kss
    |X Error of failed request: BadWindow (invalid Window parameter)
    | Major opcode of failed request: 4 (X_DestroyWindow)
    | Resource id in failed request: 0x220000b
    | Serial number of failed request: 315
    | Current serial number in output stream: 318

    You might want to take a look at that one too. If you need any further information or investiation, I'm willing to provide it. Thanks for your
    help in investigating this issue further.

    Christian
    --
    Debian Developer (http://www.debian.org)
    1024D/B7CEC7E8 44BD 1F9E A997 3BE2 A44F 96A4 1C98 EEF3 B7CE C7E8

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.3.6-cvs (GNU/Linux)

    iEYEARECAAYFAkEbgisACgkQHJju87fOx+hmXgCfe74pNUEqFsSOzo6G5kigd8B6 v/cAn0YyEtbtvCclFjgt1TXRxgVHrrnI
    =Npee
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ben Burton@1:229/2 to All on Fri Aug 13 02:10:07 2004
    From: [email protected]

    Yup.

    From qt-x11-free-3.3.2/src/opengl/qgl_x11.cpp :

    QLibrary gl("GL");
    ...
    if (fatal)
    qFatal("Unable to resolve GL/GLX symbols - please check your GL
    library installation.");

    And AIUI, QLibrary will search for "libGL.so", without an soname.

    Hmm.

    b.



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ben Burton@1:229/2 to All on Fri Aug 13 02:40:08 2004
    From: [email protected]

    reassign 264928 libqt3c102-mt
    retitle 264928 GL support in Qt broken for systems without -dev packages
    thanks mate

    Currently, GL support in Qt is completely broken for systems without the xlibmesa-gl-dev package installed.

    The reason can be found in qt-x11-free-3.3.2/src/opengl/qgl_x11.cpp :

    QLibrary gl("GL");
    gl.setAutoUnload(FALSE);

    qt_glCallLists = (_glCallLists) gl.resolve("glCallLists");

    if (!qt_glCallLists) { // if this fails the rest will surely fail
    if (fatal)
    qFatal("Unable to resolve GL/GLX symbols - please check your
    GL library installation.");
    return FALSE;
    }

    Specifically, the use of QLibrary gl("GL") means that Qt will search for libGL.so, and not libGL.so.1.

    I believe that this can be trivially fixed by replacing the QLibrary constructor with:

    QLibrary gl("libGL.so.1")

    since AIUI the QLibrary constructor can cope with both formats
    (platform-indep and platform-dep).

    It would be very good if this could be fixed for sarge. The alternative
    is to have all Qt/GL apps re-uploaded to depend on xlibmesa-gl-dev,
    which is both a lot more work and also a substandard fix.

    Thanks - Ben. :)



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)