Hi!

I already posted this on the dri-users list a while ago...sorry for that...but 
i noticed that dri-users was probably the wrong mailinglist.

I am having problems using the r300 drivers. Somehow dri won't work. /dev/dri 
just stays empty.

My Setup:

AMD64 Athlon 3200+
Asus K8V
Radeon 9800Pro
debian pure64
vanilla kernel 2.6.9

I followed the instructions of the README.

xorg CVS
Mesa CVS

patches have been applied

finally i compiled the drm driver and insmodded it.

Relevant sections of my xorg.cnf:

Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
    Load        "xtt"

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

EndSection

Section "Device"
    Identifier  "Radeon"
    Option "AGPMode" "4"
    Driver      "radeon"
    Option "RenderAccel" "On"
    Option "AGPFastWrite" "On"
    Option "BusType" "AGP"
    #Option "NoRenderExtension" "Off"
    # Option "NoLogo" "On"
    Option "Accel" "On"
    Option "CIOverlay" "On"
    Option "OverlayDefaultVisual" "On"
    Option "TransparentIndex" "yes"
    Option "CursorShadow" "yes"
    Option "HWCrusor" "On"
    #VideoRam 65536
    VideoRam    131072
    BusID "AGP:01:00:0"
    # Insert Clocks lines here if appropriate
EndSection

I collected most of these options while googling. Many of them don't work but 
a plain Device section doesn't help either.

agpgart etc are enabled in the kernel:

CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_DRM=y
CONFIG_DRM_RADEON=m

xorg-log:

(II) Primary Device is: PCI 01:00:0
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset ATI Radeon 9800PRO NH (AGP) found
[...]
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 
0x0000
(II) RADEON(0): PCI bus 1 card 0 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "accel" "On"
(**) RADEON(0): Option "BusType" "AGP"
(**) RADEON(0): Option "AGPMode" "4"
(**) RADEON(0): Option "AGPFastWrite" "On"
(**) RADEON(0): Option "RenderAccel" "On"
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 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 9800PRO NH (AGP)" (ChipID = 0x4e48)
(--) RADEON(0): Linear framebuffer at 0xe8000000
(--) RADEON(0): BIOS at 0xfd100000
(II) RADEON(0): Video RAM override, using 131072 kB instead of 131072 kB
(**) RADEON(0): VideoRAM: 131072 kByte (256 bit DDR SDRAM)
(II) RADEON(0): AGP card detected
(**) RADEON(0): Forced into AGP mode
[..]
(II) RADEON(0): I2C bus "DDC" initialized.
(II) RADEON(0): Legacy BIOS detected
(II) RADEON(0): Connector0: DDCType-2, DACType-1, TMDSType-0, ConnectorType-3
(II) RADEON(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 2, Detected Type: 0
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 3, Detected Type: 0
(II) RADEON(0):
(II) RADEON(0): Primary:
 Monitor   -- CRT
 Connector -- VGA
 DAC Type  -- Primary
 TMDS Type -- NONE
 DDC Type  -- VGA_DDC
(II) RADEON(0): Secondary:
 Monitor   -- NONE
 Connector -- DVI-I
 DAC Type  -- TVDAC/ExtDAC
 TMDS Type -- Internal
 DDC Type  -- DVI_DDC
(II) RADEON(0): PLL parameters: rf=2700 rd=12 min=20000 max=40000; xclk=33800
(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode 
disabled
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEON(0): Validating modes on Primary head ---------
(II) RADEON(0): EIZO: Using hsync range of 27.00-65.00 kHz
(II) RADEON(0): EIZO: Using vrefresh range of 55.00-90.00 Hz
(II) RADEON(0): Clock range:  20.00 to 400.00 MHz
[...]
(==) RADEON(0): Write-combining range (0xe8000000,0x8000000)
(WW) RADEON(0): Enabling DRM support

        *** Direct rendering support is highly experimental for Radeon 9500
        *** and newer cards. In fact, the only thing you could probably use
        ***  it for is better 2d acceleration. The 3d mesa driver is not
        *** provided in this tree. A very experimental (and incomplete)
        *** version is available from http://r300.sourceforge.net
        *** This message has been last modified on 12/12/04.

(WW) RADEON(0): Direct rendering support is highly experimental for Radeon 
9500/9700 and newer cards
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[...]
(II) RADEON(0): [drm] drmOpen failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.

syslog:

Dec 18 12:17:08 franz-peter kernel: [drm:drm_core_init] drm_agp 
ffffffff803e0a40
Dec 18 12:17:08 franz-peter kernel: [drm] Initialized drm 1.0.0 20040925
Dec 18 12:17:13 franz-peter kernel: [drm:drm_ati_alloc_pcigart_table] 
drm_ati_alloc_pcigart_table
Dec 18 12:17:13 franz-peter kernel: [drm:drm_ati_alloc_pcigart_table] 
drm_ati_alloc_pcigart_table: returning 0x10009388000
Dec 18 12:17:37 franz-peter kernel: [drm:drm_stub_open]
Dec 18 12:17:37 franz-peter last message repeated 65 times
Dec 18 12:19:05 franz-peter last message repeated 66 times

Probably i am just stupid but i can't get it to work.

Any help would be appreciated.

Regards,

 Andreas Streichardt


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to