nouveau - HDMI gives no more signal since 3.15 (optimus)

Bug #1374607 reported by Jean-Louis Dupond
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Tim Gardner
Utopic
Fix Released
Medium
Tim Gardner

Bug Description

This week I tried HDMI again on my system, and noticed it was completely broken.
Got just no signal on my screen.

I knew it was working some months (and upgrades) ago.
After testing I found out the issue was introduced between kernel v3.14 and v3.15.

Situation:
Insert HDMI cable into my laptop, and no signal on the external display.

The dmesg fills with errors also:
[ 186.210622] nouveau E[ PDISP][0000:01:00.0] INVALID_STATE [UNK08] chid 0 mthd 0x0080 data 0x00000000
[ 186.210627] nouveau E[ PDISP][0000:01:00.0] Core:
[ 186.210634] nouveau E[ PDISP][0000:01:00.0] 0x0084: 0x5dc34da1 -> 0x80000000
[ 186.210640] nouveau E[ PDISP][0000:01:00.0] 0x0088: 0x00000000

etc.

After some git bisect playtime, I found out the following commit caused the issue:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/nouveau?id=05c63c2ff23a80b654d6c088ac3ba21628db0173

So I went back to stable 3.16 (Ubuntu Utopic version), and did a git revert for that commit.
And yep, HDMI output was working again, and no more nouveau errors in dmesg.

My device:
[ 30.823267] nouveau [ DEVICE][0000:01:00.0] BOOT0 : 0x0c1a00a1
[ 30.823269] nouveau [ DEVICE][0000:01:00.0] Chipset: GF108 (NVC1)
[ 30.823270] nouveau [ DEVICE][0000:01:00.0] Family : NVC0

Laptop dell xps 15 l502x

So this can be fixed with just reverting this commit. Else this is an annoying regression in Utopic.
---
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jean-louis 3531 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=UUID=633b79c4-1f68-4dd5-be23-b297eed028cd
InstallationDate: Installed on 2011-07-14 (1177 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
MachineType: Dell Inc. Dell System XPS L502X
Package: linux (not installed)
ProcFB:
 0 inteldrmfb
 1 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-20-generic root=/dev/mapper/ubuntu-root_crypt ro quiet splash modeset=1 pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 vt.handoff=7
ProcVersionSignature: Ubuntu 3.16.0-20.27-generic 3.16.3
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-20-generic N/A
 linux-backports-modules-3.16.0-20-generic N/A
 linux-firmware 1.134
Tags: utopic
Uname: Linux 3.16.0-20-generic x86_64
UpgradeStatus: Upgraded to utopic on 2014-09-15 (18 days ago)
UserGroups: adm admin bacula cdrom dialout libvirtd lpadmin plugdev sambashare wireshark
_MarkForUpload: True
dmi.bios.date: 09/07/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0NJT03
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA12:bd09/07/2012:svnDellInc.:pnDellSystemXPSL502X:pvr:rvnDellInc.:rn0NJT03:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS L502X
dmi.sys.vendor: Dell Inc.

Revision history for this message
In , Jean-Louis Dupond (dupondje) wrote :

This week I tried HDMI again on my system, and noticed it was completely broken.
Got just no signal on my screen.

I knew it was working some months (and upgrades) ago.
After testing I found out the issue was introduced between kernel v3.14 and v3.15.

Situation:
Insert HDMI cable into my laptop, and no signal on the external display.

The dmesg fills with errors also:
[ 186.210622] nouveau E[ PDISP][0000:01:00.0] INVALID_STATE [UNK08] chid 0 mthd 0x0080 data 0x00000000
[ 186.210627] nouveau E[ PDISP][0000:01:00.0] Core:
[ 186.210634] nouveau E[ PDISP][0000:01:00.0] 0x0084: 0x5dc34da1 -> 0x80000000
[ 186.210640] nouveau E[ PDISP][0000:01:00.0] 0x0088: 0x00000000

etc.

After some git bisect playtime, I found out the following commit caused the issue:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/nouveau?id=05c63c2ff23a80b654d6c088ac3ba21628db0173

So I went back to stable 3.16 (Ubuntu Utopic version), and did a git revert for that commit.
And yep, HDMI output was working again, and no more nouveau errors in dmesg.

My device:
[ 30.823267] nouveau [ DEVICE][0000:01:00.0] BOOT0 : 0x0c1a00a1
[ 30.823269] nouveau [ DEVICE][0000:01:00.0] Chipset: GF108 (NVC1)
[ 30.823270] nouveau [ DEVICE][0000:01:00.0] Family : NVC0

Laptop dell xps 15 l502x

Revision history for this message
In , Jean-Louis Dupond (dupondje) wrote :

Created attachment 106697
full dmesg

Attached a full dmesg.

The last lines are when I stop lightdm, and runpm stops the nvidia card.
This also causes shutdown to hang.

Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Jean-Louis Dupond, thank you for reporting this and helping make Ubuntu better. Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1374607
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: bisect-done
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jean-Louis Dupond (dupondje) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected utopic
description: updated
Revision history for this message
Jean-Louis Dupond (dupondje) wrote : BootDmesg.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : CRDA.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : IwConfig.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : Lspci.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : Lsusb.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : ProcModules.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : PulseList.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : RfKill.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : UdevDb.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : UdevLog.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

The issue was fixed upstream.

The commit that fixed it:
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?h=linux-3.17&id=6fbb702e27d78ad2458df048b58cca3454bc0965

I tried the ubuntu-utopic kernel with the commit on top, and it works fine again.
HDMI gives signal again, no more errors in dmesg, and suspend/shutdown also works.

Guess this is a must-have!

Changed in linux (Ubuntu):
status: Incomplete → New
Changed in linux (Ubuntu):
importance: Low → Medium
status: New → Confirmed
Revision history for this message
In , Jean-Louis Dupond (dupondje) wrote :

Seems like Ben fixed this issue:
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?h=linux-3.17&id=6fbb702e27d78ad2458df048b58cca3454bc0965

Used that commit on my kernel, and it fixes the issue!
Great! Thx!

penalvch (penalvch)
tags: added: cherry-pick
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Tim Gardner (timg-tpi) wrote :

commit 6fbb702e27d78ad2458df048b58cca3454bc0965 (drm/nouveau: make sure display hardware is reinitialised on runtime resume)

Changed in linux (Ubuntu Utopic):
assignee: nobody → Tim Gardner (timg-tpi)
status: Triaged → Fix Committed
Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.16.0-21.28

---------------
linux (3.16.0-21.28) utopic; urgency=low

  [ Andy Whitcroft ]

  * [Config] linux-image-extra is additive to linux-image
    - LP: #1375310
  * [Config] linux-image-extra postrm is not needed on purge

  [ dann frazier ]

  * [Config] run updateconfigs after adding arm64 PCI support
  * SAUCE: (no-up) Fix pcie-xgene build failure

  [ Ming Lei ]

  * SAUCE: (no-up) apm: pcie: fix hang when no card connected

  [ Tanmay Inamdar ]

  * SAUCE: (no-up) arm64: PCI(e) arch support
  * SAUCE: (no-up) pci: APM X-Gene PCIe controller driver
  * SAUCE: (no-up) arm64: dts: APM X-Gene PCIe device tree nodes
  * SAUCE: (no-up) dt-bindings: pci: xgene pcie device tree bindings
  * SAUCE: (no-up) MAINTAINERS: entry for APM X-Gene PCIe host driver
  * SAUCE: (no-up) Add MSI/MSI-X driver for APM PCI bus
    - LP: #1318977

  [ Tim Gardner ]

  * rebase to v3.16.4
  * Release Tracking Bug
    - LP: #1377905

  [ Tuan Phan ]

  * SAUCE: (no-up) pci-xgene-msi: fixed deadlock in irq_set_affinity
    - LP: #1359514

  [ Upstream Kernel Changes ]

  * drm/nouveau: make sure display hardware is reinitialised on runtime
    resume
    - LP: #1374607

  [ Upstream Kernel Changes ]

  * rebase to v3.16.4
 -- Tim Gardner <email address hidden> Fri, 03 Oct 2014 12:10:48 -0400

Changed in linux (Ubuntu Utopic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.