LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > GlennsPref
User Name
Password

Notices



Rate this Entry

Heads-up, nVidia proprietary drivers with kde4 you may not need the options tweaks!!

Posted 02-06-2009 at 07:28 PM by GlennsPref

Quote:
Originally Posted by GlennsPref View Post
Heads up ppl.

If you use the nvidia proprietary drivers with kde4 you may not need the options tweaks previously used in /etc/X11/xorg.conf.

post #6 by txf
http://www.nvnews.net/vbulletin/showthread.php?t=126835




When I saw this last night, I could not believe it, Did I really need to # out about 10 lines of options,

Well, glxgears is the only benchmark I used, but the improvements were devastatingly positive!

/etc/X11/xorg.conf (Newly modified, I did not think it would even start!)
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Tue Nov  4 17:18:57 PST 2008

# File generated by XFdrake (rev 247269)
# File generated by XFdrake (rev 247269)

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Mouse2" "SendCoreEvents"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier     "Mouse2"
    Driver         "evdev"
    Option         "device" "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"
    Option         "HWheelRelativeAxisButtons" "7 6"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"
#"DV177/SB"
    Identifier     "Monitor0"
    VendorName     "MEA"
    ModelName      "1280x1024 @ 50 Hz"
    HorizSync       31.5 - 64.3
    VertRefresh     50.0 - 70.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "GigaByte"
    BoardName      "GigaByte GeForce 9800gt (GTX+)"
EndSection

Section "Screen"

    #Option "BackStoring" "True" #"1"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "PixmapCacheSize" "1600000"
    #Option         "AddARGBGLXVisuals" "True"
    Option         "DPMS"
    Option         "BackStoring" "0" #"True" #"1"
    #Option         "OnDemandVBlankInterrupts" "true"
    #Option         "DisableGLXRootClipping" "True"
    #Option         "DamageEvents" "1"
    #Option         "AllowSHMPixmaps" "0"
    #Option         "TripleBuffer" "1"
    #Option         "RenderAccel" "True"
    #Option         "UseEvents" "false"
    Option         "HWCursor"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite"
    Option         "RENDER" "Enable"
EndSection
Test results, comparison...
using glxgears...
Code:
NoPat glxgears.

without nopat, normal xorg.conf  (I thought this was the best I could get, lol)
glenn@GamesBox:~$ glxgears                        (25-01 15:26)
19355 frames in 5.0 seconds = 3870.968 FPS
20132 frames in 5.0 seconds = 4025.476 FPS
19408 frames in 5.0 seconds = 3881.587 FPS
19533 frames in 5.0 seconds = 3898.408 FPS
18845 frames in 5.0 seconds = 3768.947 FPS
18656 frames in 5.0 seconds = 3731.070 FPS
18741 frames in 5.0 seconds = 3748.169 FPS
18556 frames in 5.0 seconds = 3707.013 FPS
18442 frames in 5.0 seconds = 3688.389 FPS
18633 frames in 5.0 seconds = 3726.489 FPS
glenn@GamesBox:~$


With nopat kernel boot param.  Nice improvement, but a bit jumpy/jittery

glenn@GamesBox:~$ glxgears                                                                                                      (25-01 15:34)
29822 frames in 5.0 seconds = 5963.993 FPS
32055 frames in 5.0 seconds = 6410.964 FPS
28150 frames in 5.0 seconds = 5629.852 FPS
28034 frames in 5.0 seconds = 5606.756 FPS
33237 frames in 5.0 seconds = 6647.276 FPS
32036 frames in 5.0 seconds = 6407.151 FPS
29417 frames in 5.0 seconds = 5882.160 FPS
27982 frames in 5.0 seconds = 5596.388 FPS
28162 frames in 5.0 seconds = 5632.326 FPS
27887 frames in 5.0 seconds = 5577.261 FPS
glenn@GamesBox:~$                                                                                                               (25-01 15:37)


with most mods removed from xorg.conf without nopat

music@GamesBox:~$ glxgears
47174 frames in 5.0 seconds = 9434.789 FPS
44911 frames in 5.0 seconds = 8980.790 FPS
46844 frames in 5.0 seconds = 9361.882 FPS
47305 frames in 5.0 seconds = 9460.989 FPS
48113 frames in 5.0 seconds = 9622.578 FPS
47165 frames in 5.0 seconds = 9432.910 FPS
47554 frames in 5.0 seconds = 9510.770 FPS
47433 frames in 5.0 seconds = 9486.521 FPS
47155 frames in 5.0 seconds = 9430.994 FPS
47329 frames in 5.0 seconds = 9465.761 FPS
music@GamesBox:~$                                                 (04-02 23:27)
Just goes to show ya, that real improvements are being made.

It has not fixed the resizing freeze, ie. grabing the corner of a window and draging to a different size.

But new stuff is comming out all the time.

By the time mandriva releases kde4.2 (not kde4.2mdv, which is 4.1.x in reality, see the errata of 2009.1rc) correct me if I'm wrong, please, I've read so much I might be confused,lol.

It should be better. I guess that means mid year release of Mandriva 2010.0.

Cheers, Glenn
But wait, there's more...
Posted in Uncategorized
Views 2444 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement

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