Main monitor goes black when starting TV

Bug #860868 reported by Gustav Näslund
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Leann Ogasawara
Oneiric
Fix Released
Medium
Leann Ogasawara
Precise
Fix Released
Undecided
Unassigned

Bug Description

== SRU Justification ==
A regression was introduced in the v3.0.3 stable update. User has a HD5770 card with 3 screens connected (1 monitor to DisplaPort-0, 1 monitor to the DVI-0, and a TV to the HDMI-0), the screen connected to display port immediately goes black and reports "no signal". To wake the screen again, they had to issue the command xset dpms force suspend" which then wakes the screen connected to the display port. The same thing also happens when turning the tv off.

== Fix ==
http://lists.freedesktop.org/archives/dri-devel/2011-October/014882.html

== Test Case ==
With the fix applied, turn tv on and off and confirm it does not interfere with my other connected displays.

==========

The problem is this:
I have an HD5770 card with 3 screens connected, 1 monitor to DisplaPort-0 and 1
monitor to the DVI-0 and a TV to the HDMI-0

When I turn my tv on the screen connected to displayport immidiately goes black
and it says "no signal". To wake this screen again i need to issue the command
"xset dpms force suspend" This will wake the screen connected to the
displayport. The same thing also happens when I turn the tv off again.

How it should work and has worked before:
I should be able to turn my tv on and off without it interfering with my other
screens.

I have pinned this regression down to happen in the kernel 3.0.3 found here
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.3-oneiric/
But it is alright in the kernel 3.0.2 found here
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.2-oneiric/

This is the changes made between 3.0.2 and 3.0.3 that i think has something to
do with my problem.

Alex Deucher (3):
      drm/radeon/kms: don't enable connectors that are off in the hotplug
handler
      drm/radeon/kms: fix regression is handling>2 heads on cedar/caicos
      drm/radeon/kms: don't try to be smart in the hpd handler

I have also filed this bug at https://bugs.freedesktop.org/show_bug.cgi?id=41248

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-3.0.0-12-generic 3.0.0-12.19
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: gustav 1892 F.... pulseaudio
 /dev/snd/controlC0: gustav 1892 F.... pulseaudio
 /dev/snd/pcmC0D0p: gustav 1892 F...m pulseaudio
 /dev/snd/controlC1: gustav 1892 F.... pulseaudio
CRDA: Error: [Errno 2] Filen eller katalogen finns inte
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7bf8000 irq 47'
   Mixer name : 'VIA VT1828S'
   Components : 'HDA:11064441,104383cf,00100100'
   Controls : 37
   Simple ctrls : 21
Card1.Amixer.info:
 Card hw:1 'AK5370'/'AKM AK5370 at usb-0000:00:1d.0-1.8.3, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB0556:0001'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 78
   Mono: Capture 58 [74%] [0.00dB] [on]
Card2.Amixer.info:
 Card hw:2 'Generic'/'HD-Audio Generic at 0xf7cfc000 irq 48'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 4
   Simple ctrls : 1
Card2.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Tue Sep 27 22:06:35 2011
HibernationDevice: RESUME=UUID=48632229-31ed-4f9f-9db0-c94855c9febd
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: System manufacturer System Product Name
ProcEnviron:
 PATH=(custom, no user)
 LANG=sv_SE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=d266e7ad-c3b8-4faf-9f81-b47eb41ba09a ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to oneiric on 2011-09-27 (0 days ago)
dmi.bios.date: 12/14/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2003
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P7P55D PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2003:bd12/14/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP7P55DPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Gustav Näslund (naslund-gustav) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Gustav,

Thanks for pinning down the version where this regression was introduced. Give me a bit and I"ll try and get you a test kernel with those radeon patches reverted to see if this helps. Thanks.

Changed in linux (Ubuntu):
assignee: nobody → Leann Ogasawara (leannogasawara)
importance: Undecided → Medium
status: Confirmed → In Progress
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Test kernel with the 3 radeon patches reverted is available at the following location. Please test and let me know your results. We can then narrow down which of the 3 is the culprit. Thanks.

http://people.canonical.com/~ogasawara/lp860868/

Revision history for this message
Gustav Näslund (naslund-gustav) wrote :

Thank you, Yes, it is working with that test kernel. The bug is gone!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Great, thanks for the feedback. I'll build 3 more test kernels with each patch separately reverted so we can narrow it down. Stay tuned...

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

I've built 3 additional test kernels which revert each patch separately. Please test all three and let me know which one works (ie with kernel has the correct patch reverted).

http://people.canonical.com/~ogasawara/lp860868/v2/

http://people.canonical.com/~ogasawara/lp860868/v3/

http://people.canonical.com/~ogasawara/lp860868/v4/

Revision history for this message
Gustav Näslund (naslund-gustav) wrote :

v3 and v4 has the bug, v2 solves the initial problem with my main screen going black when i start the TV but it introduces another, now its my TV that says "no signal" when i start the TV. Maybe there is a combination of two patches that need to be reverted. Since the v1 kernel works exactly as i expect it too.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Ok, lets try a combination of the reverted patches in v2 and v3 and also the combination of reverted patches in v2 and v4.

The following contains the same reverted patches that were found in v2 and v3:

http://people.canonical.com/~ogasawara/lp860868/v5/

The following contains the same reverted patches that were found in v2 and v4:

http://people.canonical.com/~ogasawara/lp860868/v6/

Revision history for this message
Gustav Näslund (naslund-gustav) wrote :

Great! v6 is the one! Its working as it should with that one

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks. So it seems the two problematic patches are as follows:

commit d5811e8731213f80c80d89e980505052f16aca1c
Author: Alex Deucher <email address hidden>
Date: Sat Aug 13 13:36:13 2011 -0400

    drm/radeon/kms: don't try to be smart in the hpd handler

commit 73104b5cfe3067d68f2c2de3f3d4d4964c55873e
Author: Alex Deucher <email address hidden>
Date: Tue Aug 9 17:09:06 2011 +0000

    drm/radeon/kms: don't enable connectors that are off in the hotplug handler

Can I have you do one more test as well... could you try the latest upstream v3.1-rc8 kernel? I'd just like to also verify this hasn't already been resolved with another patch. I've posted a v3.1-rc8 kernel at the following location:

http://people.canonical.com/~ogasawara/lp860868/v3.1-rc8/

Revision history for this message
Gustav Näslund (naslund-gustav) wrote :

Okay, tested it now and the problem is still there with kernel 3.1-rc8

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Gustav,

Just posting the same information here that I just posted to your upstream freedesktop.org bug... I've built an Ubuntu test kernel with the changes Alex noted in comment #3 of your upstream bug (fdo 41248). I've placed the patch and test kernel at the following location. Please test and let us know your results.

http://people.canonical.com/~ogasawara/lp860868/v7/

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Just updating status here....

Gustav tested and confirmed the patches noted in the upstream bug report resolves the issue. The patch has subsequently been sent upstream:

http://lists.freedesktop.org/archives/dri-devel/2011-October/014882.html

I'll send this to the Ubuntu kernel team mailing list as well for it to be applied as an SRU to Oneiric.

description: updated
description: updated
description: updated
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Oneiric):
status: In Progress → Fix Committed
Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
Herton R. Krzesinski (herton) wrote :

This bug is awaiting verification that the kernel for Oneiric in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-oneiric' to 'verification-done-oneiric'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-oneiric
Revision history for this message
Herton R. Krzesinski (herton) wrote :

Please ignore comment #14, the commit for this bug is an early application of a commit that will be coming in via upstream stable. As such it is not subject to the standard bug verification process.

tags: added: verification-done-oneiric
removed: verification-needed-oneiric
Revision history for this message
Herton R. Krzesinski (herton) wrote :

(as it is included in linux 3.0.7, not yet updated in oneiric)

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (19.8 KiB)

This bug was fixed in the package linux - 3.0.0-13.22

---------------
linux (3.0.0-13.22) oneiric-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
    - LP: #884847

  [ Herton Ronaldo Krzesinski ]

  * Revert "SAUCE: Add a new entry (413c:8197) to Bluetooth USB device ID
    table"

linux (3.0.0-13.21) oneiric-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
    - LP: #876701

  [ Leann Ogasawara ]

  * Revert "SAUCE: ata: make DVD drive recognisable on systems with
    Sandybridge CPT chipset"
    - LP: #737388, #782389, #794642
  * SAUCE: drm/radeon/kms: Fix logic error in DP HPD handler
    - LP: #860868

  [ Ming Lei ]

  * SAUCE: [media] uvcvideo: Set alternate setting 0 on resume if the bus
    has been reset
    - LP: #816484
  * SAUCE: ata_piix: make DVD Drive recognisable on systems with Intel
    Sandybridge chipsets(v2)
    - LP: #737388, #782389, #794642

  [ Seth Forshee ]

  * SAUCE: acer-wmi: Add wireless quirk for Lenovo 3000 N200
    - LP: #857297

  [ Tim Gardner ]

  * SAUCE: Add a new entry (413c:8197) to Bluetooth USB device ID table
    - LP: #854399
  * [Config] Enable ftrace support in the mac80211 layer
    - LP: #865171
  * SAUCE: usb/core/devio.c: Check for printer class specific request
    - LP: #872711
  * SAUCE: xHCI: AMD isoc link TRB chain bit quirk
    - LP: #872811

  [ Upstream Kernel Changes ]

  * Revert "rt2x00: Serialize TX operations on a queue."
    - LP: #868628
  * Revert "rt2x00: fix crash in rt2800usb_write_tx_desc"
    - LP: #868628
  * Revert "rt2x00: fix crash in rt2800usb_get_txwi"
    - LP: #868628
  * Revert "rt2x00: Move rt2800_txdone and rt2800_txdone_entry_check to
    rt2800usb."
    - LP: #868628
  * Revert "sfc: Use write-combining to reduce TX latency" and follow-ups
    - LP: #868628
  * Revert "drm/radeon/kms: fix typo in r100_blit_copy"
    - LP: #868628
  * x86, amd: Avoid cache aliasing penalties on AMD family 15h
    - LP: #862583
  * x86: Add a BSP cpu_dev helper
    - LP: #862583
  * x86, amd: Move BSP code to cpu_dev helper
    - LP: #862583
  * x86-32, amd: Move va_align definition to unbreak 32-bit build
    - LP: #862583
  * Make TASKSTATS require root access, CVE-2011-2494
    - LP: #866021
    - CVE-2011-2494
  * kernel/printk: do not turn off bootconsole in printk_late_init() if
    keep_bootcon
    - LP: #868628
  * rapidio: fix use of non-compatible registers
    - LP: #868628
  * arch/powerpc/sysdev/fsl_rio.c: correct IECSR register clear value
    - LP: #868628
  * ASoC: soc-jack: Fix checking return value of request_any_context_irq
    - LP: #868628
  * ASoC: ad193x: fix registers definition
    - LP: #868628
  * ASoC: ad193x: fix dac word len setting
    - LP: #868628
  * omap-serial: Allow IXON and IXOFF to be disabled.
    - LP: #868628
  * serial: 8250_pnp: add Intermec CV60 touchscreen device
    - LP: #868628
  * 8250_pci: add support for Rosewill RC-305 4x serial port card
    - LP: #868628
  * 8250: Fix race condition in serial8250_backup_timeout().
    - LP: #868628
  * tty: Add "spi:" prefix for spi modalias
    - LP: #868628
  * TTY: pty, fix pty counting
    - LP: #868628
  * USB: ftdi_sio: add Calao r...

Changed in linux (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Precise):
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.