ATI显卡配置aticonfig和amdcccle全解
- Home
- Packages
- Forums
- Wiki
- Bugs
- AUR
- Download
ATI Catalyst
i18n
Dansk –English – Español –Français –Indonesia –Italiano –Lietuviškai –Magyar –Nederlands –Português –Slovenský –Suomi –Svenska –Türkçe –Česky –Ελληνικά –Български –Русский –Српски –Українська –עברית –ไทย –日本語 –正體中文 –简体中文 –한국어
Summary |
---|
An overview of ATI's proprietary Linux "Catalyst" video card driver. |
Related |
ATI |
Intel |
NVIDIA |
Xorg |
Resources |
cchtml.com - Unofficial Wiki for the ATI Linux Driver |
Unofficial ATI Linux Driver Bugzilla |
Owners of ATI/AMD video cards have a choice between ATI's proprietary driver (catalyst) and the open source driver (xf86-video-ati). This article covers the proprietary driver.
ATI's Linux driver package fglrx (FireGL and Radeon X) is now known as Catalyst to fall in line with the naming scheme of the Windows driver. Only the package name has changed, while the kernel module retains its original fglrx.ko filename. Therefore, any mention of fglrx below is specifically in reference to the kernel module, not the package.
Catalyst was once a precompiled package offered by Arch in the [extra] repository, but as of March 2009, official Arch support has been dropped because of dissatisfaction with the quality and speed of development.
Compared to the open source driver, Catalyst performs worse in 2D graphics, but has a better support for 3D rendering. Supported devices are ATI/AMD Radeon video cards with chipset R600 and newer (as of Catalyst 9.4). See this table to translate model names (X1900, HD4850) to/from chip names (R580, RV770 respectively).
Contents[hide]
|
Installation
Catalyst 12.1 news:
- supports up to 3.3 rc1 kernel (last tested);
- it supports xorg-server 1.11.x, although because of xv video output bug it's better to use [xorg110] repository;
- it includes OpenCL binaries for the SDK;
- GNOME3 support still does not look good, but disabling CLUTTER_VBLANK should help, look at the bottom of this page for the solution;
- radeon hd 7970 official support.
Almost[*] all catalyst's packages mentioned below (like catalyst-utils) are available on AUR (read Installing from AUR for more details) and on unofficial [catalyst] repository.
To install AMD's fglrx driver for the linux package, you need to install either catalyst (driver for stock kernel) + catalyst-utils (required libraries/utilities) packages or catalyst-total package.
[*]catalyst-total is available only on AUR, as it was designed to be the fastest way of building catalyst drivers for AUR users
If you are using x86_64 architecture and want 32-bit OpenGL support - install lib32-catalyst-utils, just make sure that you did uncomment [multilib] repository in /etc/pacman.conf before installing this package - note: if you are using catalyst-total then you do not need this package.
Please note that there are some additional packages which can be useful, every one of them can replace catalyst package and provide fglrx modules for multiple kernels installed on your system, these packages are:
- catalyst-generator - able to generate fglrx modules packed into pacman's packages - most secure and KISS-compatible package in this side-note, althought it has to be operated manually;
- catalyst-hook - mkinitcpio' hook which will automatically update fglrx modules with every kernel's update;
- catalyst-daemon - that delivers 'automatic update of fglrx modules with every kernel's update' functionality done by init script.
You will find more details about those packages in Tools section.
After installing you need to ensure xorg.conf is created and/or configured before rebooting.
If you are using x86_64 architecture and want 32-bit OpenGL support - install AUR's lib32-catalyst-utils, just make sure that you have uncommented [multilib] repository in /etc/pacman.conf. Note: if you are using catalyst-total then you do not need this package.
- Make sure that you own a R6xx (HD2xxx) or newer card or the driver won't be enabled. You will encounter an error if you try to enable your display using Catalyst and a card older than the R6xx series.
- It appears that Catalyst 9.10-10.11 does not support nForce4 motherboard chipsets.
If you need more information on catalyst, visit this thread.
Installing from AUR
Addresses of AUR's packages mentioned on the top of Installation section:
catalyst - driver for stock kernel
catalyst-utils - required libraries/utilities
lib32-catalyst-utils - 32-bit OpenGL support for x86_64 systems
catalyst-total - catalyst-hook + catalyst-utils + lib32-catalyst-utils
catalyst-generator - Generator of catalyst-{kernver} packages with fglrx module inside
catalyst-hook - Auto re-compile the fglrx module when kernel update (mkinitcpio's hook)
catalyst-daemon - Auto re-compile the fglrx module if kernel was updated (init script)
Custom Kernels
To install catalyst for a custom kernel, you'll need to build your own catalyst-$kernel package.
If you are at all uncomfortable or inexperienced making packages, read up the ABS wiki page first so things go smoothly.
Obtaining PKGBUILD
Obtain the PKGBUILD and catalyst.install files from AUR.
Editing the PKGBUILD and Building
Three changes need to be made here:1. Change:pkgname=catalyst to pkgname=catalyst-KERNEL_NAMEwhere KERNEL_NAME is whatever you want (e.g. custom, mm, themostawesomekernelever)
2. Remove linux from the dependencies list.
3. Build and install the package. (makepkg -i or makepkg followed by pacman -U pkgname.pkg.tar.gz)
Unofficial repositories
There are some unofficial repositories containing the newest (or older) catalyst packages along with the appropriate libs and software in order to use the driver.If you want to know what packages are inside any given repository you need to first add repository to pacman.conf, perform pacman -Sy command and then list repository with pacman -Sl command:
# pacman -Sl catalyst
[catalyst] repository
It contains newest stable catalyst driver and some additional packages.This repository should always work with the stock kernel from [core] and it is updated most frequently.
To use it you need:
1.) Edit /etc/pacman.conf and add those lines above all other repositories (so also above [core] and [extra]):
[catalyst] Server = http://catalyst.apocalypsus.net/repo/catalyst/$arch
2.) Update with:
# pacman -Syu
3.) Install catalyst:
# pacman -S catalyst catalyst-utils
Note: If you are updating from catalyst =< 10.8 steps 2 and 3 look like this:
# pacman -Sy # pacman -Rdd catalyst # pacman -S catalyst catalyst-utils
4.) Don't forget to prepare your /etc/X11/xorg.conf for catalyst! Use aticonfig --initial if it doesn't exist.
5.) Reboot.
For x86_64 users [catalyst] provides lib32-catalyst-utils package needed to run 32-bit opengl applications and wine games.
Repository also contains xvba-video package so you may easily use video acceleration described below,plus catalyst-daemon, catalyst-hook and catalyst-generator packages.
[catalyst] repository contains xorg-server-catalyst-maximize-fix package. This package is fixing problems with maximizing/resizing, use it mainly if you have disabled ATi 2D Acceleration Architecture. To remove xorg-server and install xorg-server-catalyst-maximize-fix just type:
# pacman -Rdd xorg-server xorg-server-common # pacman -S xorg-server-catalyst-maximize-fix
Archived repositories
There are some archived repositories placed in http://catalyst.apocalypsus.net/repo, please browse this site and look for files with *.db extension, if you have found interesting catalyst repository tell pacman to use it.For catalyst-11.8.db pacman.conf entry looks like:
[catalyst-11.8] Server = http://catalyst.apocalypsus.net/repo/catalyst/$arch
You can also view archive catalyst PKGBUILDs and use them to build catalyst package which fit your needs, you can find it inside tar.gz archives here.
Xorg-server repositories
[xorg110]
This repository contains xorg-server packages of 1.10 line - catalyst driver in version < 11.11 was not supporting xorg-server 1.11.
To use this repo you need to edit /etc/pacman.conf and add those lines above all other repositories:
[xorg110] Server = http://catalyst.apocalypsus.net/repo/xorg110/$arch
[xorg19]
Catalyst <= 11.3 isn't supporting xorg-server >= 1.10 (checked also with IgnoreAbi flag) - that's the reason why [xorg19] repo with xserver 1.9 and some additional packages arrived.
To use it you need edit /etc/pacman.conf and add those lines above all other repositories:
[xorg19] Server = http://catalyst.apocalypsus.net/repo/xorg19/$arch
[xorg18]
Catalyst < 10.10 isn't working with xorg-server >= 1.9 (checked also with IgnoreAbi flag).To use it you need edit /etc/pacman.conf and add those lines above all other repositories:
[xorg18] Server = http://catalyst.apocalypsus.net/repo/xorg18/$arch
[xorg17]
Supported since catalyst 10.4
[xorg17] repository contains xserver 1.7 packages, use it only if you are experiencing problems with newer xservers.
Repository contains xorg-server-backclear (patched with backclear patch) and xorg-server-1.7-catalyst-maximize-fix (patched with fedora patch) packages. Both this patches fix problems with maximizing/resizing but they are doing it in different way - you may choose which patched xserver is best for you. To remove xorg-server and install xorg-server-backclear just type:
# pacman -Rdd xorg-server # pacman -S xorg-server-backclear
Similar with xorg-server-1.7-catalyst-maximize-fix
To use [xorg17] repo please put those lines at the top of all other repositories in /etc/pacman.conf:
[xorg17] Server = http://catalyst.apocalypsus.net/repo/xorg17/$arch
[xorg16]
[xorg16] repository contains xserver 1.6 packages, use it only if you are experiencing problems with newer xservers.
[xorg16] Server = http://catalyst.apocalypsus.net/repo/xorg16/$arch
Tools
catalyst-generator
catalyst-generator is a package able to build and install fglrx modules packed into nice catalyst-{kernver} pacman's packages.
It creates catalyst-{kernver} packages using makepkg and installs them with pacman. {kernver} is the kernel version for which each package was built (e.g. catalyst-2.6.35-ARCH package was built for 2.6.35-ARCH kernel).
To build and install catalyst-{kernver} package for booted kernel as an unprivileged user (safer way) type this:catalyst_build_moduleYou will be asked for root's password to proceed to package installation.It is important to run this command after installing catalyst-generator.
This package doesn't support auto re-compilation functionality so after kernel updates you will have to manually update catalyst-{kernver} package. Do it in this way (without rebooting):
1.) As root:
# catalyst_build_module remove
This will remove all unused catalyst-{kernver} packages
2.) As unprivileged user:
# catalyst_build_module new_kernel_version
Where new_kernel_version is a version of kernel which you just updated/installed. e.g.:
catalyst_build_module 2.6.36-ARCH
or:
catalyst_build_module all
which will built catalyst-{kernver} packages for all kernels.
If you want to remove catalyst-generator - it's best to run this as root before removing catalyst-generator:
catalyst_build_module remove_all
(This will remove all catalyst-{kernver} packages from the system.)
catalyst-generator isn't able to remove all those catalyst-{kernver} packages automatically while being removed because there can not be more than one instance of pacman running. If you forget to type `catalyst_build_module remove_all` before typing `pacman -R catalyst-generator` - catalyst-generator will tell you which catalyst-{kernver} packages you will have to remove after removing catalyst-generator.
WARNING: Package contains reference to $srcdir
WARNING: '.pkg' is not a valid archive extension.
while building catalyst-{kernver} package - do not be concerned, it's normal.
Automatic re-compilation of fglrx module with every kernel update
Most of catalyst_build_module script options mentioned in catalyst-generator section is supported, type catalyst_build_module help to check which ones exactly.
Since catalyst 10.9 that funcionality has been removed from catalyst package mainly because of this and that.
Still it can be very useful if you are using more than one stock kernel, or you do not like to rebuild catalyst package with every kernel update.Known mkinitcpio's hook functionality has been moved to AUR's catalyst-hook.
Also there is a new package able to provide similar functionality called catalyst-daemon.
Please note that those packages provides only re-building scripts and source files needed to build fglrx module, and they depend on catalyst-utils package.
Auto re-compilation is enabled by default after installing selected package, if you want to turn it off just run this command as root:
# catalyst_build_module autooff
You can also turn it on with:
# catalyst_build_module auto
catalyst_build_module is storing all informations about compilling/installig fglrx module in log file placed in /var/log/catalys-install.log. But you do not need to remember it, you will be informed about that fact whenever installation fails.
catalyst-hook
In catalyst-hook 'automatic re-compilation' functionality is done by a fglrx hook on mkinitcpio with combination of forcing to update package linux-headers in first place.
The hook will call catalyst_build_module command to update fglrx module for the version of your new kernel, and additionally it will call catalyst_build_module remove command to remove unneeded flgrx module(s).
catalyst-daemon
In catalyst-daemon 'automatic re-compilation' functionality is done by init script called autofglrx which runs with every system boot and checks if kernel was updated. If kernel was updated - it's rebuilding fglrx module. If kernel wasn't updated - it's loading previously built fglrx module (this whole operation is taking only 20ms on 2.4 GHz CPU).
Autofglrx's check function is comparing built time of just booted kernel (provided by `uname -v`) with built time of a kernel for which fglrx module was built.It's able to do such a comparison because it adds `uname -v` information to the fglrx module's description while module's compilation.
While rebuilding autofglrx will call 'catalyst_build_module' to build a module and 'catalyst_build_module remove' to remove unneeded, older fglrx module.
It doesn't remain in memory.
Official ATI/AMD Installer
1.) Download the installer from AMD or elsewhere (whereas *-* will be the version): ati-driver-installer-*-*-x86.x86_64.run
2.) Make sure it's executable: # chmod +x ati-driver*
3.) Ensure you're using a basic video driver like vesa, and remove conflicting drivers (i.e. xf86-video-ati, radeon) with pacman and from /etc/rc.conf
4.) Symlink /usr/src/linux to /usr/src/{kernelsource}. 64-bit users also symlink/usr/lib64 to /usr/lib.
5.) Be sure to have your build environment setup: # pacman -Syu base-devel linux-headers
6.) As root: # ./ati-driver-installer-*-*-x86.86_64.run (Files will extract to a temporary folder and scripts will run...)
Assuming nothing went horribly wrong...
7.) Check /usr/share/ati/fglrx-install.log for issues. There should also be a /lib/modules/fglrx/make.{ker_version}.log
8.) Finally, try # aticonfig As of Catalyst 11.7, it still assumes /etc/X11/xorg.conf should exist.
Configuration
Three things to check in Arch before rebooting, otherwise X can break:
- /etc/X11/xorg.conf
- /etc/rc.conf
- /boot/grub/menu.lst
First, xorg.conf:AMD provides the aticonfig tool to create/modify xorg.conf file. It also can configure virtually every aspect of the card for it also accesses the amdpcsdb file. For a complete list of aticonfig options, run:
# aticonfig --help | less
Simple examples from aticonfig:
1. Setting up fglrx for the first time.Single head : aticonfig --initial --input=/etc/X11/xorg.confDual head : aticonfig --initial=dual-head --screen-layout=aboveThis command will generate a dual head configurationfile with the second screen located above the firstscreen.
If you do not already have an xorg.conf file, you can compare the generated file to one of the Sample Xorg.conf examples listed on the Xorg page.
Although most options are now automatically detected in current Xorg, you may want to specify some in case the defaults change between versions.
Here is an example(with notes) for reference. Entries with '#' should be required, add entries with '##' as needed:
Section "ServerLayout"Identifier "Arch"Screen 0 "Screen0" 0 0 # 0's are necessary. EndSection Section "Module"Load ...... EndSection Section "Monitor"Identifier "Monitor0"... EndSection Section "Device"Identifier "Card0"Driver "fglrx" # Essential.BusID "PCI:1:0:0" # Recommended if autodetect fails.Option "OpenGLOverlay" "0" ##Option "XAANoOffscreenPixmaps" "false" ##Option "UseInternalAGPGart" "no" ## Deprecated since Catalyst 8.24.18/Option "KernelModuleParm" "agplock=0" ## as AGP GART support was removed EndSection Section "Screen"Identifier "Screen0"Device "Card0"Monitor "Monitor0"DefaultDepth 24SubSection "Display"Viewport 0 0Depth 24 # Should not change from '24'Modes "1280x1024" "2048x1536" ## 1st value=default resolution, 2nd=maximum.Virtual 1664 1200 ## (x+64, y) to workaround potential OGL rect. artifacts/EndSubSection ## fixed in Catalyst 9.8 EndSection Section "DRI"Mode 0666 # May help enable direct rendering. EndSection
On to rc.conf:
-
- Remove radeon from MODULES and blacklist it in /etc/modprobe.d/modprobe.conf if blacklist-fglrx.conf does not exist.
- Adding fglrx to MODULES appears to be optional if added instead to /etc/mkinitcpio.conf (boot image would be rebuilt before reboot).
Finally, menu.lst:
-
- Clear modesetting options as the driver doesn't appear to take advantage of KMS yet. Add nomodeset.
- For example: kernel /boot/vmlinuz-linux root=/dev/sda1 ro nomodeset
Reboot!
Checking operation
Assuming reboot to your login was successful, otherwise #Troubleshooting.Commands to check that fglrx is up and running:
lsmod | grep fglrx fglrxinfo
Finally, run Xorg with startx or by using GDM/KDM and verify that direct rendering is enabled by running the following command in a terminal:
$ glxinfo | grep direct
If it says "direct rendering: yes" then you're good to go! If the glxinfo command is not found, you may need to install the mesa-demos package as well.
Double Screen (Dual Head / Dual Screen / Xinerama)
Introduction
- In this part, we will describe the installation of 2 differend sized screens on only one graphic cad with 2 different output ports (DVI + HDMI) using a "BIG Desktop" configuration.
- The Xinerama solution has some inconveniences, especially because it is not compatible with XrandR. For that very reason, you should not use this solution, because XrandR is just a must for our later configuration.
- The Dual Head solution would allow you to have 2 different sessions (one for each screen). It could be your wish but you will not be able to move windows from one screen to another. If you have only one screen, you will have to define the mouse inside your xorg for the 2 sessions inside the Server Layout section.
ATI Documentation
ATI Catalyst Control Center
The GUI tool shiped by ATI is very useful and we will try to use it as much as we can. To launch it, open a terminal and use the following command line:
kdesu amdcccle
Installation
Here, it is easy but important : make sure that your hardware is pluged correctly, power is on, and that you know your hardware caracteristics (screen dimensions, sizes, refresment rates ...) Normally, both screens are recognize during boot time but not necessarly identified properly, especially if you are not using any xorg base configuration file but instead relying on the hot-plugging feature.
The first step is to make sure they will be recognized by your DE / xorg. For this, you need to generate a basic xorg file for your 2 screens :
aticonfig --initial --desktop-setup=horizontal --overlay-on=1
or
aticonfig --initial=dual-head --screen-layout=left
Normally, you have now a basic file that you can now edit to add your screen resolutions. It is important to precise the working resolution especially if you have screens of different sizes. To be added insithe the "Screen" section:
SubSection "Display" Depth 24 Modes "1200x800" EndSubSection
Well, from now on, instead of editing the xorg.conf file manually, let us use the ATI gui tool. Reboot X to be sure that your 2 screens are well supported and that the resolution are well recognized. (Screens must be independant).
Configuration
Here, you only have to launch the ATI control center with root privileges, go inside the display menu and choose how you would like to set your configuration (small arrow of the drop down menu). A last reboot of X and you will be done !
Before you reboot, do not hesitate to verify your new xorg.conf file. At this stage, inside the "Display" sub-section of the "Screen" section, you should see a "Virtual" command line, of which the resolution should be the sum of both screens. The "Server Layout" section says all the rest.
Features
Video acceleration
Video Acceleration API (VA API) is an open source software library ("libVA") and API specification which enables and provides access to graphics hardware (GPU) acceleration for video processing on Linux and UNIX based operating systems.The main motivation for VA API is to enable hardware accelerated video decode at various entry-points (VLD, IDCT, Motion Compensation, deblocking) for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/WMV3).
In November 2009, VA-API gained a new proprietary xvba-video backend which allows VA-API powered applications to take advantage of AMD Radeon's UVD2 chipsets via the XvBA (X-Video Bitstream Acceleration API designed by AMD) library.
XvBA support and xvba-video is still under development, however in nowadays it is working very well in most cases and with mplayer (and mplayer front-ends), so feel free to check it. You have to build xvba-video package and install mplayer-vaapi (available in community repository) & libva (available in extra repository) packages.Then just set your video player to use vaapi:gl as video output.
Ie. for mplayer:
$ mplayer -vo vaapi:gl -va vaapi movie.avi
Ie. for smplayer:
Options -> Preferences -> General -> Video (tab) -> Output driver: User Defined : vaapi:gl Options -> Preferences -> General -> Video (tab) -> Double buffering on Options -> Preferences -> Advanced -> Options for MPlayer -> Options: -va vaapi Options -> Preferences -> General -> General -> Screenshots -> Turn screenshots off
Options -> Preferences -> General -> Video (tab) -> Output driver: vaapi
instead of:
Options -> Preferences -> General -> Video (tab) -> Output driver: User Defined : vaapi:gl
Ie. for vlc:
Tools -> Preferences -> Input & Codecs -> Use GPU acceleration
Don't forget to enable v-sync in amdcccle:
3D -> More Settings -> Wait for vertical refresh = Always On
Note: If you are using compiz/kwin please note that the only way to avoid video flickering is to watch videos in full-screen, and only when Unredirect Fullscreen is off.
In compiz you need to set Redirected Direct Rendering in General Options of ccsm.If its still flickering try to disable this option in ccsm.
Its off by default in kwin, but if you see flickering try to turn option "Suspend desktop effects for fullscreen windows" on or off in System Settings -> Desktop Effects -> Advanced.
Tear Free Rendering
Presented in Catalyst 11.1 'Tear Free Desktop' feature reduces tearing in 2D, 3D and video applications. This likely adds triple-buffering and v-sync.Please note that it requires additional GPU processing.
To enable 'Tear Free Desktop' run amdcccle and go to: [Display Options] -> [Tear Free]
or as root run:
aticonfig --set-pcs-u32=DDX,EnableTearFreeDesktop,1
To disable use amdcccle or as root run:
aticonfig --del-pcs-key=DDX,EnableTearFreeDesktop
GPU/Mem frequency, Temperature, Fan speed, Overclocking utilities
You can get GPU/Mem clocks with: $ aticonfig --od-getclocks
Fan speed:$ aticonfig --pplib-cmd "get fanspeed 0"
Temperature:$ aticonfig --odgt
To overclock/underclock it's easier to use some GUI software, like ATi Overclocking Utility, which is very simple and requires qt to work.
i686 version is available here while x86_64 - here. Just download it and run.
Other, more complex utility to perform such operations is AMDOverdriveCtrl. It's homepage is here, you can get arch package from AUR or from [catalyst] repository.
Troubleshooting
If you can still boot to command-line, then the problem probably lies in xorg.conf
You can parse the whole /var/log/Xorg.0.log or
grep '(EE)' /var/log/Xorg.0.log grep '(WW)' /var/log/Xorg.0.log
For clues.
Problems with video colours
You may still use vaapi:gl to avoid video flickering, but without video acceleration
Run mplayer without -va vaapi switch.
For smplayer remove -va vaapi from Options -> Preferences -> Advanced -> Options for MPlayer -> Options: -va vaapi
Plus for smplayer you may now safely turn screenshots on.
KWin and composite
You may use XRender if the rendering with OpenGL is slow. However, XRender might also be slower than OpenGL depending on your card.XRender also solves artifact issues in some cases.
Black screen with complete lockups / hangs after reboot or startx
Faulty ACPI hardware calls
It is possible that fglrx doesn't cooperate well with the system's ACPI hardware calls, so it autodisables itself and there is no screen output.
So try to run this:
aticonfig --acpi-services=off
KDM disappears after logout
If you are running Catalyst proprietary driver and you get a console (tty1) instead of the expected KDM greeting when you log out, you must instruct KDM to restart the X server after each logout:
$ sudo nano /usr/share/config/kdm/kdmrc
Uncomment the following line under the section titled [X-:*-Core]:
TerminateServer=True
KDM should now appear when you log out of KDE.
Direct Rendering does not work
This problem may occur when using the proprietary catalyst driver.
If you have problem with direct rendering, run:
$ LIBGL_DEBUG=verbose glxinfo > /dev/null
at the command prompt. At the very start of the output, it'll usually give you a nice error message saying why you do not have direct rendering.
Common errors, and their solutions, are:
libGL error: XF86DRIQueryDirectRenderingCapable returned false
- Ensure that you are loading the correct agp modules for your AGP chipset before you load the fglrx kernel module. To determine which agp modules you'll need, run hwdetect --show-agp, then ensure that all modules listed from that command are in the MODULES= array in rc.conf, before fglrx.
libGL error: failed to open DRM: Operation not permittedlibGL error: reverting to (slow) indirect rendering
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//fglrx_dri.solibGL error: dlopen /usr/lib/xorg/modules/dri//fglrx_dri.so failed(/usr/lib/xorg/modules/dri//fglrx_dri.so: cannot open shared object file: No such file or directory)libGL error: unable to find driver: fglrx_dri.so
- Something has not been installed correctly. If the paths in the error message are /usr/X11R6/lib/modules/dri/fglrx_dri.so, then ensure you've logged completely out of your system, then back in. If you're using a graphical login manager (gdm, kdm, xdm), ensure that /etc/profile is sourced every time you log in. This is usually accomplished by adding source /etc/profile into ~/.xsession or ~/.xinitrc, but may vary between login managers.
- If the paths above in your error message are /usr/lib/xorg/modules/dri/fglrx_dri.so, then something has not been correctly installed. Try reinstalling the catalyst package.
Errors such as:
fglrx: libGL version undetermined - OpenGL module is using glapi fallback
could be caused by having multiple versions of libGL.so on your system. Run:
$ sudo updatedb$ locate libGL.so
This should return the following output:
$ locate libGL.so/usr/lib/libGL.so/usr/lib/libGL.so.1/usr/lib/libGL.so.1.2$
These are the only three libGL.so files you should have on your system. If you have any more (e.g. /usr/X11R6/lib/libGL.so.1.2), then remove them. This should fix your problem.
You might not get any error to indicate that this is a problem. If you are using X11R7, make sure you do not have these files on your system:
/usr/X11R6/lib/libGL.so.1.2/usr/X11R6/lib/libGL.so.1
Hibernate/Sleep Issues
Video fails to resume from suspend2ram
ATI's proprietary catalyst driver cannot resume from suspend if the framebuffer is enabled. To disable the framebuffer, add vga=0 to your kernel options in /boot/grub/menu.lst, for example:
kernel /vmlinuz-linux root=/dev/sda3 resume=/dev/sda2 ro quiet vga=0
System Freezes/Hard locks
- The radeonfb framebuffer drivers have been known in the past to cause problems of this nature. If your kernel has radeonfb support compiled in, you may want to try a different kernel and see if this helps.
Hardware Conflicts
Radeon cards used in conjunction with some versions of the nForce3 chipset (e.g. nForce 3 250Gb) won't have 3D acceleration. Currently the cause of this issue is unknown, but some sources indicate that it may be possible to get acceleration with this combination of hardware by booting Windows with the drivers from nVIDIA and then rebooting the system. This can be verified by issuing in a root console the following command:
dmesg | grep agp
If you get something similar to this (using an nForce3-based system)
agpgart: Detected AGP bridge 0agpgart: Setting up Nforce3 AGP.agpgart: aperture base > 4G
and also if issuing this command...
tail -n 100 /var/log/Xorg.0.log | grep agp
...gets something similar to:
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
Then you have this bug.
Some sources indicate that in some situations, downgrading the motherboard BIOS may help, but this cannot be verified in all cases. Also, a bad BIOS downgrade can render your hardware useless, so beware.
See bug http://bugzilla.kernel.org/show_bug.cgi?id=6350 for more information and a potential fix.
Temporary hangs when playing video
This problem may occur when using the proprietary Catalyst.
If you experience temporary hangs lasting from a few seconds to several minutes occuring randomly during playback with mplayer, check /var/log/messages.log for output like:
Nov 28 18:31:56 pandemonium [<c01c64a6>] ? proc_get_sb+0xc6/0x160 Nov 28 18:31:56 pandemonium [<c01c64a6>] ? proc_get_sb+0xc6/0x160 Nov 28 18:31:56 pandemonium [<f8bc628c>] ? ip_firegl_ioctl+0x1c/0x30 [fglrx] Nov 28 18:31:56 pandemonium [<c01c64a6>] ? proc_get_sb+0xc6/0x160 Nov 28 18:31:56 pandemonium [<c0197038>] ? vfs_ioctl+0x78/0x90 Nov 28 18:31:56 pandemonium [<c01970b7>] ? do_vfs_ioctl+0x67/0x2f0 Nov 28 18:31:56 pandemonium [<c01973a6>] ? sys_ioctl+0x66/0x70 Nov 28 18:31:56 pandemonium [<c0103ef3>] ? sysenter_do_call+0x12/0x33 Nov 28 18:31:56 pandemonium [<c01c64a6>] ? proc_get_sb+0xc6/0x160 Nov 28 18:31:56 pandemonium =======================
Adding the nopat kerneloption to /boot/grub/menu.lst and rebooting fixed the problem at least for me.
Catalyst 10.6/10.7/10.8/10.9 : black/grey/white boxes/artifacts in firefox/thunderbird
With catalyst 10.6 AMD/ATi announce new method of 2D acceleration for radeons, unfortunately this step causes bugs for some users. To turn on old (slower xaa) method of 2d rendering please kill your desktop environment and Xserver and type this command as root:
aticonfig --set-pcs-str=DDX,ForceXAA,TRUE
Now you'll probably need patched xorg-server to fix problems with resizing/maximizing windows, read about it ie. here.
Also see this post if the above doesn't work for you.
Radeon HD 6870 and fglrx 10.10
When running
#sudo aticonfig --initial
you will get
aticonfig: No supported adaptaters detected
That's because HD6870 is not supported by fglrx 10.10
However you can create xorg.conf yourself :
Section "Device"Identifier "ATI radeon 6870"Driver "fglrx" EndSection
Xorg will start and it is possible to use amdcccle instead of aticonfig. There will be a "AMD Unsupported hardware" watermark.
You can remove this watermark using the following script :
#!/bin/sh DRIVER=/usr/lib/xorg/modules/drivers/fglrx_drv.so for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); dosed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER done
WebGL support in Chromium
Google has blacklisted linux's catalyst driver from supporting webGL in their Chromium/Chrome browsers.
You can turn webGL on by editing /usr/share/applications/chromium.desktop file and adding --ignore-gpu-blacklist flag into Exec line so it could look like this:
Exec=chromium %U --ignore-gpu-blacklist
You can also run chromium from console with that --ignore-gpu-blacklist flag:
$ chromium --ignore-gpu-blacklist
Laggs/freezes when watching flash videos via Adobe's flashplugin
Edit /etc/adobe/mms.cfg file and make it looks like this:
#EnableLinuxHWVideoDecode=1 OverrideGPUValidation=true
Laggs/slow windows movement in GNOME3
You can try this solution out, it's working for many people.
Add this line:
export CLUTTER_VBLANK=none
into ~/.profile or into /etc/profile file.Restart X server or reboot system.
- Graphics (English)
- X Server (English)
Views
- Page
- Discussion
- View source
- History
Personal tools
- Log in / create account
Navigation
- Main page
- Getting Involved
- Wiki News
- Recent changes
- Random page
- Help
Search
Toolbox
- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- This page was last modified on 1 February 2012, at 21:17.
- This page has been accessed 235,525 times.
- Content is available under GNU Free Documentation License 1.2.
- Privacy policy
- About ArchWiki
- Disclaimers
ATI显卡配置aticonfig和amdcccle全解相关推荐
- laravel php配置,PHP Laravel框架路由配置及设置技巧全解
Laravel框架在PHP开发中使用十分广泛,本文主要对Laravel框架中的路由设置作详细的介绍,Laravel的路由配置非常灵活,如何设置好路由对PHP应用来说也是相当关键的. 基本路由 您的应用 ...
- ATI显卡优酷,PPs看电影花屏或全屏卡的解决方法(未验证)
修复Windows Media Player,ATI显卡在线看电影花屏的解决方法,Windows Media Player 9/10下载 Windows Media Player 损坏,每次启动都提示 ...
- 64位 Fedora 11 硬盘安装 配置全解
64位 Fedora 11 硬盘安装 配置全解 转贴: http://www.ubuntuchina.com/viewthread.php?tid=7428&extra=page%3D1 硬盘 ...
- 游戏用计算机配置表显卡,攒机的知识盲区 以及显卡配置推荐详解
01选购电脑时需要注意的方向和重点 目前主流的20系列已经深入游戏用户中,并且凭借着优秀的游戏性能和高稳定性得到了广大消费者的一致好评,在价位方面也很实惠,在市场上的时间检验中,显卡的高质量和好口碑也 ...
- Echarts数据可视化开发参数配置全解
全栈工程师开发手册 (作者:栾鹏) Echarts数据可视化开发代码注释全解 Echarts数据可视化开发参数配置全解 github源码地址:https://github.com/626626cdll ...
- amd显卡多屏识别了 但是屏幕不亮_AMD显卡多屏显示设置全解.ppt
AMD显卡多屏显示设置全解 AMD多屏显示设置指南 Yeston 工程部制作 * 接口介绍 左图为盈通显卡,每个接口定义都标识在挡板上(红圈处) 右图为HIS显卡,从上至下为两个miniDP.HDMI ...
- redis.conf 7.0 配置和原理全解,生产王者必备
我是 Redis, 当程序员用指令 ./redis-server /path/to/redis.conf 把我启动的时候,第一个参数必须是redis.conf 文件的路径. 这个文件很重要,就好像是你 ...
- RocketMQ配置全解(含ACL、Dashboard配置)
RocketMQ配置全解 NAME SERVER 配置 启动 BROKER SERVER 配置 ACL配置(`aclEnable=true`时配置) plain_acl.yml tools.yml 启 ...
- matlab2c使用c++实现matlab函数开发配置全解
全栈工程师开发手册 (作者:栾鹏) github: https://github.com/data-infra/matlab2c matlab2c动态链接库下载 matlab库函数大全 matlab2 ...
最新文章
- springmvc和struts的区别
- 在路由器与交换机之间添加ISA Server软路由与防火墙
- SqlServer标识列、修改标识列值
- 一款网盘软件应该具备哪些功能?
- HttpClient发送get,post接口请求
- 第二季-专题14-串口来做控制台
- Linux下的IO监控与分析
- 虚拟光驱 DAEMON Tools Lite 安装笔记
- 计算机网络(自顶向下方法)-网络层
- 针对HTTPS网页打开缓慢或者打不开的问题
- WinPE启动映像制作(具体可参考WAIK帮助文档,这里只做简介)WinPe Image 制作篇
- 文件服务器域用户配额,域账号配额
- 夜深人静写算法(十二)- 凸包
- Fanuc机器人奇异点问题解决方法(适用于roboguide)
- 黑客电影《我是谁:没有绝对安全的系统》正片(含下载)
- 2018年EI收录中文期刊目录【转】
- 字蛛(FontSpider,中文字体压缩器)网页自由引入中文字体
- 常见的电子器件,这篇文章总结得很到位,你还不收藏吗?
- FPGA 之 SOPC 系列(四)NIOS II 外围设备--标准系统搭建
- 三维数据入到arcgis平台的解决方案