Bug 109613

Summary: nouveau: KMS is broken on last kernels (9700M GT)
Product: xorg Reporter: Evgeny Kurnevsky <kurnevsky>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg logs from different kernels
none
vbios none

Description Evgeny Kurnevsky 2019-02-12 10:20:27 UTC
Created attachment 143363 [details]
dmesg logs from different kernels

I have KMS broken on my laptop Acer Aspire 8930G after upgrading from 4.10.13 to 4.11.2 kernel (also checked 4.11.9, the last version 4.20.7 and some versions between). With kernel parameter 'nouveau.modeset=0' it boots fine. Here is a picture how it looks on the screen after modeset: https://imgur.com/a/kr3rbFJ

Laptops's lspci:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
01:00.0 VGA compatible controller: NVIDIA Corporation G96M [GeForce 9700M GT] (rev a1)
02:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
05:00.0 Network controller: Intel Corporation WiFi Link 5100
Comment 1 Evgeny Kurnevsky 2019-02-27 07:08:27 UTC
Bisected to exact commit that breaks it: 800efb4c2857ec543fdc33585bbcb1fd5ef28337
Comment 2 Ilia Mirkin 2019-02-27 13:12:07 UTC
Could you include your vbios?

It's rather surprising that a change to fan control logic, intended to really only affect nv4x, would affect your display. But it's probably messing with GPIOs it shouldn't be touching ... or something?
Comment 3 Evgeny Kurnevsky 2019-02-27 15:48:35 UTC
Created attachment 143489 [details]
vbios
Comment 4 Ilia Mirkin 2019-02-28 03:57:02 UTC
Thanks. Upon further review, there was a fixup to the commit you bisected to, which is included in v4.20.11 or later. Can you try that? Or alternatively apply https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=118780066e30c34de3d9349710b51780bfa0ba83 to your tree.
Comment 5 Evgeny Kurnevsky 2019-02-28 07:10:13 UTC
Tried 4.20.12 version - nothing changed. This patch was included in 4.20.11 version: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.11
Comment 6 Evgeny Kurnevsky 2019-02-28 10:21:43 UTC
Also removing call to nvkm_therm_update_linear_fallback on 4.20 branch fixes the issue.
Comment 7 Martin Peres 2019-12-04 09:48:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/479.

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.