Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Sometimes while running apps using OpenGL, the following message comes in the command line where I run the app. I have a Sandy Bridge integrated graphics card (the same as in the bug reports)

intel_do_flush_locked failed: Input/output error

Running any subsequent OpenGL apps fail with the same error. Also this is displayed in the system log

[ 7730.683403] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 1322416 at 1322415, next 1322417)

I have seen many bugs about this but none of them seem to have a solution. Is there any workaround for this (apart from disabling OpenGL)?

share|improve this question

1 Answer 1

The following seems to fixed the issue for me:

export hiz=false
export INTEL_HIZ=0
export INTEL_SEPARATE_STENCIL=0

If it doesn't help try

sudo intel_reg_write 0x2120 0x1206800

Source.

share|improve this answer
    
I've changed my computer; so I can't test it but I'm upvoting. –  Ramchandra Apte Mar 4 at 13:56
    
@RamchandraApte I think You shouldn't than. –  Adobe Mar 4 at 14:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.