Bug 69901
Summary: | intel ivy bridge/radeonsi PRIME hang since 3.14 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Christoph Haag (haagch.christoph) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | chris, intel-gfx-bugs, thellstrom |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.14-rc1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
sysprof output: X hanging after rendering with PRIME
sysprof output: kwin hanging after rendering with PRIME Patch that may fix the problem |
Description
Christoph Haag
2014-02-03 13:50:26 UTC
Created attachment 124311 [details]
sysprof output: X hanging after rendering with PRIME
Created attachment 124321 [details]
sysprof output: kwin hanging after rendering with PRIME
It looks to be memory corruption striking the shmemfs used to back swappable GEM objects (in both drivers). In both profiles, it is a deferred file cleanup hitting an infinite loop (my guess is that the cleanup itself is started by an OOPS and SIGKILL). So, it looks like the stuck CPU is another symptom. Please enable all the mm/vm and lockdep kernel debugging options and see if that generates clue. I first did a bisect and I think (!) this is the result: 58aa6622d32af7d2c08d45085f44c54554a16ed7 is the first bad commit This is probably TTM clearing page::mapping and page::index members of the Intel pages. I don't have time to put together a patch tonight, but probably tomorrow. /Thomas Created attachment 124621 [details]
Patch that may fix the problem
Could you try the attached patch out to see if it fixes the problem?
Yes it fixes it, no lock ups anymore. Great. I'll include the patch in my next pull request. Thanks, fixed in rc2. |