LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 08-23-2006, 05:42 PM   #1
Sygnus X1
LQ Newbie
 
Registered: Dec 2004
Distribution: Red Hat Fedora Core 1
Posts: 19

Rep: Reputation: 0
[ATI] Video Driver Problem - I think....


I don't really know whats going on with my video card. I recently updated to FC5, and have been having problems with it since. Prior to the update, all my games ran perfectly with hardware 3d rendering.

*I'm running on a IMB Thinkpad T43 notebook

*The video card is ATI Mobility Radeon X300

*I'm using the drivers from the ATI site EDIT: found out im just using default drivers with FC 5

On the FedoraFAQ, I found the section where it tells about installing the drivers for your ATI card using yum. The drivers where the fglrx. I update my xorg.conf, and these drivers didn't work. I just got a white screen with a purple splotch in the middle that would slowly turn colors... it wasn't good. So I changed my xorg.conf back using the rescue CD. So now I'm back to using the ATI drivers from the site.

Whenever I run a 3D game using the drivers (such as UT2004 for linux, or WoW using Cedega) it runs at less than 1 FPS... in fact its about 1 frame every 5 seconds. I know it has to be a software issue because everything worked fine before I updated to FC5, at which time I was also using the drivers from the ATI site.

EDIT: Actually, it turns out I'm not using the drivers from the ATI site, those won't work. I don't know what the deal is...

heres my xorg.conf
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
        InputDevice    "Mouse0" "AlwaysCore"
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  "synaptics"
        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 "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1280x1024"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    31.5 - 67.0
        VertRefresh  50.0 - 75.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"
        VendorName  "Videocard vendor"
        BoardName   "ATI Technologies Inc M22 [Radeon Mobility M300]"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1280x1024"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection
Thanks for your ideas and help.

Last edited by Sygnus X1; 08-24-2006 at 05:20 PM.
 
Old 08-25-2006, 01:58 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Your xorg conf looks fine to me. But how about if you try the ones from livna?
Take a look at this page they do a great job for ATI and NVIDIA Cards as well.
http://rpm.livna.org/livna-switcher.html

regards
 
Old 08-25-2006, 06:02 PM   #3
Sygnus X1
LQ Newbie
 
Registered: Dec 2004
Distribution: Red Hat Fedora Core 1
Posts: 19

Original Poster
Rep: Reputation: 0
I installed kmod-fglrx.
I can't seem to get it enabled though. Any help?

EDIT: used ati-fglrx-config-display enable

didn't work. When X tries to load it said that it couldn't open the fglrx library. I checked and it was there. Also, half my programs won't load because it says that they can't load the shared library usr/lib/ati-fglrx/libGL.so.1


Last edited by Sygnus X1; 08-25-2006 at 07:49 PM.
 
Old 08-27-2006, 12:09 PM   #4
Sygnus X1
LQ Newbie
 
Registered: Dec 2004
Distribution: Red Hat Fedora Core 1
Posts: 19

Original Poster
Rep: Reputation: 0
I've gotten everything working. I had to reinstall my kernel and then the drivers. I don't know why, but it worked.
 
Old 08-27-2006, 10:08 PM   #5
Sygnus X1
LQ Newbie
 
Registered: Dec 2004
Distribution: Red Hat Fedora Core 1
Posts: 19

Original Poster
Rep: Reputation: 0
I take that back...

I have the OpenGl part working, but I have no hardware acceleration.
Here's my new xorg.conf and yes, I have used aticonfig.
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
	InputDevice    "Mouse0" "AlwaysCore"
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  "synaptics"
	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 "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "aticonfig-Monitor[0]"
	ModelName    "LCD Panel 1280x1024"
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    31.5 - 67.0
	VertRefresh  50.0 - 75.0
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "UseInternalAGPGART" "no"
	Option	    "VideoOverlay" "on"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
Again, I have an ATI Mobility X300 on a IBM T43 laptop. I'm using kmod-fglrx for my drivers.

Heres the output of fglrxinfo:
Code:
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X300 Generic
OpenGL version string: 2.0.6011 (8.28.8)
 
Old 09-04-2006, 12:04 PM   #6
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Rep: Reputation: 15
Try run Xorg -configure (in init 3 mode), i'm not sure but i can't see set resolutions in your xorg.conf output. And your kmod-fglrx module must be same version as your kernel for example: kmod-fglrx-2.2.6.17_1.2157_FC5(kernel fglrx module) and kernel-2.6.17-1.2157_FC5(installed kernel). And run lsmod (you must have there in listing fglrx module) and modinfo fglrx (gives informations about fglrx module) See glxinfo and dmesg for debug messages, you can send these too, for examination.
 
Old 09-04-2006, 12:10 PM   #7
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Rep: Reputation: 15
And if you have troubless with ati proprietary driver- use only kmod-fglrx module at first, after it works(kmod-fglrx) then install ati proprietary driver, run ati-config --initial --input=/etc/X11/xorg.conf -> it will found fglrx section and will nothing change(little bit improves look of desktop). see glxinfo instead fglrxinfo for:

direct rendering: Yes >>>>>>> it is 3rd line in listing
 
Old 09-05-2006, 01:36 AM   #8
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
And here is the whole Ati grap on the FC Site.
http://www.fedorafaq.org/#radeon


;-)


But I would still recoomend using the one from livna and the whole thread would have been finished much earlier.
Hopefully you've now 3d Support
regards
 
  


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
I broke my video driver (ATI)... ZoMBiE_KiLLeR Linux - Newbie 6 04-30-2006 04:09 PM
ATI Radeon 7000 video driver Progmaker Linux - Hardware 3 02-04-2006 06:06 PM
ATI video driver on SUSE 10.0? danovich SUSE / openSUSE 1 10-08-2005 06:10 AM
ATI driver was installed - No Video rjbippes Linux - Software 4 12-21-2004 04:36 AM
ATI Video Card Driver Issue vegetacron Linux - Hardware 1 10-15-2004 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:25 PM.

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