Bug 29396

Summary: When switching to console the screen blinks every few seconds
Product: xorg Reporter: liodot
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID 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 after switching to console
none
Xorg.0.log after the console switch
none
Partial bisect log none

Description liodot 2010-08-03 22:53:12 UTC
I have a T500 with:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650

After X starts, when I switch to the console (alt+ctrl+F1), I do get the console but every few seconds the screen blanks and unblanks.
This has started after upgrading to kernel 2.6.35, older kernels worked fine.

I am running Gentoo Linux with:
x11-drivers/xf86-video-ati 6.13.1
x11-libs/libdrm 2.4.21
media-libs/mesa 7.8.2
KMS is enabled.
Comment 1 Alex Deucher 2010-08-03 23:14:47 UTC
Please attach your dmesg (after doing the problematic console switch) and xorg log.  What was the last kernel that worked properly?  Can you bisect what commit broke things for you?
Comment 2 liodot 2010-08-03 23:24:28 UTC
Created attachment 37563 [details]
dmesg after switching to console
Comment 3 liodot 2010-08-03 23:25:12 UTC
Created attachment 37564 [details]
Xorg.0.log after the console switch
Comment 4 liodot 2010-08-03 23:26:54 UTC
The last working kernel was 2.6.34.2.

I will try to bisect it over the weekend.
Comment 5 liodot 2010-08-04 04:14:47 UTC
Created attachment 37569 [details] [review]
Partial bisect log
Comment 6 liodot 2010-08-04 04:18:55 UTC
I was able to do only a partial bisect and I attached the log hoping it will help.

While bisecting I also noticed the following, when an external monitor is connected (through the DVI port of the docking station):
In the good kernels when I switch to the console the external monitor keep displaying the last frame X was showing instead of showing the console.
In the bad kernels, after I switch the external monitor displays the console (and it also flickers).

Just to clarify - the flickering also happens if the laptop is undocked with no external monitor at all but I think the above is no coincidence and might help to solve the problem.
Comment 7 liodot 2010-08-07 23:33:16 UTC
In my grub.conf file I had "video=DisplayPort-1:e" (this was in an attempt to use DP with the Intel IGP, also present on the T500).
When I remove this option, the flickering is gone.

I also saw that with the option enabled both the laptop LCD screen and the external monitor are set to 1024x768 when X starts, without it the resolution is set to 1680x1050 (the max of the LVDS).
In either case, the DP is _not_ connected.
Comment 8 Adam Jackson 2018-06-12 19:09:15 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

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.