LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-24-2006, 11:30 PM   #1
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Rep: Reputation: 15
Mandriva 2007/ATI Radeon 9600 card problem (DRI)


Hi all -

Mandriva 2007 x86_64 on Athlon-64 single core 3400+ slightly overclocked (2.5+ GHz). 1.5G RAM. The video card uses the ATI Radeon 9600.

Trying to get direct rendering enabled...not having much luck.

Code:
[rcs@yoda: ~]$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No

Here are the relevant sections of xorg.conf:

Code:
Section "Extensions"
#    Option "Composite"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
        Load  "i2c"
        Load  "v4l"
        Load  "dbe"
        Load  "bitmap"
        Load  "ddc"
        Load  "dri"
        Load  "extmod"
        Load  "freetype"
        Load  "glx"
        Load  "int10"
        Load  "type1"
        Load  "vbe"
        Load  "fglrx"
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc."
    BoardName "ATI Radeon (fglrx)"
    Driver "fglrx"
    Option "DPMS"
EndSection
Now, the pertinent part of the log file:

Code:
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Solid Lines
        Dashed Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                30 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x1
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(==) fglrx(0): Using hardware cursor
(II) fglrx(0): Largest offscreen area available: 1920 x 273
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT

(II) fglrx(0): Interrupt handler installed at IRQ 16.
(II) fglrx(0): Exposed events to the /proc interface
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x18000 at 0x2b436f71e000
(II) Open ACPI successful (/var/run/acpid.socket)
(II) APM registered successfully
(II) fglrx(0): UMM Bus area:     0xd0c8d000 (size=0x07373000)
(II) fglrx(0): UMM area:     0xd0c8d000 (size=0x07373000)
(II) fglrx(0): driver needs X.org 7.1.x.y with x.y >= 0.0
(II) fglrx(0): detected X.org 7.1.1.0
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 12, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 12, (OK)
drmOpenByBusid: drmOpenMinor returns 12
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
(EE) AIGLX error: dlopen of /usr/lib64/dri/fglrx_dri.so failed (/usr/lib64/dri/fglrx_dri.so: undefined symbol: _glapi_add_entrypoint)
(EE) AIGLX: reverting to software rendering
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
(II) Mouse1: ps2EnableDataReporting: succeeded
(II) 3rd Button detected: disabling emulate3Button
OK, so it loads the dri module, but then there's a problem with loading the fglrx_dri.so module....but it is there:

Code:
[root@yoda: /home/rcs]$ findr fglrx_dri.so
/usr/lib/dri/fglrx_dri.so
/usr/lib64/dri/fglrx_dri.so
Can anyone clue me in as to how to get this running correctly?

Thanks!
Bob
 
Old 12-25-2006, 01:32 AM   #2
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
I suspect it has to do w/ the fglrx_dri.so thats in lib64. I'm not sure fglrx likes 64 bit much, probably should find a way to force 32 bit.
 
Old 12-25-2006, 02:31 AM   #3
DarkFoss
Member
 
Registered: Apr 2004
Location: DG,IL USA
Distribution: Mandriva Powerpack 2007
Posts: 42

Rep: Reputation: 15
The fglrx drivers do not support AIGLX. You can only run XGL.. Unless you use the Free Radeon driver.
 
Old 12-26-2006, 01:33 AM   #4
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DarkFoss
The fglrx drivers do not support AIGLX. You can only run XGL.. Unless you use the Free Radeon driver.
Tried running the Xgl server (x11-server-xgl)...dragged X down to a crawl, even in Fluxbox and WindowMaker. So I guess this is a no-op. I'm running ati-8.28.8-3plf2007.0 now.

glxgears gives me:

2442 frames in 5.2 seconds = 473.084 FPS
2331 frames in 5.1 seconds = 459.683 FPS
2331 frames in 5.2 seconds = 444.902 FPS
2442 frames in 5.2 seconds = 470.086 FPS
2442 frames in 5.1 seconds = 479.275 FPS

I've seen people with frame rates 10x that with dri enabled, though this isn't a bleeding-edge setup here.

I assume the free driver is: x11-driver-video-ati-6.6.2-1mdv2007.0 ?? Is it any good?

Thanks - Bob
 
Old 12-26-2006, 08:40 AM   #5
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
Quote:
Originally Posted by DarkFoss
The fglrx drivers do not support AIGLX. You can only run XGL.. Unless you use the Free Radeon driver.

Oh thats right. Malibyte you should try out the 'radeon' driver though, that supports your 9600. I'm using Xgl on my x1400 mobility and it runs great in Mandriva 2007.0.
 
Old 12-29-2006, 05:25 PM   #6
NobeyamaGP
Member
 
Registered: Jun 2006
Location: Bedford, IN
Distribution: Kubuntu 7.10, Arch Linux
Posts: 39

Rep: Reputation: 15
Same here. I have a set up similar to yours. AMD Athlon64 3000+ (at stock 2.0 GHz) with 1 GB of ram and an ATi 9600. Fought with it and the proprietary drivers for the better part of a day, before going back to the "Radeon" driver packaged with Mandriva. I was trying to install the latest ATi drivers which I later heard don't support the 9xxx cards anymore. Best I could get out of them was around 270fps. DRI didn't work on the 9600 using the open-source drivers in Mandriva 2006, but now in 2007 they give me better frame rates than I was getting with the proprietary drivers earlier this year. The ATi drivers on 2006 would give me around 1800fps, but the free drivers in 2007 with 16-bit color are giving me 3880fps!

Now all I need is to figure out how to enable the TV-out without the ATi control panel and proprietary drivers...

Last edited by NobeyamaGP; 12-29-2006 at 05:26 PM.
 
Old 12-30-2006, 04:15 AM   #7
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
OK, took your suggestion and switched to the free Radeon driver which came with Mandriva.

Better:

[rcs@yoda: ~]$ glxgears
6349 frames in 5.0 seconds = 1269.786 FPS
6313 frames in 5.0 seconds = 1262.214 FPS
6308 frames in 5.0 seconds = 1261.428 FPS
6305 frames in 5.0 seconds = 1260.838 FPS
5937 frames in 5.0 seconds = 1187.157 FPS
6029 frames in 5.0 seconds = 1205.782 FPS

This is with 24-bit color. Just out of curiosity, what do you get when using 24-bit color?

Thanks for the suggestion - Bob
 
Old 12-30-2006, 10:07 AM   #8
NobeyamaGP
Member
 
Registered: Jun 2006
Location: Bedford, IN
Distribution: Kubuntu 7.10, Arch Linux
Posts: 39

Rep: Reputation: 15
With 24-bit color, I got something in the neighborhood of 2400-2800fps. Not sure what would make the difference between your system and mine. I am using the DVI port on a new LCD screen. Maybe that's the difference in frame rate between us, though I'm not sure.
 
Old 12-30-2006, 12:38 PM   #9
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
Here's my xorg.conf:

Code:
Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "Extensions"
#    Option "Composite"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
        Load  "i2c"
        Load  "v4l"
        Load  "dbe"
        Load  "bitmap"
        Load  "ddc"
        Load  "dri"
        Load  "extmod"
        Load  "freetype"
        Load  "glx"
        Load  "int10"
        Load  "type1"
        Load  "vbe"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "DELL P1110"
    HorizSync 30-121
    VertRefresh 48-160

    # Monitor preferred modeline (85.0 Hz vsync, 91.1 kHz hsync, ratio 5/4)
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc."
    BoardName "ATI Radeon"
    Driver "radeon"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth 16
        Modes "1920x1440" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768"
    EndSubsection

    Subsection "Display"
        Depth 24
        Modes "1920x1440" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection
If you see any significant differences between this one and yours - please let me know - thanks...much appreciated!
Bob
 
Old 12-30-2006, 11:27 PM   #10
NobeyamaGP
Member
 
Registered: Jun 2006
Location: Bedford, IN
Distribution: Kubuntu 7.10, Arch Linux
Posts: 39

Rep: Reputation: 15
One suggestion, you might wish to add
Code:
Option "AGPMode" "8"
to the "devices" section so that it looks like this:
Code:
Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc."
    BoardName "ATI Radeon"
    Driver "radeon"
    Option "DPMS"
    Option "AGPMode" "8"
EndSection
That should set your AGP size to 8x as it should be assuming we have the same card. Not sure if this will help your glxgears scores much, but it's worth a shot and a good thing to have set anyhow. Best of luck.
 
Old 12-31-2006, 03:10 AM   #11
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
It didn't change the frame rate, but you're right, it can't hurt to have it there....now...wonder why my card is running so much slower than yours?!?!? :-/ Maybe you have more on-board video RAM, who knows. This is an older card; I think it has 128MB.

This box is running a 2.4GHz Athlon 64 chip, slightly OC'd to 2.6GHz; 1.5G RAM.

Thanks - Bob
 
Old 12-31-2006, 11:17 AM   #12
NobeyamaGP
Member
 
Registered: Jun 2006
Location: Bedford, IN
Distribution: Kubuntu 7.10, Arch Linux
Posts: 39

Rep: Reputation: 15
Ahah. That's probably it. My card's got 256MB of onboard RAM. It's also from Sapphire which makes gaming cards, so it maybe overclocked a bit.

Last edited by NobeyamaGP; 12-31-2006 at 11:19 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon X800Pro on Mandriva 2007 PP, A problem with ATI drivers... Zibi1981 Linux - Hardware 1 12-17-2006 02:55 AM
Mandriva 2007 and Radeon X800 Graphics Card rrrssssss Linux - Software 6 12-05-2006 09:42 AM
Replacing Nvidia TNT2 video card for ATI Radeon 9250 after Mandriva 2007 is installed Maxei Mandriva 4 12-01-2006 06:45 PM
Mandriva 2007 with ATI Mobility Radeon X1400 msandford88 Mandriva 6 10-10-2006 07:18 AM
aiglx on mandriva 2007 with radeon 9600 Lord of the Board Linux - Newbie 1 10-08-2006 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration