Re: desktop effects with nvidia binary driver on Fedora 7 Test 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 16 March 2007 8:27:34 pm Axel wrote:
> If someone is interested, I managed to get desktop effects working on a
> nvidia box. (Athlon 64 3400+, Nforce 4 chipset, Geforce 7600 GS
> PCI-Express, running Fedora 7 Test 2 , x86)
>
> I installed latest kernel, kernel-devel & kernel-headers
> packages.(currently 2.6.20 2990), then reboot.
>
> Download the latest nvidia drivers and change the runlevel.
> As root : /sbin/init 3
>
> Then log in the console and run as root the nvidia driver shellscript.
> After a little time of compilation, let nvidia modify the xorg.conf.
>
> Then open the /etc/X11/xorg.conf , check that the driver used is
> "nvidia", and not "nv".
>
> In the "Device" Section, add these lines (the first 3 lines are
> absolutely needed, the others are for my personnal use)
>
> 	Option      "AddARGBGLXVisuals" "True"
>         Option        "RenderAccel"       "True"
>         Option      "XAANoOffscreenPixmaps"
>         Option "RandRRotation" "True"
>         Option "TwinView" "True"
>
>
> Then delete the line "Load "glx" " in the "Module" section. This is the
> nvidia wizard which added it, but with this line, desktop effects
> couldn't be activated on my system.
>
> Xorg is now ready. But not the system.
>
> The driver install files in a bad path : /usr/X11R6/lib which is no more
> used by Xorg.
>
> As root, just copy /usr/X11R6/lib/modules/* in /usr/lib/xorg/modules
> And copy /usr/X11R6/lib/lib* in /usr/lib
> (Yes, this is crap)

Or  add a Section "Files" like mine below:
Section "Files"
    ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
    ModulePath   "/usr/lib64/xorg/modules"
    RgbPath         "/usr/lib64/X11/rgb"
    FontPath        "unix/:7100"
EndSection

> Run as root: /sbin/ldconfig
>
> It's done, reboot. If everything's ok, you should see the nvidia logo
> when Xorg launchs, and you will be able to activated Desktop Effects.
>
> I installed Beryl too. In order to use it, launch beryl-manager, and in
> the notification panel, select the Beryl/Emerald window manager.
> the best is to logout and login again in order to change,switch from one
> to the other is a little buggy(decorations don't appear totally); in
> compiz & beryl sometimes the windows doesn't open at a good position
> (window bar is hidden by the applet bar), but globally, it is very
> funny!
>
> If someone has advices or other configurations, I'd like to read them.
>
>
> Following my xorg.conf file :
> # Xorg configuration created by pyxf86config
>
> Section "ServerLayout"
> 	Identifier     "Default Layout"
> 	Screen      0  "Screen0" 0 0
> 	InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Keyboard0"
> 	Driver      "kbd"
> 	Option	    "XkbModel" "pc105"
> 	Option	    "XkbLayout" "fr"
> 	Option	    "XkbVariant" "latin9"
> EndSection
>
> Section "Device"
> 	Identifier  "Videocard0"
> 	Driver      "nvidia"
>
> 	Option      "AddARGBGLXVisuals" "True"
>         Option        "RenderAccel"       "True"
>         Option      "XAANoOffscreenPixmaps"
>         Option "RandRRotation" "True"
>         Option "TwinView" "True"
By adding the above to mine xorg file I could use beryl without copy before I 
had to use copy in the Advanced Beryl options>>Render path>>copy instead of 
Automatic.  Thanks for the help.
> EndSection
>
> Section "Module"
> 	#Load "glx"
On my nvidia 6600 gt I need this line to get Beryl to work.
> EndSection
>
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Videocard0"
>
> 	DefaultDepth     24
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     24
> 	EndSubSection
> EndSection
This is on a Fedora Core 6 system but not much different.
This is my xorg.conf file:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder26)  Fri Dec 15 10:40:57 
PST 2006

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
    ModulePath   "/usr/lib64/xorg/modules"
    RgbPath         "/usr/lib64/X11/rgb"
    FontPath        "unix/:7100"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx" #This I need to get Beryl to work.
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Chimei"
    ModelName      "CMO CMC 22 W"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier      "Videocard0"
    Driver          "nvidia"
    VendorName      "NVIDIA Corporation"
    BoardName       "GeForce 6600 GT"
    Option 	    "AddARGBGLXVisuals" "True"
    Option	    "RenderAccel" "True"
    Option	    "AllowGLXWithComposite" "True"
    Option	    "XAANoOffscreenPixmaps"
    Option          "RandRRotation""True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    
    
    Option         "metamodes" "1680x1050 +0+0; 1280x1024 +0+0; 1152x864 +0+0; 
1440x900 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
#	Option	    "Composite" "Enable" #Had to comment this out to get beryl to 
work.
EndSection


Attachment: pgprGRLzjcFGv.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux