Bug 102528

Summary: Display messed up shortly after boot on laptop with GT218M
Product: xorg Reporter: Johan Myréen <johan.myreen>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Kernel messages as reported by journalctl -b -1.
none
Photo of messed up screen.
none
git diff between working and broken kernel commits. none

Description Johan Myréen 2017-09-03 14:18:51 UTC
Created attachment 133949 [details]
Kernel messages as reported by journalctl -b -1.

On a Dell Latitute E6410 laptop with the following display adapter:

01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [NVS 3100M] (rev a2)

Some time ago (kernel 4.10.0) the kernel drm module stopped working, the display is all messed up after boot and stays so. The first line on the screen says "Starting version 234" which refers to Systemd version 234. The rest of the screen in unintelligible.

I'm running Arch Linux. The problem is still there with the latest kernel.

I did a git bisect on the kernel and found the following:

first bad commit: [df8dc97cd17269474344d73cc02739532c468d04] drm/nouveau/kms/nv50: use drm core i2c-over-aux algorithm
Comment 1 Johan Myréen 2017-09-03 14:20:09 UTC
Created attachment 133950 [details]
Photo of messed up screen.
Comment 2 Johan Myréen 2017-09-03 14:22:42 UTC
Created attachment 133951 [details]
git diff between working and broken kernel commits.
Comment 3 Ilia Mirkin 2017-09-03 15:21:39 UTC
https://github.com/skeggsb/linux/commit/13a86519202c5d119d83640d6f781f3181205d2c

Fixes the i2c-over-aux issues, both pre- and post-gf119.
Comment 4 Ilia Mirkin 2017-09-03 18:46:45 UTC
Oh, and btw, additional GT21x issues exist. One is fixed in drm-next:

https://github.com/skeggsb/linux/commit/715e7d261dea75911c4dad468a1103168933d913
https://github.com/skeggsb/linux/commit/6b1277c837630749b55f743dd62023d9dd7a510a

But there's some stuff that remains in devinit, where certain things are accessed before they're supposed to. Or something along those lines.
Comment 5 Johan Myréen 2017-09-29 17:44:45 UTC
Fixed in kernel 4.13.

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.