Editing Gentoo Installation Guide

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 42: Line 42:
  
 
== Grabbing a Driver Set ==
 
== Grabbing a Driver Set ==
===Preparation===
 
Note: All next commands at a shell must execute as root!
 
  
 
For installation it will be easier to drop out of X to a command prompt. Do this using whatever command your Window Manager uses.  
 
For installation it will be easier to drop out of X to a command prompt. Do this using whatever command your Window Manager uses.  
I use fluxbox so it's just rightclick -> fluxbox menu -> exit. For KDE or GNOME it's probably just a matter of logging out. When all else fails, hit CTL+ALT+BACKSPACE to kill the X server ungracefully.  
+
I use fluxbox so it's just rightclick -> fluxbox menu -> exit. For KDE or GNOME it's probably just a matter of logging out. When all else fails, hit CTL+ALT+BACKSPACE to kill the X server ungracefully. If the X server only reboots or for some reason you've disabled this hotkey, log in as root and type '''init 3''' to bring the system run level down.
  
If the X server only reboots or for some reason you've disabled this hotkey bring the system run level down with:
+
There is also the possibility to stop the xdm service by entering ''/etc/init.d/xdm stop'' as root.
init 3
 
  
There is also the possibility to stop the xdm service:
+
Thanks to portage, installing the drivers is easy. If you have not already done it recently, start by synchronising your portage tree:
/etc/init.d/xdm stop
 
  
To prevent start at next reboot prevent the run script from execution with:
+
emerge --sync
  rc-update del xdm
+
   
 +
Getting the latest drivers will probably mean unmasking them.
  
If you have not already done it recently, start by synchronizing your portage tree:
+
echo "x11-drivers/ati-drivers ~arch" >> /etc/portage/package.keywords
  
emerge --sync
+
Replace {{Codeline|<~arch>}} with your system architecture; it's going to be either {{Codeline|~x86}} or {{Codeline|~amd64}}, the only two CPU architectures supported by the ATI driver.
  
===Installation===
+
Now let's install the drivers. ati-drivers-extra is not available anymore.
Now let's install the drivers. Note: ati-drivers-extra is not available anymore.
 
  
 +
su -
 
  emerge -av ati-drivers
 
  emerge -av ati-drivers
  
 
The next step is switch to the ATi OpenGL subsytem:
 
The next step is switch to the ATi OpenGL subsytem:
  
 +
(#opengl-update ati)
 
  eselect opengl set ati
 
  eselect opengl set ati
 +
(very important!)(opengl-update is deprecated)
 +
Configure X:
 +
First, make a standard config file.
  
===Configuration of X===
+
  xorgconfig
First, move your old configuration file (or delete it).
 
  cd /etc/X11
 
mv xorg.conf xorg.conf.old
 
 
 
This point was not necessary at my last tests, but do this if something failed. Make a standard config file:
 
cd /etc/X11
 
Xorg -configure
 
cp xorg.conf.new xorg.conf
 
  
Now lets make ''aticonfig'' the rest of configuration.
+
For a single screen
 
 
For a single screen:
 
  
 
  aticonfig --initial --input=/etc/X11/xorg.conf
 
  aticonfig --initial --input=/etc/X11/xorg.conf
Line 96: Line 87:
 
  /opt/ati/bin/aticonfig [...]
 
  /opt/ati/bin/aticonfig [...]
  
 
===Test your graphics card===
 
 
Now, let's get back into X.
 
Now, let's get back into X.
  
 
  startx
 
  startx
 
Or start with init script and login:
 
 
/etc/init.d/xdm start
 
  
 
Open up a command prompt and run:
 
Open up a command prompt and run:
Line 111: Line 96:
  
 
If the OpenGL vendor string says "ATI Technologies," then congrats! You've got the drivers working and hardware acceleration going great. If not...read on...
 
If the OpenGL vendor string says "ATI Technologies," then congrats! You've got the drivers working and hardware acceleration going great. If not...read on...
 
===Test latest drivers===
 
Getting the latest drivers will probably mean unmasking them before emerging.
 
 
echo "x-drivers/ati-drivers ~a >> /etc/portage/package.keywords
 
 
Replace {{Codeline|<~arch>}} with your system architecture; it's going to be either {{Codeline|~6}} or {{Codeline|~a4}}, the only two CPU architectures supported by the ATI driver.
 
  
 
== Troubleshooting ==
 
== Troubleshooting ==
===Wrong resolution===
 
Often the EDID information can't read correctly from monitor. Therefore first remove all kvm switches, hdmi switches or hdmi matrices between your monitor and output of your graphics card. At the moment (ati-drivers-10.12) the options "NoDDC", "UseEdidFreqs" "0", "IgnoreEDID" "on" seems to be not working. Also Option "CustomEDID" do not work with fglrx driver.
 
  
 
=== Config Files ===
 
=== Config Files ===
Line 256: Line 232:
  
 
Logoff and on to ensure that the membership of the group is known to the system.
 
Logoff and on to ensure that the membership of the group is known to the system.
 
==Some differences to open source driver "radeon"==
 
This information's was extracted from the file /var/log/Xorg.0.log.
 
 
===Detected outputs===
 
The naming looks better at ''radeon''. See example for HD5770 (1xHDMI, 2xDVI, 1x DisplayPort):
 
 
''fglrx'': DFP1 (physical HDMI-0 on radeon?), DFP2 (physical DVI-0 on radeon?), DFP3 (physical DVI-1 on radeon!), DFP4 (physical DisplayPort-0 on radeon?), CRT1, CRT2
 
 
''radeon'': HDMI-0, DVI-0, DVI-1, DisplayPort-0
 
  
 
== See Also ==
 
== See Also ==

Please note that all contributions to cchtml.com are considered to be released under the Public Domain (see cchtml.com:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)