Skip to content

Home > GNU/Linux > Using XGL with PLF drivers under Mandriva 2007.0

Using XGL with PLF drivers under Mandriva 2007.0

After seing Xgl in action, you may want XGL on your desktop also

Friday 29 September 2006

On the boxed (and/or club) Mandriva 2007.0 editions, you’ll get automatically AIXGL/XGL working with proprietary drivers.

If you download the free edition, you’ll probably want this feature activated also. Here is the description of the procedure to follow in order to properly activate the 3DDesktop functionality on your computer.

Please note this procedure is a contribution taken from different web sites and refer to the provided hyperlinks for more information and complements.

However feel free to ask for more information in case you’ll need more details.

Download and install the latest Mandriva 2007.0 (you may start from the boot.iso located on Mandriva mirrors). You can also start from the RC2 and update it with the latest packages avaible.

After this installation, setup the PLF sources (if not familiar with this procedure, please refer to http://easyuprmi.zarb.org). Once set up, log in as root and type:

urpmi dkms-nvidia
urpmi task-3ddesktop

(that should bring your all necessitated dependencies, included kernel-source or kernel-stripped-source which is sufficient in our case).
Then log to a console (ctrl+alt+F1)
- log in as a root
- type init 3
- run XFdrake, select your graphic card model, ’click’ (tab to switch between tabs), and ’click’ on ’do’ (’faire’ in French, not sure about the translation)
- you should be prompted to use the proprietary driver or not (select yes)
- on the next screen, select RENDER and Composite.
Validate, and terminate.

You can check everything is correct on the /etc/X11/xorg.conf file, you should have Option "Composite" and Driver "nvidia" as follows:

##################################################################
Section "Extensions"
   Option "Composite"
EndSection
##################################################################
and
##################################################################
Section "Device"
   Identifier "device1"
   BoardName "NVIDIA GeForce 6 Series"
   Driver "nvidia"
   Option "DPMS"
EndSection
##################################################################

You can now go back on the login display manager by typing:
init 5
The screen should display the nvidia driver logo

Type in your login and password and SELECT the drak3D session.

You should be able to select the accelerated desktop (Xgl in our case).

Validate, and if not deconnected automatically, do ctrl+alt+backspace

Even if deconnected automatically, do ctrl+atl+backspace (in order to relaunch the Xserver).

Enter your login information and select your favorite session (GNOME/KDE) and enjoy compiz+Xgl ...

To remember, some shortcuts:
(available at the compiz reference web site)

Keystrokes functionality
Alt + Tab Switch windows
Moving the pointer to the top right screen corner turns on or off; clicking a window will zoom it to the front Arrange and View All Windows
Ctrl + Alt + Left/Right Arrow Switch desktops on cube
Ctrl + Shift + Alt + Left/Right Arrow Switch desktops on cube - with active window following
Ctrl + Alt + left-click and grab an empty desktopspace Rotate cube manually
Alt + wheel mouse Make window translucent/opaque
Super-key right-click Zoom-in once
Super-key + wheel mouse up Zoom-in manually
Super-key + wheel mouse down Zoom-out manually
Alt + left-click Move window
Ctrl + Shift + left-click Snap Move window (will stick to borders)
Alt + right-click Resize window
Alt + middle-click Bring up the window below the top window
Shift + F10 Slow-motion
hold Ctrl+Super key Water
Shift-F9 Rain
Ctrl+Alt+Down Arrow, then Left/Right arrow Film effect - changing dekstop

"Super-key" means the Linux respectively Windows key.

You’ll get also some info here:

References

- Mandriva implementation detailed
- Specific notes on graphic cards
- Setting up easily internet sources
- Compiz description

8 Forum posts

Comment on this article