Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Post your xorg.conf graphics card tweaks

  1. #1
    Join Date
    Mar 2006
    Location
    Lisbon, Portugal
    Beans
    1,909

    Post your xorg.conf graphics card tweaks

    Yesterday I was hunting for some tweaks for my intel driver, because OpenGL performance was very choppy. I eventually found some very good tips buried in the Gutsy archives. This lead me to the question "What if there was a place where these tips were centralized, so everyone can check them out?"

    So here it is.

    FIRST SOME GUIDELINES:

    -Post the name of the driver you are using (intel, nvidia, ati, catalyst, etc)
    -Use the "Search this thread" in the "Thread Tools" menu, to check if your tip was already posted. PLEASE DON'T DOUBLE POST TIPS
    -Use the "Search this thread" to check for specific tweaks for your driver.DON'T USE THIS THREAD FOR BEGGING

    You will have to hunt them down. If there are 10 posts with your driver in it, you'll have to check them all.

    Important: These are just tips, my guess is that users won't be held responsible for whatever option they posted, that ended up frying your GPU (I'm just exagerating so you get the point)
    My blog | Arch User | Linux user #439142 | Ubuntu user #10974
    "God is real unless you declare it as integer"

  2. #2
    Join Date
    Mar 2006
    Location
    Lisbon, Portugal
    Beans
    1,909

    Re: Post your xorg.conf graphics card tweaks

    With that said, I guess I'll start. Here are some options that I think improved my opengl performance.

    Code:
    Driver      "intel"
    Option      "AccelMethod" "XAA"
    Option      "MigrationHeuristic" "greedy"
    Option      "ExaNoComposite"     "false"
    Option	    "TripleBuffer" "true"
    Option      "Tiling"    "true"
    Option	    "PageFlip"	"true"
    Last edited by raul_; July 4th, 2008 at 06:27 PM.
    My blog | Arch User | Linux user #439142 | Ubuntu user #10974
    "God is real unless you declare it as integer"

  3. #3
    Join Date
    Mar 2006
    Beans
    210
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Post your xorg.conf graphics card tweaks

    I have an intel 915 GMA card and I was looking for ways to improve the performance of OpenGL, I'm using the intel driver(not the i810 driver).

    Following this guide, I got 250 FPS improvement in glxgears(I'm aware it's not a proper benchmarking tool), from 600 to 850, here are the relevant options:

    Code:
    Option "AccelMethod" "EXA"
    Option "ExaNoComposite" "false"
    Option "MigrationHeuristic" "greedy"
    I tried the last 3 options(Triplebuffer, Tiling and Pageflip) from your config file but I noticed no improvement or degradation in performance.

    Update:
    1- I tried XAA but didn't get any improvement so I reverted to EXA as it's the newer method.
    2- After some experiments and checking the man pages I found that the important settings that gave me this performance boost are
    Code:
        Option      "MigrationHeuristic" "greedy"
        Option      "ExaNoComposite"     "false"
    Last edited by diaa; July 27th, 2008 at 05:28 AM.
    Diaa Sami

  4. #4

    Re: Post your xorg.conf graphics card tweaks

    I take it this is just the device section? Only had to touch xorg once when i got this card so not realy familiar with it ^^ My internal card just used to work hehe.

    Radeon HD 2400 pro AGP

    Section "Device"
    Identifier "aticonfig-Device[0]"
    Driver "fglrx"
    Option "VideoOverlay" "off"
    Option "OpenGLOverlay" "off"
    Option "TexturedVideo" "on"
    EndSection

    Used ATI's own driver. Sure i read this somewhere offical (like ATI's website), but with the HD series your meant to turn video overlay off and turn textured video on.

    Thats mine ^^
    Last edited by Naiki Muliaina; July 27th, 2008 at 11:37 AM.

  5. #5
    Join Date
    Apr 2008
    Beans
    4,377
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Post your xorg.conf graphics card tweaks

    This is wwith the ATI driver 8.7 and a HD3650 card.

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen 0 "aticonfig-Screen[0]" 0 0
    Option "AIGLX" "on"
    EndSection

    Section "Device"
    Identifier "aticonfig-Device[0]"
    Driver "fglrx"
    Option "XAANoOffscreenPixmaps" "on"
    Option "TexturedVideo" "on"
    Option "VideoOverlay" "off"
    Option "OpenGLOverlay" "off"
    Option "Textured2D" "on"
    Option "UseFastTLS" "1"
    Option "BackingStore" "on"
    EndSection

    Section "Module"
    Load "glx"
    EndSection

    Section "DRI"
    Group "Video"
    Mode 0666
    EndSection

    Section "Extensions"
    Option "RENDER" "Enable"
    Option "DAMAGE" "Enable"
    Option "Composite" "Enable"
    EndSection


    Important note, changes to xorg.conf when using the ati driver will be ignored. To get around this you need to type this command in a terminal:

    Code:
    sudo aticonfig --input=/etc/X11/xorg.conf
    to write the changes with aticonfig.
    Last edited by markbuntu; July 27th, 2008 at 09:33 PM.

  6. #6
    Join Date
    Feb 2008
    Location
    Athens
    Beans
    66
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Question Re: Post your xorg.conf graphics card tweaks

    Markbuntu hello again here!
    I am using Radeon HD 3450 with Intrepid 8.10 Ubuntu. When I enable Visual effects (even medium) I get a feeling that the windows moving, scrolling etc are much slower! When I have none visual effects I have booming speed... Any idea? Your changes in xorg.conf will they work in Intrepid 8.10?
    Take care.
    Dennis.

  7. #7
    Join Date
    Nov 2006
    Location
    New Zealand
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Post your xorg.conf graphics card tweaks

    Markbuntu hello again here!
    I am using Radeon HD 3450 with Intrepid 8.10 Ubuntu. When I enable Visual effects (even medium) I get a feeling that the windows moving, scrolling etc are much slower! When I have none visual effects I have booming speed... Any idea? Your changes in xorg.conf will they work in Intrepid 8.10?
    Take care.
    Dennis.
    I've just tried those tweaks on 8.10 with the 9.2 restricted driver. Everything works fine so far, so at least it didn't break anything. Not sure if I've gained much speed though, but it did appear to fix the issues I was having while trying to play video...

  8. #8
    Join Date
    Mar 2008
    Location
    Karachi, Pakistan
    Beans
    53
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Post your xorg.conf graphics card tweaks

    So I installed the 8.59.2 drivers for my Ati Mobility x1400 the Ubuntu way (Restricted drivers manager).

    boy does it feel weird to have an old driver. MESA drivers gave me ~660 fps with glxgears and ati drivers give me ~900 fps, but the mesa drivers felt a lot smoother and my display didnt get corrupted every single time i ran glxgears :s

    btw my xorg appears strangely empty:

    Code:
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	DefaultDepth	24
    EndSection
    
    Section "Module"
    	Load	"glx"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver	"fglrx"
    EndSection
    doesnt that seem a LITTLE short?
    (i had previously installed the drivers using envyng and then uninstalled them using envyng, if that helps any)
    EDIT: I am using Compiz fusion
    Last edited by FaizanKazi; April 21st, 2009 at 10:33 AM.
    Computer Sciences major - Univ of Texas at Austin, USA
    Acer Aspire 5672 - Core Duo 1.66Ghz, 2GB DDR2, 320 GB HDD, Ati x1400.
    To err is human... to really foul up requires the root password.

  9. #9
    Join Date
    Apr 2007
    Location
    Nigeria
    Beans
    172
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Smile Re: Post your xorg.conf graphics card tweaks

    Intel GMA 900, not benchmarked.Running KDE4.3 RC2 effects smoothly though. My Xorg:

    Code:
    Section "Device"
    	Identifier	"Configured Video Device"
    	Option		"UseFBDev"		"true"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    EndSection
    Wierd & short huh?! I did pin the drivers that worked for me (combo of future mesa & libdrm with older intel drivers). Addition of any extra lines (like option exa enable) usually results in gdm not being able to load, flickering cursor only. All good now though.

  10. #10
    Join Date
    Jul 2009
    Beans
    3

    Re: Post your xorg.conf graphics card tweaks

    I'm new to Linux. Using Nvidia Drivers. I can't get my resolution to stay where I want it. Earlier today I changed it from "auto" to "1366x768" in system-preferences-display.
    I clicked Save X Configuration File and got the error "Failed to parse existing X config file '/etc/X11/xorg.conf'!" So everytime I rebooted, I would have to go change the resolution again. Well, now when I change the resolution to "1366x768", my screen goes black and won't come back. I have to reboot.
    Xorg file looks like this

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    DefaultDepth 24
    SubSection "Display"
    Virtual 2048 768
    EndSubSection
    EndSection

    Section "Module"
    Load "glx"
    Disable "dri2"
    EndSection

    Section "Device"
    Identifier "Configured Video Device"
    Driver "nvidia"
    EndSection


    I am afraid to edit it because I don't know what I'm doing. My graphics card is a XFX Geforce 8800GS Alpha Dog Edition. Mobo is eVGA nForce 680i SLI. Any help would be GREATLY appreciated. I am a NOOB!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •