Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-03-03 Thread David Martínez Moreno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

El Lunes, 1 de Marzo de 2004 08:57, Matías Costa escribió:
> LIBGL_DEBUG=verbose glxinfo
> name of display: :0.0
> libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
> libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
> (/usr/X11R6/lib/modules/dri/r200_dri.so: undefined symbol: sse_test_dummy)
> libGL error: unable to find driver: r200_dri.so
> libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
> libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
> (/usr/X11R6/lib/modules/dri/r200_dri.so: undefined symbol: sse_test_dummy)

As you probably already know, this bug is fixed in the new packages 
released 
on Monday (namely 4.3.0-3).

Regards,


Ender.
- -- 
- - Kyle, all those times I said you were a dumb, stupid Jew,
  well, I was wrong, you're not a Jew.
- - Cartman, I *am* Jewish!
- - There, there, don't be hard on yourself, Kyle.
-- Cartman & Kyle (South Park).
- --
Servicios de red - Network services
RedIRIS - Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.51.50
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFARb4gWs/EhA1iABsRAsNtAJ4pSL0E10OIzYs/nU2k21caNMfJkgCaAgru
L6FnKvj5CfMoJzqOJB0p8EQ=
=ZQq4
-END PGP SIGNATURE-



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-03-01 Thread Matías Costa
LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
(/usr/X11R6/lib/modules/dri/r200_dri.so: undefined symbol: sse_test_dummy)
libGL error: unable to find driver: r200_dri.so
libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
(/usr/X11R6/lib/modules/dri/r200_dri.so: undefined symbol: sse_test_dummy)
libGL error: unable to find driver: r200_dri.so
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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x23 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x26 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x28 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2a 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2c 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2e 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x30 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x32 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

There is the reason for not to work.
This is a linux 2.6, XFree 4.3.0-2 from unstable, radon 9200SE machine.



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-04 Thread Enzo Alberto Dari
On Wed, 2004-02-04 at 17:24, Michel Dänzer wrote:
> On Wed, 2004-02-04 at 20:01, Enzo Alberto Dari wrote:
> > 
> > (II) RADEON(0): Direct rendering enabled
> > ...
> > 
> > However, glxinfo gives:
> > ...
> > direct rendering: No
> 
> Check the output of
> 
> LIBGL_DEBUG=verbose glxinfo
> ...
Thanks!

With libGL in verbose mode, glxinfo reports a missing 
r200_dri.so file.

Installing the xlibmesa-dri package solved the problem.


--   O__
Enzo.,>/
()_\()
Enzo A. Dari  |  Instituto Balseiro / Centro Atomico Bariloche
Web page: http://cabmec1.cnea.gov.ar/darie/darie.html



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-04 Thread Michel Dänzer
On Wed, 2004-02-04 at 20:01, Enzo Alberto Dari wrote:
> 
> (II) RADEON(0): Direct rendering enabled
> ...
> 
> However, glxinfo gives:
> ...
> direct rendering: No

Check the output of

LIBGL_DEBUG=verbose glxinfo


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-04 Thread Enzo Alberto Dari
Update of the situation:
- Debian woody (stable).
- Radeon 9200 SE card (two of them).

Machine 1:
- MSI motherboard (SiS 730 chipset).
Works with XFree86-4.3.0-0pre1v5 from:
http://people.debian.org/~nobse/xfree86/woody/
(in fact there still remain the bug #225759 that
can be avoided forcing the chip ID)

Machine 2:
- Asus A7V8X-X motherboard (Via KT400 chipset).
Needs kernel 2.6.0 for proper AGP3 support.
I installed this kernel (with updated packages
modutils and module-init-tools, taken from:
http://www.backports.org/debian/dists/stable/...)
and XFree86-4.3.0-0pre1v5.

Now the kernel messages look good:
...
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: AGP aperture is 128M @ 0xf000
...
[drm] Initialized radeon 1.9.0 20020828 on minor 0
agpgart: Found an AGP 3.5 compliant device at :00:00.0.
agpgart: Putting AGP V3 device at :00:00.0 into 4x mode
agpgart: Putting AGP V3 device at :01:00.0 into 4x mode
[drm] Loading R200 Microcode
...

And the xserver messages look good too:
...
(**) RADEON(0): Chipset: "ATI Radeon 8500 BB (AGP)" (ChipID = 0x4242)
(--) RADEON(0): Linear framebuffer at 0xe800
(--) RADEON(0): MMIO registers at 0xd700
(--) RADEON(0): BIOS at 0xe7fe
(--) RADEON(0): VideoRAM: 131072 kByte (64-bit DDR SDRAM)
...
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xf88c6000
(II) RADEON(0): [drm] mapped SAREA 0xf88c6000 to 0x4843b000
(II) RADEON(0): [drm] framebuffer handle = 0xe800
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000a09 [AGP 0x1106/0x3189; Card
0x1002/0x5964]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x0001
(II) RADEON(0): [agp] ring handle = 0xf000
(II) RADEON(0): [agp] Ring mapped at 0x4843d000
(II) RADEON(0): [agp] ring read ptr handle = 0xf0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x4853e000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xf0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x4853f000
(II) RADEON(0): [agp] AGP texture map handle = 0xf0302000
(II) RADEON(0): [agp] AGP Texture map mapped at 0x4873f000
(II) RADEON(0): [drm] register handle = 0xd700
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB AGP aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for AGP textures
(II) RADEON(0): Memory manager initialized to (0,0) (2048,8191)
(II) RADEON(0): Reserved area from (0,1536) to (2048,1538)
(II) RADEON(0): Largest offscreen area available: 2048 x 6653
(II) RADEON(0): Will use back buffer at offset 0x180
(II) RADEON(0): Will use depth buffer at offset 0x1e0
(II) RADEON(0): Will use 94208 kb for textures at offset 0x240
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
...
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1538)
(II) RADEON(0): Largest offscreen area available: 2048 x 6649
(II) RADEON(0): X context handle = 0x0001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 11
(II) RADEON(0): [drm] Initialized kernel agp heap manager, 5111808
(II) RADEON(0): Direct rendering enabled
(==) RandR enabled
(II) Initializing built-in extension ...
...

However, glxinfo gives:
...
direct rendering: No
...
OpenGL renderer string: Mesa GLX Indirect
...

Any ideas ?


--   O__
Enzo.,>/
()_\()
Enzo A. Dari  |  Instituto Balseiro / Centro Atomico Bariloche
Web page: http://cabmec1.cnea.gov.ar/darie/darie.html



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-03 Thread Sven Luther
On Tue, Feb 03, 2004 at 12:47:12PM -0300, Enzo Alberto Dari wrote:
> On Tue, 2004-02-03 at 12:34, Grzegorz Galazka wrote:
> > On 03 Feb 2004 11:28:33 -0300
> > Enzo Alberto Dari <[EMAIL PROTECTED]> wrote:
> > 
> > > - Radeon 9200 SE (chip ID: 5964)
> > 
> > It's an AGPx8 device, it won't work properly on 2.4.x kernels, since
> > they dont have AGPv3 support. Try 2.6.x kernel.
> > ...
> OK, I just found:
> http://www.ussg.iu.edu/hypermail/linux/kernel/0308.1/1928.html
> saying:
> ...
> For 2.4, you're stuck. It needs AGP3 support. The KT400 stuff in
> 2.4 only works if you shove an AGP2.x gfx card in the slot.
> As soon as you put a 3.x capable card in there the chipset changes
> mode, and as there's no AGP3 support in 2.4 yet, you're pooched.
> ...
> 
> I'll try to get a 2.6.x kernel,... and make it work in my woody
> system. 

Mmm, aren't the Radeon 9200 SE also capable of non AGP 3 support ? At
least mine works fine in 3.3V AGP, and this is not a AGP 3 acceptable
value.

Friendly,

Sven Luther



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-03 Thread Enzo Alberto Dari
On Tue, 2004-02-03 at 12:34, Grzegorz Galazka wrote:
> On 03 Feb 2004 11:28:33 -0300
> Enzo Alberto Dari <[EMAIL PROTECTED]> wrote:
> 
> > - Radeon 9200 SE (chip ID: 5964)
> 
> It's an AGPx8 device, it won't work properly on 2.4.x kernels, since
> they dont have AGPv3 support. Try 2.6.x kernel.
> ...
OK, I just found:
http://www.ussg.iu.edu/hypermail/linux/kernel/0308.1/1928.html
saying:
...
For 2.4, you're stuck. It needs AGP3 support. The KT400 stuff in
2.4 only works if you shove an AGP2.x gfx card in the slot.
As soon as you put a 3.x capable card in there the chipset changes
mode, and as there's no AGP3 support in 2.4 yet, you're pooched.
...

I'll try to get a 2.6.x kernel,... and make it work in my woody
system. 

-- 
Thanks,
 O__
Enzo.,>/
()_\()
Enzo A. Dari  |  Instituto Balseiro / Centro Atomico Bariloche
Web page: http://cabmec1.cnea.gov.ar/darie/darie.html



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-03 Thread Grzegorz Galazka
On 03 Feb 2004 11:28:33 -0300
Enzo Alberto Dari <[EMAIL PROTECTED]> wrote:

> - Radeon 9200 SE (chip ID: 5964)

It's an AGPx8 device, it won't work properly on 2.4.x kernels, since
they dont have AGPv3 support. Try 2.6.x kernel.

greg

-- 
Grzegorz Galazka # catch me via Jabber:
RLU #219601  # greg__(at)jabber(dot)org
God is always invented to explain those things that you do not understand.
R.Feynman



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-03 Thread Michel Dänzer
On Tue, 2004-02-03 at 15:28, Enzo Alberto Dari wrote:
> 
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 941M
> agpgart: Detected Via Apollo Pro KT400 chipset
> agpgart: unable to determine aperture size.
  ^^
Sounds like agpgart isn't working properly?


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-02-03 Thread Enzo Alberto Dari
On Sat, 2004-01-31 at 10:53, Alan Chandler wrote:
> ...
> I am getting the XFree log message saying AGP not available, yet the messages 
> in kern.log don't show any problem.  I am stuck - where do I look now for 
> this problem?
> ...
Just to say that I'm having the same problem, but with:

- Woody system.
- Xfree 4.3.0 (packages recently provided by Norbert Tretkowski,
 otherwise working fine).
- kernel 2.4.24
- Radeon 9200 SE (chip ID: 5964)


These are some related kernel messages:
...
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: Detected Via Apollo Pro KT400 chipset
agpgart: unable to determine aperture size.
...
[drm] Initialized radeon 1.7.0 20020828 on minor 0
[drm:radeon_unlock] *ERROR* Process 11592 using kernel context 0
[drm:radeon_ioremapfree:mappings] *ERROR* Attempt to free NULL pointer
[drm:radeon_ioremapfree:mappings] *ERROR* Excess frees: 1 frees, 0
allocs
...

And part of the XFree86 log file:
...
(--) PCI:*(1:0:0) ATI Technologies Inc unknown chipset (0x5964) rev 1,
Mem @ 0xe
800/27, 0xd700/16, I/O @ 0xd800/8, BIOS @ 0xe7fe/17
(--) PCI: (1:0:1) ATI Technologies Inc unknown chipset (0x5d44) rev 1,
Mem @ 0xd
...
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1)
found
(--) Chipset ATI Radeon 9200 5964 (AGP) found
...
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
0x
(II) RADEON(0): PCI bus 1 card 0 func 0
(**) RADEON(0): Depth 16, (--) framebuffer bpp 16
(II) RADEON(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(==) RADEON(0): RGB weight 565
(II) RADEON(0): Using 6 bits per RGB (8 bit DAC)
...
(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon 9200 5964 (AGP)" (ChipID = 0x5964)
(--) RADEON(0): Linear framebuffer at 0xe800
(--) RADEON(0): MMIO registers at 0xd700
(--) RADEON(0): BIOS at 0xe7fe
(--) RADEON(0): VideoRAM: 131072 kByte (64-bit DDR SDRAM)
...
(==) RADEON(0): Write-combining range (0xe800,0x800)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xf88f3000
(II) RADEON(0): [drm] mapped SAREA 0xf88f3000 to 0x40014000
(II) RADEON(0): [drm] framebuffer handle = 0xe800
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf88f3000 at
0x40014000
(II) RADEON(0): Memory manager initialized to (0,0) (2048,8191)
(II) RADEON(0): Reserved area from (0,1536) to (2048,1538)
(II) RADEON(0): Largest offscreen area available: 2048 x 6653
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
...
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1538)
(II) RADEON(0): Largest offscreen area available: 2048 x 6649
(II) RADEON(0): Direct rendering disabled
(==) RandR enabled
...



-- 
 O__
Enzo.,>/
()_\()
Enzo A. Dari  |  Instituto Balseiro / Centro Atomico Bariloche
Web page: http://cabmec1.cnea.gov.ar/darie/darie.html



Is there really nobody that can help me? (was Re: radeon 9200, Linux 2.6 and Xfree 4.3.0 dri not working)

2004-01-31 Thread Alan Chandler
On Friday 30 January 2004 7:17 pm, Alan Chandler wrote:
> On Fri, 2004-01-30 at 03:12, Daniel Stone wrote:
> > On Thu, Jan 29, 2004 at 09:18:01PM +, Alan Chandler wrote:
> > > and a bit later looking positive, but ultimately failing without any
> > > clear explanation why
> > >
> > > (WW) RADEON(0): [agp] AGP not available
> >
> > Wham. Look in /var/log/kern.log as to why this is failing.
>
> Not sure this helps me much - there is the end of my kern.log
>
> Jan 30 18:22:09 kanger kernel: apm: overridden by ACPI.
> Jan 30 18:22:12 kanger kernel: [drm] Initialized radeon 1.9.0 20020828
> on minor 0
> Jan 30 18:22:12 kanger kernel: agpgart: Found an AGP 2.0 compliant
> device at :00:00.0.
> Jan 30 18:22:12 kanger kernel: agpgart: Putting AGP V2 device at
> :00:00.0 into 4x mode
> Jan 30 18:22:12 kanger kernel: agpgart: Putting AGP V2 device at
> :01:00.0 into 4x mode

I am getting the XFree log message saying AGP not available, yet the messages 
in kern.log don't show any problem.  I am stuck - where do I look now for 
this problem?


-- 
Alan Chandler
[EMAIL PROTECTED]