LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 02-04-2009, 10:53 PM   #1
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Smile Heads-up, nVidia proprietary drivers with kde4 you may not need the options tweaks!!


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
Quote:
You don't need any tweaks. It works fine with the default settings.

KWIN_NVIDIA_HACK is not needed as it is enabled by default in kwin

Backingstore isn't really needed esp. as Qt has its own backingstore


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

Last edited by GlennsPref; 02-05-2009 at 06:12 AM. Reason: remove some lines for clarity.
 
Old 02-05-2009, 06:15 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
music@GamesBox:~$ startxfce4
Code:
music@GamesBox:~$ glxgears                                        (05-02 20:08)
62825 frames in 5.0 seconds = 12564.875 FPS
62331 frames in 5.0 seconds = 12466.195 FPS
63293 frames in 5.0 seconds = 12658.508 FPS
63464 frames in 5.0 seconds = 12692.744 FPS
63393 frames in 5.0 seconds = 12678.479 FPS
63259 frames in 5.0 seconds = 12651.711 FPS
63772 frames in 5.0 seconds = 12748.367 FPS
63624 frames in 5.0 seconds = 12724.737 FPS
63653 frames in 5.0 seconds = 12730.557 FPS
63435 frames in 5.0 seconds = 12684.970 FPS
music@GamesBox:~$ uname -a                                        (05-02 21:31)
Linux GamesBox.GlennsPref.net 2.6.28-Preempt-0.rc8.1mnb #2 SMP PREEMPT Fri Jan 30 09:33:45 EST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux
Whooo Weee.

Just double checking the RT kernel...
Code:
music@GamesBox:~$ uname -a                                        (05-02 21:50)
Linux GamesBox.GlennsPref.net 2.6.26-music.8-1.rt13.1mdv #3 SMP PREEMPT RT Wed Jan 14 20:45:45 EST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux
music@GamesBox:~$ glxgears                                        (05-02 21:51)
46823 frames in 5.0 seconds = 9360.805 FPS
45941 frames in 5.0 seconds = 9180.539 FPS
45441 frames in 5.0 seconds = 9073.050 FPS
45150 frames in 5.0 seconds = 9018.174 FPS
45083 frames in 5.0 seconds = 9011.763 FPS
44879 frames in 5.0 seconds = 8975.763 FPS
45421 frames in 5.0 seconds = 9076.420 FPS
45611 frames in 5.0 seconds = 9122.151 FPS
44756 frames in 5.0 seconds = 8938.974 FPS
44224 frames in 5.0 seconds = 8827.179 FPS
45469 frames in 5.0 seconds = 9093.735 FPS
music@GamesBox:~$                                                 (05-02 21:52)
Hope this helps some of you....

Regards, Glenn
 
Old 02-10-2009, 06:16 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
More experimentation in progress,

This time with 3d windows effects. In particular Compiz with kde4

Somewhere here I mentioned (quoted somebody else) that

compiz was no longer required with kde4.

Well it has not worked on my system,

I think what the person meant is that you can configure windows fx (compiz, compiz-fusion)

with kde4 config manager (Configure Your Desktop).

Without having to directly access the compiz ccsm.

Hope this helps someone.

Cheers, Glenn
 
Old 02-10-2009, 10:54 PM   #4
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Rep: Reputation: 15
Glenn
I might have mentioned that I don't use compiz but use KDE4's own 3D effects.

Mine is a NVidea 8600M GT card on a Dell 1530XPS Laptop.
I have been running the 177.82 driver for a while now without any modification and it ran very well on KDE4.13, the official Mandriva release.

I am now running KDE4.2...to find out how, check this thread: http://forum.mandriva.com/viewtopic....er=asc&start=0

I also run a Oxygon theme that I got from KDE's Website which gives me a brilliant looking taskbar and Widget clock.

These are the KDE 3D effects that I have running:

1) Track mouse
2) Fade
3) Login
4) Logout
5) Minimise Animation
6) Shadow
7) Slide
8) Taskbar Thumbnails
9) Translucency
10) Wobbly Windows
11) Dialogue Parent
12) Dim Screen for Administrator Mode
13) Desktop Cube
14) Desktop Grid
15) Flip Switch
16) Present Windows
 
Old 02-11-2009, 01:24 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
Hi, I thought I would test it by removing all compiz libs and packages.

It did not work too well.

It was like a transparent tartan across the screen following the mouse, large square blocks of trans. colours.

I'll give that link a look now.

Thanks for the tip.

Regards, Glenn
 
Old 02-11-2009, 01:47 AM   #6
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Rep: Reputation: 15
Quote:
Originally Posted by GlennsPref View Post
Hi, I thought I would test it by removing all compiz libs and packages.

It did not work too well.

It was like a transparent tartan across the screen following the mouse, large square blocks of trans. colours.

I'll give that link a look now.

Thanks for the tip.

Regards, Glenn
I am running MDV2009 PWP "586"(32bit)

Also your card should handle it with ease. The NVidea driver for that card might not be as optimised By Nvidea for KDE4 as mine is yet.

KDE4.2 is very good but its not an official release for 2009 (it's not an update through the repos). So expect a short freeze here and there but nothing major.
A lot more things are working now spatially for Laptop Users, but lots of applet are fairly barebone and haven't got the configuration ability as they used to have under KDE3.5
Of course this is not a Mandriva issue but KDE.
 
Old 02-11-2009, 04:55 PM   #7
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
As an fyi, there is an unofficial Mandriva RPM repository for KDE 4.2.0 at ftp://ftp.kde.org/pub/kde/stable/4.2...09.0/RPMS/i586 for 32bit systems and ftp://ftp.kde.org/pub/kde/stable/4.2....0/RPMS/x86_64 for 64bit systems.

You can add the KDE-4.2.0 repositories my following the direction in the KDE.org readme file:
Quote:
KDE 4.2.0 Mandriva 2009.0
Try # 3 - Unsupported

i586 and x86_64 packages available

< this release was made thanks to Armin Van Buuren State of Trance radio show and goos earphones >

*******************************************************************************************

DISCLAIMER
This is the Mandriva 2009.0 build for KDE 4.2.0. This is not an official updated.

*******************************************************************************************

To add repositories:

urpmi.addmedia kde42-20090 <kde-mirror>/stable/4.2.0/Mandriva/2009.0/RPMS/i586
urpmi.addmedia kde42-20090-noarch <kde-mirror>/stable/4.2.0/Mandriva/2009.0/RPMS/noarch

To see the <kde-mirror> list, go to http://www.kde.org/mirrors/ftp.php

Requires updates repository enabled

Known KDE Mandriva issues
GENERAL:
- Current phonon-gstreamer is crashing. Recommendation to install phonon-xine if not done automatically
- For heavily customized KDE 4.1.x, some configs can be lost, mostly visual

KOPETE:
- Old msn supported was kicked in favor of libmsn and migration is not done. Adding WLM/MSN account again will be required.

PIM SUITE ( KMAIL, KONTACT ):
- Akonadi will start and migrate pim resources for their database. Stop the process will require restart the program that started the process.

*******************************************************************************************

Helio Chissini de Castro <helio at mandriva dot com >
Mandriva KDE Team
KDE Project
As an example, I set up my i586 repositories using a KDE.org ftp mirror as follows:

I opened a terminal window, then escalated to root (su) and executed the following two commands:
Code:
urpmi.addmedia KDE-4.2.0 ftp://kde.mirrors.tds.net/pub/kde/stable/4.2.0/Mandriva/2009.0/RPMS/i586 with media_info
urpmi.addmedia KDE-4.2.0-noarch ftp://kde.mirrors.tds.net/pub/kde/stable/4.2.0/Mandriva/2009.0/RPMS/noarch with media_info
These commands added the two media sources (repositories) named KDE-4.2.0 and KDE-4.2.0-noarch

If you run the 64bit version of Mandriva, you should use the following commands:
Code:
urpmi.addmedia KDE-4.2.0 ftp://kde.mirrors.tds.net/pub/kde/stable/4.2.0/Mandriva/2009.0/RPMS/x86_64 with media_info
urpmi.addmedia KDE-4.2.0-noarch ftp://kde.mirrors.tds.net/pub/kde/stable/4.2.0/Mandriva/2009.0/RPMS/noarch with media_info
After adding these media sources, you will have to install KDE-4.2.0 with the following command:
Code:
urpmi task-kde4-4.2.0
From my personal experience (some five days of continuous use - e.g.: anout 14 hours per day and no shutdown), plasma does not crash at all (with KDE-4.1.3 plasma crashed regularly), and things work very well. I recommend installing KDE-4.2.0 without reservation (although your milage may vary).

E
 
Old 02-11-2009, 09:20 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
Hi, thanks heaps for the info,

I have (in the process of dl'ing) the hdlists.

I will put off upgrading till after the 22nd, due to bandwidth limits of my isp contract.

I'm really looking forward to it.

btw, "with media_info/hdlist.cz"
or "with media_info/synthesis.hdlist.cz" for a quicker download with less package info.


urpmi...
Code:
sudo urpmi.addmedia KDE-4.2.0 ftp://mirror.pacific.net.au/kde/stable/4.2.0/Mandriva/2009.0/RPMS/x86_64 with media_info/hdlist.cz
sudo urpmi.addmedia KDE-4.2.0-noarch ftp://mirror.pacific.net.au/kde/stable/4.2.0/Mandriva/2009.0/RPMS/noarch with media_info/hdlist.cz
smart...
Code:
smart channel -y --add 'KDE-4.2.0' type=urpmi baseurl='ftp://mirror.pacific.net.au/kde/stable/4.2.0/Mandriva/2009.0/RPMS/x86_64' hdlurl=media_info/hdlist.cz
smart channel -y --add 'KDE-4.2.0-noarch' type=urpmi baseurl='ftp://mirror.pacific.net.au/kde/stable/4.2.0/Mandriva/2009.0/RPMS/noarch' hdlurl=media_info/hdlist.cz
This adds the addresses to smart, but you will need to enter smart and "update selected channels"

Thanks heaps, Glenn
These noarch rpm's are available only in i586 dir. Try to be carefull, to avoid mandriva-bloat.
Code:
ftp://mirror.pacific.net.au/kde/stable/4.2.0/Mandriva/2009.0/RPMS/i586/task-kde4-4.2.0-2mdv2009.0.noarch.rpm
ftp://mirror.pacific.net.au/kde/stable/4.2.0/Mandriva/2009.0/RPMS/i586/task-kde4-minimal-4.2.0-2mdv2009.0.noarch.rpm

Last edited by GlennsPref; 02-11-2009 at 10:07 PM. Reason: mandriva-bloat
 
  


Reply

Tags
kde4, nvidia


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
Nvidia GeForce 6150 Go proprietary drivers, odd distortion on shut down/reboot worldgnat Linux - Hardware 2 08-03-2008 11:50 AM
Need help with Nvidia proprietary drivers Dugon143 Linux - Hardware 8 10-30-2007 02:05 PM
nVidia proprietary drivers - different code for different cards? jhwilliams Linux - Hardware 1 06-13-2007 09:59 PM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
nvidia vid drivers - what kernel options? hollywoodb Linux - Hardware 1 10-02-2003 01:29 PM


All times are GMT -5. The time now is 03:10 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