LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2006, 08:56 PM   #1
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Rep: Reputation: 15
Radeon 9000 to 9500 upgrade problems


I recently upgraded from a radeon 9000 to a radeon 9500 pro. I am running the fglrx driver from livna and now glxgears reports much higher fps. When I try to run the ati fglrx display settings I get "Driver does not provide the FireGl X11 extensions! Panel components will operate only partially" Inside that program it tell me I have a generic 9700 and there are no settings for me to configure. Also, in my xorg.conf it still has the name of the old card. My process of upgrading was to turn the system off, switch the cards out and turn the system back on. I didn't change any configuration settings.

My question is this, are there settings that I need to change in order to have the 9500/9700 work properly or is everything working like it should?

Fedora Core 5

uname -r
2.6.17-1.2187_FC5

lspci
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:0e.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 04)
00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300 NE [Radeon 9500 Pro]
01:00.1 Display controller: ATI Technologies Inc Radeon R300 [Radeon 9500 Pro] (Secondary)
xorg.conf
Code:
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
	FontPath     "unix/:7100"
EndSection

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

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# 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"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Dell E772c"
	DisplaySize  320	240
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    30.0 - 70.0
	VertRefresh  50.0 - 160.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "fglrx"
	VendorName  "Videocard vendor"
	BoardName   "ATI Technologies Inc Radeon RV250 If [Radeon 9000]"
	Option	    "VideoOverlay" "on"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
 
Old 09-23-2006, 01:00 PM   #2
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Run:

Code:
glxinfo | grep direct
And make sure it says "direct rendering: Yes".

If so, then run "glxgears" and check the framerate. If it is running in the 1000-3000 FPS range, everything is working fine
 
Old 09-25-2006, 02:31 AM   #3
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
direct rendering is yes

FPS is only around 275
 
Old 09-25-2006, 11:27 AM   #4
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Run: "glxinfo | grep OpenGL"
 
Old 09-25-2006, 07:21 PM   #5
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
glxinfo | grep OpenGL

Code:
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.6011 (8.28.8)
OpenGL extensions:
 
Old 09-26-2006, 05:42 PM   #6
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Wow... not what I was expecting...

With my Radeon on Linux experiences, I was always fighting with the drivers trying to get them to be used instead of the default Mesa drivers.

But it's actually using ATI's drivers, which confuses me...

It says you're running 8.28.8 drivers, the newest version is 8.29.6. Try upgrading, see if that works. If it still doesn't work, post a copy of your /etc/X11/Xorg.0.log.
 
Old 09-27-2006, 11:14 AM   #7
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Unfortunatly now I have direct rendering disabled and mesa for the opengl drivers.

My method for upgrading was switch back to radeon driver, uninstall fglrx, reboot, download driver from ati website (livna didn't have an updated version), run their install program. It switched everything to 1280x1024 (I prefer 1024x768) and disabled renderig and made mesa the opengl driver. glxgears is now around 150

I will post the log file tonight, it is freaking long and I will probably only post the last part of it unless you think I should post the whole thing
 
Old 09-27-2006, 10:31 PM   #8
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
after skimming through my /var/log/Xorg.0.log (you meant /var/log/Xorg.0.log and not /etc/X11/Xorg.0.log right? Cause I don't have that one) I have found a couple errors and will post them below. I will post the whole file if necessary, but it is 949 lines long.

I believe these errors are my problem, but how do I fix them?

Code:
(II) fglrx(0): UMM Bus area:     0xf0501000 (size=0x07aff000)
(II) fglrx(0): UMM area:     0xf0501000 (size=0x07aff000)
(II) fglrx(0): driver needs X.org 6.8.x.y with x.y >= 99.8
(II) fglrx(0): detected X.org 7.0.0.0
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
Code:
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Reloading /usr/lib/xorg/modules/linux/libdrm.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(WW) fglrx(0): Failed to open DRM connection
 
Old 09-28-2006, 12:02 AM   #9
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Quote:
Originally Posted by tgm4883
after skimming through my /var/log/Xorg.0.log (you meant /var/log/Xorg.0.log and not /etc/X11/Xorg.0.log right? Cause I don't have that one) I have found a couple errors and will post them below. I will post the whole file if necessary, but it is 949 lines long
/var/log/Xorg.0.log, right. I was mixing up the xorg.conf path with it

As for the actual error... I don't know. I've seen that error before, but I usually had to wait until ATI fixed their driver.

I've been fighting with the FGLRX drivers for 4 years now. They're terrible. ATI just has terrible Linux support and always has. Eventually you get a version of their drivers that work for your card (try older drivers).

IF YOU GET IT WORKING DON'T TOUCH IT! EVER! Don't bother upgrading X, don't bother upgrading your drivers, and don't bother even upgrading your kernel. That's the best advice I can give you. Even reverting back when you do upgrade becomes a pain in the butt.

Also, look around the Internet for various FGLRX patches, sometimes there are some for specific kernels that will fix problems you have.

Why exactly, by the way, do you need 3d rendering support? Sure you don't have access to ATI's control panel, but it's useless anyway.

If you are planning on playing games or something, you chose the wrong card for that . I've had Enemy Territory and RTCW working for about a month, then couldn't ever get it working again (with an ATI card).

Sorry I couldn't help you more
 
Old 09-28-2006, 12:57 AM   #10
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Why exactly, by the way, do you need 3d rendering support? Sure you don't have access to ATI's control panel, but it's useless anyway.

If you are planning on playing games or something, you chose the wrong card for that . I've had Enemy Territory and RTCW working for about a month, then couldn't ever get it working again (with an ATI card)
Thats sad news for me, I was hoping to get some games working or at least some 3d screen savers. Sooner or later I would like to setup dual monitors. I suppose I will search for a patch, if that doesn't work I will just focus on the dual head.
 
Old 09-28-2006, 10:21 AM   #11
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Quote:
Originally Posted by tgm4883
Thats sad news for me, I was hoping to get some games working or at least some 3d screen savers. Sooner or later I would like to setup dual monitors. I suppose I will search for a patch, if that doesn't work I will just focus on the dual head.

You can get the DRI radeon drivers working with 3d screen savers quite well, and in fact it appears that my TV out is working without the FGLRX drivers now as well. You may have some luck with the DRI radeon drivers, they seem to be working on them more.

I would also recommend trying the Knoppix Live CD. Try running glxgears on that to see how fast it gets... I've never been able to set it up myself, but I always seem to have 2000+ FPS on the DRI radeon drivers using Knoppix

If you get the DRI radeon drivers working that well, then games WOULD work . I've never taken the time to try, though.
 
Old 09-28-2006, 10:43 AM   #12
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Aeiri
You can get the DRI radeon drivers working with 3d screen savers quite well, and in fact it appears that my TV out is working without the FGLRX drivers now as well. You may have some luck with the DRI radeon drivers, they seem to be working on them more.

I would also recommend trying the Knoppix Live CD. Try running glxgears on that to see how fast it gets... I've never been able to set it up myself, but I always seem to have 2000+ FPS on the DRI radeon drivers using Knoppix

If you get the DRI radeon drivers working that well, then games WOULD work . I've never taken the time to try, though.
Worth a shot, off to download knoppix
 
Old 09-28-2006, 02:08 PM   #13
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
I had a 9800 a while back, which worked fine once I got the fscking PITA driver installed.

Quote:
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
adrmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
Ah, an error message I came to know well.

Try loading the module from the console and see what it says. If it won't load, try recompiling the module by hand (cd /lib/modules/fglrx/build; make; cd ..; ./make_install.sh). Or something like that anyway. If that works, make sure you have shared memory enabled and mounted (/dev/shm). 3D wouldn't work for me until I mounted tmpfs on /dev/shm (you can test this with "strace 2> strace_glxgears glxgears" and grepping strace_glxgears for reference to /dev/shm. My problem was it was trying to access shared memory on /dev/shm, but it wasn't mounted, so it was just creating a regular file).

And, Aeiri's suggestion "IF YOU GET IT WORKING DON'T TOUCH IT! EVER!" is a good one. Heed it! The ATI driver(s) do work, eventually (sometimes), but they truly are a total PITA to set up.

BTW, I also had dual-head (both separate screens and "Big Screen" mode) working fine, if you have any problems with that, post it and I'll see if I can dig out my old config (this was back with 8.16.20 or something like that though, I don't know if anything has changed since).

Last edited by soggycornflake; 09-28-2006 at 02:13 PM.
 
Old 09-28-2006, 07:55 PM   #14
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
The ATI drivers have changed a lot recently... they made a GUI and remade the command line interface (no more fglrxconfig, its aticonfig and it's not a setup process but a feature toggling thing, or something)... I haven't actually gotten used to it, it sucks in comparison (I still use a copy of fglrxconfig ).

Anyway, the /dev/shm thing is actually a very very important thing to try. I did that so long ago (~1.5 years) that I actually FORGOT that I had /dev/shm mounted as tmpfs, and I recall it fixing a lot of problems.
 
Old 09-28-2006, 10:01 PM   #15
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Ok, I have a couple questions now that may fix some of these problems. Here is what I did. I was searching the forums and came across another thread reguarding a 9550. In that thread there was alot of info, but the kicker here is....I didn't have my kernel headers or gcc installed. I installed those and reinstalled the ati driver from ati (not the one from livna) and voila now I have the new driver, and opengl works and direct rendering is enabled. A little worried that glxgears still reports only 250FPS while fgl_glxgears reports between 500-600 but as long as it works then im a little happier anyway.

My questions are these.

1. How does yumex/rpms work? I ask this because I want to know if when I download the fglrx driver through yumex from livna, does it interact in any way with my kernel headers and gcc? I just wonder if this is why I was having problems with those drivers.

2. Reguarding updating. Coming from XP I am so use to downloading updates that it is just second nature to me. I usually fire up yumex once a day just to see if there are any updates. I guess I can thank MS for breaking my computer with their updates sending me over the edge and into linux completely. So if I plan on not updating with every update, where would be a good place to find news on security updates. I would like to just update if there is a security hole that has been patched. Would give me a little peace of mind knowing if there are holes that need patched or not.

3. Maybe a question for a new thread, but is it possible to have multiple monitors (I have them working as cloned and big screen). I want each monitor to represent a different workspace.

4. Back to the fglrx drivers, would I gain anything by going back to the drivers from livna? Or should I just stop messing with them?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Radeon 9000 Problems moneyshotz Slackware 3 07-07-2004 03:13 PM
Problems with my monitors on a Radeon 9500 Pro danhm Linux - Hardware 0 01-21-2004 07:51 PM
Gentoo radeon 9000 problems iq_n0ob Linux - Distributions 4 11-06-2003 08:51 PM
Radeon 9500 pro and Modem problems mattblack_uk Linux - Hardware 0 08-12-2003 04:59 AM
Radeon 9500 Pro Problems d4harvey Linux - Hardware 0 07-23-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration