[Bug 48880] New: Set mode has different timings than requested on VGA

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 18 07:57:24 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48880

             Bug #: 48880
           Summary: Set mode has different timings than requested on VGA
    Classification: Unclassified
           Product: DRI
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: tvrtko.ursulin at onelan.co.uk


AMD G-T56N (Radeon HD 6310) hardware with kernel 3.4-rc3 with a Xorg DDX from
28.03.2012. plus a tiling patch from bug 47765.

List of modes from X.org log:

[   933.174] (II) RADEON(0): Printing DDC gathered Modelines:
[   933.174] (II) RADEON(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052
2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[   933.174] (II) RADEON(0): Modeline "800x600"x0.0   40.00  800 840 968 1056 
600 601 605 628 +hsync +vsync (37.9 kHz)
[   933.174] (II) RADEON(0): Modeline "800x600"x0.0   36.00  800 824 896 1024 
600 601 603 625 +hsync +vsync (35.2 kHz)
[   933.174] (II) RADEON(0): Modeline "640x480"x0.0   31.50  640 656 720 840 
480 481 484 500 -hsync -vsync (37.5 kHz)
[   933.174] (II) RADEON(0): Modeline "640x480"x0.0   31.50  640 664 704 832 
480 489 492 520 -hsync -vsync (37.9 kHz)
[   933.174] (II) RADEON(0): Modeline "640x480"x0.0   30.24  640 704 768 864 
480 483 486 525 -hsync -vsync (35.0 kHz)
[   933.174] (II) RADEON(0): Modeline "640x480"x0.0   25.18  640 656 752 800 
480 490 492 525 -hsync -vsync (31.5 kHz)
[   933.174] (II) RADEON(0): Modeline "720x400"x0.0   28.32  720 738 846 900 
400 412 414 449 -hsync +vsync (31.5 kHz)
[   933.174] (II) RADEON(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440
1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[   933.174] (II) RADEON(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136
1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[   933.174] (II) RADEON(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184
1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[   933.174] (II) RADEON(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184
1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[   933.174] (II) RADEON(0): Modeline "832x624"x0.0   57.28  832 864 928 1152 
624 625 628 667 -hsync -vsync (49.7 kHz)
[   933.174] (II) RADEON(0): Modeline "800x600"x0.0   49.50  800 816 896 1056 
600 601 604 625 +hsync +vsync (46.9 kHz)
[   933.174] (II) RADEON(0): Modeline "800x600"x0.0   50.00  800 856 976 1040 
600 637 643 666 +hsync +vsync (48.1 kHz)
[   933.174] (II) RADEON(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344
1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[   933.174] (II) RADEON(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248
2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz)
[   933.174] (II) RADEON(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960
2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[   933.174] (II) RADEON(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856
2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[   933.174] (II) RADEON(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672
1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[   933.174] (II) RADEON(0): Modeline "1400x1050"x0.0  121.75  1400 1488 1632
1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz)
[   933.174] (II) RADEON(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440
1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[   933.174] (II) RADEON(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488
1800  960 961 964 1000 +hsync +vsync (60.0 kHz)

Our application requests (via XRRSetCrtcConfig) the 1920x1080 with a 148.5 MHz
dot clock (which comes from monitors EDID).

xrandr --verbose shows this is the set and active mode.

However monitor says it is running with 175.9 MHz dot clock and can't adjust to
that signal.

Monitor data from EDID:

[  1312.412] (II) RADEON(0): EDID for output DVI-0
[  1312.412] (II) RADEON(0): Manufacturer: VSC  Model: fc21  Serial#: 16843009
[  1312.412] (II) RADEON(0): Year: 2009  Week: 24
[  1312.412] (II) RADEON(0): EDID Version: 1.3
[  1312.412] (II) RADEON(0): Analog Display Input,  Input Voltage Level:
0.700/0.300 V
[  1312.412] (II) RADEON(0): Sync:  Separate  Composite  SyncOnGreen
[  1312.412] (II) RADEON(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[  1312.412] (II) RADEON(0): Gamma: 2.20
[  1312.412] (II) RADEON(0): DPMS capabilities: Off; RGB/Color Display
[  1312.412] (II) RADEON(0): Default color space is primary color space
[  1312.412] (II) RADEON(0): First detailed timing is preferred mode
[  1312.412] (II) RADEON(0): redX: 0.648 redY: 0.339   greenX: 0.282 greenY:
0.603
[  1312.412] (II) RADEON(0): blueX: 0.143 blueY: 0.070   whiteX: 0.313 whiteY:
0.329
[  1312.412] (II) RADEON(0): Supported established timings:
[  1312.412] (II) RADEON(0): 720x400 at 70Hz
[  1312.412] (II) RADEON(0): 640x480 at 60Hz
[  1312.412] (II) RADEON(0): 640x480 at 67Hz
[  1312.412] (II) RADEON(0): 640x480 at 72Hz
[  1312.412] (II) RADEON(0): 640x480 at 75Hz
[  1312.412] (II) RADEON(0): 800x600 at 56Hz
[  1312.412] (II) RADEON(0): 800x600 at 60Hz
[  1312.412] (II) RADEON(0): 800x600 at 72Hz
[  1312.412] (II) RADEON(0): 800x600 at 75Hz
[  1312.413] (II) RADEON(0): 832x624 at 75Hz
[  1312.413] (II) RADEON(0): 1024x768 at 60Hz
[  1312.413] (II) RADEON(0): 1024x768 at 70Hz
[  1312.413] (II) RADEON(0): 1024x768 at 75Hz
[  1312.413] (II) RADEON(0): 1280x1024 at 75Hz
[  1312.413] (II) RADEON(0): 1152x864 at 75Hz
[  1312.413] (II) RADEON(0): Manufacturer's mask: 0
[  1312.413] (II) RADEON(0): Supported standard timings:
[  1312.413] (II) RADEON(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid:
49361
[  1312.413] (II) RADEON(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[  1312.413] (II) RADEON(0): #2: hsize: 1600  vsize 1200  refresh: 60  vid:
16553
[  1312.413] (II) RADEON(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[  1312.413] (II) RADEON(0): #4: hsize: 1400  vsize 1050  refresh: 60  vid:
16528
[  1312.413] (II) RADEON(0): #5: hsize: 1280  vsize 1024  refresh: 60  vid:
32897
[  1312.413] (II) RADEON(0): #6: hsize: 1280  vsize 960  refresh: 60  vid:
16513
[  1312.413] (II) RADEON(0): #7: hsize: 1152  vsize 864  refresh: 75  vid:
20337
  1312.413] (II) RADEON(0): Supported detailed timing:
[  1312.413] (II) RADEON(0): clock: 148.5 MHz   Image Size:  477 x 268 mm
[  1312.413] (II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052
h_blank_end 2200 h_border: 0
[  1312.413] (II) RADEON(0): v_active: 1080  v_sync: 1084  v_sync_end 1089
v_blanking: 1125 v_border: 0
[  1312.413] (II) RADEON(0): Serial No: R2S092421011
[  1312.413] (II) RADEON(0): Ranges: V min: 50 V max: 75 Hz, H min: 24 H max:
82 kHz, PixClock max 215 MHz
[  1312.413] (II) RADEON(0): Monitor name: VX2260WM
[  1312.413] (II) RADEON(0): EDID (in hex):
[  1312.413] (II) RADEON(0):    00ffffffffffff005a6321fc01010101
[  1312.413] (II) RADEON(0):    181301030e301b782e3585a656489a24
[  1312.414] (II) RADEON(0):    125054bfef80d1c0b300a94095009040
[  1312.414] (II) RADEON(0):    81808140714f023a801871382d40582c
[  1312.414] (II) RADEON(0):    4500dd0c1100001e000000ff00523253
[  1312.414] (II) RADEON(0):    3039323432313031310a000000fd0032
[  1312.414] (II) RADEON(0):    4b185215000a202020202020000000fc
[  1312.414] (II) RADEON(0):    00565832323630574d0a202020200072
[  1312.414] (II) RADEON(0): Not using mode "1280x1024" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "1152x864" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "1024x768" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "1024x768" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "832x624" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "800x600" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "800x600" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "800x600" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "640x480" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "640x480" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "640x480" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Not using mode "720x400" (vrefresh out of range)
[  1312.414] (II) RADEON(0): Printing probed modes for output DVI-0
[  1312.414] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052
2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[  1312.414] (II) RADEON(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856
2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[  1312.414] (II) RADEON(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960
2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[  1312.415] (II) RADEON(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632
1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz)
[  1312.415] (II) RADEON(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440
1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  1312.415] (II) RADEON(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672
1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[  1312.415] (II) RADEON(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488
1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[  1312.415] (II) RADEON(0): Modeline "NTB-vesa_cvt-1360x768"x59.8   84.75 
1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz)
[  1312.415] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184
1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  1312.415] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056 
600 601 605 628 +hsync +vsync (37.9 kHz)
[  1312.415] (II) RADEON(0): Modeline "Fallback"x60.0   25.20  640 656 752 800 
480 490 492 525 -hsync -vsync (31.5 kHz)
[  1312.415] (II) RADEON(0): Modeline "640x480"x60.0   25.20  640 656 752 800 
480 490 492 525 -hsync -vsync (31.5 kHz)

Another modelist later on:

[  1313.340] (II) RADEON(0): EDID vendor "VSC", prod id 64545
[  1313.340] (II) RADEON(0): Using hsync ranges from config file
[  1313.340] (II) RADEON(0): Using vrefresh ranges from config file
[  1313.340] (II) RADEON(0): Printing DDC gathered Modelines:
[  1313.340] (II) RADEON(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052
2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[  1313.340] (II) RADEON(0): Modeline "800x600"x0.0   40.00  800 840 968 1056 
600 601 605 628 +hsync +vsync (37.9 kHz)
[  1313.340] (II) RADEON(0): Modeline "800x600"x0.0   36.00  800 824 896 1024 
600 601 603 625 +hsync +vsync (35.2 kHz)
[  1313.340] (II) RADEON(0): Modeline "640x480"x0.0   31.50  640 656 720 840 
480 481 484 500 -hsync -vsync (37.5 kHz)
[  1313.340] (II) RADEON(0): Modeline "640x480"x0.0   31.50  640 664 704 832 
480 489 492 520 -hsync -vsync (37.9 kHz)
[  1313.340] (II) RADEON(0): Modeline "640x480"x0.0   30.24  640 704 768 864 
480 483 486 525 -hsync -vsync (35.0 kHz)
[  1313.340] (II) RADEON(0): Modeline "640x480"x0.0   25.18  640 656 752 800 
480 490 492 525 -hsync -vsync (31.5 kHz)
[  1313.340] (II) RADEON(0): Modeline "720x400"x0.0   28.32  720 738 846 900 
400 412 414 449 -hsync +vsync (31.5 kHz)
[  1313.340] (II) RADEON(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440
1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[  1313.340] (II) RADEON(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136
1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[  1313.340] (II) RADEON(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184
1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[  1313.340] (II) RADEON(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184
1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  1313.340] (II) RADEON(0): Modeline "832x624"x0.0   57.28  832 864 928 1152 
624 625 628 667 -hsync -vsync (49.7 kHz)
[  1313.340] (II) RADEON(0): Modeline "800x600"x0.0   49.50  800 816 896 1056 
600 601 604 625 +hsync +vsync (46.9 kHz)
[  1313.340] (II) RADEON(0): Modeline "800x600"x0.0   50.00  800 856 976 1040 
600 637 643 666 +hsync +vsync (48.1 kHz)
[  1313.340] (II) RADEON(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344
1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[  1313.340] (II) RADEON(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248
2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz)
[  1313.340] (II) RADEON(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960
2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[  1313.340] (II) RADEON(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856
2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[  1313.340] (II) RADEON(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672
1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[  1313.341] (II) RADEON(0): Modeline "1400x1050"x0.0  121.75  1400 1488 1632
1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz)
[  1313.341] (II) RADEON(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440
1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  1313.341] (II) RADEON(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488
1800  960 961 964 1000 +hsync +vsync (60.0 kHz)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list