intel_do_flush_locked failed 输入/输出错误

Ram*_*pte 13 opengl intel kubuntu

有时在使用 OpenGL 运行应用程序时,以下消息会出现在我运行应用程序的命令行中。我有一个 Sandy Bridge 集成显卡(与错误报告中的相同)

intel_do_flush_locked failed: Input/output error
Run Code Online (Sandbox Code Playgroud)

运行任何后续 OpenGL 应用程序都失败并出现相同的错误。这也显示在系统日志中

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

我已经看到很多关于此的错误,但似乎没有一个有解决方案。是否有任何解决方法(除了禁用 OpenGL)?

小智 9

尝试 LIBGL_ALWAYS_SOFTWARE=1 ./yourprogram

  • 这充其量是一种解决方法。 (4认同)

Ado*_*obe 1

以下内容似乎解决了我的问题:

export hiz=false
export INTEL_HIZ=0
export INTEL_SEPARATE_STENCIL=0
Run Code Online (Sandbox Code Playgroud)

如果没有帮助尝试

sudo intel_reg_write 0x2120 0x1206800
Run Code Online (Sandbox Code Playgroud)

来源