Bug 41766 - radeon lvds panel heavy flickering after opening laptop lid (Mobility Radeon HD 3650)
Summary: radeon lvds panel heavy flickering after opening laptop lid (Mobility Radeon ...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 15:10 UTC by Pasi Kärkkäinen
Modified: 2019-11-19 08:21 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg for Linux 3.1.0-rc6 (85.13 KB, text/plain)
2011-10-13 23:12 UTC, Pasi Kärkkäinen
no flags Details
Xorg.0.log (66.61 KB, application/octet-stream)
2011-10-13 23:13 UTC, Pasi Kärkkäinen
no flags Details
dmesg for Linux 3.1.0-0.rc9.git0.0.fc16.x86_64 (84.07 KB, text/plain)
2011-10-16 05:59 UTC, Pasi Kärkkäinen
no flags Details
Xorg.0.log for F16 final TC1. (66.17 KB, application/octet-stream)
2011-10-16 06:00 UTC, Pasi Kärkkäinen
no flags Details
Linux 3.1.0 dmesg radeon internal lvds flickering (83.89 KB, text/plain)
2011-10-30 11:01 UTC, Pasi Kärkkäinen
no flags Details

Description Pasi Kärkkäinen 2011-10-13 15:10:22 UTC
I'm using a laptop with Mobility Radeon HD 3650 (HP EliteBook 8530p). Normally the laptop is in a docking station, so I'm only using the external DVI monitor. The laptop lid is closed and the laptop internal LVDS panel is disabled while in the dock.

I just tried the new Fedora 16 beta liveCD on my laptop. Fedora 16 automatically enables all display outputs, which means also the internal LVDS panel gets enabled, even when my laptop lid is closed. And the gnome desktop gets extended to both the DVI monitor and internal LVDS panel. This means I need to actually open the laptop lid to see the gnome menus, because they're displayed only on the internal LVDS panel. This is a configuration/defaults issue in Fedora 16, and that's not the bug I'm reporting.

While opening the laptop lid I noticed the internal LVDS display is heavily flickering, and the screen is totally unreadable. 

I've uploaded a video of the heavily flickering LVDS panel here: http://pasik.reaktio.net/fedora/f16/radeon/f16-beta-laptop-radeon-flicker-xvid.avi

Fedora 16 beta is using Linux 3.1.0-rc6. dmesg available here: http://pasik.reaktio.net/fedora/f16/radeon/f16-beta-laptop-radeon-dmesg.txt

I tried rebooting the laptop a couple of times, and it seems the flickering doesn't happen on every reboot.. but it happens on *most* reboots. Flickering starts already when kernel is booting, before Xorg is started.

Any more info needed ?
Comment 1 Pasi Kärkkäinen 2011-10-13 15:17:52 UTC
Oh, I forgot to mention that changing the radeon "power_profile" fixes the problem, ie doing:

echo low > /sys/class/drm/card0/device/power_profile

fixes the problem, and there's no flickering anymore!
Comment 2 Alex Deucher 2011-10-13 15:40:07 UTC
Did this work in the past and if so, when?  Please attach your xorg log and dmesg output.
Comment 3 Pasi Kärkkäinen 2011-10-13 23:12:27 UTC
Created attachment 52313 [details]
dmesg for Linux 3.1.0-rc6 

dmesg for Linux 3.1.0-rc6, from fedora 16 beta x86_64 livecd, on hp elitebook 8530p with mobility radeon hd 3650.
Comment 4 Pasi Kärkkäinen 2011-10-13 23:13:56 UTC
Created attachment 52314 [details]
Xorg.0.log

Xorg.0.log from fedora 16 beta x86_64 livecd, with Linux 3.1.0-rc6, on hp elitebook 8530p with mobility radeon hd 3650.
Comment 5 Pasi Kärkkäinen 2011-10-13 23:23:21 UTC
Hmm.. I'm pretty sure I didn't see flickering in Fedora 14 (Linux 2.6.35).
Flickering starts already before Xorg is started.
Comment 6 Pasi Kärkkäinen 2011-10-16 05:57:42 UTC
I just tried Fedora 16 final TC1 (Test Compose 1) which has Linux kernel 3.1.0-0.rc9.git0.0.fc16.x86_64. The same heavy flickering/distortion problem happens there.

I'll attach new dmesg for 3.1.0-0.rc9.git0.0.fc16.x86_64 and Xorg.0.log. 

The flickering seems to happen on these conditions:
- Laptop starts with LID closed, so BIOS has internal LVDS disabled. The laptop is in a docking station, so there's only external DVI monitor in use.
- After Linux has started booting, I open the laptop LID, and the internal LVDS has been turned on on clone mode with the external DVI display - and there's heavy flickering and distrortion on the internal LVDS display.
- Distortion starts before Xorg is started.
- After logging in to Xorg and running "echo low > /sys/class/drm/card0/device/power_profile" the distortion stops and the LVDS display is good/normal again.
Comment 7 Pasi Kärkkäinen 2011-10-16 05:59:35 UTC
Created attachment 52376 [details]
dmesg for Linux 3.1.0-0.rc9.git0.0.fc16.x86_64

dmesg for Linux 3.1.0-0.rc9.git0.0.fc16.x86_64 on Fedora 16 final TC1.
Comment 8 Pasi Kärkkäinen 2011-10-16 06:00:45 UTC
Created attachment 52377 [details]
Xorg.0.log for F16 final TC1.

Xorg.0.log for F16 final TC1 with Linux 3.1.0-0.rc9.git0.0.fc16.x86_64.
Comment 9 Alex Deucher 2011-10-16 06:42:47 UTC
Does it work properly if booted with the lid open?
Comment 10 Pasi Kärkkäinen 2011-10-16 07:27:55 UTC
Yep, if I boot with lid open then it's fine - no flickering. I just tried multiple times with lid open.
Comment 11 Pasi Kärkkäinen 2011-10-30 10:57:46 UTC
I just tried with the latest Fedora 16 Final RC1 (using Linux 3.1.0 final), and I noticed the LVDS flickering actually happens *sometimes* also when booting the laptop with lid open. So it's not actually always related to opening the laptop LID.
Comment 12 Pasi Kärkkäinen 2011-10-30 11:01:04 UTC
Created attachment 52925 [details]
Linux 3.1.0 dmesg radeon internal lvds flickering

dmesg from Fedora 16 Final RC1 using Linux kernel 3.1.0.
Comment 13 russianneuromancer 2012-03-07 03:58:22 UTC
> I just tried with the latest Fedora 16 Final RC1 (using Linux 3.1.0 final), and
I noticed the LVDS flickering actually happens *sometimes* also when booting
the laptop with lid open.

Same here on Acer Aspire 7560G (A8-3500M - Radeon HD 6620G) with Kubuntu 12.04 Beta 1 and external HDMI display (selected as main in xrandr settings). I didn't try yet boot with disabled LVDS, but I indeed have flickering on LVDS in some use-cases. For example every time when I use "carousel" KWin feature for switch between applications by Alt+Tab.
Issue is reproduceable even when I boot without external display.

The interesting thing I notice: issue reproduceable only with OpenGL version of KWin. I never can get it reproduced with OpenGL ES version of KWin.

Alex, I have the same issue or I need to fill separate bugreport?
Comment 14 Alex Deucher 2012-03-07 05:37:50 UTC
(In reply to comment #13)
> 
> The interesting thing I notice: issue reproduceable only with OpenGL version of
> KWin. I never can get it reproduced with OpenGL ES version of KWin.
> 
> Alex, I have the same issue or I need to fill separate bugreport?

Probably a separate issue.  Please file a new bug.
Comment 15 russianneuromancer 2012-03-07 10:17:06 UTC
Ok, filled: https://bugs.freedesktop.org/show_bug.cgi?id=47067
Comment 16 Martin Peres 2019-11-19 08:21:44 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/drm/amd/issues/225.


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.