LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-21-2005, 10:34 PM   #1
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Rep: Reputation: 30
Radeon 7000 no DRI


My video card continues to plague me. Despite the countless tutorials and troubleshooting guides I've read through over and over again, I can't get direct rendering to work. I look through the logs and it says "Acceleration: enabled" "Direct rendering: Enabled". For some reason though, when I'm actually using X, Direct rendering is disabled.

What might cause it to suddenly shut down?

Any help is appreciated.

-Thank you in advance
 
Old 07-22-2005, 04:29 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
What drivers are you using (kernel, or proprietary)?

Why do you feel that DRI is disabled when you're actually using X, if it's listed as enabled in the logs? I only ask because 3D hardware acceleration is not needed to run X per se, it's needed to run OpenGL applications that require 3D hardware acceleration.

Do any of these run? Start any such from a terminal so you can see any output if it exists. Do they try to run and then fail due to some 'crash' of the video drivers?

Make sure to run

glxinfo |grep 'direct rendering'

before running the program, and then again immediately after. Do you have DRI both before the program starts, and still have it after you exit the program ?
 
Old 07-22-2005, 01:16 PM   #3
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
When I run glxinfo it says that direct rendering is disabled. This is how I know that direct rendering is disabled even though the X logs say it's on.

I'm using the DRI driver to try to run the card because I can't get the new ati drivers to work. I downloaded the install program from ati's website, but instead of presenting me with a gui allowing me to install drivers, the program shows nothing and on the command prompt, say
"verifying integrity"
"Uncompressing"
{uncompressing}
"Deleting temp folder"

It looks like it tried to start but just didn't and deleted the folder containing the things it was going to install.
 
Old 07-22-2005, 02:21 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,718

Rep: Reputation: 48
the standard radeon driver with dri can give 3d acceleration with an ati radeon7000.
can you post the relevant parts of your xorg.conf file. ?
( modules-; device-section )

egag
 
Old 07-22-2005, 05:43 PM   #5
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
...
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "/usr/X11R6/lib/modules/extensions/libdri.a"#"dri"
Load "GLcore"
Load "/usr/X11R6/lib/modules/extensions/libglx.a"#"glx"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection
...
UW PICO(tm) 4.8 File: /etc/X11/xorg.conf Modified
UW PICO(tm) 4.8 File: /etc/X11/xorg.conf


Section "Device"


### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "4" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
Option "EnablePageFlip" "true" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "CloneDisplay" # <i>
#Option "CloneMode" # [<str>]
#Option "CloneVRefresh" # [<str>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon RV100 QY [Radeon 7000/VE]"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
...
Section "DRI"
Mode 0666
EndSection
 
Old 07-22-2005, 05:56 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,718

Rep: Reputation: 48
i miss ...

Load "glx"
Load "dri"

in the modules section.
add these two and try again.

egag
 
Old 07-23-2005, 01:32 AM   #7
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
I had that, I took it out and replaced it with the path to the modules where #dri and #glx are.
 
Old 07-23-2005, 05:56 AM   #8
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Uhhhh, no. You replaced it with the path to the modules where #dri and #glx are???

First of all, why?

Second of all, how was that supposed to help? If the config couldn't find the modules using the default setting, it wasn't going to find them using some custom setting including a full path that the config probably can't even recognize as a setting.

Third of all, it's a PITA, because the location of the modules changes every time you upgrade your kernel. Really, any configuration setup that demands you to be fixing it every time you change an "unrelated" program is inherently flawed, frankly, and should be avoided if possible. Certainly you shouldn't set it up that way yourself.

And last of all, you didn't take out the comment marks ("#"), in front of #dri and #glx, which cause them to be ignored, whether there's a path there or not-- and there need not be a path at all, if the comment marks are not there. X.org is supposed to know where the modules are.

So try the setting exactly as egag has provided it:
Code:
Load "glx"
Load "dri"
In the modules section, and see if that works. It should, since your kernel seems to be set up correctly.
 
Old 07-23-2005, 12:01 PM   #9
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
I read on ubuntu forums that replacing the name of the module with the location would make dri work. I don't know wh but someone said they got results. Changing it back to the old xorg.conf with
load "dri"
and
load "glx"
did nothing for the 3d acceleration
 
Old 07-23-2005, 01:05 PM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,718

Rep: Reputation: 48
well...not as easy as i thought...
can you post the output of :

dmesg |grep drm

and

dmesg |grep agp

also, can you try with the line ' Option "AGPMode" "4" ' commented out ?
( that line gives prob.'s here with my 9200se )

egag
 
Old 07-23-2005, 04:47 PM   #11
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
[drm] Initialized drm 1.0.0 20040925
[drm] Initialized radeon 1.14.0 20050125 on minor 0: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]


...


Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: AGP aperture is 64M @ 0xe8000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode


Commenting out the AGP section did nothing.

Last edited by slackwarefan; 07-23-2005 at 04:49 PM.
 
Old 07-23-2005, 05:18 PM   #12
neofax
LQ Newbie
 
Registered: Jul 2004
Location: Marysville, CA
Distribution: SuSE 9.1
Posts: 3

Rep: Reputation: 0
Have you also added,

Section "DRI"
mode 0666
EndSection

at the end of your /etc/X11/xorg.conf file? This sets the DRI driver up so programs can use the driver.
 
Old 07-23-2005, 05:40 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,718

Rep: Reputation: 48
neofax--he posted the relevant sections in post#5 of this thread.

slackwarefan--do you have agpgart as a module ?
i think that agp is not working ok.
also i read on the dri site that your card only patially supports direct rendering.
see :http://dri.freedesktop.org/wiki/DriTroubleshooting

egag
 
Old 07-23-2005, 08:27 PM   #14
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
I think I've got agpgart compiled in not as a module.
 
Old 07-23-2005, 08:36 PM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,718

Rep: Reputation: 48
you could try to recompile and choose agpgart and
the agp driver for your mobo-chipset as modules.

and btw : what fps do you get when you run " glxgears " ?

egag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant get DRI working with ATI Radeon 7000 and Gentoo Linux kofrad Linux - Hardware 21 04-21-2006 01:10 PM
RHEL 4 WS and DRI Radeon VE/7000 chardingLLNL Red Hat 1 07-22-2005 03:27 PM
Can't enable DRI Radeon 7000 AGP slackwarefan Slackware 22 04-05-2005 04:23 PM
Mobility Radeon 7000, X.org 6.7.0 and DRI fader Slackware 1 01-31-2005 03:47 PM
hello a new in linux and i got a big problem with my ati radeon 7000/radeon ve card AKAKAK Linux - Hardware 0 01-19-2005 09:39 AM


All times are GMT -5. The time now is 10:01 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration