Lucidi8xxFreezes

Lien mort ! Install_the_updated_-intel_driver

X freezes (GPU lockups) are being experienced on i845, i855 and other 8xx chips.

We experimented with several different settings but could not find a combination which resolved all issues for all 8xx owners. Below are some of the settings that can be changed if the combination we picked for the release did not work for you.

Lien mort !!

NOTE: For Maverick workarounds have changed, please have a look at Mavericki8xxStatus too.

Cet article est en attente de traduction, mais cela prend du temps. Il ne présente pas de difficultés de langue proprement dite, mais des termes techniques qui demandent à être expliqués, ce que ne fait pas l'article original au demeurant très bon car exhaustif.
La seconde solution présentée ci-dessous est fonctionnelle.

GTT Incoherency Patch

i855 chipsets

These patches are designed only for i855 chipsets. It is not supported for other i8xx chipsets.

Vetter and Rogers packages on Natty 11.04

Daniel Vetter has released a patch to hopefully solve the GTT incoherency problems.Brian Rogers has packaged this fix as an experimental Natty (11.04) kernel.

Install the 855gm PPA and the patched kernel

graphics-fixes-testing

   sudo add-apt-repository ppa:brian-rogers/graphics-fixes-testing
   
   sudo apt-get update
   
   sudo apt-get install linux-headers-2.6.37-graphics2+12 linux-headers-2.6.37-graphics2+12-generic linux-image-2.6.37-graphics2+12-generic 

Stefan Glasenhardt packages Lucid 10.04

Stefan Glasenhardt has packaged his fix as two DKMS modules.

Ces packages corrigent le souci grave de lecture vidéo lors du passage de la 9.10 à la version 10.04.

Les soucis perdurent avec les version suivantes, et des versions appropriées de ces patches existent.

Stéphane a créé deux modules DKMS pour apporter cette correction.

Install the updated -intel driver

intel-driver

    sudo add-apt-repository ppa:glasen/intel-driver 
    
    sudo apt-get update && sudo apt-get upgrade

Install the 855gm PPA and the patched kernel modules

Un compte launchpad est requis !

855gm-fix

    sudo add-apt-repository ppa:glasen/855gm-fix
    sudo apt-get update && sudo apt-get install dkms 855gm-fix-dkms
Ces deux fixes fonctionnent sur Thinkpad R50e et R51. Il n'y a pas besoin d'utiliser les autres méthodes ci-dessous, sauf pour des machines récalcitrantes.

Reporting Results

Testing results should be reported upstream to the relevant bug report containing the patch at http://bugs.freedesktop.org/show_bug.cgi?id=27187.

Workarounds

Workaround A: Re-enable KMS

For release we made the decision to blacklist KMS for 8xx hardware. If you had found that beta1 and earlier Ubuntu had been working fine, this may be an effective workaround for you.

To turn KMS back on, run this command in a Terminal window and reboot:

   echo options i915 modeset=1 | sudo tee /etc/modprobe.d/i915-kms.conf
   
   sudo update-initramfs -u

In some cases, this bug causes i8xx users to boot into a blank screen on both the LiveCD/USB and a clean install or upgrade. To enable the above workaround in these situations, add “i915.modeset=1” to your kernel boot parameters.

From the LiveCD:

1) At the purple screen with a keyboard and stickfigure, press Enter to get to the menu.

2) Hit Enter to select your language, and then press F6 and then Esc.

3) Add “i915.modeset=1” after “quiet splash”.

4) Press Enter to boot the LiveCD.

From an installation:

1) Hold down Shift while booting to enter the GRUB menu.

2) Press 'e' to edit.

3) Add “i915.modeset=1” after “quiet splash”.

4) Ctrl+x to boot.

If adding “i915.modeset=1” to your boot parameters allows you to boot successfully, you then need to enter the command above into a terminal to make the changes permanent.

Workaround B: Switch to -vesa

Paste the following into /etc/X11/xorg.conf:

Section “Device”

      Identifier      "Configured Video Device"
      Driver          "vesa"

EndSection

Section “Monitor”

      Identifier      "Configured Monitor"

EndSection

Section “Screen”

      Identifier      "Default Screen"
      Monitor         "Configured Monitor"
      Device          "Configured Video Device"

EndSection

Switching to -vesa has been found to 100% stop the freezes. However, this regresses a lot of functionality: No 3D hw acceleration, no accelerated video, no HD resolutions, poor external monitor support. Probably other issues too.

Workaround C: Use a -intel DDX driver other than 2.9.1

Downgrading

A downgrade package to the 2.8.0 driver is available in the X-Retro PPA:

https://edge.launchpad.net/~ubuntu-x-swat/+archive/x-retro

A couple of users found this worked better than the 2.9 driver but they still saw freezes at a reduced frequency. So YMMV.

Also be aware there were performance issues with this version of the driver, so YMMV again. See ubuntugeek for some tips on tweaking X settings to work around the performance issues.

Upgrading

An upgrade package to the 2.11.0 driver is available in the X-Updates PPA:

x-updates

Some users have reported that this helps their problems.

Workaround D: Use a kernel other than 2.6.32

Downgrading

Many users reported that downgrading to a 2.6.31 kernel resolved the issue completely. To boot a different kernel, hold down Shift while booting to enter GRUB, and then select a different kernel.

Upgrading

Upgrading to the mainline kernel has also solved the problem for most users. Be aware, however, that using a mainline kernel comes with some drawbacks:

1) You will lose all ubuntu-specific patches, such as ureadahead, which is responsible for the lightning-fast boot times.

2) You will not be able to use Proprietary Drivers from System→Administration→Hardware Drivers (i.e. nVidia, Broadcom).

3) While you will still be upgraded to new versions of Ubuntu kernels, the mainline kernel will not be upgraded to a new version. Thus, to ensure you have the most up-to-date mainline kernel for security and stability reasons, you will have to constantly check for a new mainline kernel release.

That said, to upgrade to the current mainline kernel:

32-bit users:

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb
sudo dpkg -i linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb linux-headers-2.6.34-020634_2.6.34-020634_all.deb linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb

64-bit users:

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb
sudo dpkg -i linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb linux-headers-2.6.34-020634_2.6.34-020634_all.deb linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb

Using Maverick Kernel

Backports of the Maverick kernel are available for Lucid using the Kernel Team PPA.

To install the backported kernel, run:

  sudo add-apt-repository ppa:kernel-ppa/ppa
  
  sudo apt-get update && sudo apt-get install linux-generic-lts-backport-maverick

This package will automatically update once a new Maverick kernel is released, and will also allow access to proprietary drivers and Ubuntu-specific patches included in the Maverick kernel. However, the backported kernel is not supported by the kernel team, so you should not submit bug reports or support requests against it.

Workaround E: Disable DRI

Paste the following into /etc/X11/xorg.conf:

Section “Device”

      Identifier      "Configured Video Device"
      Driver          "intel"
      Option          "DRI" "off"

EndSection

This disables 3D acceleration and will make graphics generally slower, but has been reported to help by some users.

Workaround F: Use UXA Rendering

Re-enable KMS, see above Workaround A (which just made boot-up more pleasing but did not help with X). Make sure the following section in /etc/default/grub doesn't contain KMS related settings. just:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash” GRUB_CMDLINE_LINUX=“”

if you had to change the grub file do “sudo update-grub”

Then follow the instructions “The Solution” “Method 2” here:

http://www.ubuntugeek.com/intel-graphics-performance-guide-for-ubuntu-904-jaunty-users.html

so that xorg.conf looks like:

Section “Screen”

      Identifier      "Configured Screen Device"
      Device  "Configured Video Device"

EndSection

Section “Device”

      Identifier      "Configured Video Device"
      Option          "AccelMethod"   "UXA"
      VideoRam        130560

EndSection

This way X now works flawlessly without any crashes at least for those with:

$ lspci -nn | grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02)

Workaround G: Re-enable KMS and disable DRI

Use Workaround A (re-enabling KMS) and Workaround E (disabling DRI). This gives no X.org crashes even with KDE, which in my computer at least crashed just after a few seconds of loading session (now lasted hours). Important: this workaround disables DRI, and therefore gaming performance is awful since there's not 3d acceleration. Tested on this hardware:

   $ lspci -nn | grep VGA
   

00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 01)

Some users has reported that this workaround makes their computer last much longer and then crash, so this workaround seems only to be able to reduce the problem but not fixes it.

Legacy Driver

Chris Wilson has released an intel graphics driver that re-introduces a GEM-less UMS codepath. Christopher James Halse Rogers has packaged these in his raof/aubergine PPA. It was hoped that this would result in a significantly more stable driver than was shipped with Ubuntu 10.04, but test results suggest that it is not significantly better. If you wish to try it, the results remain below.

NOTE: this should be moved to the maverick page as the “raof/aubergine” ppa has no lucid files.

Install the PPA packages

sudo add-apt-repository ppa:raof/aubergine sudo apt-get update && sudo apt-get upgrade

Note: This will leave libdrm-nouveau1 as held-back. DO NOT force that upgrade; it will break things.

Disable KMS

Disable KMS by adding 'i915.modeset=0' to the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub so it reads “quiet splash i915.modeset=0”.

    gksudo gedit /etc/default/grub
    
    sudo update-grub

If you re-enabled KMS using Workaround A below, you must remove it using the following command before you'll be able to test this legacy driver.

    sudo rm /etc/modprobe.d/i915-kms.conf
    
     sudo update-initramfs -u

Uninstalling the Driver if it Doesn't Work

If the legacy driver does not work for you (e.g. you can no longer boot into an X session), follow these steps to manually restore your system from the shell:

1) Reboot into recovery mode and login as root,

2) Install ppa-purge and remove the

   # apt-get install ppa-purge
   # ppa-purge ppa:raof/aubergine

3) Remove the modesetting line you added to GRUB,

   # nano /etc/default/grub
   
   # update-grub

4) Reboot

Thank you to the contributors to the Ubuntu documentation wiki. The material here is largely adapted from X/Bugs/Lucidi8xxFreezes (dernière édition le 2011-01-11 20:43:44 par davidmohammed)

lucidi8xxfreezes.txt · Dernière modification: 2014/08/06 11:41 (modification externe)
GNU Free Documentation License 1.3
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5