LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-20-2005, 05:35 PM   #1
SavageNick
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
Help needed with compiling Xorg


Hi guys - hopefully u linux l33ts can sort this problem for me - i'd say im an intermediate with linux, I regularly keep my slackware system up2date with swaret and installing the latest nvidia drivers, plus I run a self-compiled 2.6.11.11 kernel. Recently I discovered the beauty that is wine and its related programs (mainly cedega). Im having a problem with my wine graphics which includes cedega in that the fps I get is far too low for my system specs... I have a geforce 6600GT, Athlon XP 2700+ with 1.5GB RAM and I get like 20-30fps in CS:S and only 50-60 in other titles...

I discovered that a good way to improve the fps of my xwindows system was to recompile Xorg using the following cflags: -march=athlon-xp -funroll-loops -pipe -O2

Unfortunately for me I downloaded the Xorg source and tbh I'm now confused as hell, I have no idea how to recompile xorg let alone how to do it with the cflags above (and I dont even know what they do) and most of the info on the net is for non-slackware distros.

So basically my question is:

From the tar.gz source files what do I do to successfully recompile xorg with the cflags - and is this even worth doing???

Thx for your help!!!!
 
Old 07-20-2005, 05:39 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
compiling Xorg is kinda advanced IMO
 
Old 07-20-2005, 05:42 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Its probably not worth doing. as the bottleneck is probably in the wine/cedega and not in X.

but to compile
tar xvzf sourcefile.tar.gz

and read the INSTALL.txt thats now sitting in the directory that was created, but trust me X servers are probably the hardest things to compile right, and removing them laters is a pain.

Also check that renderaccel is on, and check your speed with glxgears if its low then you may have a problem with the glx module.
 
Old 07-20-2005, 05:49 PM   #4
SavageNick
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
hmmm - Im only getting 6800fps from glxgears, I have an odd feeling thats wayyyyy too low for my hardware...

how do I check for renderaccel? and what do u think is wrong with the glx module and how can I fix it? U guys have already helped me more than the Transgaming lot lol.

Thx again!
 
Old 07-20-2005, 05:59 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
If you go into your /etc/xorg.conf file you will see the options its using, you probably did this when you installed the nvidia drivers but to recap...

Make sure glx is installed and dri and glcore are removed
Code:
Section "Module"
   # Load "GLcore"
   Load "glx"
   # Load "dri"
EndSection
Now go down to the drivers section for your card and it should look something like this:

Code:
Section "Device"
   Identifier "NVIDIA GFX Card"
   Driver  "nvidia"
   Option  "RenderAccel" "true"
   Option "NoLogo" "true"
EndSection
ALso for xorg be aware that the composite extension disables hardware accelaration for opengl. plus you might get speed increases with these

Code:
Section "Extensions"
   # Option  "Composite"  "Enable"
   Option  "RENDER"  "Enable"
   Option  "DAMAGE"  "Enable"
EndSection
You can have glx with composite if you add "GLXWithComposite" to the device section, but I've found it very unstable.
 
Old 07-20-2005, 06:19 PM   #6
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,614

Rep: Reputation: 136Reputation: 136
Quote:
hmmm - Im only getting 6800fps from glxgears
Lol, I get 1350 fps with my fx5700 LE card...
 
Old 07-20-2005, 06:27 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
You do? I get 5000fps with a Ti4600.
 
  


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
Compiling Xorg kushalkoolwal Fedora 1 12-07-2005 03:51 PM
BLFS 6.1 Xorg-6.8.2 creating 'host.def' help needed. kagashe Linux From Scratch 2 10-06-2005 12:58 AM
Compiling Xorg error FlashAsh99 Linux - Software 2 07-13-2005 10:23 AM
Help needed for xorg config jjlinux Linux - Hardware 2 05-29-2005 12:43 AM
nvidia tv-out Xorg.conf copy needed... TomCollins Slackware 4 11-07-2004 02:50 PM


All times are GMT -5. The time now is 06:47 PM.

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