Difference between revisions of "Display Drivers"

From LinuxMCE
Jump to: navigation, search
(glfrx should be fglrx ? :P)
(Link to the easy way)
Line 9: Line 9:
 
=== Installation ===
 
=== Installation ===
  
There are likely many ways to do this, here's doing it ''the hard way'' that should work most of the time.
+
There are likely many ways to do this, here's doing it ''the hard way'' that should work most of the time.<br>
 +
The easy way is described on the site above, you can read it by finding the [[http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide|Ubuntu Feisty Installation Guide]].
  
 
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven't done so already.  
 
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven't done so already.  

Revision as of 00:52, 14 July 2007

A short (and incomplete) HowTo on updating LMCE (1.1 Beta2) to the latest display drivers.

ATI Chipsets

I'm writing these from memory more or less so it probably needs to be tested and updated, don't be shy. For more information, see also the Unofficial ATI Linux Driver Wiki.


Installation

There are likely many ways to do this, here's doing it the hard way that should work most of the time.
The easy way is described on the site above, you can read it by finding the [Feisty Installation Guide].

1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven't done so already.

<you>@dcerouter:~$ sudo -s

2. Prepare the system for building the driver packages, this only has to be done once, please add if you needed more.

root@dcerouter:~# apt-get install dpkg-dev debhelper

3. Download the latest linux drivers from AMD/ATI (version 8.38.6 currently), if you haven't done so already.

root@dcerouter:~# wget https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-<version>-x86.x86_64.run

4. Build installable packages for Feisty.

root@dcerouter:~# sh ati-driver-installer-<version>-x86.x86_64.run --buildpkg Ubuntu/feisty

5. Install them (maybe the order needs to be changed).

root@dcerouter:~# dpkg -i xorg-driver-fglrx_<version>-1_i386.deb xorg-driver-fglrx-dev_<version>-1_i386.deb fglrx-kernel-source_<version>-1_i386.deb fglrx-amdcccle_<version>-1_i386.deb

6. Now it needs to be configured. There are a lot of ways to do that.

Configuration

(ToDo: Write some real instructions, with a bare full config example)


One way is to edit the "/etc/X11/xorg.conf" file by hand and change at least. Before you begin modifying this file you should make a backup copy so you can always restore it back to a working default.

Section "Device"
 Identifier  "Generic Video Card" # or whatever Device was specified in the "Screen" Section
 Driver      "vesa" # or "ati" or "radeon" or something.
 ...
EndSection

to:

Section "Device"
 Identifier  "Generic Video Card" # <- leave this line as it was, unchanged!
 Driver      "fglrx" # <- change this one
 ...
EndSection

You might want to make a backup copy of this file once it works since it seems to be overwritten rather eagerly, and not always by the most adequate of tools.

Here's a quick and crude way to upate the configuration, it simply changes "vesa" to "glfrx" (not really recommended, better to do it properly).

root@dcerouter:~# sed -e '/[^#]*Driver/s/"vesa"/"fglrx"/' -i /etc/X11/xorg.conf

There might be other options that perhaps need to be changed depending on your existing configuration file, feel free to add them here.

Either restart the X-server completely or reboot. There should be an ATI controll center installed now if you followed the previous install instructions, this could be used for futher configuration needs, YMMV. Make another backup copy of your /etc/X11/xorg.conf when everyting works properly.

NVidia Chipsets

Again, I'm mostly writing these from memory so it probably needs to be tested and updated, don't be shy.

Installation

1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven't done so already.

<you>@dcerouter:~$ sudo -s

2. Download the latest linux drivers from NVidia (depending on your hardware, one of versions: 100.14.11, 1.0-9639 or 1.0-7185 currently), if you haven't done so already.

root@dcerouter:~# wget http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86-<version>-pkg1.run

3. Go to runlevel 1 to stop the currently running X-server.

root@dcerouter:~# telinit 1

4. Execute the installer and follow instructions. Ignore the warning about runlevel 1 and don't bother looking for precompiled drivers.

root@dcerouter:~# sh NVIDIA-Linux-x86-<version>-pkg1.run

5. Now it needs to be configured. There are a lot of ways to do that.

Configuration

To be continued.

Troubleshooting

X-windows won't start anymore at all

Reboot into rescue-mode if needed (hit [Esc] when Grub tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command "X" and press [CTRL]-[ALT]-[Backspace] simultaneous to quit (alternative: use "startx" and get the full desktop, if any), then reboot when it works and you're done.