Bug 28149 - [945GM] KMS regression - flicker
Summary: [945GM] KMS regression - flicker
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Daniel Vetter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 17:51 UTC by sebastien.lorrain01
Modified: 2017-07-24 23:07 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (30.19 KB, text/plain)
2010-05-17 17:51 UTC, sebastien.lorrain01
no flags Details
Fix wm calculation. (2.32 KB, patch)
2010-08-21 02:42 UTC, Chris Wilson
no flags Details | Splinter Review
Contains short videos X11 flicker screen (778.41 KB, application/octet-stream)
2011-02-08 00:44 UTC, Thomas Schmid
no flags Details
Contains system logs (dmesg,X11,lspci) (23.92 KB, application/octet-stream)
2011-02-08 00:45 UTC, Thomas Schmid
no flags Details

Description sebastien.lorrain01 2010-05-17 17:51:09 UTC
Created attachment 35714 [details]
dmesg

Archlinux Fresh install and full system upgrade
Kernel 2.26.33
xf86-video-intel 2.10.0-1
xorg-server 1.7.6-3


With KMS (default menu.lst), xorg runs fine but I can't read the output of any framebuffer applications (TTY's).
Instead of the usual login prompt in consoles, I got some pixel noise moving from right to left where there where supposed to be some text.

This happen when the boot sequence start to load the kernel module, as I can read the boot process until the "loading module" line.

It happened since KMS was incorporated in the linux kernels (2.26.3X I think).

Without KMS (added "nomodeset" in menu.lst bootline), I can't start X as it is with the new intel driver. However, with the "nomodeset" line I don't have the problems below.

I put dmesg output in the attachment
Comment 1 sebastien.lorrain01 2010-05-17 17:54:34 UTC
The following bug is on an intel D945GCLF motherboard and can be reproduced every time I boot.
Comment 2 Chris Wilson 2010-07-22 11:49:25 UTC
Jesse any clues about this warning? Appears harmless though.

agpgart-intel 0000:00:00.0: Intel 945G Chipset
resource map sanity check conflict: 0x88280000 0x882bffff 0x88280000 0x8829ffff 0000:00:02.0
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:135 __ioremap_caller+0x2a7/0x2f0()
Hardware name:         
Info: mapping multiple BARs. Your kernel is fine.
Call Trace:
 [<f804d5a9>] intel_i915_create_gatt_table+0x79/0x120 [intel_agp]
 [<f80332a4>] agp_add_bridge+0x124/0x520 [agpgart]

Sebastien, it sounds like you have modesetting issue. Can you please attach a dmesg with drm.debug=4, and if possible intel_reg_dumper output for a successful ums load and the failing kms boot along with the xrandr and Xorg.logs.
Comment 3 Chris Wilson 2010-08-21 02:42:34 UTC
Created attachment 38039 [details] [review]
Fix wm calculation.

The pixel noise on the fbcon and not in X is reminiscent of a FIFO issue and should be fixed with the attached patch. It also implies that there is a modeswitch between the console and X, which should be fixed in xserver-1.9.
Comment 4 Thomas Schmid 2011-02-08 00:41:38 UTC
Hi all, 
I have the same or similiar issue on a HP 5320m labtop: 
1. Starting with KMS enabled gets me heavy flicker and massive display distortions right after start from GRUB. These distortions are present in Console and later in X11/KDE environment.
2. If I disabled KMS by using "nomodeset", I get a clear screen using either X11 auto-configuration (which is using fbdev) or manual cX11 configuration using VESA driver.

I (try to) attach to arichives:
- "hp320m_flicker_videos.zip" containing 2 short videos of the console and X11 screens
- "hp5320m_flicker_logs.tar.gz" containing dmesg,X11 log and lscpi.

If anything more is needed, please tell me.
Thomas
Comment 5 Thomas Schmid 2011-02-08 00:44:56 UTC
Created attachment 43086 [details]
Contains short videos X11 flicker screen
Comment 6 Thomas Schmid 2011-02-08 00:45:57 UTC
Created attachment 43087 [details]
Contains system logs (dmesg,X11,lspci)
Comment 7 Thomas Schmid 2011-02-08 00:51:35 UTC
(In reply to comment #4)
> Hi all, 
> I have the same or similiar issue on a HP 5320m labtop: 
> 1. Starting with KMS enabled gets me heavy flicker and massive display
> distortions right after start from GRUB. These distortions are present in
> Console and later in X11/KDE environment.
> 2. If I disabled KMS by using "nomodeset", I get a clear screen using either
> X11 auto-configuration (which is using fbdev) or manual cX11 configuration
> using VESA driver.
> 
> I (try to) attach to arichives:
> - "hp320m_flicker_videos.zip" containing 2 short videos of the console and X11
> screens
> - "hp5320m_flicker_logs.tar.gz" containing dmesg,X11 log and lscpi.
> 
> If anything more is needed, please tell me.
> Thomas

Replying to myself:
- OS is standard openSUSE 11.3, except I am using an openSuSE-provided kernel 2.6.37.6
Comment 8 Chris Wilson 2011-02-08 01:19:12 UTC
Thoman, you have your own bug based on the massive difference in chipset generations. Please file separately and attach the text files individually (not as a tar ball), that makes reviewing the information much easier.
Appending drm.debug=0xe to your boot parameters would be useful, as is testing drm-intel-next for the eDP fixes.
Comment 9 Thomas Schmid 2011-02-11 00:46:08 UTC
(In reply to comment #8)
> Thoman, you have your own bug based on the massive difference in chipset
> generations. Please file separately and attach the text files individually (not
> as a tar ball), that makes reviewing the information much easier.
> Appending drm.debug=0xe to your boot parameters would be useful, as is testing
> drm-intel-next for the eDP fixes.

Thanks for the tip, I have now done that (bug# 34165)
Thomas
Comment 10 Thomas Schmid 2011-02-11 00:49:02 UTC
(In reply to comment #8)
> Thoman, you have your own bug based on the massive difference in chipset
> generations. Please file separately and attach the text files individually (not
> as a tar ball), that makes reviewing the information much easier.
> Appending drm.debug=0xe to your boot parameters would be useful, as is testing
> drm-intel-next for the eDP fixes.

I have removed my attachments as they are not applicable to this specific bug. Sorry about that,
Thomas
Comment 11 Chris Wilson 2012-04-09 09:21:36 UTC
Comment on attachment 38039 [details] [review]
Fix wm calculation.

The patch is wrong; please ignore.
Comment 12 Daniel Vetter 2012-04-11 03:30:08 UTC
(In reply to comment #2)
> Sebastien, it sounds like you have modesetting issue. Can you please attach a
> dmesg with drm.debug=4, and if possible intel_reg_dumper output for a
> successful ums load and the failing kms boot along with the xrandr and
> Xorg.logs.

Sebastian, can you please provide this information? This is the basic info-dump we need to diagnose modesetting issues.
Comment 13 Jesse Barnes 2012-04-23 11:05:25 UTC
Original reporter hasn't replied on this one, but we think it's fixed.

Sebastien, please re-open if not with your testing results on drm-intel-next-queued.  Thanks.


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.