Bug 103772

Summary: Display corruption with Linux kernel commit 616d9cee4fdc4 ("First try the previous execbuffer location")
Product: DRI Reporter: Kenneth C <kenny>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: high CC: intel-gfx-bugs, kenny
Version: DRI gitKeywords: bisected, regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: HSW i915 features: display/Other
Attachments:
Description Flags
sudo lspci -vv output
none
/proc/config.gz
none
/proc/cpuinfo
none
My take on reverting it, wasn't a clean revert, but this seems to be right, and it hasn't blown up so far
none
Xorg.0.log file (working-kernel version however, but the userspace is still the same)
none
Reverting patch none

Description Kenneth C 2017-11-16 02:23:57 UTC
Created attachment 135505 [details]
sudo lspci -vv output

On any kernel with this commit (commit 616d9cee4fdc4a377c03be8fd6efa5df4fcd0d81 Author: Chris Wilson <chris@chris-wilson.co.uk>  Date:   Fri Jun 16 15:05:21 2017 +0100 drm/i915: First try the previous execbuffer location), I get screen corruption once X starts (text does not update, flickering).

I'm currently running Linux kernel 4.14.0 with this commit reverted and not seeing the issue (which I'd determined by bisection between kernel versions 4.12.8 and 4.13.0).

I have attached my "lspci -vv" output. Feel free to contact me if you need more information.
Comment 1 Kenneth C 2017-11-16 02:24:42 UTC
Created attachment 135506 [details]
/proc/config.gz
Comment 2 Kenneth C 2017-11-16 02:25:42 UTC
Created attachment 135507 [details]
/proc/cpuinfo
Comment 3 Kenneth C 2017-11-16 02:26:51 UTC
Created attachment 135508 [details] [review]
My take on reverting it, wasn't a clean revert, but this seems to be right, and it hasn't blown up so far
Comment 4 Chris Wilson 2017-11-16 09:49:29 UTC
We need details on the broken userspace.
Comment 5 Kenneth C 2017-11-17 03:13:07 UTC
> We need details on the broken userspace.

Certainly. What would you like to see? I'll attach an Xorg.0.log file from around the time the failure occurred.
Comment 6 Kenneth C 2017-11-17 03:16:45 UTC
Created attachment 135535 [details]
Xorg.0.log file (working-kernel version however, but the userspace is still the same)
Comment 7 Chris Wilson 2017-11-20 08:26:14 UTC
(In reply to Kenneth C from comment #6)
> Created attachment 135535 [details]
> Xorg.0.log file (working-kernel version however, but the userspace is still
> the same)

And the log for the broken version, since I'm looking for something in particular in there that might explain the type of breakage. Its absence will also be indicative.
Comment 8 Kenneth C 2017-12-02 02:39:46 UTC
This is still in "Needinfo" state ... It's going to be hard to regress these machines back to a failing kernel at the moment- do you still need the Xorg.0.log file, or is there sufficient information to at least understand the cause for this bug?
Comment 9 Mariusz Białończyk 2018-01-09 15:44:35 UTC
Created attachment 136632 [details] [review]
Reverting patch

FWIW I am providing a one-liner which is sufficient to revert the commit and have it working back again (I am currently testing it on vanilla linux).

I know that it is only for disabling the commit and not fixing the problem.
Comment 10 Jani Saarinen 2018-03-29 07:11:03 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 11 Jani Saarinen 2018-04-20 14:57:48 UTC
Closing, please re-open if still occurs.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.