• Bug#254601: XFree refusees to start with sis video card, complains abou

    From Branden Robinson@1:229/2 to Thomas Winischhofer on Fri Aug 20 08:00:10 2004
    XPost: linux.debian.maint.x
    From: [email protected]

    On Fri, Jul 30, 2004 at 05:47:05PM +0200, Thomas Winischhofer wrote:
    Branden Robinson wrote:
    So, in your opinion, is this bug:

    A) due to user error?
    B) due to a driver bug that is fixed in the 2004-06-17 edition of your
    driver?
    C) something else?

    Sorry for the late answer, I missed this message.

    No problem.

    [explanation snipped]

    The current SiS driver (from my website as well as in X.org and XFree86
    CVS) circumvents this situation by explicitely loading the "glx" module
    as well in case DRI is to be used.

    Okay. I'm attempting an update of our 4.3.0 packages to the latest version
    of your driver.

    Hence:

    While disabling/enabling DRI previously was done by
    commenting/uncommenting the "Load "dri"" statement in the
    Module-section, this is now done by a dedicated "DRI" option (to be
    placed in the Device-section).

    Option "DRI" "off"

    disables DRI (and skips loading "dri" and "glx").

    So, perhaps you can yourself classify the quality of this misbehavior according to your three options ;)

    Heh; C) it is. :)

    Thanks for your reply!

    --
    G. Branden Robinson | Q: How does a Unix guru have sex? Debian GNU/Linux | A: unzip;strip;touch;finger;mount; [email protected] | fsck;more;yes;fsck;fsck;fsck; http://people.debian.org/~branden/ | umount;sleep

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

    iEYEARECAAYFAkEljykACgkQ6kxmHytGonzBfQCgkZxmv2OLRLSGqEEbucqgD0yN 6PQAnRcKbobS0MJ0UbX0f4Pd9eckDL9y
    =+1Ho
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Branden Robinson@1:229/2 to Thomas Winischhofer on Fri Aug 20 09:40:10 2004
    XPost: linux.debian.maint.x
    From: [email protected]

    On Fri, Jul 30, 2004 at 05:47:05PM +0200, Thomas Winischhofer wrote:
    The current SiS driver (from my website as well as in X.org and XFree86
    CVS) circumvents this situation by explicitely loading the "glx" module
    as well in case DRI is to be used.

    Sorry; I'm afraid this is a no-go with Debian's 4.3.0 packages:

    gcc -g -O2 -fno-strict-aliasing -fsigned-char -fno-merge-constants -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/Xext -I../../../../
    ../../programs/Xserver/mfb -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/fb -I../../../../../../programs/Xserver/hw/xfree86/xaa -I../../../../../../programs/Xserver/hw/xfree86/xf1bpp -I../../../../../..
    /programs/Xserver/hw/xfree86/xf4bpp -I../../../../../../programs/Xserver/hw/xfree86/xf24_32bpp -I../../../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../../programs/Xserver/hw/xfree86/ramdac -I../../../../../.
    ./programs/Xserver/hw/xfree86/ddc -I../../../../../../programs/Xserver/hw/xfree86/i2c -I../../../../../../programs/Xserver/hw/xfree86/os-support/vbe -I../../../../../../programs/Xserver/hw/xfree86/rac -I../../../../../../programs/Xserver/hw/
    xfree86/int10 -I../../../../../../include/fonts -I../../../../../../programs/Xserver/include -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I../../../../../../programs/Xserver/
    render -I../../../../../../programs/Xserver/hw/xfree86/shadowfb -I../../../../../../programs/Xserver/GL/dri -I../../../../../../lib/GL/dri -I../../../../../../include -I../../../../../.. -I../../../../../../exports/
    include -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -
    DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -
    DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE
    -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_BIG_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -c sis_driver.c
    sis_driver.c:67:17: vbe.h: No such file or directory
    In file included from sis_driver.c:74:
    sis.h:68:17: vbe.h: No such file or directory
    In file included from sis_driver.c:74:
    sis.h:854: error: parse error before "vbeInfoPtr"
    sis.h:854: warning: no semicolon at end of struct or union
    sis.h:857: error: parse error before '*' token
    sis.h:857: warning: data definition has no type or storage class
    sis.h:879: error: parse error before "pInt"
    sis.h:879: warning: data definition has no type or storage class
    sis.h:1048: error: parse error before '}' token
    sis.h:1048: warning: data definition has no type or storage class

    --
    G. Branden Robinson | It doesn't matter what you are
    Debian GNU/Linux | doing, emacs is always overkill. [email protected] | -- Stephen J. Carpenter http://people.debian.org/~branden/ |

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

    iEYEARECAAYFAkElpU0ACgkQ6kxmHytGonxRCQCfXBekDJ5fkJ8QcydwWvxbXPkO lDIAn0TSNUc7FHJuvQmCJGgo5UgacT49
    =qgbA
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Thomas Winischhofer@1:229/2 to Branden Robinson on Fri Aug 20 10:50:13 2004
    XPost: linux.debian.maint.x
    From: [email protected]

    Branden Robinson wrote:
    On Fri, Jul 30, 2004 at 05:47:05PM +0200, Thomas Winischhofer wrote:

    The current SiS driver (from my website as well as in X.org and XFree86 >>CVS) circumvents this situation by explicitely loading the "glx" module
    as well in case DRI is to be used.


    Sorry; I'm afraid this is a no-go with Debian's 4.3.0 packages:

    gcc -g -O2 -fno-strict-aliasing -fsigned-char -fno-merge-constants -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/Xext -I../../../.
    ./../../programs/Xserver/mfb -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/fb -I../../../../../../programs/Xserver/hw/xfree86/xaa -I../../../../../../programs/Xserver/hw/xfree86/xf1bpp -I../../../../../
    ../programs/Xserver/hw/xfree86/xf4bpp -I../../../../../../programs/Xserver/hw/xfree86/xf24_32bpp -I../../../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../../programs/Xserver/hw/xfree86/ramdac -I../../../../..
    /../programs/Xserver/hw/xfree86/ddc -I../../../../../../programs/Xserver/hw/xfree86/i2c -I../../../../../../programs/Xserver/hw/xfree86/os-support/vbe -I../../../../../../programs/Xserver/hw/xfree86/rac -I../../../
    ../../../programs/Xserver/hw/xfree86/int10 -I../../../../../../include/fonts -I../../../../../../programs/Xserver/include -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I../../../../
    ../../programs/Xserver/render -I../../../../../../programs/Xserver/hw/xfree86/shadowfb -I../../../../../../programs/Xserver/GL/dri -I../../../../../../lib/GL/dri -I../../../../../../include -I../../../../../.. -I../..
    /../../../../exports/include -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
    -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
    -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension
    -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_BIG_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_
    DLOPEN -DGLX_USE_MESA -c sis_driver.c
    sis_driver.c:67:17: vbe.h: No such file or directory
    In file included from sis_driver.c:74:
    sis.h:68:17: vbe.h: No such file or directory
    In file included from sis_driver.c:74:
    sis.h:854: error: parse error before "vbeInfoPtr"
    sis.h:854: warning: no semicolon at end of struct or union
    sis.h:857: error: parse error before '*' token
    sis.h:857: warning: data definition has no type or storage class
    sis.h:879: error: parse error before "pInt"
    sis.h:879: warning: data definition has no type or storage class
    sis.h:1048: error: parse error before '}' token
    sis.h:1048: warning: data definition has no type or storage class

    Branden,

    do NOT use the Imakefile from my archive. It is for 4.2 and earlier (due
    to new file, old files removed, etc)

    Use the Imakefile you previously used.

    And I'd be grateful if you could check that you're using the 08/20
    version (as of yesterday, that is).

    Thomas


    --
    Thomas Winischhofer
    Vienna/Austria
    thomas AT winischhofer DOT net *** http://www.winischhofer.net
    twini AT xfree86 DOT org


    --
    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 Branden Robinson@1:229/2 to Thomas Winischhofer on Sat Aug 21 21:30:20 2004
    XPost: linux.debian.maint.x
    From: [email protected]

    On Fri, Aug 20, 2004 at 10:20:04AM +0200, Thomas Winischhofer wrote:
    Branden,

    do NOT use the Imakefile from my archive. It is for 4.2 and earlier (due
    to new file, old files removed, etc)

    Use the Imakefile you previously used.

    Sorry, I remember now that you've told me this before. I've improved the
    patch annotation to indicate this.

    And I'd be grateful if you could check that you're using the 08/20
    version (as of yesterday, that is).

    It was the latest version available from your site, and I reconfirmed that.
    For me, the most recent timestamp was late on 08/19.

    I have integrated this version of the driver into the Debian XFree86 SVN
    trunk.

    Thanks!

    --
    G. Branden Robinson | "I came, I saw, she conquered." Debian GNU/Linux | The original Latin seems to have [email protected] | been garbled. http://people.debian.org/~branden/ | -- Robert Heinlein

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

    iEYEARECAAYFAkEnkL8ACgkQ6kxmHytGonx9OwCdFEa3/8+X5Hrb+fKJoWOZyAIF izQAn2w7se2ZglxTOPyX+yDKj/b8jcgU
    =ULsI
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Branden Robinson@1:229/2 to Thomas Winischhofer on Fri Aug 13 11:00:28 2004
    XPost: linux.debian.maint.x
    From: [email protected]

    retitle 254601 xserver-xfree86: [sis] driver autoloads 'dri' but not 'glx', which can cause complaints about unresolved symbols
    tag 254601 = upstream
    severity 254601 normal
    thanks

    On Fri, Jul 30, 2004 at 05:47:05PM +0200, Thomas Winischhofer wrote:
    Branden Robinson wrote:
    So, in your opinion, is this bug:

    A) due to user error?
    B) due to a driver bug that is fixed in the 2004-06-17 edition of your
    driver?
    C) something else?

    Sorry for the late answer, I missed this message.

    No problem. Thanks for following up!

    [...]
    So, perhaps you can yourself classify the quality of this misbehavior according to your three options ;)

    Sounds like B) to me.

    Stepping severity down to normal because there is a known workaround:

    In /etc/X11/XF86Config-4:

    Section "Module"
    [...]
    Load "glx"
    [...]
    EndSection

    --
    G. Branden Robinson | If you have the slightest bit of Debian GNU/Linux | intellectual integrity you cannot [email protected] | support the government. http://people.debian.org/~branden/ | -- anonymous

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

    iEYEARECAAYFAkEcerMACgkQ6kxmHytGonypbQCbBSW49kAgi1pw9y4OgObnAKTr puMAn0KN2dvJFFU4fLQYf3hbVdAgZJSn
    =3IVF
    -----END PGP SIGNATURE-----

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