Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU hang on iris Plus driver #325

Closed
fsedano opened this issue Apr 28, 2021 · 9 comments · Fixed by #676
Closed

GPU hang on iris Plus driver #325

fsedano opened this issue Apr 28, 2021 · 9 comments · Fixed by #676
Labels
bug Something isn't working

Comments

@fsedano
Copy link

fsedano commented Apr 28, 2021

Getting frequent GPU hangs on Iris plus driver, with Ubuntu 20:

ontext: OpenGL 4.6 compatibility profile
    GL_VENDOR                   = Intel
    GL_RENDERER                 = Mesa Intel(R) Iris(R) Plus Graphics 655 (CFL GT3)
    GL_VERSION                  = 4.6 (Core Profile) Mesa 20.2.6
    GL_SHADING_LANGUAGE_VERSION = 4.60
    Initial GL error code       = 0
    GL_ARB_gpu_shader_int64     = supported

Dmesg:

[  249.432427] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[  249.432440] i915 0000:00:02.0: [drm] glscopeclient[2070] context reset due to GPU hang
[  249.442335] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:8ed8fff3, in glscopeclient [2070]

Demo at:
gpu hang

Capture of the hang:

https://cisco.box.com/s/frr2mo8sww7yq79csewltegc4y2rfz5k

@fsedano fsedano changed the title GPU hang on GPU hang on iris Plus driver Apr 28, 2021
@azonenberg
Copy link
Collaborator

Suspect it's related to #327 but keeping this ticket open until we've confirmed that's the case.

@azonenberg azonenberg added the bug Something isn't working label May 1, 2021
@azonenberg
Copy link
Collaborator

Fixed by ngscopeclient/scopehal#450

@fsedano
Copy link
Author

fsedano commented May 7, 2021

Hi - This happened again even after the fix. Something else is going on. Same signature...

@azonenberg azonenberg reopened this May 7, 2021
@mandl
Copy link
Contributor

mandl commented Jan 28, 2022

Hello Team,

same on my Ubuntu 20.

Context: OpenGL 4.6 compatibility profile
GL_VENDOR = Intel
GL_RENDERER = Mesa Intel(R) UHD Graphics (CML GT2)
GL_VERSION = 4.6 (Core Profile) Mesa 21.0.3
GL_SHADING_LANGUAGE_VERSION = 4.60
Initial GL error code = 0
GL_ARB_gpu_shader_int64 = supported
Requested rendering backend: OpenGL
Using rendering backend: OpenGL

[ 2169.694889] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[ 2169.694914] i915 0000:00:02.0: [drm] glscopeclient[9966] context reset due to GPU hang
[ 2169.700445] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:8ed8fff3, in glscopeclient [9966]

@mandl
Copy link
Contributor

mandl commented Jan 28, 2022

Workaround - use the old driver

MESA_LOADER_DRIVER_OVERRIDE=i965 glscopeclient

https://linuxreviews.org/Intel_Iris

@azonenberg
Copy link
Collaborator

Is anyone still seeing this issue with recent builds and/or ngscopeclient?

@smunaut
Copy link
Contributor

smunaut commented Mar 13, 2023

FWIW:

[9485860.755044] i915 0000:00:02.0: GPU HANG: ecode 7:1:0xfefffffe, in ngscopeclient [13528], hang on rcs0
[9485860.755087] i915 0000:00:02.0: Resetting chip for hang on rcs0

But it's on a Haswell with incomplete vulkan support.

@azonenberg
Copy link
Collaborator

Has anyone seen Intel driver issues with a relatively recent build? I know we fixed some shader bugs over the summer. Would like to close this if it's not still happening.

@smunaut
Copy link
Contributor

smunaut commented Dec 6, 2023

It's still there, just reproduced it instantly in a build of master right now.
Running on intel 12th gen iGPU with Mesa 23.3.0

@azonenberg azonenberg linked a pull request Jan 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants