LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Closed Thread
 
Search this Thread
Old 12-29-2004, 01:08 PM   #1
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Exclamation "Cut the Gordian Knot" of ATI


I must share this experience with forum!
Today my son, who's M$ user for the first time asked me to help him with Slackware installation. I also noticed that he already had SuSE 9.1 installed and he didn't mind it to be removed. I don't know what struck me but I backed up XF86Config from SuSE on diskette. After installing Slackware 10 I tested that everything worked an suddenly I saw the displeased face of kiddo because of 3D rendering.
Everybody, who has ATI, knows that it works miracles under Windoze, but on Slack this issue is really pain in the a##!
I definitely didn't want to look idiotic before my son, so I told him to go for a walk and come back in half an hour. (He knows I've been using *nix systems for 4 years now.)
THE SOLUTION PRESENTED ITSELF!!!
1. I removed xorg.conf from /etc/X11 and replaced it with XF86Config from SuSE 9.1
2. Renamed XF86Config to xorg.conf
3. Edited newly "created" xorg.conf for the mouse settings, changing Option "explorerps/2" to "IMPS/2" and editing "Device" "/dev/input/mice" to "/dev/mouse"
I saved my handywork and Miracle!; it loaded up after reboot WITH ATI 3D acceleration enabled!!!
I checked glxinfo and saw that direct renderind is enabled.
I simply could not believe my eyes. Test on small window gives
66348 frames in 5.0 seconds = 13269.600 FPS
65022 frames in 5.0 seconds = 13004.400 FPS

Test on fullscreen gives
2449 frames in 5.0 seconds = 889.800 FPS
Here is the shot as proof because I had some people making comments about the credibility of this post:
http://eo.yifan.net/users/t/wdesborough/Screenshot.png
Test on Tuxracer gives roughly 1000 FPS
http://eo.yifan.net/users/t/wdesborough/tuxshot.ppm
I felt like jackass
This means that all these years I simply didn't know how to properly edit X server. It appears that Slack comes with already installed excellent ATI drivers with 3D support. And there is only matter of proper editing and the ant in screensaver "Antspotlight" doesn't crawl, it runs like crazy
Here is the lesson for the master. Solution sometimes can be really simple and taken from history books. You CAN "Cut the Gordian Knot" as did once Alexander The Great!!!

P.S. And again I must emphasize my point here. I posted that report of mine not to be judged for credibility but to share my experience.

Last edited by SlackerLX; 12-30-2004 at 01:40 PM.
 
Old 12-29-2004, 03:02 PM   #2
stef52
Member
 
Registered: May 2004
Location: Croatia
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
So you're using DRI. I must say those framerates seem unreal. Did you run QuakeIII, how many FPS on 1024x768 (full detail and quality options)??? What HW configuration do you have?? I'm using R9700Pro on 2.6.9 kernel with fglrx 3.14.6 and I'm very satisfied with performance but it is not close to what you have.
 
Old 12-29-2004, 03:12 PM   #3
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Original Poster
Rep: Reputation: 47
Usually I do not use Slack as Gamestation, But I could give a try. How do you want me to try my configuration? Now, after all that, I'm willing to take any shot
 
Old 12-29-2004, 04:37 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hi there,

can you post the " device -section " of that x-config-file ?

egag
 
Old 12-29-2004, 04:43 PM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Original Poster
Rep: Reputation: 47
Here
Code:
# /.../
# SaX generated XFree86 config file
# Created on: 2004-12-29T06:06:34+0200.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
  Option       "RandR" "on"
EndSection

Section "Module"
  Load         "v4l"
  Load         "extmod"
  Load         "type1"
  Load         "freetype"
  Load         "dbe"
  Load         "dri"
  Load         "speedo"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/mouse"
#  Option       "Name" "Autodetection"
  Option       "Protocol" "IMPS/2"
#  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  HorizSync    28-71
  Identifier   "Monitor[0]"
  ModelName    "SYNCMASTER 793DF/793MB"
  VendorName   "SAMSUNG"
  VertRefresh  50-160
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1024x768" 95.50 1024 1072 1184 1376 768 769 772 807
  Modeline 	"800x600" 36.88 800 832 912 1024 600 601 604 621
  Modeline 	"800x600" 44.13 800 840 920 1040 600 601 604 624
  Modeline 	"800x600" 51.73 800 840 928 1056 600 601 604 628
  Modeline 	"800x600" 58.73 800 840 928 1056 600 601 604 632
  Modeline 	"800x600" 66.71 800 848 936 1072 600 601 604 635
  Modeline 	"800x600" 73.98 800 848 936 1072 600 601 604 639
  Modeline 	"800x600" 74.67 800 848 936 1072 600 601 604 639
  Modeline 	"640x480" 23.06 640 656 720 800 480 481 484 497
  Modeline 	"640x480" 27.74 640 664 728 816 480 481 484 500
  Modeline 	"640x480" 32.64 640 672 736 832 480 481 484 503
  Modeline 	"640x480" 36.97 640 672 736 832 480 481 484 505
  Modeline 	"640x480" 42.22 640 680 744 848 480 481 484 508
  Modeline 	"640x480" 46.80 640 680 744 848 480 481 484 511
  Modeline 	"640x480" 51.43 640 680 744 848 480 481 484 514
  Modeline 	"640x480" 57.18 640 680 752 864 480 481 484 517
  Modeline 	"640x480" 60.09 640 680 752 864 480 481 484 519
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1024x768" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "RV250 If"
  BusID        "3:0:0"
  Driver       "radeon"
  Identifier   "Device[0]"
  Screen       0
  Option       "Rotate" "off"
  VendorName   "ATI"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection
 
Old 12-29-2004, 05:12 PM   #6
stef52
Member
 
Registered: May 2004
Location: Croatia
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
@SlackerLX

Use Qake3. You need Windows Quake III installation disc, and downlod linux binaries from id ftp (1.32b version). Start script and after it is done copy required files from disc. Run it in console as "quake3". You can set it up in "System" and "Game options" menues. Use 1024x768 and maximum quality options (you'll figure it out). Run console (QuakeIII console) by AltGR+ 1 (on alphanumeric part of the keyboard). Put in these lines:
\com_hunkMegs 256 (half of the ram usually)
\com_maxfps 500
\cg_drawFPS 1
\cg_fov 118 (this is an example and is not required if you're not used to fov)

Restart game and run few maps. Pay attention to the average FPS in upper right corner of the screen.

Run the timedemo:
\timedemo 1
\demo four

After it is done run the console and read the average FPS in the last row of the output.

BTW, thanks for the conf file.

Last edited by stef52; 12-29-2004 at 05:16 PM.
 
Old 12-29-2004, 05:17 PM   #7
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Original Poster
Rep: Reputation: 47
So. first idea is to get Quake III Installation disk
That can prove to be challenge. Because I do not usually play, Last game I played was Fallout 2. It was long ago, right
 
Old 12-29-2004, 11:12 PM   #8
speedbump
Member
 
Registered: Aug 2003
Location: Vallejo, California
Distribution: Slackware 10.1 --Current w/ Dropline
Posts: 61

Rep: Reputation: 15
The section of your xorg.conf file you posted says your using a radeon 9000 (that's the BoardName "RV250 If" in the Section "DEVICE") which can make use of the FOSS radeon driver that's included in XORG/XFREE. Anything better than a Radeon 9200 (The Rv300, R300 or better) *may* work with the FOSS driver, but acceleration won't.

I find 13,000 fps to be fantastic. If you're getting that kind of framerate out of a Radeon 9000, I want to see what my 9600XT will do.... I currently get (what I thought was) a respectable 1924FPS using ATI's driver w/int agpgart, 1280x1024x24 resolution, 2.8HT Pentium, 1GBDDR400.

3D rendering can be affected by *ALOT* of factors, some of which are screen size, colour depth, processor speed, memory, agpgart used on MB or video card?

So, question time:
1. What are your system specs? (nothing in-depth, processor & memory?)
2. Screen resolution & colour depth at the time of your test
3. Which Radeon are you running?
4. How stable is your system?

anything else you can think of?

I have to take this with a grain of salt untill it can be independantly verified....
 
Old 12-29-2004, 11:21 PM   #9
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Original Poster
Rep: Reputation: 47
Nothing fancy actually:

Asus A7N8X - Deluxe
AMD Athlon XP 2400+ Overclocked to 2600+
512MB RAM of Corsair
ATI Saphire Radeon Atlantis 9000 Pro
SB Live! 5.1
60GB ATA
80GB SATA

I do not remember when I shut my system last time.
Something funny actually happens when I run Tuxracer for testing. It shows infinite framerate
http://eo.yifan.net/users/t/wdesborough/tuxshot.ppm

Last edited by SlackerLX; 12-29-2004 at 11:27 PM.
 
Old 12-29-2004, 11:39 PM   #10
speedbump
Member
 
Registered: Aug 2003
Location: Vallejo, California
Distribution: Slackware 10.1 --Current w/ Dropline
Posts: 61

Rep: Reputation: 15
Well. I got some time on friday for some experimentation...

I'll "ghost" my box, install SUSE 9.1 with an radeon 9000 I've got laying around, then install slack 10-current.

I *want* to see this!
 
Old 12-29-2004, 11:42 PM   #11
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Original Poster
Rep: Reputation: 47
Good Luck!
I'm just so happy i have it now!
 
Old 12-29-2004, 11:44 PM   #12
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Original Poster
Rep: Reputation: 47
And almost forgot! I run kernel 2.4 on Slackware so no dropline for me
 
Old 12-30-2004, 12:17 AM   #13
veritas
Member
 
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Rep: Reputation: 30
I wonder if this will work with a 9200SE PCI card...
 
Old 12-30-2004, 12:24 AM   #14
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Original Poster
Rep: Reputation: 47
According to this thread which we had with egag it must
http://www.linuxquestions.org/questi...63#post1376563
 
Old 12-30-2004, 12:46 AM   #15
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Hey there,

Good to hear... As a proud owner of an ATi card (9000Pro) I know how it can be a bitch to setup... so after a few installs I just backed up my config file and stored it on my external drive...

I use the fglrx drivers (provided by ATi, not the ones that come with slackware) so the config file does not change much between distros...

In fact, I backup almost all my config files... just for reference -- comes in handy every now and then.

So yah, good to hear that you are in 3D bliss.
 
  


Closed Thread


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
New ATI driver with "aticonfig" does not work - as usual for ATI... Livino Suse/Novell 9 03-05-2006 05:33 PM
suse ati driver "Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing" madcow007 Linux - Hardware 0 03-06-2004 02:53 PM
using "cut" in perl script armegeden Linux - General 3 03-06-2003 09:09 AM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration