[MacBook Pro 8,2] Severe screen flicker when display turned off an back on

Bug #925538 reported by Seth Forshee
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Seth Forshee

Bug Description

When the radeon driver is used, turning the LVDS panel off then back on results in extreme flicker on the screen, as though the backlight intensity is quickly cycling between low and high brightness. This effect gradually fades until it is no longer noticable.

fglrx does not suffer from this issue.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-12-generic 3.2.0-12.21
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 1743 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 1743 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xb0900000 irq 47'
   Mixer name : 'Cirrus Logic CS4206'
   Components : 'HDA:10134206,106b1d00,00100302'
   Controls : 24
   Simple ctrls : 10
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xb0840000 irq 48'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 6
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu Feb 2 09:39:42 2012
HibernationDevice: RESUME=UUID=13594e7c-281a-4c68-afc8-7ef8aae830c9
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20111208)
MachineType: Apple Inc. MacBookPro8,2
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-12-generic root=UUID=b914ccd7-a73e-4a8b-97b2-4b23a1d3d39c ro acpi_backlight=vendor quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-12-generic N/A
 linux-backports-modules-3.2.0-12-generic N/A
 linux-firmware 1.68
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/28/11
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP81.88Z.0047.B22.1109281426
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-94245A3940C91C80
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro8,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-94245A3940C91C80
dmi.modalias: dmi:bvnAppleInc.:bvrMBP81.88Z.0047.B22.1109281426:bd09/28/11:svnAppleInc.:pnMacBookPro8,2:pvr1.0:rvnAppleInc.:rnMac-94245A3940C91C80:rvrMacBookPro8,2:cvnAppleInc.:ct10:cvrMac-94245A3940C91C80:
dmi.product.name: MacBookPro8,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
In , Seth Forshee (sforshee) wrote :

Created attachment 55810
dmesg output

When the LVDS panel is turned on after being off the screen flickers as if the backlight is quickly alternating between low and high brightness values. The flickering gradually fades until it is no longer noticeable. The graphics card is:

ATI Technologies Inc Whistler [AMD Radeon HD 6600M Series] [1002:6741]

Other than LVDS this machine has a Thunderbolt/MiniDP connector. demsg output and vbios are attached.

Revision history for this message
In , Seth Forshee (sforshee) wrote :

Created attachment 55811
vbios

Revision history for this message
In , agd5f (agd5f) wrote :

Do these patches help?
http://people.freedesktop.org/~agd5f/dce_fixes/
They are against drm-next or Linus' tree.

Revision history for this message
In , Seth Forshee (sforshee) wrote :

(In reply to comment #2)
> Do these patches help?
> http://people.freedesktop.org/~agd5f/dce_fixes/
> They are against drm-next or Linus' tree.

Yes, those patches eliminate the flicker.

Revision history for this message
In , W-florijn-k (w-florijn-k) wrote :

A patch referencing this bug report has been merged in Linux v3.3-rc2:

commit 3a47824d85eeca122895646f027dc63480994199
Author: Alex Deucher <email address hidden>
Date: Fri Jan 20 15:01:30 2012 -0500

    drm/radeon/kms: rework modeset sequence for DCE41 and DCE5

Revision history for this message
In , Seth Forshee (sforshee) wrote :

(In reply to comment #4)
> A patch referencing this bug report has been merged in Linux v3.3-rc2:
>
> commit 3a47824d85eeca122895646f027dc63480994199
> Author: Alex Deucher <email address hidden>
> Date: Fri Jan 20 15:01:30 2012 -0500
>
> drm/radeon/kms: rework modeset sequence for DCE41 and DCE5

I can confirm that the problem no longer exists in v3.3-rc2. Closing.

Revision history for this message
Seth Forshee (sforshee) wrote :
Changed in linux:
importance: Unknown → Medium
status: Unknown → Fix Released
Seth Forshee (sforshee)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
linux (3.2.0-13.22) precise; urgency=low

  [ Alex Deucher ]

  * (pre-stable): drm/radeon/kms: move panel mode setup into encoder mode
    set
    - LP: #925538
  * (pre-stable): drm/radeon/kms: rework modeset sequence for DCE41 and
    DCE5
    - LP: #925538

  [ Andy Whitcroft ]

  * [Config] review IPv6 configuration options and enable

  [ David Henningsson ]

  * SAUCE: ALSA: HDA: Remove quirk for Toshiba Qosmio G50
    - LP: #923316
  * SAUCE: ALSA: HDA: Fix jack creation for codecs with front and rear Line
    In
    - LP: #923409

  [ James M. Leddy ]

  * SAUCE: Bluetooth: Add support for BCM20702A0 [0a5c:21e6]
    - LP: #906832

  [ Manoj Iyer ]

  * SAUCE: Bluetooth: Add support for BCM20702A0 [0a5c:21e1]
    - LP: #906832
  * SAUCE: Add vendor specific ID (0a5c 21f3) for BCM20702A0.
    - LP: #925552

  [ Seth Forshee ]

  * (pre-stable): drm/radeon/kms: disable output polling when suspended
    - LP: #925570

  [ Tim Gardner ]

  * [Config] CONFIG_BLK_DEV_PCIESSD_MTIP32XX=m
    - LP: #922221
  * [Config] Add mtip32xx to d-i block modules
    - LP: #922221
  * [Config] Enable USB3.0 in d-i

  [ Upstream Kernel Changes ]

  * block: Add driver for Micron RealSSD pcie flash cards
    - LP: #922221
  * mtip32xx: fix warnings/errors on 32-bit compiles
    - LP: #922221
  * mtip32xx: cleanup compat ioctl handling
    - LP: #922221
  * mtip32xx: ensure that all local functions are static
    - LP: #922221
  * mtip32xx: mark a few more items static
    - LP: #922221
  * mtip32xx: add module.h include to avoid conflict with moduleh tree
    - LP: #922221
  * mtip32xx: update to new ->make_request() API
    - LP: #922221
  * mtip32xx: updates based on feedback
    - LP: #922221
  * mtip32xx: uninitialized variable in mtip_quiesce_io()
    - LP: #922221
  * mtip32xx: do rebuild monitoring asynchronously
    - LP: #922221
  * watchdog: iTCO_wdt: add Intel Lynx Point DeviceIDs
    - LP: #900119
  * drm/i915: mask transcoder select bits before setting them on LVDS
    - LP: #924989
  * (pre-stable) USB: Realtek cr: fix autopm scheduling while atomic
    - LP: #917962
  * nouveau: properly check for _DSM function support
    - LP: #925608
  * nouveau: Support Optimus models for vga_switcheroo
    - LP: #925608
 -- Leann Ogasawara <email address hidden> Thu, 02 Feb 2012 13:26:59 -0800

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Britt Yazel (bwyazel) wrote :

I would like to not on the fix that was released. The fix only works temporarily after first boot. The flicker that I was experiencing before will go away up until I do anything even moderately graphics intensive, at which point it comes back in full severity until another reboot.

You can see this if you click back and forth on the workspace switcher very fast. It will be good for the first few clicks, but then the flickering will start up and will never cease to go away.

The fix that was released helps, but it not a true 'fix'

Revision history for this message
Seth Forshee (sforshee) wrote :

I'm completely unable to reproduce what you describe in up-to-date precise. And from another bug report I see that you're running completely different hardware with a different graphics card. So _this_ bug is fixed, but unfortunately yours is not.

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.