Bug 573200

Summary: Window widgets blink on/off screen on Intel GM45 after upgrading to kernel 2.6.32
Product: [Fedora] Fedora Reporter: Nicholas Kudriavtsev <nkudriavtsev>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: anton, arthur.kun, dougsland, gansalmon, itamar, jonathan, kernel-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-09 04:54:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg file
none
Xorg.0.log file
none
Head of message file when boot with udev in debug mode
none
messages log file with kernel option drm.debug=1
none
A patch to fix the problem
none
Xorg.0.log file none

Description Nicholas Kudriavtsev 2010-03-13 11:26:08 UTC
Description of problem:
Window widgets blink on/off screen leave only grey window frames on Intel GM45 after upgrading to kernel 2.6.32. Also Xorg.0.log floods with messages endlessly.

Version-Release number of selected component (if applicable):
kernel.x86_64                      2.6.32.9-70.fc12
compiz.x86_64                      0.8.2-24.fc12
xorg-x11-server-Xorg.x86_64        1.7.5.901-4.fc12
xorg-x11-drv-intel.x86_64          2.9.1-1.fc12

How reproducible:
Always

Steps to Reproduce:
1. Boot Fedora 12
2. Login in GNOME
3.  
  
Actual results:
Blinking window widgets during load up of applications and after that

Expected results:
Usual application windows appearance. No blinking.

Additional info:
With previous xorg-x11-server update blinking starts in GDM. With last update it starts in GNOME (compiz is enabled). In kernel 2.6.31 everything is OK.

Comment 1 Nicholas Kudriavtsev 2010-03-13 11:28:11 UTC
Created attachment 399827 [details]
dmesg file

Comment 2 Nicholas Kudriavtsev 2010-03-13 11:28:52 UTC
Created attachment 399828 [details]
Xorg.0.log file

Comment 3 Nicholas Kudriavtsev 2010-03-16 19:23:58 UTC
Updated to xorg-x11-server-Xorg.x86_64 1.7.5.902-1.fc12.

A little better, kind of.

Blink returned to GDM, but as soon I press ENTER or shutdown/reboot button blink stops.

While GNOME is loading window widgets blinks, as soon I click on some interface button or menu blink stops again. After that Xorg.0.log stops populate with repeating messages like in attachment in comment #2.

Comment 4 Nicholas Kudriavtsev 2010-03-23 19:50:26 UTC
Updated to xorg-x11-server-Xorg.x86_64 1.7.6-1.fc12 . It isn't better.

Found out some similarities with bug 528312. Disabled unused i2400m_usb module, because had a lot of error messages about it after resuming after suspend. Now Xorg boots better, still blinks and a lot of messages in Xorg.0.log like in comment #2, but blinks stop in about a minute, also Xorg.0.log stops grow up.

Comment 5 Nicholas Kudriavtsev 2010-03-23 20:21:08 UTC
Created attachment 402131 [details]
Head of message file when boot with udev in debug mode

Head of message file when boot with udev in debug mode. Full file length is more then 1GB. I waited more then 15 minutes for GDM login screen and didn't wait till GDM. After that I broke the boot process.

Comment 6 Nicholas Kudriavtsev 2010-03-27 15:09:29 UTC
Updated to kernel.x86_64 - 2.6.32.10-90.fc12 and udev.x86_64 - 145-19.fc12. There is no change.

Fedora 13 Alpha LiveCD - the same problem.

Comment 7 Nicholas Kudriavtsev 2010-03-29 11:41:04 UTC
Tested patch https://bugzilla.redhat.com/attachment.cgi?id=400407 from bug 528312. It didn't help.

Found out when boot in kernel-2.6.31 Xorg.0.log file has lines:
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output DVI1
(II) intel(0): EDID for output DP1
(II) intel(0): EDID for output DVI2
(II) intel(0): EDID for output DP2
(II) intel(0): EDID for output DP3

Those lines are below for kernel-2.6.32:
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output HDMI1
(II) intel(0): EDID for output DP1
(II) intel(0): EDID for output HDMI2
(II) intel(0): EDID for output DP2
(II) intel(0): EDID for output DP3

DVI output is changed to HDMI. Physically it is correct - notebook has HDMI and VGA outputs but has not DVI.

Is the problem may be in that portion of the code?

Comment 8 Nicholas Kudriavtsev 2010-03-29 19:42:08 UTC
Created attachment 403348 [details]
messages log file with kernel option drm.debug=1

Comment 9 Nicholas Kudriavtsev 2010-03-31 11:58:55 UTC
There is a side effect - screen saver does not start in the time.

Also I reversed http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=commit;h=8d91104aac6e21e6ca2a56124e2e47b0db043ea8 patch on kernel-2.6.32.10-90. No help.

Comment 10 Nicholas Kudriavtsev 2010-03-31 12:39:46 UTC
Patch from https://bugzilla.redhat.com/show_bug.cgi?id=528312#c84 did not help.

Comment 11 Nicholas Kudriavtsev 2010-05-01 10:32:56 UTC
I've bisected the kernel from 2.6.31 to 2.6.32. The commit with regression is http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b42d4c5c6a872815d711e5d51a600f5122c38eee

I disabled this commit in kernel-2.6.32.11-105.x86_64 and "blinking" goes out.

Comment 12 Nicholas Kudriavtsev 2010-05-20 07:29:48 UTC
Created attachment 415325 [details]
A patch to fix the problem

I think it is a more logical way to fix the problem. Tested on kernel-2.6.32.12-115.x86_64

Comment 13 Nicholas Kudriavtsev 2010-06-07 08:51:56 UTC
Fedora 13, kernels 2.6.33.4-95 and 2.6.33.5-112. There is no "blinking", but Xorg.log grows up to 1.5 MB as in comment #2 for a day of work and sometimes X boots very slowly and I experience pause in interface responsiveness for a few tens of seconds after that.

Anybody here, do you put the suggested patch in the mainline kernel?

Comment 14 Nicholas Kudriavtsev 2010-08-08 08:45:45 UTC
Seems the bug is fixed someway in 2.6.33.6-147 (may be in 2.6.33.5-124) and higher.

Comment 15 Nicholas Kudriavtsev 2010-08-28 11:26:37 UTC
Created attachment 441673 [details]
Xorg.0.log file

After upgrading to kernel 2.6.33.8-149.fc13 the behavior from comment 13 is returned. I've attached Xorg.log file again since it has time stamps in F13.

Comment 16 Nicholas Kudriavtsev 2010-08-31 17:58:38 UTC
Kernel 2.6.34.6-47.fc13 is OK again. What a mess!

Comment 17 Kun Zhang 2010-09-13 03:11:38 UTC
I have the same issue on my Dell Latitude E5400 with Intel GM45, running Fedora 13 X86_64. It reproduces on every kernel I tried (kernel-2.6.33.3-85.fc13.x86_64, kernel-2.6.33.8-149.fc13.x86_64, kernel-2.6.34.6-54.fc13.x86_64).

It always happens at system start-up, or when resuming from hibernation or suspension, but it doesn't always reproduce. And when this issue occurs, the display area of tty console (switched to using ctrl+alt+Fn) shrinks to a small area covering only the top-left corner of the screen, resulting in a console only displays 80x25.

I guess the blinking comes from X repeatedly probing available display modes, because the blinking pattern is the same as when I run "xrandr", and also I can find similar output in Xorg.log.

The TV1 output always has "unknown connection" according to xrandr, can it be related to the issue?

=============== BEGIN OF xrandr OUTPUT =======================
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
   1280x800       60.0*+   40.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
TV1 unknown connection (normal left inverted right x axis y axis)
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9 
=============== END OF xrandr OUTPUT ========================

When the blinking occurs, there are some weird modes for TV1, like 848x480, in addition to those listed above.