LinuxQuestions.org
Help answer threads with 0 replies.
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 04-01-2005, 04:39 PM   #1
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Rep: Reputation: 30
Can't enable DRI Radeon 7000 AGP


I understand many people have had problems with ATI cards and ATI driver questions have been asked hundreds of times, but it seems like the majority of people's questions have been related to higher numbered cards, for which ATI gives out drivers. I've searched linuxquestions and other forums but to no avail.

I've got a Radeon 7000 in a near default install or xorg. I can't have the xorg config right now but I'll try to get it posted later. I've got The extensions dri, glx, drm and dbe loaded. My kernel, a 2.6.7, has support for DRM, AGP INTEL_AGP and RADEON_DRM. For some reason though, I can't get DRI to work, or from what it seems, even try to turn on. In the Xorg.0.log file, it mentions DPMS being enabled, then it says that DRI is disabled. I've got the options for acceleration turned on, and I've got AGPMode set to 4.

Nothing seems to be working, it doesn't even mention DRI aside from saying that it's off. Any help is appreciated.

EDIT: installing ATI's drivers for X, when I run the shell script to install and test the modules, it says the device isn't there.
The same thing happens when I try to modprobe, it lists the path to the module then says device not found.

-Thanks in advance.

Last edited by slackwarefan; 04-01-2005 at 06:21 PM.
 
Old 04-02-2005, 10:37 AM   #2
PbO
Member
 
Registered: Nov 2003
Location: BC, Canada
Distribution: Slackware 11.0
Posts: 30

Rep: Reputation: 15
You need to use the Xorg radeon driver. The ATI one doesn't support these cards.

I have a 7000/7200 working with DRI, so I'll try to post up what I have for config files sometime later today. I'll see if I can remember all the steps I did too.


Good luck with it.
 
Old 04-02-2005, 03:52 PM   #3
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
I've changed my config to use the radeon driver, still not working. Here's what I've got for my xorg.conf, some of which I inserted after reading your earlier info about a radeon 7200. I've removed the sections for my tv out but still no luck.

Code:
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	#Option	       "Xinerama" "true"
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/Speedo/"
	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  "type1"
	Load  "speedo"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

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

Section "Monitor"

	#DisplaySize	  330   240	# mm
	Identifier   "Monitor0"
	VendorName   "NEC"
	ModelName    "MultiSync 77F"
	Option	    "DPMS"
EndSection


Section "Device"
        Option     "AGPMode" "4"            	# <i>
        Option     "EnablePageFlip" "true"     	# [<bool>]
	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"
Driver "vga"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	DefaultDepth 24
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
	EndSubSection
EndSection
And here's my Xorg.0.log. At the bottom, it says dri is disabled and doesn't state a reason. I don't understand this.

Code:
(II) Primary Device is: PCI 01:00:0
(--) Chipset ATI Radeon VE/7000 QY (AGP/PCI) found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xec121000 - 0xec1210ff (0x100) MX[B]
	[6] -1	0	0xec120000 - 0xec1200ff (0x100) MX[B]
	[7] -1	0	0xe8000000 - 0xe7ffffff (0x0) MX[B]O
	[8] -1	0	0xec020000 - 0xec02ffff (0x10000) MX[B](B)
	[9] -1	0	0xe0000000 - 0xe7ffffff (0x8000000) MX[B](B)
	[10] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[11] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[12] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[13] -1	0	0x0000c400 - 0x0000c40f (0x10) IX[B]
	[14] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[15] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[16] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[17] -1	0	0x0000b400 - 0x0000b4ff (0x100) IX[B]
	[18] -1	0	0x0000b000 - 0x0000b003 (0x4) IX[B]
	[19] -1	0	0x0000ac00 - 0x0000ac07 (0x8) IX[B]
	[20] -1	0	0x0000a800 - 0x0000a803 (0x4) IX[B]
	[21] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[22] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[23] -1	0	0x00009000 - 0x000090ff (0x100) IX[B](B)
(II) Loading sub module "radeon"
(II) LoadModule: "radeon"
(II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) resource ranges after probing:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xec121000 - 0xec1210ff (0x100) MX[B]
	[6] -1	0	0xec120000 - 0xec1200ff (0x100) MX[B]
	[7] -1	0	0xe8000000 - 0xe7ffffff (0x0) MX[B]O
	[8] -1	0	0xec020000 - 0xec02ffff (0x10000) MX[B](B)
	[9] -1	0	0xe0000000 - 0xe7ffffff (0x8000000) MX[B](B)
	[10] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[11] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[12] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[13] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[14] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[15] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[16] -1	0	0x0000c400 - 0x0000c40f (0x10) IX[B]
	[17] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[18] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[19] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[20] -1	0	0x0000b400 - 0x0000b4ff (0x100) IX[B]
	[21] -1	0	0x0000b000 - 0x0000b003 (0x4) IX[B]
	[22] -1	0	0x0000ac00 - 0x0000ac07 (0x8) IX[B]
	[23] -1	0	0x0000a800 - 0x0000a803 (0x4) IX[B]
	[24] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[25] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[26] -1	0	0x00009000 - 0x000090ff (0x100) IX[B](B)
	[27] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[28] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0xec020000
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 0.1.0
	ABI class: X.Org Video Driver, version 0.7
(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 "AGPMode" "4"
(**) RADEON(0): Option "EnablePageFlip" "true"
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 0.7
(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon VE/7000 QY (AGP/PCI)" (ChipID = 0x5159)
(--) RADEON(0): Linear framebuffer at 0xe0000000
(--) RADEON(0): VideoRAM: 32768 kByte (32 bit DDR SDRAM)
(II) RADEON(0): AGP card detected
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 1.2.0
	ABI class: X.Org Video Driver, version 0.7
(II) RADEON(0): I2C bus "DDC" initialized.
(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: 4, 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): DDC Type: 3, Detected Type: 1
(II) RADEON(0): Displays Detected: Monitor1--Type 1, Monitor2--Type 0

(II) RADEON(0): Monitor1 EDID data ---------------------------
(II) RADEON(0): Manufacturer: NEC  Model: 61d2  Serial#: 16843009
(II) RADEON(0): Year: 2003  Week: 16
(II) RADEON(0): EDID Version: 1.3
(II) RADEON(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
(II) RADEON(0): Sync:  Separate  Composite
(II) RADEON(0): Max H-Image Size [cm]: horiz.: 33  vert.: 24
(II) RADEON(0): Gamma: 2.20
(II) RADEON(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) RADEON(0): First detailed timing is preferred mode
(II) RADEON(0): redX: 0.640 redY: 0.322   greenX: 0.277 greenY: 0.598
(II) RADEON(0): blueX: 0.145 blueY: 0.062   whiteX: 0.283 whiteY: 0.297
(II) RADEON(0): Supported VESA Video Modes:
(II) RADEON(0): 720x400@70Hz
(II) RADEON(0): 720x400@88Hz
(II) RADEON(0): 640x480@60Hz
(II) RADEON(0): 640x480@67Hz
(II) RADEON(0): 640x480@72Hz
(II) RADEON(0): 640x480@75Hz
(II) RADEON(0): 800x600@56Hz
(II) RADEON(0): 800x600@60Hz
(II) RADEON(0): 800x600@72Hz
(II) RADEON(0): 800x600@75Hz
(II) RADEON(0): 832x624@75Hz
(II) RADEON(0): 1024x768@60Hz
(II) RADEON(0): 1024x768@70Hz
(II) RADEON(0): 1024x768@75Hz
(II) RADEON(0): Manufacturer's mask: 0
(II) RADEON(0): Supported Future Video Modes:
(II) RADEON(0): #0: hsize: 640  vsize 480  refresh: 85  vid: 22833
(II) RADEON(0): #1: hsize: 800  vsize 600  refresh: 85  vid: 22853
(II) RADEON(0): #2: hsize: 1024  vsize 768  refresh: 85  vid: 22881
(II) RADEON(0): #3: hsize: 1152  vsize 864  refresh: 70  vid: 19057
(II) RADEON(0): #4: hsize: 1280  vsize 960  refresh: 60  vid: 16513
(II) RADEON(0): #5: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 94.5 MHz   Image Size:  310 x 232 mm
(II) RADEON(0): h_active: 1024  h_sync: 1072  h_sync_end 1168 h_blank_end 1376 h_border: 0
(II) RADEON(0): v_active: 768  v_sync: 769  v_sync_end 772 v_blanking: 808 v_border: 0
(II) RADEON(0): Ranges: V min: 55  V max: 120 Hz, H min: 31  H max: 70 kHz, PixClock max 110 MHz
(II) RADEON(0): Monitor name: MultiSync 77F
(II) RADEON(0): Serial No: 3402450YA
(II) RADEON(0): End of Monitor1 EDID data --------------------
(II) RADEON(0): 
(II) RADEON(0): Primary Display == Type 1
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEON(0): Validating modes on Primary head ---------
(II) RADEON(0): Monitor0: Using hsync range of 31.00-70.00 kHz
(II) RADEON(0): Monitor0: Using vrefresh range of 55.00-120.00 Hz
(II) RADEON(0): Clock range:  12.00 to 300.00 MHz
(II) RADEON(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "576x432" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1280x960" (hsync out of range)
(II) RADEON(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1280x1024" (hsync out of range)
(II) RADEON(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1792x1344" (hsync out of range)
(WW) (1400x1050,Monitor0) mode clock 122MHz exceeds DDC maximum 110MHz
(II) RADEON(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1400x1050" (hsync out of range)
(II) RADEON(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "800x512" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "2048x1536" (hsync out of range)
(II) RADEON(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(--) RADEON(0): Virtual size is 1400x1050 (pitch 1408)
(**) RADEON(0): *Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1400x1050"  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync
(**) RADEON(0): *Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
(**) RADEON(0): *Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1280x960"  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync
(**) RADEON(0): *Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(II) RADEON(0): Modeline "1152x864"  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync
(**) RADEON(0): *Default mode "1152x768": 65.0 MHz, 44.2 kHz, 54.8 Hz
(II) RADEON(0): Modeline "1152x768"   65.00  1152 1178 1314 1472  768 771 777 806 +hsync +vsync
(**) RADEON(0): *Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(II) RADEON(0): Modeline "1024x768"   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync
(**) RADEON(0): *Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(II) RADEON(0): Modeline "1024x768"   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync
(**) RADEON(0): *Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(II) RADEON(0): Modeline "1024x768"   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync
(**) RADEON(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1024x768"   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync
(**) RADEON(0): *Default mode "1024x768": 44.9 MHz, 35.5 kHz, 87.1 Hz (I)
(II) RADEON(0): Modeline "1024x768"   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync
(**) RADEON(0): *Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(II) RADEON(0): Modeline "832x624"   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync
(**) RADEON(0): *Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(II) RADEON(0): Modeline "800x600"   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync
(**) RADEON(0): *Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(II) RADEON(0): Modeline "800x600"   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync
(**) RADEON(0): *Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(II) RADEON(0): Modeline "800x600"   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync
(**) RADEON(0): *Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(II) RADEON(0): Modeline "800x600"   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync
(**) RADEON(0): *Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(II) RADEON(0): Modeline "800x600"   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync
(**) RADEON(0): *Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(II) RADEON(0): Modeline "640x480"   36.00  640 696 752 832  480 481 484 509 -hsync -vsync
(**) RADEON(0): *Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(II) RADEON(0): Modeline "640x480"   31.50  640 656 720 840  480 481 484 500 -hsync -vsync
(**) RADEON(0): *Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(II) RADEON(0): Modeline "640x480"   31.50  640 664 704 832  480 489 491 520 -hsync -vsync
(**) RADEON(0): *Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) RADEON(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
(**) RADEON(0): *Default mode "720x400": 35.5 MHz, 37.9 kHz, 85.0 Hz
(II) RADEON(0): Modeline "720x400"   35.50  720 756 828 936  400 401 404 446 -hsync +vsync
(**) RADEON(0): *Default mode "640x400": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) RADEON(0): Modeline "640x400"   31.50  640 672 736 832  400 401 404 445 -hsync +vsync
(**) RADEON(0): *Default mode "640x350": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) RADEON(0): Modeline "640x350"   31.50  640 672 736 832  350 382 385 445 +hsync -vsync
(**) RADEON(0): *Default mode "512x384": 22.4 MHz, 35.5 kHz, 87.1 Hz (D)
(II) RADEON(0): Modeline "512x384"   22.45  512 516 604 632  384 384 388 409 interlace doublescan +hsync +vsync
(**) RADEON(0): *Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(II) RADEON(0): Modeline "416x312"   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync
(**) RADEON(0): *Default mode "400x300": 28.1 MHz, 53.7 kHz, 85.3 Hz (D)
(II) RADEON(0): Modeline "400x300"   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync
(**) RADEON(0): *Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(II) RADEON(0): Modeline "400x300"   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync
(**) RADEON(0): *Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(II) RADEON(0): Modeline "400x300"   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync
(**) RADEON(0): *Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(II) RADEON(0): Modeline "400x300"   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync
(**) RADEON(0): *Default mode "320x240": 18.0 MHz, 43.3 kHz, 85.2 Hz (D)
(II) RADEON(0): Modeline "320x240"   18.00  320 348 376 416  240 240 242 254 doublescan -hsync -vsync
(**) RADEON(0): *Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(II) RADEON(0): Modeline "320x240"   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync
(**) RADEON(0): *Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(II) RADEON(0): Modeline "320x240"   15.75  320 332 352 416  240 244 245 260 doublescan
(--) RADEON(0): Display dimensions: (330, 240) mm
(--) RADEON(0): DPI set to (107, 111)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 0.1.0
	ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 1.1.0
	ABI class: X.Org Video Driver, version 0.7
(**) RADEON(0): Using AGP 4x mode
(II) RADEON(0): AGP Fast Write disabled by default
(II) RADEON(0): Depth moves disabled by default
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/X11R6/lib/modules/libshadowfb.a
(II) Module shadowfb: vendor="X.Org Foundation"
	compiled for 6.7.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.2
(II) RADEON(0): Page flipping enabled
(!!) RADEON(0): For information on using the multimedia capabilities
 of this adapter, please see http://gatos.sf.net.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xec020000 - 0xec02ffff (0x10000) MX[B]
	[1] 0	0	0xe0000000 - 0xe7ffffff (0x8000000) MX[B]
	[2] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[3] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[4] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[5] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[6] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[7] -1	0	0xec121000 - 0xec1210ff (0x100) MX[B]
	[8] -1	0	0xec120000 - 0xec1200ff (0x100) MX[B]
	[9] -1	0	0xe8000000 - 0xe7ffffff (0x0) MX[B]O
	[10] -1	0	0xec020000 - 0xec02ffff (0x10000) MX[B](B)
	[11] -1	0	0xe0000000 - 0xe7ffffff (0x8000000) MX[B](B)
	[12] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
	[13] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
	[14] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
	[15] 0	0	0x00009000 - 0x000090ff (0x100) IX[B]
	[16] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[17] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[18] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[19] -1	0	0x0000c400 - 0x0000c40f (0x10) IX[B]
	[20] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[21] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[22] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[23] -1	0	0x0000b400 - 0x0000b4ff (0x100) IX[B]
	[24] -1	0	0x0000b000 - 0x0000b003 (0x4) IX[B]
	[25] -1	0	0x0000ac00 - 0x0000ac07 (0x8) IX[B]
	[26] -1	0	0x0000a800 - 0x0000a803 (0x4) IX[B]
	[27] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[28] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[29] -1	0	0x00009000 - 0x000090ff (0x100) IX[B](B)
	[30] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[31] 0	0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(WW) RADEON(0): Failed to set up write-combining range (0xe0000000,0x2000000)
(II) RADEON(0): Wrote: rd=12, fd=54, pd=0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xd0c36000
(II) RADEON(0): [drm] mapped SAREA 0xd0c36000 to 0x42276000
(II) RADEON(0): [drm] framebuffer handle = 0xe0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xd0c36000 at 0x42276000
(II) RADEON(0): Memory manager initialized to (0,0) (1408,5957)
(II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 4905
(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
	Dashed Lines
	Scanline Image Writes
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		32 128x128 slots
		32 256x256 slots
		15 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 4902
(**) Option "dpms"
(**) RADEON(0): DPMS enabled
(II) RADEON(0): Direct rendering disabled
 
Old 04-02-2005, 04:26 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
do you have the agpgart module loaded ?
( check with " $lsmod " )

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

Original Poster
Rep: Reputation: 30
The one that came with the ATI package? I can't get those to install right. The install stops with the fglrx driver error.
 
Old 04-02-2005, 04:53 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
no, i mean the one that comes with the kernel.
you could try to logout of X, and do a " #modprobe agpgart " ( as root )
( the fglrx driver will not work for that card )

egag
 
Old 04-02-2005, 05:02 PM   #7
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
I'm pretty sure I've compiled all the video drivers into the kernel, but when I looked at the .config, I couldn't find anything about AGP GART or AGPGART. Where in the kernel config is it?
 
Old 04-02-2005, 10:50 PM   #8
PbO
Member
 
Registered: Nov 2003
Location: BC, Canada
Distribution: Slackware 11.0
Posts: 30

Rep: Reputation: 15
Just guessing, but it looks like egag's idea about checking to see if the agpgart module loaded (or is compiled into kernel, or whatever) is a good idea. Also, do you have

Section "DRI"
Mode 0666
EndSection

in the Xorg config?

What about the GLcore module? As in:

Section "Module"

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 "glx"
Load "dri"
Load "GLcore"

EndSection


Have you checked out the DRI Wiki?

See http://dri.freedesktop.org/wiki/
or
http://dri.freedesktop.org/wiki/DriTroubleshooting

IIRC, I just went through their various troubleshooting steps and got DRI working with the XOrg radeon driver. It was a wonderful moment when glxinfo said:

XXX@xxx:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
OpenGL renderer string: Mesa DRI Radeon 20030328 AGP 4x x86/MMX+/3DNow!+/SSE NO-TCL
OpenGL version string: 1.2 Mesa 6.1

but I'm not sure sure what I did to get there. It was a while ago and I have trouble remember things from last week, let alone last February, when my xorg.conf was last touched...

Hope some of this helps...
 
Old 04-03-2005, 10:56 AM   #9
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
I saw your other post in which you posted your xorg and glxinfo/glxgears output. You were only getting 100FPS on glxgears. I'm currently getting about 250 using software rendering. This isn't going to slow everything down is it?

I don't know exactly where in the kernel config agpgart is so if someone could tell me where in menuconfig it is, that'd probably get me set there.

I do have the DRI section in my xorg config, although I don't have the GL core module, I'll try adding that after this post. My xorg config is posted above.

Also, in regards to working with DRI, I'm currently using the default mesa drivers for xorg. I tried getting mesa 6.2.1 and 6.2 compiling them with make linux-dri-x86, but it dies on
cd dri; make
or some instruction similar to that. There's no makefile in the dri directory, so it doesn't know what to do. Am I supposed to put my own stuff in there?

EDIT: Think I found something.
dmesg | grep drm
Gives [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
After it's initalized. Appearently I don't have the right chip specific agpgart modules loaded. I did "dmesg | grep agp" and it does say agpgart is loading. so it seems what I need to do is load the module for my chipset. Where in the kernel config is that?

Last edited by slackwarefan; 04-03-2005 at 11:07 AM.
 
Old 04-03-2005, 11:55 AM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
for agpgart and agp for your chipset, look under " device drivers--->character devices "

choose agpgart and agp support for your mobo's chipset as modules.
also choose " drm " and under that, " ati radeon " as a module.

and use the " radeon " driver in xorg.conf.

egag
 
Old 04-03-2005, 01:32 PM   #11
PbO
Member
 
Registered: Nov 2003
Location: BC, Canada
Distribution: Slackware 11.0
Posts: 30

Rep: Reputation: 15
Quote:
Originally posted by slackwarefan
[B]I saw your other post in which you posted your xorg and glxinfo/glxgears output. You were only getting 100FPS on glxgears. I'm currently getting about 250 using software rendering. This isn't going to slow everything down is it?
Isn't this all resolution and cpu dependent? I think I got that 100fps in a full sized window at whatever resolution I had at that time. A quick test shows 52fps right now with a full sized window at 1280*1024 running on an Althon 2200+. The default glxgears window produces about 500fps, which climbs to 540fps if I turn off the mp3s playing through XMMS. Glxgears appears to be using 96-98% of the CPU time, so this all seems to make sense to me... The main conclusion I have is that these low end Radeons are kind of lame, no?

Who knows? Tuxracer works much better and smoother than it did under software rendering, which looked alot like a slide show of a penguin sitting on a mountain...


Anyway, I have no real idea on the kernel setup, so I'll leave that to egag. Good luck...

Last edited by PbO; 04-03-2005 at 01:37 PM.
 
Old 04-03-2005, 02:41 PM   #12
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
Ok, I recompiled my kernel, and I got rid of that error in dmesg. Now glxgears runs about 100 FPS slower than it did before. I've still got no hardware acceleration.

I certianly hope I'm close. What else must I do?
 
Old 04-03-2005, 02:45 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well...do some checking...
are the modules loaded ?
look at the xorg.log file for errors/warnings ?

egag
 
Old 04-03-2005, 03:35 PM   #14
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Original Poster
Rep: Reputation: 30
I went through the rest of the DRI troubleshooting wiki, and I got everything working up untill the libGL stuff...

It says I've got to have libGL.so that glxinfo uses pointed at /usr/X11R6/lib/libGL.so.whatever
I had that, and I was getting an error that it said I should get if I don't have it pointed there. I decided mabye I'd try pointing it at the new mesa drivers I'd just compiled. It kicked my FPS back up to 280ish, but after I got rid of the first error via that, I ran into another, it didn't mention
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so.

Which appearntly it's supposed to, so I reverted back to the default X libGL drivers, but I'm stuck in this place. I've got the libGL drivers but I'm getting the errors it says I should only get if I'm not using the default X drivers. I actually get a combination of 2 errors they say I can get...

I get
Code:
libGL error: dlopen /usr/X11R6/lib/modules/dri/radeon_dri.so failed
   (/usr/X11R6/lib/modules/dri/radeon_dri.so: undefined symbol: _glapi_noop_enable_warnings)
and just after that I get
Code:
libGL error: unable to find driver: radeon_dri.so
I'm not quite sure where to go from here. PbO/egag, where is your libGL pointing? what's it say when you
export LIBGL_DEBUG=verbose and run glxgears?
 
Old 04-03-2005, 03:57 PM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
at your last Q. :

----------
egag@Slack21:~$ export LIBGL_DEBUG=verbose
egag@Slack21:~$ glxgears
libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /home/egag/.drirc: No such file or directory.
3696 frames in 5.0 seconds = 739.200 FPS
3764 frames in 5.0 seconds = 752.800 FPS
3768 frames in 5.0 seconds = 753.600 FPS
---
---------

and i do not have a /lib/modules/dri .... directory ? is that from the mesa drivers ?


and the links of libGL
---------
egag@Slack21:~$ ls -l /usr/lib/libGL*
lrwxrwxrwx 1 root root 23 2005-02-25 15:41 /usr/lib/libGL.so -> /usr/X11R6/lib/libGL.so*
lrwxrwxrwx 1 root root 25 2005-02-25 15:41 /usr/lib/libGL.so.1 -> /usr/X11R6/lib/libGL.so.1*
egag@Slack21:~$ ls -l /usr/X11R6/lib/libGL*
-rw-r--r-- 1 root root 611414 2005-02-14 07:07 /usr/X11R6/lib/libGL.a
lrwxrwxrwx 1 root root 12 2005-02-25 15:41 /usr/X11R6/lib/libGL.so -> libGL.so.1.2*
lrwxrwxrwx 1 root root 12 2005-02-25 15:41 /usr/X11R6/lib/libGL.so.1 -> libGL.so.1.2*
-rwxr-xr-x 1 root root 542479 2005-02-14 07:14 /usr/X11R6/lib/libGL.so.1.2*
-rw-r--r-- 1 root root 659352 2005-02-14 07:07 /usr/X11R6/lib/libGLU.a
lrwxrwxrwx 1 root root 13 2005-02-25 15:41 /usr/X11R6/lib/libGLU.so -> libGLU.so.1.3*
lrwxrwxrwx 1 root root 13 2005-02-25 15:41 /usr/X11R6/lib/libGLU.so.1 -> libGLU.so.1.3*
-rwxr-xr-x 1 root root 563990 2005-02-14 07:14 /usr/X11R6/lib/libGLU.so.1.3*
-rw-r--r-- 1 root root 27902 2005-02-14 07:07 /usr/X11R6/lib/libGLw.a
lrwxrwxrwx 1 root root 13 2005-02-25 15:41 /usr/X11R6/lib/libGLw.so -> libGLw.so.1.0*
lrwxrwxrwx 1 root root 13 2005-02-25 15:41 /usr/X11R6/lib/libGLw.so.1 -> libGLw.so.1.0*
-rwxr-xr-x 1 root root 26550 2005-02-14 07:14 /usr/X11R6/lib/libGLw.so.1.0*
--------

as you see they are all linked to libGL.so.1.2

egag
 
  


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
Cant get DRI working with ATI Radeon 7000 and Gentoo Linux kofrad Linux - Hardware 21 04-21-2006 01:10 PM
Radeon 7000 no DRI slackwarefan Slackware 23 08-12-2005 02:57 PM
RHEL 4 WS and DRI Radeon VE/7000 chardingLLNL Red Hat 1 07-22-2005 03:27 PM
xorg, can't enable direct rendering, logfile doesn't update Radeon 7000 AGP slackwarefan Linux - Software 0 04-11-2005 10:34 PM
Mobility Radeon 7000, X.org 6.7.0 and DRI fader Slackware 1 01-31-2005 03:47 PM

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

All times are GMT -5. The time now is 11:18 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