Re: [Xpert]Voodoo 4 4500 AGP

2002-01-07 Thread Ademar de Souza Reis Jr.

On Fri, Jan 04, 2002 at 01:21:34AM -0200, Paulo Vitor Magacho da Silva wrote:
> Em Qui 03 Jan 2002 23:18, you wrote:
> 
> > It's what libGL uses for the hardware rendering, so yes, it's still very
> > much needed. :) That said, I know next to nothing about Conectiva but my
> > impression is that it's a fairly reasonable distribution so I'd expect
> > them to provide means to find out which package contains it.
> >
> > Everything looks good as far as the X server is concerned. To get some
> > debugging information run glxinfo (or any GL client for that matter)
> > with LIBGL_DEBUG=verbose.
> 
> For some reason when Conectiva released the version 4.1.0 of XFree, it didn't release
> the package that has this driver. Is there some way to compile only this library 
>without 
> the need to recompile the entire XFree?

We didn't make any official release of XFree 4.1.0. It's on our snapshot tree, and
the tdfx_dri driver is not compiling. It's a known issue, documented in the
spec file (the source rpm) and in our bugzilla
(distro.conectiva.com.br/bugzilla).

The problem is related to libglide, and we are working on it. As a workaround,
you can download the binaries from dri.sf.net and overwrite your libglide files.

Or you can wait for: a new release of our XFree development packages that
solves the problem, our official release, or you can even make a patch and
send it to us :)

[]'s
   - Ademar

-- 
Ademar de Souza Reis Jr.
Conectiva S/A - http://distro.conectiva.com.br

"Unfortunately, no-one can be told what Linux is.. you have to
see it for yourself."

^[:wq!
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-04 Thread Alan Hourihane

Try going to http://dri.sourceforge.net and going to the Download page
and getting DRIsetup-i386.

It's a utility I was working on a while ago that should step you through
the right configuration for DRI.

Let me know how it goes.

Alan.

On Thu, Jan 03, 2002 at 11:13:55PM -0200, Paulo Vitor Magacho da Silva wrote:
> Em Qui 03 Jan 2002 11:53, you wrote:
> >
> > That shouldn't be needed, the tdfx module that comes with kernel 2.4.12
> > should work. I suspect there's some kind of version conflict with the
> > client libraries. Hard to tell without any real info though.
> 
> First, sorry for the very long email that I am sending.
> So you are saying that I don't need the tdfx_dri.so file anymore ?
> The Xfree log say that DRI extension has been installed.
> 
> % PART OF THE XFREE LOG %
> 
> (II) TDFX(0): 3327 lines of offscreen memory available for 2D and video
> (II) TDFX(0): [drm] loaded kernel module "tdfx"
> (II) TDFX(0): [drm] created "tdfx" driver at busid "PCI:1:0:0"
> (II) TDFX(0): [drm] added 4096 byte SAREA at 0xc88bf000
> (II) TDFX(0): [drm] mapped SAREA 0xc88bf000 to 0x40026000
> (II) TDFX(0): [drm] framebuffer handle = 0xf000
> (II) TDFX(0): [drm] added 1 reserved context for kernel
> (II) TDFX(0): [drm] Registers = 0xe000
> (II) TDFX(0): visual configs initialized
> (II) TDFX(0): Using XFree86 Acceleration Architecture (XAA)
> Screen to screen bit blits
> Solid filled rectangles
> 8x8 mono pattern filled rectangles
> Indirect CPU to Screen color expansion
> Solid Lines
> Dashed Lines
> Offscreen Pixmaps
> Driver provided NonTEGlyphRenderer replacement
> Setting up tile and stipple cache:
> 32 128x128 slots
> 18 256x256 slots
> 6 512x512 slots
> (==) TDFX(0): Backing store disabled
> (==) TDFX(0): Silken mouse enabled
> (II) TDFX(0): X context handle = 0x0001
> (II) TDFX(0): [drm] installed DRM signal handler
> (II) TDFX(0): [DRI] installation complete < 
> (==) TDFX(0): Direct rendering enabled<
> (II) Initializing built-in extension MIT-SHM
> (II) Initializing built-in extension XInputExtension
> (II) Initializing built-in extension XTEST
> (II) Initializing built-in extension XKEYBOARD
> (II) Initializing built-in extension LBX
> (II) Initializing built-in extension XC-APPGROUP
> (II) Initializing built-in extension SECURITY
> (II) Initializing built-in extension XINERAMA
> (II) Initializing built-in extension XFree86-Bigfont
> (II) Initializing built-in extension RENDER
> 
> % END %
> 
> But when I run the glxinfo program I get the following response :
> 
> name of display: :0.0
> display: :0  screen: 0
> direct rendering: No  <===
> server glx vendor string: SGI
> server glx version string: 1.2
> server glx extensions:
> GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
> client glx vendor string: SGI
> client glx version string: 1.2
> client glx extensions:
> GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
> GLX extensions:
> GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
> OpenGL vendor string: VA Linux Systems, Inc.
> OpenGL renderer string: Mesa GLX Indirect <===
> OpenGL version string: 1.2 Mesa 3.4.2
> OpenGL extensions:
> GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color,
> GL_EXT_blend_minmax, GL_EXT_blend_subtract
> glu version: 1.3
> glu extensions:
> GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
> 
> What it's wrong, what else do I need ? I have the opengl library provided by the 
>XFree 4.1.0, I
> also have installed the Mesa-utils 3.4.1 libs and the glide libraries. I can't use 
>any program that
> need hardware acceleration, such as tuxracer.
> 
> Thanks for any help,
>   Paulo Vitor
> ___
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Derrik Pates

On Thu, 3 Jan 2002, Paulo Vitor Magacho da Silva wrote:

> First, sorry for the very long email that I am sending.
> So you are saying that I don't need the tdfx_dri.so file anymore ?

You need that library. XFree's libGL is just an intermediary, it uses that
library to talk to 3Dfx boards to do direct rendering.

> (II) TDFX(0): [DRI] installation complete <
> (==) TDFX(0): Direct rendering enabled<

> What it's wrong, what else do I need ? I have the opengl library provided by the 
>XFree 4.1.0, I
> also have installed the Mesa-utils 3.4.1 libs and the glide libraries. I can't use 
>any program that
> need hardware acceleration, such as tuxracer.

Say what? Please say you didn't overwrite your libGL. First, do 'ldd
/usr/X11R6/bin/glxinfo' and make sure it's linking the correct libGL.
Second, as Michel said, run 'LIBGL_DEBUG=1 glxinfo' and see if it spits
out any errors. You may need to look at /dev/dri/* and see if the
permissions are set correctly for you to access the DRI devnode. If not,
'man XF86Config' is your friend. Look for info on the DRI section.

Derrik Pates  |   Sysadmin, Douglas School   |#linuxOS on EFnet
[EMAIL PROTECTED] | District (dsdk12.net)|#linuxOS on OPN

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Paulo Vitor Magacho da Silva

Em Qui 03 Jan 2002 23:18, you wrote:

> It's what libGL uses for the hardware rendering, so yes, it's still very
> much needed. :) That said, I know next to nothing about Conectiva but my
> impression is that it's a fairly reasonable distribution so I'd expect
> them to provide means to find out which package contains it.
>
> Everything looks good as far as the X server is concerned. To get some
> debugging information run glxinfo (or any GL client for that matter)
> with LIBGL_DEBUG=verbose.

For some reason when Conectiva released the version 4.1.0 of XFree, it didn't release
the package that has this driver. Is there some way to compile only this library 
without 
the need to recompile the entire XFree ?

Thanks a lot for the help,
Paulo Vitor
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Michel Dänzer

On Fri, 2002-01-04 at 02:13, Paulo Vitor Magacho da Silva wrote:
> Em Qui 03 Jan 2002 11:53, you wrote:
> >
> > That shouldn't be needed, the tdfx module that comes with kernel 2.4.12
> > should work. I suspect there's some kind of version conflict with the
> > client libraries. Hard to tell without any real info though.
> 
> First, sorry for the very long email that I am sending.
> So you are saying that I don't need the tdfx_dri.so file anymore ?

It's what libGL uses for the hardware rendering, so yes, it's still very
much needed. :) That said, I know next to nothing about Conectiva but my
impression is that it's a fairly reasonable distribution so I'd expect
them to provide means to find out which package contains it.

Everything looks good as far as the X server is concerned. To get some
debugging information run glxinfo (or any GL client for that matter)
with LIBGL_DEBUG=verbose.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Paulo Vitor Magacho da Silva

Em Qui 03 Jan 2002 11:53, you wrote:
>
> That shouldn't be needed, the tdfx module that comes with kernel 2.4.12
> should work. I suspect there's some kind of version conflict with the
> client libraries. Hard to tell without any real info though.

First, sorry for the very long email that I am sending.
So you are saying that I don't need the tdfx_dri.so file anymore ?
The Xfree log say that DRI extension has been installed.

% PART OF THE XFREE LOG %

(II) TDFX(0): 3327 lines of offscreen memory available for 2D and video
(II) TDFX(0): [drm] loaded kernel module "tdfx"
(II) TDFX(0): [drm] created "tdfx" driver at busid "PCI:1:0:0"
(II) TDFX(0): [drm] added 4096 byte SAREA at 0xc88bf000
(II) TDFX(0): [drm] mapped SAREA 0xc88bf000 to 0x40026000
(II) TDFX(0): [drm] framebuffer handle = 0xf000
(II) TDFX(0): [drm] added 1 reserved context for kernel
(II) TDFX(0): [drm] Registers = 0xe000
(II) TDFX(0): visual configs initialized
(II) TDFX(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Dashed Lines
Offscreen Pixmaps
Driver provided NonTEGlyphRenderer replacement
Setting up tile and stipple cache:
32 128x128 slots
18 256x256 slots
6 512x512 slots
(==) TDFX(0): Backing store disabled
(==) TDFX(0): Silken mouse enabled
(II) TDFX(0): X context handle = 0x0001
(II) TDFX(0): [drm] installed DRM signal handler
(II) TDFX(0): [DRI] installation complete   < 
(==) TDFX(0): Direct rendering enabled  <
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER

% END %

But when I run the glxinfo program I get the following response :

name of display: :0.0
display: :0  screen: 0
direct rendering: No<===
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa GLX Indirect   <===
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

What it's wrong, what else do I need ? I have the opengl library provided by the XFree 
4.1.0, I
also have installed the Mesa-utils 3.4.1 libs and the glide libraries. I can't use any 
program that
need hardware acceleration, such as tuxracer.

Thanks for any help,
Paulo Vitor
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Michel Dänzer

On Thu, 2002-01-03 at 14:01, Mike wrote:
> Paulo Vitor Magacho da Silva <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> > since I upgraded my XFree86 from 4.0.3 to 4.1.0, I can't you the dri extension 
>for 
> >the Voodoo 4.
> > The XFree 4.0.3 had a RPM package called XFree86-tdfx-dri-4.0.3 ... that 
>provided the 
> >dri capability for the Voodo 4500. It worked quite well.
> > The Xfree 4.1.0 doesn't have this package. Although the performance using 
>software 
> >renderer has improved, I can't use the hardware acceleration. I
> >have already installed the glide
> >library for this board and I use the Opengl libs provided by the Xfree package.
> > My distribuition is Conectiva Linux 7.0, and I use the kernel 2.4.12 . 
> >
> You need to compile and install the tdfx drm kernel module from the source.
> If Connectiva do not supply this as a separate SRPM then you will have to
> get the full Xfree 4.1.0 SRPM and find it in the os-support directory
> in there somewhere.

That shouldn't be needed, the tdfx module that comes with kernel 2.4.12
should work. I suspect there's some kind of version conflict with the
client libraries. Hard to tell without any real info though.

> I bet your DGA does not work though.

Not that it's needed anyway...


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Mike

Paulo Vitor Magacho da Silva <[EMAIL PROTECTED]> wrote:
>Hi,
>
>   since I upgraded my XFree86 from 4.0.3 to 4.1.0, I can't you the dri extension 
>for 
>the Voodoo 4.
>   The XFree 4.0.3 had a RPM package called XFree86-tdfx-dri-4.0.3 ... that 
>provided the 
>dri capability for the Voodo 4500. It worked quite well.
>   The Xfree 4.1.0 doesn't have this package. Although the performance using 
>software 
>renderer has improved, I can't use the hardware acceleration. I
>have already installed the glide
>library for this board and I use the Opengl libs provided by the Xfree package.
>   My distribuition is Conectiva Linux 7.0, and I use the kernel 2.4.12 . 
>   
>   Thanks,
> Paulo Vitor
>   
>___
>Xpert mailing list
>[EMAIL PROTECTED]
>http://XFree86.Org/mailman/listinfo/xpert
>
You need to compile and install the tdfx drm kernel module from the source. If 
Connectiva do not supply this as a separate SRPM then you will have to get the full 
Xfree 4.1.0 SRPM and find it in the os-support directory in there somewhere. I bet 
your DGA does not work though.

Mike.


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert