NV 1.0-9629 driver + edgy + aiglx + Beryl method summary

Source: Internet
Author: User

N statement: This post is not original to me. It is a forum. It is collected and summarized in the wiki. I just hope to give it to all of you. If there are any errors, please correct me!
Section 1 Background
Ubuntu6.10 edgy has been released for two weeks. edgy has upgraded xorg to 7.1 With AIGLX, which provides great convenience for installing compiz or Brtyl. Secondly, edgy integrates the i686 and K7/K8 cores into Generic (it is said that it may support 32/64-bit hybrid environment operations ), nvidia-kernel-common is the dependency of the restricted module (if deleted, some hardware functions may become unavailable ).

The NVIDIA 1.0-9629 official version of the driver has been released, adding initial support for GLX_EXT_texture_from_pixmap. You can use AIGLX directly (not the NV driver directly supports Beryl ).
Unfortunately, the Legacy driver is still in version 7184. It seems that if you want to use Beryl, the old-fashioned graphics card can only use XGL.

You can only use the XGL + Beryl Method for Dapper users. For more information, see my article:
Http://forum.ubuntu.org.cn/viewtopic.php? T = 26309 & highlight =

Based on the preceding prerequisites, we will introduce how to use the NV + 1.0-9629 driver + edgy + aiglx + Beryl method.

Assume that your edgy is newly installed, not upgraded from Dapper.

Let's get started !!
Section 2 install the NV 1.0-9629 driver

1. First, although the official NV version 1.0-9629 driver has been released, but the ubuntu source does not yet have an official compilation (I believe it will be available soon), we can only install it manually.

2. Go to the terminal.

3. Delete the original driver (if you have installed the NVIDIA-Glx driver in the source, you can skip this step if you have manually installed the driver ):
Sudo apt-Get -- purge remove NVIDIA-Glx
Then, the settings of X are dimmed.
Sudo CP/etc/X11/Xorg. conf. Backup/etc/X11/Xorg. conf
Restart. Make sure the instance is started normally.

4. Install the compiling environment and the preliminary steps:
Install the header file and compiling environment
Sudo apt-Get install linux-headers-$ (uname-R) Build-essential
Edgy has installed the latest GCC. If no GCC is installed, install it on your own.

Sudo gedit/etc/default/Linux-restricted-modules-common
Add the Nv word to the last double quotation mark ("NV"

Preventing x failure
Sudo CP/etc/X11/Xorg. CONF/etc/X11/Xorg. conf. mybackup
If X fails to be started, use sudo CP/etc/X11/Xorg. conf. mybackup/etc/X11/Xorg. conf to reset x settings, and then start

The following are the key points for storing data on the network. I have not installed Multiple machines. If not, I can try it (but the restricted modules will be deleted, causing some other hardware to be unavailable:
Sudo apt-get -- purge remove nvidia-settings nvidia-kernel-common
Sudo rm/etc/init. d/nvidia -*

5. Start installation (if you have manually installed the nv driver, you can choose to uninstall the old version of the driver during installation ):
Take out a piece of paper and a pen and record the command, because we have to install it in a pure terminal.

After logging out, press Ctrl + Alt + F1. After logging in
Disable
Sudo/etc/init. d/gestation stop
Then start the installation (assuming that the downloaded file is in the home root directory)
Sudo sh NVIDIA-Linux-x86-1.0-9629-pkg1.run (if you're downloading a 64-bit drive sudo sh NVIDIA-Linux-x86_64-1.0-9629-pkg1.run)
After entering the installation interface, first accept the protocol and select "accept"
You may be prompted that you have installed the old driver (depending on whether you have manually installed the driver) and whether to delete it. Select yes,
Generally, a message is displayed, asking if the module is missing. If yes, select "no ",
You are prompted to compile the module by yourself, select "OK", and then start compiling and installation,
Finally, the system prompts you to modify xorg. conf, whether to allow, select yes,
Complete the installation and select OK.
Then, return to the terminal interface and restart the target machine group
Sudo/etc/init. d/gestation start

Now you can restart and try whether the driver has been installed. You can see the driver information in "Application-" System Tools-"nvidia x server setting ".

Tip: after each kernel update, you must reinstall the nv driver! Repeat the steps at 5th.
Section 3 install Beryl
1. Add Source

Sudo gedit/etc/apt/sources. list

Add one of the following sources

Deb http://www.beerorkid.com/compiz edgy main-edgy
Deb http://media.blutkind.org/xgl/ edgy main-edgy
Http://compiz-mirror.lupine.me.uk/edgy main-edgy
Http://ubuntu.compiz.net/edgy main-edgy

If it is 64-bit:
Deb http://www.beerorkid.com/compiz edgy main-edgy main-edgy-amd64
Deb http://media.blutkind.org/xgl/ edgy main-edgy main-edgy-amd64
Deb http://compiz-mirror.lupine.me.uk/edgy main-edgy main-edgy-amd64
Deb http://ubuntu.compiz.net/edgy main-edgy main-edgy-amd64
Save and exit

Add the key: select either of them.
Wget http://www.beerorkid.com/compiz/quinn.key.asc-O-| sudo apt-key add-
Wget http://media.blutkind.org/xgl/quinn.key.asc-o-| sudo apt-key add-
Wget http://compiz-mirror.lupine.me.uk/quinn.key.asc-o-| sudo apt-key add-
Wget http://ubuntu.compiz.net/quinn.key.asc-o-| sudo apt-key add-

Refresh Database
Sudo apt-Get update
Sudo apt-Get dist-Upgrade

Install Beryl

Sudo apt-Get install Beryl emerald-themes

Modify Xorg. conf

Sudo gedit/etc/X11/Xorg. conf

Add in section "screen"
Option "addargbglxvisuals" "true"

Optional:
Add in section "device"
Option "triplebuffer" "true"

Add the following item: (I did not add it)
Section "extensions"
Option "composite" "enable"
Endsection

Save and exit

Add a "Beryl-manager" in the system-"preferences-" session-"starter program.
Cancel
Alt + ctrl + backspace, restart X
After logging on, enjoy the pleasure of Beryl ~!

Section 4 troubleshooting

If the window box blinks, you can add an "emerald -- replace" item to the System-"preference-" session-"Startup Program.

From: http://forum.ubuntu.org.cn/viewtopic.php? T = 30638

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.