LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-23-2006, 10:21 AM   #1
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Rep: Reputation: 33
OpenGL woes


Is it me or the ATI + OpenGL drivers offered with 10.2 suck. Just as an example if I select any of the OpenGL based screensavers the image on the screen moves so slow that I some times wokder if stuck there.

Now I've tried FreeBSD on this same laptop and the OpenGL SS worked just fine.

Is there any way to just update OpenGL libraries?
 
Old 03-23-2006, 10:24 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Do you get any error when you run glxgears?
 
Old 03-23-2006, 10:35 AM   #3
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Original Poster
Rep: Reputation: 33
nope no errors... just very slow screen refresh
 
Old 03-23-2006, 11:19 AM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
How up-to-date is the ATI chip in the laptop? Mine has a Radeon IGP320 and I have the same experience. I think the Xorg driver is just not suitable for full screen OpenGL apps. Running in a window they're fine but that doesn't help screen savers. I haven't tried any third party drivers, though.
 
Old 03-23-2006, 12:05 PM   #5
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
I have an ATi 9600 M10 (128MB) laptop and yes, the Xorg drivers are slow (glxgears at ~350fps). I've tried using ATi's drivers and got 4-5000 fps, a system that crashed every 2 days and wouldn't cleanly exit X (often locked up w/ blank screen).

Do you still have FreeBSD on it? Check the xorg.conf to see if they're using the same drivers?
 
Old 03-23-2006, 12:20 PM   #6
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Unless I'm mistaken the OpenGL drivers included with Slackware (and most other distros) are software rendering only (i.e. slow).

You need to install the proper ATI hardware accelerated fglrx drivers.
 
Old 03-23-2006, 03:58 PM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
They are right about the ATI driver. I have a Gateway XM7527 laptop with an ATI x600 graphics card. Before I installed the ATI driver, I got 350fps or so.

Now my glx gears looks like this:
Code:
16932 frames in 5.0 seconds = 3386.400 FPS
17910 frames in 5.0 seconds = 3582.000 FPS
17907 frames in 5.0 seconds = 3581.400 FPS
Here is my xorg.conf file:
Code:
Section "ServerLayout"
	Identifier     "Simple Layout"
	Screen      0  "aticonfig Screen 0" 0 0
	Screen         "aticonfig Screen 1" Above "aticonfig Screen 0"
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
	Option	    "StandbyTime" "10"
	Option	    "SuspendTime" "20"
	Option	    "OffTime" "30"
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"
	FontPath     "/usr/local/share/fonts"
	FontPath     "/root/.fonts"
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"
	Load  "dri"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "500 30"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
	Option	    "XkbOptions" "grp:menu_toggle,lv3:win_switch,ctrl:nocaps,grp_led:scroll,caps:internal"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "Auto"
	Option	    "Device" "/dev/mouse"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons"
EndSection

Section "Monitor"
	Identifier   "My Monitor"
	HorizSync    30.0 - 60.0
	VertRefresh  50.0 - 120.0
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "aticonfig Monitor 0"
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "aticonfig Monitor 1"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Standard VGA"
	Driver      "vga"
	VendorName  "Unknown"
	BoardName   "Unknown"
EndSection

Section "Device"
	Identifier  "** ATI (generic)                      [ati]"
	Driver      "ati"
EndSection

Section "Device"
	Identifier  "ATI Graphics Adapter 0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "ATI Graphics Adapter 1"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

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

Section "Screen"
	Identifier "aticonfig Screen 0"
	Device     "ATI Graphics Adapter 0"
	Monitor    "aticonfig Monitor 0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig Screen 1"
	Device     "ATI Graphics Adapter 1"
	Monitor    "aticonfig Monitor 1"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection
 
Old 03-24-2006, 12:18 PM   #8
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Original Poster
Rep: Reputation: 33
I tried the ATI drivers, but the card that I have is apparently no longer supported (Radeon Mobility M7 LW [Radeon Mobility 7500]) so I guess I'm SOL.
 
Old 03-24-2006, 12:32 PM   #9
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You might want to read through this post on the Ubuntu forums. It seems someone there got good fps on a mobility 7500.
http://www.ubuntuforums.org/showthre...=122094&page=6
 
  


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
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
Wine, Opengl woes Bigg Mike Linux - Games 1 09-01-2004 10:31 AM
OpenGL, Mesa, X11 and plenty of woes neorich Programming 2 08-04-2003 11:05 AM
OpenGL, Mesa, X11 and plenty of woes neorich Linux - Software 0 08-04-2003 02:37 AM
OpenGL woes with nvidia continue richiet Linux - Software 4 01-20-2002 11:39 PM

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

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