Bug 67027 - [HSW] some modes overscan, on a 4K HDMI TV
Summary: [HSW] some modes overscan, on a 4K HDMI TV
Status: CLOSED DUPLICATE of bug 29723
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-18 08:24 UTC by cancan,feng
Modified: 2015-05-14 02:21 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
mode 1280x720 (2.13 MB, image/jpeg)
2013-07-18 08:43 UTC, cancan,feng
no flags Details
System boot messages (57.34 KB, text/plain)
2013-07-18 08:49 UTC, cancan,feng
no flags Details
Gently ask HDMI sinks to underscan (1023 bytes, text/plain)
2013-11-27 19:18 UTC, Damien Lespiau
no flags Details
dmesg of TV mode test with patched kernel (125.84 KB, text/plain)
2013-11-28 05:29 UTC, Qingshuai Tian
no flags Details
Overscan_screen (1.71 MB, text/plain)
2014-08-21 08:50 UTC, liulei
no flags Details
Overscan_screen (1.71 MB, image/jpeg)
2014-09-09 03:10 UTC, liulei
no flags Details

Description cancan,feng 2013-07-18 08:24:55 UTC
Environment:
--------------------------------------------
Kernel: (drm-intel-next-queued)8f588cfc349bbbd8ae62a13679b9efba41645064
Author: Ben Widawsky <ben@bwidawsk.net>
Date:   Wed Jul 17 12:19:03 2013 -0700

    drm/i915: Create VMAs

Bug detail Description:
--------------------------------------------
We bought a new SKYWORTH 50E780U 50" TV which supports 3840x2160. I tested it on our HSW desktop and found that some modes can't show competely on the screen. I take a picture of this and attach it in the attachment. And I will attach the whole boot messages too.
Here I list all of the HDMI modes and mark the wrong modes as [not full].

HDMI
[0]  1280x720 60 1280 1390 1430 1650 720 725 730 750 0x5 0x48 74250    [not full]
[1]  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148500
[2]  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148352
[3]  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x15 0x40 74250   [not full]
[4]  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x15 0x40 74176   [not full]
[5]  1920x1080 50 1920 2448 2492 2640 1080 1084 1089 1125 0x5 0x40 148500
[6]  1920x1080i 50 1920 2448 2492 2640 1080 1084 1094 1125 0x15 0x40 74250   [not full]
[7]  1280x1024 75 1280 1296 1440 1688 1024 1025 1028 1066 0x5 0x40 135000
[8]  1280x720 60 1280 1390 1430 1650 720 725 730 750 0x5 0x40 74176   [not full]
[9]  1280x720 50 1280 1720 1760 1980 720 725 730 750 0x5 0x40 74250   [not full]
[10]  1440x576i 50 1440 1464 1590 1728 576 580 586 625 0x101a 0x40 27000  [not full]
[11]  1024x768 75 1024 1040 1136 1312 768 769 772 800 0x5 0x40 78800
[12]  1024x768 70 1024 1048 1184 1328 768 771 777 806 0xa 0x40 75000
[13]  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
[14]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27027  [not full]
[15]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27000  [not full]
[16]  832x624 75 832 864 928 1152 624 625 628 667 0xa 0x40 57284
[17]  800x600 75 800 816 896 1056 600 601 604 625 0x5 0x40 49500
[18]  800x600 72 800 856 976 1040 600 637 643 666 0x5 0x40 50000
[19]  800x600 60 800 840 968 1056 600 601 605 628 0x5 0x40 40000
[20]  800x600 56 800 824 896 1024 600 601 603 625 0x5 0x40 36000
[21]  720x576 50 720 732 796 864 576 581 586 625 0xa 0x40 27000  [not full]
[22]  720x480 60 720 736 798 858 480 489 495 525 0xa 0x40 27027  [not full]
[23]  720x480 60 720 736 798 858 480 489 495 525 0xa 0x40 27000  [not full]
[24]  640x480 75 640 656 720 840 480 481 484 500 0xa 0x40 31500
[25]  640x480 73 640 664 704 832 480 489 491 520 0xa 0x40 31500
[26]  640x480 67 640 704 768 864 480 483 486 525 0xa 0x40 30240
[27]  640x480 60 640 656 752 800 480 490 492 525 0xa 0x40 25200
[28]  640x480 60 640 656 752 800 480 490 492 525 0xa 0x40 25175
[29]  720x400 70 720 738 846 900 400 412 414 449 0x6 0x40 28320

Reproduce steps:
--------------------------------------------
1. boot a machine
2. ./testdisplay -a
Comment 1 cancan,feng 2013-07-18 08:43:09 UTC
Created attachment 82575 [details]
mode 1280x720
Comment 2 cancan,feng 2013-07-18 08:49:45 UTC
Created attachment 82576 [details]
System boot messages
Comment 3 Chris Wilson 2013-07-18 09:08:26 UTC
Isn't that just overscan?
Comment 4 Daniel Vetter 2013-07-18 10:22:57 UTC
Yeah, we still need to fix our overscan hint implementation to dtrt in the infoframe headers ...
Comment 5 Damien Lespiau 2013-08-19 17:43:26 UTC
As far as I can tell, this TV doesn't support underscanning CE modes, so we'll need to play with the panel fitter here.

To use the AVI infoframe to tell the TV to overscan CE modes (to be compared to IT modes) I think you need sink support to do that and the EDID tells you if it's possible or not. For that TV, I isn't.
Comment 6 Damien Lespiau 2013-11-27 19:18:37 UTC
Created attachment 89914 [details]
Gently ask HDMI sinks to underscan

Cancan, could you try the attached patch to give the sinks an underscan hint?
Comment 7 Qingshuai Tian 2013-11-28 05:29:12 UTC
Created attachment 89936 [details]
dmesg of TV mode test with patched kernel

I added the patch in the latest drm-intel-nightly kernel.But some modes still can't show completely on the screen. 
You can check the dmesg in the attachment.

The information of all mode (output of test case testdisplay -i):
Connectors:
id      encoder status          type    size (mm)       modes
9       0       disconnected    VGA     0x0             0
12      0       disconnected    HDMI-A  0x0             0
16      15      connected       HDMI-A  600x340         35
  modes:
  name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot flags type clock
[0]  3840x2160 30 3840 4016 4104 4400 2160 2168 2178 2250 0x5 0x40 297000
[1]  3840x2160 30 3840 4016 4104 4400 2160 2168 2178 2250 0x5 0x40 296704
[2]  3840x2160 25 3840 4896 4984 5280 2160 2168 2178 2250 0x5 0x40 297000
[3]  3840x2160 24 3840 5116 5204 5500 2160 2168 2178 2250 0x5 0x40 297000
[4]  3840x2160 24 3840 5116 5204 5500 2160 2168 2178 2250 0x5 0x40 296704
[5]  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148500
[6]  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148352
[7]  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x15 0x40 74250
[8]  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x15 0x40 74176
[9]  1920x1080 50 1920 2448 2492 2640 1080 1084 1089 1125 0x5 0x40 148500
[10]  1920x1080i 50 1920 2448 2492 2640 1080 1084 1094 1125 0x15 0x40 74250
[11]  1280x1024 75 1280 1296 1440 1688 1024 1025 1028 1066 0x5 0x40 135000
[12]  1280x720 60 1280 1390 1430 1650 720 725 730 750 0x5 0x40 74250
[13]  1280x720 60 1280 1390 1430 1650 720 725 730 750 0x5 0x40 74176
[14]  1280x720 50 1280 1720 1760 1980 720 725 730 750 0x5 0x40 74250
[15]  1440x576i 50 1440 1464 1590 1728 576 580 586 625 0x101a 0x40 27000
[16]  1024x768 75 1024 1040 1136 1312 768 769 772 800 0x5 0x40 78800
[17]  1024x768 70 1024 1048 1184 1328 768 771 777 806 0xa 0x40 75000
[18]  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
[19]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27027
[20]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27000
[21]  832x624 75 832 864 928 1152 624 625 628 667 0xa 0x40 57284
[22]  800x600 75 800 816 896 1056 600 601 604 625 0x5 0x40 49500
[23]  800x600 72 800 856 976 1040 600 637 643 666 0x5 0x40 50000
[24]  800x600 60 800 840 968 1056 600 601 605 628 0x5 0x40 40000
[25]  800x600 56 800 824 896 1024 600 601 603 625 0x5 0x40 36000
[26]  720x576 50 720 732 796 864 576 581 586 625 0xa 0x40 27000
[27]  720x480 60 720 736 798 858 480 489 495 525 0xa 0x40 27027
[28]  720x480 60 720 736 798 858 480 489 495 525 0xa 0x40 27000
[29]  640x480 75 640 656 720 840 480 481 484 500 0xa 0x40 31500
[30]  640x480 73 640 664 704 832 480 489 491 520 0xa 0x40 31500
[31]  640x480 67 640 704 768 864 480 483 486 525 0xa 0x40 30240
[32]  640x480 60 640 656 752 800 480 490 492 525 0xa 0x40 25200
[33]  640x480 60 640 656 752 800 480 490 492 525 0xa 0x40 25175
[34]  720x400 70 720 738 846 900 400 412 414 449 0x6 0x40 28320
18      0       disconnected    DP      0x0             0
19      0       disconnected    HDMI-A  0x0             0


The mode that cannot show completely is as follows:
[7]  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x15 0x40 74250
[8]  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x15 0x40 74176
[10]  1920x1080i 50 1920 2448 2492 2640 1080 1084 1094 1125 0x15 0x40 74250
[12]  1280x720 60 1280 1390 1430 1650 720 725 730 750 0x5 0x40 74250
[13]  1280x720 60 1280 1390 1430 1650 720 725 730 750 0x5 0x40 74176
[14]  1280x720 50 1280 1720 1760 1980 720 725 730 750 0x5 0x40 74250
[15]  1440x576i 50 1440 1464 1590 1728 576 580 586 625 0x101a 0x40 27000
[19]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27027
[20]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27000
[26]  720x576 50 720 732 796 864 576 581 586 625 0xa 0x40 27000
[27]  720x480 60 720 736 798 858 480 489 495 525 0xa 0x40 27027
[28]  720x480 60 720 736 798 858 480 489 495 525 0xa 0x40 27000
Comment 8 Gordon Jin 2013-11-29 03:18:24 UTC
To clarify, Cancan has completed her internship and left Intel. Now Qingshuai will follow the QA work.
Comment 9 Paulo Zanoni 2014-01-08 19:18:13 UTC
Duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=29723?
Comment 10 Ben Widawsky 2014-01-28 01:08:35 UTC
Assigning to Damien to either close, or debug.
Comment 11 liulei 2014-08-21 08:49:44 UTC
Retested this on latest -nightly kernel.Thoes three resolution are a little overscan like attachment. 
[15]  1440x576i 50 1440 1464 1590 1728 576 580 586 625 0x101a 0x40 27000
[19]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27027
[20]  1440x480i 60 1440 1478 1602 1716 480 488 494 525 0x101a 0x40 27000
Comment 12 liulei 2014-08-21 08:50:21 UTC
Created attachment 105019 [details]
Overscan_screen
Comment 13 liulei 2014-09-09 03:10:16 UTC
Created attachment 105946 [details]
Overscan_screen
Comment 14 Jesse Barnes 2014-12-05 19:02:08 UTC

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


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.