Re: DRM problem
"Alvaro A. Ramirez" <[email protected]> Sat, 15 May 2004 18:46:22 -0400
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <1084661182.2185.12.camel@stella> |
Eric and Jacek, Thank you for your responses. Ok. SO I indeed did have drm compiled into my kernel. Undid that. I compiled agpgart and via-agp as modules and also got drm from the latest snapshot. Before I start Xati, I load the modules: modprobe agpgart modprobe via-agp modprobe radeon Then I start Xati and get the output as follows: stella bin # ./Xati :0 Using ATI card: ATI Radeon RV200 QW at pci:0000:01:00.0 Screen: 16/16 depth/bpp [drm] register handle = 0xee000000 [pci] 8192 kB allocated with handle 0xe1d1c000 [pci] ring handle = 0xe1d1c000 [pci] ring mapped at 0x0812eb54 [pci] ring read ptr handle = 0xe1e1d000 [pci] ring read ptr mapped at 0x0812eb64 [pci] vertex/indirect buffers handle = 0xe1e1e000 [pci] vertex/indirect buffers mapped at 0x0812eb78 [pci] PCI texture map handle = 0xe201e000 [pci] PCI texture map mapped at 0x0812eb94 [drm] Added 32 65536 byte vertex/indirect buffers [drm] Mapped 32 vertex/indirect buffers The Xserver starts fine. But I have no xterm. So from a virtual console I do: xterm -display :0 and then Xati dies with a segfault. I also tried starting a gnome-session in it, and it also killed it with a segfault. I compiled xserver with dri and composite enabled. Any ideas? thanks again, alvaro ps. will not try glx as it is known to break things. On Sat, 2004-05-15 at 08:02, Jacek Rosik wrote: > W liĆcie z sob, 15-05-2004, godz. 03:41, Alvaro A. Ramirez pisze: > > Hello everyone. Just got the xserver installed from CVS. Everything is > > great! Now I am trying to get dri working on my radeon card (7500). Just > > got a dri module snapshot and recompiled it using the script provided. > > Compilation worked without a problem. However, when I start Xati, I get > > the following error: > > > > Failed to Open DRM. DMA won't be used. > > Using ATI card:ATI Radeon RV200 QW at PCI:0000:01:00.0 > > Screen: 16/16 depth/bpp > [snip] > > > > any pointers? ideas? > > Have You loaded this module? You may also need to load agpgart (and > chipset specific agp module if You are using 2.6). Check Your kernel > messages it should display something like that: > > $ dmesg | grep drm > [drm] Initialized radeon 1.10.0 20020828 on minor 0: ATI Radeon RV280 > 9200 SE > [drm] Loading R200 Microcode > > You will see only first message until dri is initialized. > > BTW: Make sure You don't have drm compiled into Your kernel if You want > to use module.