UbuntuWiki:Bugs/AtiDriver

出自Ubuntu中文

  1. title Bugs in x.org ati driver

This page is about the open-source "ati" driver only, not the proprietary, closed-source "fglrx" driver originating from ATI Inc. For support on the "fglrx" driver, contact ATI Inc, or file a bug on the fglrx-installer package in Ubuntu. If you are using the "fglrx" driver, be very careful about adding comments to a bug in the "ati" driver. They will likely add more confusion than anything else. Please go through all steps below in the order they are listed before filing a bug or even commenting on an existing one! (See rationale below) In general, whenever a X or startup problem arises, try removing the "splash" and "quiet" keywords from the grub prompt, so that you can read error messages and rule out any usplash problems.

目录

[编辑] Ubuntu 7.10 (Gutsy)

(this release is using xorg 7.3 and ati driver 6.7.195)

  1. The old Merged``FB configuration of multi-screen setups must be replaced by xrandr, see http://www.intellinuxgraphics.org/dualhead.html
  2. The new xrandr code allocates a framebuffer in the video memory, defined by the virtual desktop size. If you're tight on video memory, add a Virtual x-size y-size to the Display subsection (of the Screen section) in xorg.conf, since the default size might use too much of your video memory.
  3. Radeon 7500 Mobile cards with black screen, see bug #132716. Workaround: add Option "LVDSBios``Native``Mode" "false" to the Device section of /etc/X11/xorg.conf, or install the newer driver from XorgOnTheEdge.
  4. Try disabling DRI, by adding Option "DRI" "off" to the Device section of /etc/X11/xorg.conf . If this helps, you have a DRI problem. If this doesn't help, please mention it in your bug report anyway, so we don't have to ask about it.

[编辑] DRI problems

  1. Make sure you don't have any "dangerous" options like AGPFastWrite in your xorg.conf. Please try running without any xorg.conf.
  2. Try adjusting the AGP aperture in your BIOS settings (for instance to 64MB) upstream 6111
  3. AGP cards only, try forcing PCI bus instead of AGP bus (Option "Bus``Type" "PCI") bug #139210
  4. PCI cards, try newest drivers from XorgOnTheEdge bug #114520

[编辑] Other bugs

If the workarounds above do not help you, you should probably not post any comments to the bugs mentioned here. Search for another existing bug report, or file a new bug.

[编辑] Ubuntu 7.04 (Feisty)

(this release is using xorg 7.2)

  1. AGP cards only, try without framebuffer (Option "UseFBDev" "false") Debian 392915
  2. AGP cards only, try forcing PCI bus instead of AGP bus (Option "BusT``ype" "PCI")
  3. For RV280 (9200/9250) PCI cards, see bug #114520
  4. Try disabling DRI, by commenting out Load "dri" from /etc/X11/xorg.conf . If this helps, you have a DRI problem. If this doesn't help, please mention it in your bug report anyway, so we don't have to ask about it.

All below mentioned bugs have been fixed!

[编辑] Ubuntu 6.10 (Edgy)

(this release is using xorg 7.1)

  1. If you have an ATI Radeon X700 Mobility PCI-E or ATI FireGL V5000 card, see bug #22985 and EdgyKnownIssues/22985 before doing anything else. The Monitor``Layout option should help.
  2. If you can't even boot the Desktop CD and/or install the system, see bug #59618 and EdgyKnownIssues/59618 before anything else. You should be able to install using the "vesa" driver, and then go from there.
  3. If your console screens are corrupted (you can switch with ctrl-alt-F1, but you can't see or read anything, only funny colours and patterns etc) you have the "usplash" problem in bug #63558. Simply remove the "splash" keyword from the #kopt line in /boot/grub/menu.lst and rerun update-grub:
 sudo nano /boot/grub/menu.lst
 sudo update-grub
  1. If you have a X600/X700/X800 card and you get the message "Failed to start the X server", it is probably bug #28925. Changing driver from "ati" to "radeon" in xorg.conf should help.
  2. Try disabling DRI, by commenting out Load "dri" from /etc/X11/xorg.conf . If this helps, you have a DRI problem. If this doesn't help, please mention it in your bug report anyway, so we don't have to ask about it.

[编辑] DRI problems

  1. Check AGP speed setting in BIOS vs setting in Xorg.conf, see bug #67487.
  2. (not specific to ATI) Sudden crashes, with a backtrace in /var/log/Xorg.0.log, see bug #60288.

[编辑] Other bugs

If the workarounds above do not help you, you should probably not post any comments to the bugs mentioned here. Search for another existing bug report, or file a new bug.

[编辑] Ubuntu 6.06 LTS (Dapper)

(the "ati" driver is the xserver-xorg-driver-ati package)

  1. If you have an ATI Radeon X700 Mobility PCI-E or ATI FireGL V5000 card, see bug #22985 and EdgyKnownIssues/22985 before doing anything else. The Monitor``Layout option should help.
  2. If you have a X600/X700/X800 card and you get the message "Failed to start the X server", it is probably bug #28925. Changing driver from "ati" to "radeon" in xorg.conf should help.
  3. Try disabling DRI, by commenting out Load "dri" from /etc/X11/xorg.conf . If this helps, you have a DRI problem. If this doesn't help, please mention it in your bug report anyway, so we don't have to ask about it.

[编辑] DRI problems

  1. Check AGP speed setting in BIOS vs setting in Xorg.conf, see bug #67487
  2. System freezes on ATI Radeon 7000, see bug #16873

[编辑] Other bugs

If the workarounds above do not help you, you should probably not post any comments to any of the bugs mentionned here. Search for another relevant bug report, or file a new bug.

[编辑] Ubuntu 5.10 (Breezy)

  1. If you have an ATI Radeon X700 Mobility PCI-E or ATI FireGL V5000 card, see bug #22985 and [[UbuntuWiki:EdgyKnownIssues/22985|EdgyKnownIssues/22985]] before doing anything else. The Monitor``Layout option should help.

[编辑] Rationale for this page

Your ATI card doesn't work in Ubuntu? That's not a bug - that's a symptom of a bug, maybe of one bug out of many possible bugs, or the combination of several of these. This page may help to identify which bug you are fighting with, and also, equally important, which known bugs are not relevant. Please add comments to existing bug report, but make sure your comments are relevant to exactly that bug. Otherwise they will be overseen, especially when that bug report is closed. If you are not sure, file a new bug. Bug triagers will then help to put it into the right place and identify duplicates.

[编辑] Filing a new bug

You are supposed to have read ReportingBugs and DebuggingXAutoconfiguration as well! Try using the "vesa" driver instead of the "ati" driver. If the problem only arises with the "ati" driver, then file the bug on the xserver-xorg-video-ati package. If it happens using "vesa" as well, file the bug on the xorg package instead. Always attach /etc/X11/xorg.conf and /var/log/Xorg.0.log to your bug reports.

[编辑] Freezes / hangs / lockups /crashes

It is important to differentiate between lockups and crashes:

  • Lockups: Screen is frozen, not reacting to key presses - but the system is running (you can hear music continue playing, you can log in remotely through ssh, etc). Sometimes pressing the power button will cause a clean shutdown. This is often related to the Xorg server getting trapped in a loop and consuming all the CPU.
  • Crashes: The whole system crashes - the kernel panics, etc. You have to shut off the power the hard way. This is often related to a bug in a kernel module.

Although the lockups and crashes might look similar for an unexperienced user, they are often caused by different issues, and they have to be solved in different ways. However, note that a lockup might make the system crash after a while. See DebuggingSystemCrash for how to debug remotely with the help of another computer, and DebuggingXorg for information on how to debug the X server in particular.

[编辑] DRI / drm problems

More verbose debugging information can be obtained by enabling the debug option of the drm kernel module:

echo 1 | sudo tee /sys/module/drm/parameters/debug

Note that leaving this option on will generate a lot of messages in your /var/log/kern.log and /var/log/syslog! To turn it off again:

echo 0 | sudo tee /sys/module/drm/parameters/debug

[编辑] PowerTOP and C3 state

Looks like the radeon driver has a problem related to VBLANK interrupts similar to intel graphic driver. This causes around 60 wakeups/sec my Compaq X1000 laptop (Radeon 9000/9200 graphics) while in X, which essentially prevents entry into C3. A small patch is available here. It does solve the problem without even any loss of 3D. Updated patch from dri-devel.

[编辑] Comments

See also EdgyKnownIssues for other common bugs. Radeon 9250 lockups: AGP aperture bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392915 X700 dual screen: https://bugs.freedesktop.org/show_bug.cgi?id=7243 To follow the development of the R300 driver, see http://dri.freedesktop.org/wiki/R300 Most of the information here is relevant to other drivers as well.