Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-17 Thread Michel Dänzer
On Sun, 2003-08-17 at 13:27, Jean-Christophe Dubacq wrote:
> 
> xlibmesa-dri is not recommanded by x-window-system or 
> x-window-system-core. It could be.

xlibmesa-gl recommends it.


> * However, crack-attack still doesn't work. It didn't work with 4.3.0-ds4
> also, but worked correctly with 4.2.1-9. It segfaults soon after game
> starts, number 2 is all garbled, number 1 creates the segfault (there
> is a counter 3-2-1 for game start).

This could be a bug in the mga 3D driver - gdb should tell. Beware that
running DRI clients inside gdb on the same X server will cause a
deadlock if gdb stops execution while the client holds the DRM lock, so
you want to do it remotely.

> The program does not compile with the error:
> DrawGarbage.cxx: Dans static member function « static void
> Displayer::drawGarbage() »: DrawGarbage.cxx:507: error:
> `glActiveTextureARB' undeclared (first use this function)

As discussed before, it doesn't seem to deal with OpenGL extensions
correctly.

> This may or may not be related to the segfault.

I doubt it - if it built, it should work. Certainly does here. :)


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer



Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-17 Thread Jean-Christophe Dubacq
On Sun, Aug 17, 2003 at 12:34:38PM +0200, Michel Dänzer wrote:
> On Sun, 2003-08-17 at 08:03, Daniel Stone wrote:
> > On Sat, Aug 16, 2003 at 10:57:06PM +0200, Tore Anderson wrote:
> > > * Jean-Christophe Dubacq
> > >  > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
> > >  > from ds4, I do not have DRI enabled any more.
> > > 
> > >   Try installing the 'xlibmesa-dri' package.
> > 
> > Should work OK:
> > (==) MGA(0): Direct rendering enabled
> 
> Which means the server and DRM sides are OK. It's a good analysis by
> Tore suspecting that xlibmesa-dri could be missing, preventing OpenGL
> hardware acceleration on the client side. If that's not it, we need to
> see the output of
> 
> LIBGL_DEBUG=verbose glxinfo

That was it*. Beyond some incompatibility with some programs (obviously
crack-attack is a badly written program anyway), xlibmesa-dri is not
recommanded by x-window-system or x-window-system-core. It could be.

Thanks,
-- 
Jean-Christophe Dubacq

* However, crack-attack still doesn't work. It didn't work with 4.3.0-ds4
also, but worked correctly with 4.2.1-9. It segfaults soon after game
starts, number 2 is all garbled, number 1 creates the segfault (there
is a counter 3-2-1 for game start).

The program does not compile with the error:
DrawGarbage.cxx: Dans static member function « static void
Displayer::drawGarbage() »: DrawGarbage.cxx:507: error:
`glActiveTextureARB' undeclared (first use this function)

This may or may not be related to the segfault.



Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-17 Thread Michel Dänzer
On Sun, 2003-08-17 at 08:03, Daniel Stone wrote:
> On Sat, Aug 16, 2003 at 10:57:06PM +0200, Tore Anderson wrote:
> > * Jean-Christophe Dubacq
> >  > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
> >  > from ds4, I do not have DRI enabled any more.
> > 
> >   Try installing the 'xlibmesa-dri' package.
> 
> Should work OK:
> (==) MGA(0): Direct rendering enabled

Which means the server and DRM sides are OK. It's a good analysis by
Tore suspecting that xlibmesa-dri could be missing, preventing OpenGL
hardware acceleration on the client side. If that's not it, we need to
see the output of

LIBGL_DEBUG=verbose glxinfo


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer



Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-17 Thread Michel Dänzer
On Sun, 2003-08-17 at 13:27, Jean-Christophe Dubacq wrote:
> 
> xlibmesa-dri is not recommanded by x-window-system or 
> x-window-system-core. It could be.

xlibmesa-gl recommends it.


> * However, crack-attack still doesn't work. It didn't work with 4.3.0-ds4
> also, but worked correctly with 4.2.1-9. It segfaults soon after game
> starts, number 2 is all garbled, number 1 creates the segfault (there
> is a counter 3-2-1 for game start).

This could be a bug in the mga 3D driver - gdb should tell. Beware that
running DRI clients inside gdb on the same X server will cause a
deadlock if gdb stops execution while the client holds the DRM lock, so
you want to do it remotely.

> The program does not compile with the error:
> DrawGarbage.cxx: Dans static member function « static void
> Displayer::drawGarbage() »: DrawGarbage.cxx:507: error:
> `glActiveTextureARB' undeclared (first use this function)

As discussed before, it doesn't seem to deal with OpenGL extensions
correctly.

> This may or may not be related to the segfault.

I doubt it - if it built, it should work. Certainly does here. :)


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer


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



Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-17 Thread Jean-Christophe Dubacq
On Sun, Aug 17, 2003 at 12:34:38PM +0200, Michel Dänzer wrote:
> On Sun, 2003-08-17 at 08:03, Daniel Stone wrote:
> > On Sat, Aug 16, 2003 at 10:57:06PM +0200, Tore Anderson wrote:
> > > * Jean-Christophe Dubacq
> > >  > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
> > >  > from ds4, I do not have DRI enabled any more.
> > > 
> > >   Try installing the 'xlibmesa-dri' package.
> > 
> > Should work OK:
> > (==) MGA(0): Direct rendering enabled
> 
> Which means the server and DRM sides are OK. It's a good analysis by
> Tore suspecting that xlibmesa-dri could be missing, preventing OpenGL
> hardware acceleration on the client side. If that's not it, we need to
> see the output of
> 
> LIBGL_DEBUG=verbose glxinfo

That was it*. Beyond some incompatibility with some programs (obviously
crack-attack is a badly written program anyway), xlibmesa-dri is not
recommanded by x-window-system or x-window-system-core. It could be.

Thanks,
-- 
Jean-Christophe Dubacq

* However, crack-attack still doesn't work. It didn't work with 4.3.0-ds4
also, but worked correctly with 4.2.1-9. It segfaults soon after game
starts, number 2 is all garbled, number 1 creates the segfault (there
is a counter 3-2-1 for game start).

The program does not compile with the error:
DrawGarbage.cxx: Dans static member function « static void
Displayer::drawGarbage() »: DrawGarbage.cxx:507: error:
`glActiveTextureARB' undeclared (first use this function)

This may or may not be related to the segfault.


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



Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-17 Thread Michel Dänzer
On Sun, 2003-08-17 at 08:03, Daniel Stone wrote:
> On Sat, Aug 16, 2003 at 10:57:06PM +0200, Tore Anderson wrote:
> > * Jean-Christophe Dubacq
> >  > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
> >  > from ds4, I do not have DRI enabled any more.
> > 
> >   Try installing the 'xlibmesa-dri' package.
> 
> Should work OK:
> (==) MGA(0): Direct rendering enabled

Which means the server and DRM sides are OK. It's a good analysis by
Tore suspecting that xlibmesa-dri could be missing, preventing OpenGL
hardware acceleration on the client side. If that's not it, we need to
see the output of

LIBGL_DEBUG=verbose glxinfo


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer


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



Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-17 Thread Daniel Stone
On Sat, Aug 16, 2003 at 10:57:06PM +0200, Tore Anderson wrote:
> * Jean-Christophe Dubacq
>  > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
>  > from ds4, I do not have DRI enabled any more.
> 
>   Try installing the 'xlibmesa-dri' package.

Should work OK:
(==) MGA(0): Direct rendering enabled

especially if he's coming from ds4. What's the output of glxinfo?

-- 
Daniel Stone  <[EMAIL PROTECTED]>
http://www.debian.org - http://www.kde.org - http://www.freedesktop.org
"Configurability is always the best choice when it's pretty simple to implement"
  -- Havoc Pennington, gnome-list


pgpfG8O054zVE.pgp
Description: PGP signature


Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-16 Thread Daniel Stone
On Sat, Aug 16, 2003 at 10:57:06PM +0200, Tore Anderson wrote:
> * Jean-Christophe Dubacq
>  > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
>  > from ds4, I do not have DRI enabled any more.
> 
>   Try installing the 'xlibmesa-dri' package.

Should work OK:
(==) MGA(0): Direct rendering enabled

especially if he's coming from ds4. What's the output of glxinfo?

-- 
Daniel Stone  <[EMAIL PROTECTED]>
http://www.debian.org - http://www.kde.org - http://www.freedesktop.org
"Configurability is always the best choice when it's pretty simple to implement"
  -- Havoc Pennington, gnome-list


pgp0.pgp
Description: PGP signature


Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-16 Thread Tore Anderson
* Jean-Christophe Dubacq

 > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
 > from ds4, I do not have DRI enabled any more.

  Try installing the 'xlibmesa-dri' package.

-- 
Tore Anderson



Re: [mga] 4.3.0 pre1v1: no DRI

2003-08-16 Thread Tore Anderson
* Jean-Christophe Dubacq

 > Since I upgraded to 4.3.0-0pre1 (in experimental this morning), coming
 > from ds4, I do not have DRI enabled any more.

  Try installing the 'xlibmesa-dri' package.

-- 
Tore Anderson


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