1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

GPU Lockup Recovery For The Nouveau Driver

Nouveau

Published on 23 April 2012 04:15 AM EDT
Written by Michael Larabel in Nouveau
Comment On This Article

An RFC patch-set was published this weekend for providing GPU lock-up recovery support within the Nouveau driver.

The work by Marcin Slusarz allows for detecting lock-ups by watching for time-outs (VM flush / fence), return -EIOs, handle them at the ioctl level, reset the GPU, and repeat last ioctl. The actual Nouveau GPU resetting is done by putting the NVIDIA graphics processor through its suspend / resume cycle but with CPU-only buffer object eviction, ignoring VM flush/fence time-outs, and shortening waits.

The patches can currently be found on the Nouveau mailing list under an "RFC" (Request For Comments) tag, but hopefully they will be able to move on into the mainline Nouveau kernel DRM in the near future. Depending upon the hardware, lock-ups can be a fairly common occurrence when using this open-source NVIDIA Linux graphics driver. This work comes at a time when the Nouveau driver is finally approaching a stable state after being in development for more than the past half-decade.

Over in the open-source Radeon GPU driver camp, they are currently discussing how to rework the GPU reset logic. Those discussions can be found on dri-devel. There's patches there that address multi-ring lock-ups and GPU resets plus overall improvements in case something goes badly wrong with the Radeon DRM driver. That work was done by AMD's Christian K├Ânig.

Meanwhile, the Intel DRM driver continues to recover GPU lock-ups gracefully. I've only hit a handful of lock-ups so far on Intel's about-to-be-launched Ivy Bridge hardware, but each time under Linux the graphics were quickly and properly restored.

Latest Linux Hardware Reviews
  1. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  2. Overclocking The AMD AM1 Athlon & Sempron APUs
  3. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  4. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
Latest Linux Articles
  1. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  2. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  3. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
  4. GCC 4.9 Compiler Optimization Benchmarks For Faster Binaries
Latest Linux News
  1. R600 Gallium3D Disables LLVM Back-End By Default
  2. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  3. Fedora Workstation Is Making Me Quite Excited
  4. Maynard: A Lightweight Wayland Desktop
  5. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  6. KDE 4.13 Is Being Released Today With New Features
  7. Trying Out Radeon R9 290 Graphics On Open-Source
  8. Intel Broadwell GT3 Graphics Have Dual BSD Rings
  9. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  10. Red Hat Releases Its RHEL 7 Release Candidate
  11. New Features Coming To Xubuntu 14.04 LTS
  12. NVIDIA Officially Releases CUDA 6
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  4. Change installation destination from home directory
  5. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  6. Bye bye BSD, Hello Linux: A Sys Admin's Story
  7. New tool for undervolt/overclock AMD K8L and K10 processors
  8. How to enable opengl 3.3 on r9 270?