Bug 102528 - Display messed up shortly after boot on laptop with GT218M
Summary: Display messed up shortly after boot on laptop with GT218M
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-03 14:18 UTC by Johan Myréen
Modified: 2017-09-29 17:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Kernel messages as reported by journalctl -b -1. (117.11 KB, text/plain)
2017-09-03 14:18 UTC, Johan Myréen
no flags Details
Photo of messed up screen. (1.27 MB, image/jpeg)
2017-09-03 14:20 UTC, Johan Myréen
no flags Details
git diff between working and broken kernel commits. (1.18 KB, text/plain)
2017-09-03 14:22 UTC, Johan Myréen
no flags Details

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.