LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help needed with compiling Xorg (https://www.linuxquestions.org/questions/slackware-14/help-needed-with-compiling-xorg-345148/)

SavageNick 07-20-2005 05:35 PM

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!!!!

tuxdev 07-20-2005 05:39 PM

compiling Xorg is kinda advanced IMO

leonscape 07-20-2005 05:42 PM

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.

SavageNick 07-20-2005 05:49 PM

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!

leonscape 07-20-2005 05:59 PM

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.

keefaz 07-20-2005 06:19 PM

Quote:

hmmm - Im only getting 6800fps from glxgears
Lol, I get 1350 fps with my fx5700 LE card...

leonscape 07-20-2005 06:27 PM

You do? I get 5000fps with a Ti4600.


All times are GMT -5. The time now is 08:07 AM.