Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* DRM\DRI, Alpha, xfree86 4.3.0 radeon.o problems
@ 2003-05-13 15:19 Matt Simis
  2003-05-13 17:34 ` michal
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Simis @ 2003-05-13 15:19 UTC (permalink / raw)


Having lots of fun trying to get DRI support for the Radeon 9000 under
Debian Sarge on an Alpha UX164 (ruffian).

Ive managed to get XFree 4.3.0 installed, which includes native Radeon 9000
support. Unfortuantely the DRI (well DRM) module cannot start as (according
to Xfree log) it requires "DRM version 1.5.0 or later". It referring to the
DRM module in 2.4.20 kernel. I have tried numerous things, but the most
promising is:

Changing DRM to a module from the kernal and building  xfree-drm-4.3.0.src
into radeon.o (the DRM module I believe) and then replacing the kernals
module with this one.

This works and starts DRM (I believe) but crashes X with a visual screen
tear on the GDM login.

Does anyone have a good DRM module for XFree86 4.3.0?
Should DRI work on the Alpha at all?
Should I enable AGPGart in the kernel (its a PCI card, but I read AGP
support was needed)?



Matt




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DRM\DRI, Alpha, xfree86 4.3.0 radeon.o problems
  2003-05-13 15:19 DRM\DRI, Alpha, xfree86 4.3.0 radeon.o problems Matt Simis
@ 2003-05-13 17:34 ` michal
  0 siblings, 0 replies; 2+ messages in thread
From: michal @ 2003-05-13 17:34 UTC (permalink / raw)


Matt Simis <mattsimis@hotmail.com> wrote:
...
> Should DRI work on the Alpha at all?

I guess that I can answer at least that question.  This is from logs on
my Alpha (Nautilus UP1500 and Radeon 7500 graphic card) with a kernel
derived from Red Hat 2.4.18-27.7.x and some variant of 4.2.0 X server.
Yes, this machine is one of those rare Alphas with an AGP slot but AGP
on Alpha is more broken with 2.4 then customary elsewhere :-) and I have
aperture set in my kernel to 0.

....
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:5:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xfffffffc004b8000
(II) RADEON(0): [drm] mapped SAREA 0xfffffffc004b8000 to 0x20000022000
(II) RADEON(0): [drm] framebuffer handle = 0xe8000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x0f000207 [AGP 0x1022/0x700e; Card 0x1002/0x5157]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x004bc000
(EE) RADEON(0): [agp] Could not bind
(WW) RADEON(0): [agp] AGP failed to initialize -- falling back to PCI mode.
(WW) RADEON(0): [agp] Make sure you have the agpgart kernel module loaded.
(II) RADEON(0): [pci] 8192 kB allocated with handle 0x004bc000
(II) RADEON(0): [pci] ring handle = 0xfffffffc004bc000
(II) RADEON(0): [pci] Ring mapped at 0x20004348000
(II) RADEON(0): [pci] Ring contents 0x00000000
(II) RADEON(0): [pci] ring read ptr handle = 0xfffffffc005be000
(II) RADEON(0): [pci] Ring read ptr mapped at 0x20000024000
(II) RADEON(0): [pci] Ring read ptr contents 0x00000000
(II) RADEON(0): [pci] vertex/indirect buffers handle = 0xfffffffc005c0000
(II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x2000444a000
(II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
(II) RADEON(0): [drm] register handle = 0xf8000000
(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): [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): Direct rendering enabled

Standar 'gears' test gives in this setup over 700 frames per second.

As far as 4.3.0 X goes on I did not try that yet.

  Michal


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-13 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-13 15:19 DRM\DRI, Alpha, xfree86 4.3.0 radeon.o problems Matt Simis
2003-05-13 17:34 ` michal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox