You are not logged in.

#1 2006-01-23 22:58:14

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 130

[Solved] Help with DRI and ATI 7500

Hi All

I just notice that DRI is disabled because of the error that follows and I have eyeballed this for quite some time, hence my post.

(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xf97b1000
(II) RADEON(0): [drm] mapped SAREA 0xf97b1000 to 0xb7f21000
(II) RADEON(0): [drm] framebuffer handle = 0xd0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf97b1000 at 0xb7f21000

My card is a Radeon RV200 (radeon 7500) card and I am using the xorg driver.  I had this working at some point, so I am not sure where to look.   Below is the relevant  section of /etc/X11/xorg.conf and /etc/rc.conf.

Section "Module"
    Load        "dbe"      # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
#    Load        "freetype"
    Load  "speedo"

# This loads the GLX module
    Load       "glx"
    Load       "dri"

EndSection

Section "Device"
    Identifier  "ATI Radeon 7500"
    Driver      "ati"
#    Option      "AGPMode" "1"
    Option      "AGPMode" "4"
    Option      "DPMS"
    Option      "AGPFastWrite" "True"
    vendorname  "ATI"
    boardname "Radeon 7500"
EndSection
MODULES=(!usbserial !ide-scsi eepro100 agpgart radeon snd-emu10k1)

and what follows is the output from lsmod (it seems everything is loaded).

via_agp                 8320  1
radeon                109728  0
drm                    67860  1 radeon
agpgart                29904  2 via_agp,drm

Can anyone see anything obvious?

Thanks
Kevin

Offline

#2 2006-01-24 01:06:15

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 130

Re: [Solved] Help with DRI and ATI 7500

Just to add a bit more info, I found this error in  kernel.log.

Jan 23 17:41:39 delos [drm] Initialized drm 1.0.0 20040925
Jan 23 17:41:39 delos [drm] Initialized radeon 1.19.0 20050911 on minor 0:
Jan 23 17:41:48 delos [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
Jan 23 17:41:48 delos [drm:drm_unlock] *ERROR* Process 1587 using kernel context 0

Offline

#3 2006-01-24 01:37:53

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 130

Re: [Solved] Help with DRI and ATI 7500

Well, I solved it by removing "agpgart" and "radeon" from the MODULES line in rc.conf and let udev load them.  From what I can guess from the hint in the error log, the modules were loaded in the wrong order.

Thanks
Kev

Offline

Board footer

Powered by FluxBB