Bug 29314 - [GM45] Double horizontal resolution due to spurious TV detection
Summary: [GM45] Double horizontal resolution due to spurious TV detection
Status: RESOLVED DUPLICATE of bug 27169
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 21:04 UTC by Marcos Alves
Modified: 2010-08-08 15:37 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Dmesg with drm.debug=0xc as instructed by someone in #intel-gfx on freenode. (72.23 KB, text/plain)
2010-07-29 21:04 UTC, Marcos Alves
no flags Details
glxinfo (10.97 KB, text/plain)
2010-07-29 21:05 UTC, Marcos Alves
no flags Details
vbios dump (64.00 KB, application/octet-stream)
2010-07-29 21:06 UTC, Marcos Alves
no flags Details
Xorg log (25.64 KB, text/plain)
2010-07-29 21:07 UTC, Marcos Alves
no flags Details

Description Marcos Alves 2010-07-29 21:04:55 UTC
Created attachment 37450 [details]
Dmesg with drm.debug=0xc as instructed by someone in #intel-gfx on freenode.

At boot, and sometimes after the window manager is started, the X resolution changes to a bigger one than the native LCD on this laptop is designed for. I believe it is 2560x800 (while the laptop native resolution is 1280x800).

When it happens at boot, changing to a VT and then back to the X display fixes it. 
When already in the window manager (gnome in my case), running xrandr without any arguments or opening the Monitors preferences panel also fixes it.

As instructed by someone in #intel-gfx on freenode, I've saved a few logs which i'll attach.

I was not able to reproduce this bug at will as it is random (it doesn't happen always).

System environment:

Laptop: HP 6530b
Graphic Chipset: Intel GM45 (X4500 MHD iirc)
Uname: Linux Chronos 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 21:03:38 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz GenuineIntel GNU/Linux 
LibDRM version: 2.4.21-1
Distro: Arch Linux (fully updated)
Display Connector: LVDS (Internal LCD)

Reproduce steps:
1) boot the machine, if it doesn't occur, reboot. ;)
Comment 1 Marcos Alves 2010-07-29 21:05:49 UTC
Created attachment 37451 [details]
glxinfo
Comment 2 Marcos Alves 2010-07-29 21:06:54 UTC
Created attachment 37452 [details]
vbios dump
Comment 3 Marcos Alves 2010-07-29 21:07:14 UTC
Created attachment 37453 [details]
Xorg log
Comment 4 Chris Wilson 2010-07-29 23:17:40 UTC
Thanks Xeon3D! 

Yet another spurious TV detection on a completely different chipset (cf https://bugzilla.kernel.org/show_bug.cgi?id=16236 )

[drm:intel_tv_detect_type], Detected Component TV connection
[drm:g4x_disable_fbc], disabled FBC
[drm:drm_helper_probe_single_connector_modes], Probed modes for SVIDEO-1
[drm:drm_mode_debug_printmodeline], Modeline 38:"848x480" 60 29027 848 849 912 944 480 481 512 513 0x48 0x0
[drm:drm_mode_debug_printmodeline], Modeline 11:"640x480" 60 22631 640 641 704 736 480 481 512 513 0x48 0x0
[drm:drm_mode_debug_printmodeline], Modeline 40:"1920x1080" 60 134493 1920 1921 1984 2016 1080 1081 1112 1113 0x40 0x0
[drm:drm_mode_debug_printmodeline], Modeline 37:"1280x1024" 60 87178 1280 1281 1344 1376 1024 1025 1056 1057 0x40 0x0
[drm:drm_mode_debug_printmodeline], Modeline 39:"1280x720" 60 62105 1280 1281 1344 1376 720 721 752 753 0x40 0x0
[drm:drm_mode_debug_printmodeline], Modeline 36:"1024x768" 60 53773 1024 1025 1088 1120 768 769 800 801 0x40 0x0
[drm:drm_mode_debug_printmodeline], Modeline 35:"800x600" 60 33996 800 801 864 896 600 601 632 633 0x40 0x0

Again, Xorg is not reporting the modes used to construct the extended desktop:
[    18.006] (II) intel(0): Printing probed modes for output LVDS1
[    18.006] (II) intel(0): Modeline "1280x800"x60.0   69.32  1280 1292 1356 1416  800 803 806 816 -hsync -vsync (49.0 kHz)
[    18.006] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    18.006] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    18.006] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    18.006] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    18.015] (II) intel(0): EDID for output HDMI1
[    18.015] (II) intel(0): EDID for output DP1
[    18.020] (II) intel(0): EDID for output DP2
[    18.110] (II) intel(0): EDID for output TV1
[    18.110] (II) intel(0): Output VGA1 disconnected
[    18.110] (II) intel(0): Output LVDS1 connected
[    18.110] (II) intel(0): Output HDMI1 disconnected
[    18.110] (II) intel(0): Output DP1 disconnected
[    18.110] (II) intel(0): Output DP2 disconnected
[    18.110] (II) intel(0): Output TV1 disconnected
[    18.110] (II) intel(0): Using exact sizes for initial modes
[    18.110] (II) intel(0): Output LVDS1 using initial mode 1280x800
...
[    18.138] (II) intel(0): Allocated new frame buffer 1280x800 stride 5120, tiled
... [hotplug event?]
[    22.638] (II) intel(0): EDID vendor "SEC", prod id 19522
[    22.638] (II) intel(0): Printing DDC gathered Modelines:
[    22.638] (II) intel(0): Modeline "1280x800"x0.0   69.32  1280 1292 1356 1416  800 803 806 816 -hsync -vsync (49.0 kHz)
[    22.825] (II) intel(0): EDID vendor "SEC", prod id 19522
[    22.825] (II) intel(0): Printing DDC gathered Modelines:
[    22.825] (II) intel(0): Modeline "1280x800"x0.0   69.32  1280 1292 1356 1416  800 803 806 816 -hsync -vsync (49.0 kHz)
[    23.005] (II) intel(0): EDID vendor "SEC", prod id 19522
[    23.005] (II) intel(0): Printing DDC gathered Modelines:
[    23.005] (II) intel(0): Modeline "1280x800"x0.0   69.32  1280 1292 1356 1416  800 803 806 816 -hsync -vsync (49.0 kHz)
[    24.178] (II) intel(0): Allocated new frame buffer 2176x800 stride 8704, tiled

The other disturbing thing is the 1.5s pause between the query and the reallocate. That has to be a noticeable stutter!
-ickle
Comment 5 Chris Wilson 2010-08-08 15:37:36 UTC

*** This bug has been marked as a duplicate of bug 27169 ***


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.