LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-13-2006, 02:19 PM   #1
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
ATI drivers and direct rendering.. problems


Sorry if this has been posted before, I really couldn't find anything good.
I've got a Radeon 9000 pro and Slackware 10.1 that I've updated to -current. I installed the ATI Linux driver using the automatic installer. I ran aticonfig --initial like the installer said and everything seemed to work fine. Still, when I run glxinfo it says no to direct rendering.
Here is my xorg.conf:


# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#
# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
# **********************************************************************
# Server flags section.
# **********************************************************************
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
# Device configured by xorgconfig:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
# Section "DRI"
# Mode 0666
# EndSection

Section "ServerLayout"

# The Identifier line must be present
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
Identifier "Simple Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
# This loads the GLX module
# Load "dri"
# Load "dri"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
Load "glx"
# This loads the DRI module
EndSection

Section "InputDevice"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for Xorg
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"

# Identifier and driver
# Option "Resolution" "256"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
# Mouse-speed setting for PS/2 mouse.
Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection

Section "Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
Identifier "My Monitor"
HorizSync 31.5 - 82.0
VertRefresh 50.0 - 90.0
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.
# Chipset "generic"
# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection

Section "Device"

#VideoRam 65536
# Insert Clocks lines here if appropriate
Identifier "** ATI Radeon (generic) [radeon]"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "** ATI Radeon (generic) [radeon]"
Monitor "My Monitor"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1024x768" "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
 
Old 07-13-2006, 03:39 PM   #2
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Well, I don't have much experience with ATI, actually not at all, I've always used Nvidia. For starters I must tell you that ATI sucks in support for Linux. Secondly, why do you have 3 Device sections and 2 Screen sections ? I don't think that is correct.
Cause 1 device is using the "vga" driver, the second is using the "radeon" driver and third "fglrx" ??? For nvidia, after I install the driver i get a module and driver named "nvidia" which i use in my xorg.conf. So by looking at your conf file looks like "fglrx" would be your module/driver configured by ati-config. So your xorg.conf file should look like this:

Quote:
Section "ServerLayout"
Identifier "Simple Layout"
Screen "aticonfig-Screen[0]" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

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 "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
HorizSync 31.5 - 82.0
VertRefresh 50.0 - 90.0
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
Move your /etc/X11/xorg.conf to /etc/X11/xorg.conf and create another empty /etc/X11/xorg.conf , then copy and paste the above config I gaved you and give it a try. You can try changing the Driver "fglrx" to Driver "radeon" or whatever is the real driver that your ATI drivers installed.
 
Old 07-13-2006, 03:39 PM   #3
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Besides needing to uncomment the "Section "DRI"" lines, there are lots of posts on Rage3D that r200 acceleration is broken with the current fglrx drivers anyway.

You're probably far better sticking to using X.Org's built in drivers, since they are accelerated for the R200 series (which covers your Radeon 9000), and are reported to have better performance/ stability then ATI's drivers.
 
Old 07-13-2006, 03:43 PM   #4
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
You need to uncomment DRI with ATI drivers ??? With Nvidia I had to comment out DRI and remove it from Kernel support. Anyway, if you must, you must.....
 
Old 07-13-2006, 04:48 PM   #5
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cathectic
Besides needing to uncomment the "Section "DRI"" lines, there are lots of posts on Rage3D that r200 acceleration is broken with the current fglrx drivers anyway.

You're probably far better sticking to using X.Org's built in drivers, since they are accelerated for the R200 series (which covers your Radeon 9000), and are reported to have better performance/ stability then ATI's drivers.
Thanks,
I used xorgconfig did everything like I did when I installed, then went into the xorg.conf file and uncommented DRI. Restarted X, and still no direct rendering.

Quote:
Originally Posted by nykey
Well, I don't have much experience with ATI, actually not at all, I've always used Nvidia. For starters I must tell you that ATI sucks in support for Linux. Secondly, why do you have 3 Device sections and 2 Screen sections ? I don't think that is correct.
Cause 1 device is using the "vga" driver, the second is using the "radeon" driver and third "fglrx" ??? For nvidia, after I install the driver i get a module and driver named "nvidia" which i use in my xorg.conf. So by looking at your conf file looks like "fglrx" would be your module/driver configured by ati-config. So your xorg.conf file should look like this:
thanks,
I tried your xorg.conf but still no direct rendering. Tried with 'radeon' 'fglrx' but nothing.
 
Old 07-13-2006, 05:13 PM   #6
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Well, sry but this is as far as I would be able to talk about anything related to ATI. And again, another example of ATI's poor support for Linux. Maybe you should just go ahead and change your card with an equally nvidia, and then you'll have everything setup in just few steps: download driver, sh NVIDIA-blah-blah.sh , answer 2-3 questions, wait a little untill it installs, let the driver configure your xorg.conf, startx ! and everything is working if done like it should 100%.
 
Old 07-13-2006, 05:32 PM   #7
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Did you also comment out the Load "dri" line?
 
Old 07-13-2006, 06:08 PM   #8
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Ilgar
Did you also comment out the Load "dri" line?
Tried it commented, tried it uncommented. Neither worked.
 
Old 07-13-2006, 06:23 PM   #9
Hyakutake
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware
Posts: 154

Rep: Reputation: 19
Hi, have you read this: http://www.linuxquestions.org/questi...d.php?t=402003 ?
This thread shows how to install correctly ati's driver.
In my case I have an Radeon 9600 Pro with driver 8.26.18 from ati and kernel 2.6.17.4

As to install it i need to compile the kernel with these options

* Loadable module support -> Enable loadable module support: ENABLED
* Loadable module support -> Module unloading: ENABLED
* Loadable module support -> Automatic kernel module loading: ENABLED
* File systems -> Pseudo filesystems -> Virtual memory file system support: ENABLED
* Processor type and features -> MTRR (Memory Type Range Register) support: ENABLED
* Device drivers -> Character Devices -> /dev/agpgart (AGP Support): MODULE
* Device drivers -> Character Devices -> (pick the correct AGP chipset option from the list, depending on your motherboard): MODULE
* Device drivers -> Character Devices -> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support): DISABLED


I dont use aticonfig, have my own xorg.conf. This is my actual xorg.conf

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option "AutoRepeat" "500 30"
	Option "XkbRules"	"xorg"
	Option "XkbModel"	"pc105"
	Option "XkbLayout"	"pt"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
	Option      "ZAxisMapping" "4 5"
	Option      "Buttons" "5"
EndSection

Section "Monitor"
	#DisplaySize	  330   250	# mm
	Identifier   "Monitor0"
	VendorName   "GSM"
	ModelName    ""
	HorizSync    30.0 - 70.0
	VertRefresh  50.0 - 160.0
	Option	    "DPMS"
EndSection

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     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "GARTSize"           	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "PanelOff"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "MonitorLayout"      	# [<str>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "MergedFB"           	# [<bool>]
        #Option     "CRT2HSync"          	# [<str>]
        #Option     "CRT2VRefresh"       	# [<str>]
        #Option     "CRT2Position"       	# [<str>]
        #Option     "MetaModes"          	# [<str>]
        #Option     "MergedDPI"          	# [<str>]
        #Option     "NoMergedXinerama"   	# [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0" 	# [<bool>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "DynamicClocks"      	# [<bool>]
	Identifier  "Card0"
	Driver      "fglrx"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 AP [Radeon 9600]"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
                   Modes       "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
                   Modes       "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
                   Modes       "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
                   Modes       "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
                   Modes       "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
                   Modes       "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
        Mode   0666
EndSection
Add to /etc/fstab
"tmpfs /dev/shm tmpfs defaults 0 0" (without quotes)

Rebooted and it works fine.
Got everything working good. fglrxgears sgows 3000+ fps

Last edited by Hyakutake; 07-13-2006 at 06:25 PM.
 
Old 07-13-2006, 08:09 PM   #10
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
So, I recompile my kernel with the options mentioned above, do the Posix thing, and then install the ati drivers?
 
Old 07-13-2006, 09:06 PM   #11
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Read my post about DRI (Link in my sig)

How are you checking for DRI? 'glxinfo'? Are you doing that as a user, or logged in as root?

Last edited by cwwilson721; 07-17-2006 at 10:24 PM.
 
Old 07-14-2006, 06:03 AM   #12
Hyakutake
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware
Posts: 154

Rep: Reputation: 19
That's what i did and been doing it for awhile, but follow cwwilson721 instructions, he knows best what to do
 
Old 07-14-2006, 09:40 AM   #13
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Ok, followed all of those, after kernel recompile and the posix think still no direct rendering. I'm running glxinfo as root. I installed the ati drivers like the other guy said using the xorg package. I guess it got screwed somewhere because I had no 'fglrxconfig'. I did updatedb and searched for it and everything. It's just not there. I ran aticonfig --initial again hoping it would work but it didn't.

I looked in the log and it still says "direct rendering disabled".

Last edited by deftones; 07-14-2006 at 10:03 AM.
 
Old 07-14-2006, 02:50 PM   #14
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Ok screw it. I'll just by a new nVidia card. ATI's cards suck anyway.

Thanks for the help anyway.
 
Old 07-14-2006, 04:14 PM   #15
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
very good choice, you'll notice the difference, while setting up ATI takes hours/days or you may never get it to work, with Nvidia after running the install command, it should take more than a couple of minutes, depending on your hardware. Good luck.
 
  


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
ATI x86_64 proprietary drivers fail to start direct rendering svenwinkle Linux - Hardware 3 09-20-2005 01:15 PM
Ati Mobility x600 Direct rendering help jplev22 Linux - Hardware 4 09-15-2005 04:28 PM
Direct Rendering (ATI Radeon) xbuzz Linux - Newbie 8 06-03-2005 05:38 PM
How do i get direct rendering ATI 8500? glenn69 Linux - Newbie 0 10-07-2004 10:25 PM
ATI Radeon Direct Rendering chodviolin Linux - Hardware 0 03-27-2004 02:23 PM

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

All times are GMT -5. The time now is 09:44 AM.

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