[SM-Discuss] dri/drm and xorg

Bas van Gils Bas.vanGils at cs.kun.nl
Sat Sep 18 12:55:25 EDT 2004


Hi all,

today I tried to get DRI to work on my laptop which has an ATI mobility
radeon7500 card. I cast'ed the latest xorg and then casted DRI. I have AGP in
the kernel by the way. From /usr/src/linux/.config:

    CONFIG_AGP=y
    CONFIG_AGP_INTEL=y

When running X, lsmod gives me:

    Module                  Size  Used by
    radeon                131104  0 
    usb_storage            76192  0 
    sd_mod                 18944  0 
    sr_mod                 18340  0 
    scsi_mod              114380  3 usb_storage,sd_mod,sr_mod
    snd_pcm_oss            53416  0 
    snd_mixer_oss          19840  1 snd_pcm_oss
    ohci_hcd               30212  0 
    eepro100               29068  0 
    mii                     5248  1 eepro100
    snd_intel8x0           33288  0 
    snd_ac97_codec         66948  1 snd_intel8x0
    snd_pcm                93192  2 snd_pcm_oss,snd_intel8x0
    snd_timer              25348  1 snd_pcm
    snd_page_alloc         11784  2 snd_intel8x0,snd_pcm
    snd_mpu401_uart         8064  1 snd_intel8x0
    snd_rawmidi            24356  1 snd_mpu401_uart
    uhci_hcd               32012  0 

So the radeon module gets loaded just fine. The relevant portions of my
xorg.conf file:

    Section "Module"
        Load  "dri"
        Load  "extmod"
        Load  "dbe"
        Load  "glx"
        Load  "freetype"
        Load  "type1"
    EndSection


    Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID       "PCI:1:0:0"
    EndSection
 
    Section "DRI"
        Mode 0660
    EndSection


I still don't have DRI to work... the logfile says:

    (II) RADEON(0): [drm] loaded kernel module for "radeon" driver
    (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 0xe0a5d000
    (II) RADEON(0): [drm] mapped SAREA 0xe0a5d000 to 0x422ba000
    (II) RADEON(0): [drm] drmAddMap failed
    (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
    (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
    (II) RADEON(0): Reserved area from (0,768) to (1024,770)
    (II) RADEON(0): Largest offscreen area available: 1024 x 7421
    (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
            Screen to screen bit blits
            Solid filled rectangles
            8x8 mono pattern filled rectangles
            Indirect CPU to Screen color expansion
            Solid Lines
            Scanline Image Writes
            Offscreen Pixmaps
            Setting up tile and stipple cache:
                    32 128x128 slots
                    32 256x256 slots
                    16 512x512 slots
    (II) RADEON(0): Acceleration enabled
    (==) RADEON(0): Backing store disabled
    (==) RADEON(0): Silken mouse enabled
    (II) RADEON(0): Using hardware cursor (scanline 770)
    (II) RADEON(0): Largest offscreen area available: 1024 x 7417
    (II) RADEON(0): Direct rendering disabled
    (==) RandR enabled

and glxinfo , indeed, claims: no dri. Suggestions?

    Bas


-- 
<Bas.vanGils at cs.ru.nl> - GPG Key ID: 2768A493  -  http://www.cs.ru.nl/~basvg
Radboud University Nijmegen Institute for Computing and Information Sciences




More information about the SM-Discuss mailing list