Difference between pages "Package:AMD Catalyst Video Drivers" and "Install/Overview"

(Difference between pages)
 
m (Live CD: Swap the download links)
 
Line 1: Line 1:
{{Ebuild
+
<noinclude>
|Summary=Accelerated ATI/AMD binary drivers for Radeon HD 5000 and newer chipsets.
+
{{InstallPart|an initial overview of the installation process as well as LiveCD download and boot instructions.}}
|CatPkg=x11-drivers/ati-drivers
+
</noinclude>
|Maintainer=Drobbins
+
== Installation Overview ==
|Homepage=
+
|Repository=Funtoo Overlay
+
|Overlay=Funtoo
+
}}
+
  
{{Important|Version 14.12-r3 and above now include ATI GLESv2 and EGL libraries, which should improve stabilty with GNOME.}}
+
This is a basic overview of the Funtoo installation process:
  
== Introduction ==
+
# [[#Live CD|Download and boot the live CD of your choice]].
 +
# [[#Prepare Hard Disk|Prepare your disk]].
 +
# [[#Creating filesystems|Create]] and [[#Mounting filesystems|mount]] filesystems.
 +
# [[#Installing the Stage 3 tarball|Install the Funtoo stage tarball]] of your choice.
 +
# [[#Chroot into Funtoo|Chroot into your new system]].
 +
# [[#Downloading the Portage tree|Download the Portage tree]].
 +
# [[#Configuring your system|Configure your system]] and [[#Configuring your network|network]].
 +
# [[#Configuring and installing the Linux kernel|Install a kernel]].
 +
# [[#Installing a Bootloader|Install a bootloader]].
 +
# [[#Finishing Steps|Complete final steps]].
 +
# [[#Restart your system|Reboot and enjoy]].
  
<tt>x11-drivers/ati-drivers</tt> (often referred to as "<tt>fglrx</tt>", the name of its kernel module) is the proprietary, accelerated driver for AMD (ATI) graphics cards.
+
=== Live CD ===
  
== Preparing to Install ==
+
Funtoo doesn't provide an "official" Funtoo Live CD. We recommend using the Gentoo-based [http://www.sysresccd.org/ System Rescue CD] as it contains lots of tools and utilities and supports both 32-bit and 64-bit systems. Download it here:
  
=== Blacklist Radeon and DRM Modules ===
+
* Download from '''[http://ftp.osuosl.org/pub/funtoo/distfiles/sysresccd/systemrescuecd-x86-4.5.0.iso osuosl.org]'''
 +
* Download from '''[http://build.funtoo.org/distfiles/sysresccd/systemrescuecd-x86-4.5.0.iso funtoo.org]'''
  
To avoid having the open source Radeon drivers automatically load and ruin your day, create a blacklist file as follows:
+
{{Note|If using an older version of System Rescue CD, '''be sure to select the <code>rescue64</code> kernel at the boot menu if you are installing a 64-bit system'''. By default, System Rescue CD used to boot in 32-bit mode though the latest version attempts to automatically detect 64-bit processors.}}
  
{{file|name=/etc/modprobe.d/radeon.conf|desc=Prevent open source DRM and radeon drivers from loading|body=
+
==== Network Access ====
blacklist radeon
+
blacklist drm
+
}}
+
  
=== Configuring the kernel ===
+
Once you have booted System Rescue CD, see if you have Internet access. Internet access is required for installing Funtoo Linux:
  
Configure the kernel as follows. Note that the Direct Rendering Manager is '''not''' enabled. It's possible to have it selected as a kernel module, but should not be built-in to your kernel.
 
 
{{kernelop|desc=
 
[*] Enable loadable module support
 
Processor type and features --->
 
      [*] MTRR (Memory Type Range Register) support
 
Bus options (PCI etc.) --->
 
      [*] PCI Express Port Bus Support
 
      [*] Message Signaled Interrupts (MSI and MSI-X)
 
Device Drivers --->
 
      Graphics support --->
 
            < > Direct Rendering Manager (xFree86 4.1.0 and higher DRI support) --->
 
}}
 
 
{{note|If you need support for AGP cards, enable the following kernel options:}}
 
{{kernelop|desc=
 
Device Drivers --->
 
      Graphics support --->
 
            <*> /dev/agpgart (AGP Support) --->
 
                  Select an appropriate AGP driver:
 
                  <*> AMD Opteron/Athlon64 on-CPU GART support
 
}}
 
 
=== Editing make.conf ===
 
 
Add the following to your <code>/etc/make.conf</code>:
 
 
<console>
 
<console>
# ##i##nano /etc/make.conf
+
# ##i##ping www.google.com
VIDEO_CARDS="fglrx"
+
PING www.google.com (216.58.217.36) 56(84) bytes of data.
 +
64 bytes from den03s10-in-f4.1e100.net (216.58.217.36): icmp_seq=1 ttl=57 time=30.1 ms
 
</console>
 
</console>
=== Enabling AMD Catalyst Control Center ===
 
  
Then, add the following to <code>/etc/portage/package.use</code> if you would like to enable support for AMD Catalyst Control Center:
+
If the ping is successful (you see <code>64 bytes</code> messages as above,) then your Network is set up. Hit Control-C to stop the ping.  
<console>
+
###i## nano /etc/portage/package.use
+
x11-drivers/ati-drivers qt4
+
</console>
+
 
+
{{Note|If you are using a desktop or workstation profile, this USE flag will be enabled by default.}}
+
 
+
== Installing ==
+
  
=== Emerging the package ===
+
If you need to set up a WiFi connection for Internet access, then this needs to be done using the System Rescue CD graphical environment. Run <code>startx</code> to start a graphical session:
  
If you allready have emerged xorg-server, all you need to install the drivers is running the following command:
 
 
<console>
 
<console>
###i## emerge -av --changed-use --deep @world
+
# ##i##startx
 
</console>
 
</console>
  
otherwise you may install the drivers with
+
Then, use the NetworkManager applet (icon in lower right) to connect to a WiFi network of your choice. Next, open a terminal inside your graphical environment, and you should be able to use the terminal to complete the rest of the steps.
<console>
+
###i## emerge -av x11-drivers/ati-drivers
+
</console>
+
  
Before using the driver, ensure that the "fglrx" module has been loaded -- run {{c|modprobe fglrx}} as root  -- it should return with no error. If the module can't be found, run {{c|depmod -a}} as root -- then the modprobe command should work. If you are switching from the open source Radeon driver, then shutting down your desktop and rebooting your system (be sure to disable xdm) may be required to get the new "fglrx" module to load cleanly.
+
==== Remote Install ====
  
== Configuring ==
+
Alternatively, you can log into System Rescue CD over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.
  
Next, set ati-drivers to manage the system's OpenGL and OpenCL implementations:
+
If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD:
<console>
+
###i## eselect opengl set ati
+
###i## eselect opencl set amd
+
</console>
+
  
Afterwards, run <code>aticonfig</code> to modify the X-server configuration file to work with the ati-drivers:
 
 
<console>
 
<console>
###i## aticonfig --initial
+
# ##i##passwd
 +
New password: ##i##********
 +
Retype new password: ##i##********
 +
passwd: password updated successfully
 +
#
 
</console>
 
</console>
  
{{tip|If you would like to have a full-resolution framebuffer with ati-drivers, check out [[uvesafb| uvesafb]]}}
+
Once you have typed in a password, you will now need to determine the IP address of System Rescue CD, and then you can use <code>ssh</code> to connect to it. To determine the IP address currently being used by System Rescue CD, type <code>ifconfig</code>:
 
+
=== Multi-Head Display ===
+
 
+
To enable a multi-head display, you'll need to use the Catalyst Control Center {{c|amdcccle}} GUI configuration tool, which is enabled by the {{c|qt4}} USE variable.
+
 
+
Open up a graphical terminal, and become root by typing {{c|su -}} -- your user will need to be in the {{c|wheel}} group to do this:
+
 
+
{{console|body=
+
$ ##i##su -
+
Password: ##i##*******
+
# source /etc/profile
+
# amdcccle
+
}}
+
 
+
[[File:amdcccle.png|class=img-responsive|center]]
+
Navigate to Display Manager, and choose the option {{c|Multi-display desktop with display(s) X}} for each display. Then, drag and drop the blue displays to arrange them to match how they are arranged in front of you. Click {{c|OK}}. The Catalyst Control Center will tell you that you will need to restart your system for the changes to take effect. Simply log out if you are running {{c|xdm}}, or end your X session, and start it up again. You should now have a fully-functioning multi-head display.
+
 
+
== Troubleshooting ==
+
=== I am using a HDMI connection, and my monitor's display has a black border around it. ===
+
Disable overscan using the following command, as root:
+
  
 
<console>
 
<console>
# ##i##aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
+
# ##i##ifconfig
 
</console>
 
</console>
  
You will need to restart your X session for the changes to take effect. If you are using a display manager, logging out and back in again should cause the new settings to be visible.
+
One of the interfaces should have an IP address (listed as <code>inet addr:</code>) from your LAN. You can then connect remotely, from another system on your LAN, to System Rescue CD, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing <code>1.2.3.4</code> with the IP address of System Rescue CD. Connecting from an existing Linux or MacOS system would look something like this:
  
=== Compton with backend glx does not work well with ati-drivers ===
 
Try running compton with the following switches:
 
 
<console>
 
<console>
###i## compton --backend glx --vsync none --paint-on-overlay
+
(remote system) $ ##i##ssh root@1.2.3.4
 +
Password: ##i##**********
 
</console>
 
</console>
  
[[Category:Video Cards]]
+
{{Note|If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY].}}
[[Category:First Steps]]
+
 
{{EbuildFooter}}
+
After you've logged in via SSH, you're now connected remotely to System Rescue CD and can perform the installation steps.

Revision as of 06:35, February 18, 2015


Note

This is a template that is used as part of the Installation instructions which covers: an initial overview of the installation process as well as LiveCD download and boot instructions.. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.


Installation Overview

This is a basic overview of the Funtoo installation process:

  1. Download and boot the live CD of your choice.
  2. Prepare your disk.
  3. Create and mount filesystems.
  4. Install the Funtoo stage tarball of your choice.
  5. Chroot into your new system.
  6. Download the Portage tree.
  7. Configure your system and network.
  8. Install a kernel.
  9. Install a bootloader.
  10. Complete final steps.
  11. Reboot and enjoy.

Live CD

Funtoo doesn't provide an "official" Funtoo Live CD. We recommend using the Gentoo-based System Rescue CD as it contains lots of tools and utilities and supports both 32-bit and 64-bit systems. Download it here:

Note

If using an older version of System Rescue CD, be sure to select the rescue64 kernel at the boot menu if you are installing a 64-bit system. By default, System Rescue CD used to boot in 32-bit mode though the latest version attempts to automatically detect 64-bit processors.

Network Access

Once you have booted System Rescue CD, see if you have Internet access. Internet access is required for installing Funtoo Linux:

# ping www.google.com
PING www.google.com (216.58.217.36) 56(84) bytes of data.
64 bytes from den03s10-in-f4.1e100.net (216.58.217.36): icmp_seq=1 ttl=57 time=30.1 ms

If the ping is successful (you see 64 bytes messages as above,) then your Network is set up. Hit Control-C to stop the ping.

If you need to set up a WiFi connection for Internet access, then this needs to be done using the System Rescue CD graphical environment. Run startx to start a graphical session:

# startx

Then, use the NetworkManager applet (icon in lower right) to connect to a WiFi network of your choice. Next, open a terminal inside your graphical environment, and you should be able to use the terminal to complete the rest of the steps.

Remote Install

Alternatively, you can log into System Rescue CD over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.

If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD:

# passwd
New password: ********
Retype new password: ********
passwd: password updated successfully
#

Once you have typed in a password, you will now need to determine the IP address of System Rescue CD, and then you can use ssh to connect to it. To determine the IP address currently being used by System Rescue CD, type ifconfig:

# ifconfig

One of the interfaces should have an IP address (listed as inet addr:) from your LAN. You can then connect remotely, from another system on your LAN, to System Rescue CD, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing 1.2.3.4 with the IP address of System Rescue CD. Connecting from an existing Linux or MacOS system would look something like this:

(remote system) $ ssh root@1.2.3.4
Password: **********
Note

If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as PuTTY.

After you've logged in via SSH, you're now connected remotely to System Rescue CD and can perform the installation steps.