Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 523310

Summary: Application crash after kernel fails to initialize render rings on some intel graphics cards
Product: Gentoo Linux Reporter: Francisco Blas Izquierdo Riera (RETIRED) <klondike>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/drivers/gpu/drm/i915/intel_ringbuffer.c?id=ece4a17d237a79f63fbfaf3f724a12b6d500555c
Whiteboard:
Package list:
Runtime testing required: ---

Description Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2014-09-20 17:35:53 UTC
Starting with hardened sources 3.15.4 after suspending to RAM and then reloading the system the kernel may eventually output this:
[drm:init_ring_common] *ERROR* render ring initialization failed ctl 0001f001 head ffffff8804 tail 00000000 start 000e4000

When that happens it is impossible to use xv and applications using any form of opengl (which includes at least firefox and glxgears). Die inmediately with the error:
intel_do_flush_locked failed: Invalid argument

Apllications using xv just refuse to show anything.

Reproducible: Sometimes

Steps to Reproduce:
1. Supend to ram
2. Resume
Actual Results:  
Kernel shows a line like:
[drm:init_ring_common] *ERROR* render ring initialization failed ctl 0001f001 head ffffff8804 tail 00000000 start 000e4000

Applications using openGL die and applications using xv show no output

Expected Results:  
The following line is not shown:
[drm:init_ring_common] *ERROR* render ring initialization failed ctl 0001f001 head ffffff8804 tail 00000000 start 000e4000

And everything works as expected.

The following kernel patch seems to solve the issue:
https://bugs.freedesktop.org/attachment.cgi?id=104224
Comment 1 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2014-09-20 17:37:06 UTC
Assigning to the kernel team.
Comment 2 Mike Pagano gentoo-dev 2014-09-22 22:51:11 UTC
Hello, Francisco,

As 3.15 is EOL, I was not planning on releasing another version. Do you want to see this in 3.16 ?

Mike
Comment 3 Mike Pagano gentoo-dev 2014-12-23 16:37:49 UTC
patch available in kernels >= 3.17