From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Mickler Subject: Re: [PATCH] drm: Add EDID_QUIRK_FORCE_REDUCED_BLANKING for ASUS VW222S Date: Fri, 21 Dec 2012 14:52:47 +0100 Message-ID: <20121221145247.2c1a21c9@schatten.dmk.lab> References: <1345045240.4264.21.camel@mattotaupa> <20121218210346.7b278d7a@schatten.localdomain> <1355870000.5691.6.camel@mattotaupa> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/uR/rcS1S.q0.N=oL5M.qRmb" Return-path: In-Reply-To: <1355870000.5691.6.camel@mattotaupa> Sender: stable-owner@vger.kernel.org To: Paul Menzel Cc: Dave Airlie , Ian Pilcher , stable@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --MP_/uR/rcS1S.q0.N=oL5M.qRmb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, 18 Dec 2012 23:33:20 +0100 Paul Menzel wrote: > Dear Florian, > > > Am Dienstag, den 18.12.2012, 21:03 +0100 schrieb Florian Mickler: > > > On Wed, 15 Aug 2012 17:40:40 +0200 Paul Menzel wrote: > > > > > Date: Wed, 8 Aug 2012 23:12:19 +0200 > > > > > > Connecting an ASUS VW222S [1] over VGA a garbled screen is shown with > > > vertical stripes in the top half. > > > > This patch, which was merged in v3.6-rc4, makes the image on my ASUS > > VW222U ca. 1 inch too wide left/right and top/bottom. The effect is as > > if the image was zoomed (bigger, more pixely). > > > > Reverting it fixes the problem. > > I am sorry for the trouble caused by this. As a work around, you could > also specify the QUIRKS on the Linux command line. > > > The Monitor is connected via VGA, but also has a DVI interface. > > > > Maybe the quirk-apply criteria is too unspecific? > > Hmm, I guess everything is identical but the DVI connector they added to > the VW222U. Though I should have noticed the effect on the VW222S and > did not. :( Hm.. why should you have noticed the effect on the VW222S? Does it happen there too? > > Could you please send the `edid-decode` output on your system and > `/var/log/Xorg.0.log`. > I attached the xrandr --verbose output and the # get-edid | parse-edid output from http://www.polypux.org/projects/read-edid/ which I already had installed. Hope this works for you too. > Also I wonder how this quirk could create such a behavior. Yes. I'm not shure how this could happen. It probably is either a bug somewhere, or it is the 'natural' effect of misconfiguring the vga pipeline. Maybe someone more knowledgeable than me could make a more educated guess about this. > > [1] http://cgit.freedesktop.org/xorg/app/edid-decode/ --MP_/uR/rcS1S.q0.N=oL5M.qRmb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=xrandr_verbose.txt Screen 0: minimum 320 x 200, current 3080 x 1050, maximum 8192 x 8192 LVDS1 connected 1400x1050+1680+0 (0x44) normal (normal left inverted right = x axis y axis) 304mm x 228mm Identifier: 0x41 Timestamp: 20362 Subpixel: horizontal rgb Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: =20 CRTC: 1 CRTCs: 1 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter:=20 EDID: 00ffffffffffff0030ae424000000000 000f0103801e1778ea3c809757518a27 22505421080081800101010101010101 010101010101302a7820511a10403070 130030e41000001825237820511a1040 3070130030e4100000180000000f0090 4332904328140100320c5321000000fe 004c503135304530372d544c303300ca BACKLIGHT: 15 (0x0000000f) range: (0,15) Backlight: 15 (0x0000000f) range: (0,15) scaling mode: Full aspect supported: None Full Center Full aspect=20 1400x1050 (0x44) 108.0MHz -HSync -VSync *current +preferred h: width 1400 start 1448 end 1560 total 1688 skew 0 clock 64.= 0KHz v: height 1050 start 1051 end 1054 total 1066 clock 60.= 0Hz 1400x1050 (0x45) 122.0MHz +HSync +VSync h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 64.= 9KHz v: height 1050 start 1052 end 1064 total 1082 clock 60.= 0Hz 1400x1050 (0x46) 90.0MHz -HSync -VSync h: width 1400 start 1448 end 1560 total 1688 skew 0 clock 53.= 3KHz v: height 1050 start 1051 end 1054 total 1066 clock 50.= 0Hz 1280x1024 (0x47) 108.0MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.= 0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.= 0Hz 1280x960 (0x48) 108.0MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.= 0KHz v: height 960 start 961 end 964 total 1000 clock 60.= 0Hz 1024x768 (0x49) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.= 4KHz v: height 768 start 771 end 777 total 806 clock 60.= 0Hz 800x600 (0x4a) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.= 9KHz v: height 600 start 601 end 605 total 628 clock 60.= 3Hz 800x600 (0x4b) 36.0MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 35.= 2KHz v: height 600 start 601 end 603 total 625 clock 56.= 2Hz 640x480 (0x4c) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.= 5KHz v: height 480 start 490 end 492 total 525 clock 60.= 0Hz 640x480 (0x4d) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.= 5KHz v: height 480 start 490 end 492 total 525 clock 59.= 9Hz VGA1 connected 1680x1050+0+0 (0x4e) normal (normal left inverted right x ax= is y axis) 473mm x 296mm Identifier: 0x42 Timestamp: 20362 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: =20 CRTC: 0 CRTCs: 0 1 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter:=20 EDID: 00ffffffffffff000469a222a6180000 2e1101031e2f1e78eec4f6a3574a9c23 114f54bfef00714f818081409500a940 b3000101010121399030621a274068b0 3600d9281100001c000000fd00384b1f 5111000a202020202020000000fc0056 573232320a20202020202020000000ff 0037424c4d51433030363331302000d1 1680x1050 (0x4e) 146.2MHz -HSync +VSync *current +preferred h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.= 3KHz v: height 1050 start 1053 end 1059 total 1089 clock 60.= 0Hz 1600x1200 (0xc7) 162.0MHz +HSync +VSync h: width 1600 start 1664 end 1856 total 2160 skew 0 clock 75.= 0KHz v: height 1200 start 1201 end 1204 total 1250 clock 60.= 0Hz 1280x1024 (0x4f) 135.0MHz +HSync +VSync h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.= 0KHz v: height 1024 start 1025 end 1028 total 1066 clock 75.= 0Hz 1280x1024 (0x47) 108.0MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.= 0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.= 0Hz 1440x900 (0x50) 106.5MHz -HSync +VSync h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.= 9KHz v: height 900 start 903 end 909 total 934 clock 59.= 9Hz 1280x960 (0x48) 108.0MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.= 0KHz v: height 960 start 961 end 964 total 1000 clock 60.= 0Hz 1152x864 (0x51) 108.0MHz +HSync +VSync h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.= 5KHz v: height 864 start 865 end 868 total 900 clock 75.= 0Hz 1024x768 (0x52) 78.8MHz +HSync +VSync h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.= 1KHz v: height 768 start 769 end 772 total 800 clock 75.= 1Hz 1024x768 (0x53) 75.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.= 5KHz v: height 768 start 771 end 777 total 806 clock 70.= 1Hz 1024x768 (0x49) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.= 4KHz v: height 768 start 771 end 777 total 806 clock 60.= 0Hz 832x624 (0x54) 57.3MHz -HSync -VSync h: width 832 start 864 end 928 total 1152 skew 0 clock 49.= 7KHz v: height 624 start 625 end 628 total 667 clock 74.= 6Hz 800x600 (0x55) 50.0MHz +HSync +VSync h: width 800 start 856 end 976 total 1040 skew 0 clock 48.= 1KHz v: height 600 start 637 end 643 total 666 clock 72.= 2Hz 800x600 (0x56) 49.5MHz +HSync +VSync h: width 800 start 816 end 896 total 1056 skew 0 clock 46.= 9KHz v: height 600 start 601 end 604 total 625 clock 75.= 0Hz 800x600 (0x4a) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.= 9KHz v: height 600 start 601 end 605 total 628 clock 60.= 3Hz 800x600 (0x4b) 36.0MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 35.= 2KHz v: height 600 start 601 end 603 total 625 clock 56.= 2Hz 640x480 (0x57) 31.5MHz -HSync -VSync h: width 640 start 664 end 704 total 832 skew 0 clock 37.= 9KHz v: height 480 start 489 end 491 total 520 clock 72.= 8Hz 640x480 (0x58) 31.5MHz -HSync -VSync h: width 640 start 656 end 720 total 840 skew 0 clock 37.= 5KHz v: height 480 start 481 end 484 total 500 clock 75.= 0Hz 640x480 (0x59) 30.2MHz -HSync -VSync h: width 640 start 704 end 768 total 864 skew 0 clock 35.= 0KHz v: height 480 start 483 end 486 total 525 clock 66.= 7Hz 640x480 (0x4c) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.= 5KHz v: height 480 start 490 end 492 total 525 clock 60.= 0Hz 720x400 (0x5a) 28.3MHz -HSync +VSync h: width 720 start 738 end 846 total 900 skew 0 clock 31.= 5KHz v: height 400 start 412 end 414 total 449 clock 70.= 1Hz TV1 unknown connection (normal left inverted right x axis y axis) Identifier: 0x43 Timestamp: 20362 Subpixel: unknown Clones: =20 CRTCs: 0 1 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter:=20 bottom margin: 37 (0x00000025) range: (0,100) right margin: 46 (0x0000002e) range: (0,100) top margin: 36 (0x00000024) range: (0,100) left margin: 54 (0x00000036) range: (0,100) mode: NTSC-M supported: NTSC-M NTSC-443 NTSC-J PAL-M =20 PAL-N PAL 720p@60Hz 720p@50Hz =20 1080i@50Hz 1080i@60Hz =20 848x480 (0x5b) 29.0MHz +preferred h: width 848 start 849 end 912 total 944 skew 0 clock 30.= 7KHz v: height 480 start 481 end 512 total 513 clock 59.= 9Hz 640x480 (0x5c) 22.6MHz +preferred h: width 640 start 641 end 704 total 736 skew 0 clock 30.= 7KHz v: height 480 start 481 end 512 total 513 clock 59.= 9Hz 1024x768 (0x5d) 53.8MHz h: width 1024 start 1025 end 1088 total 1120 skew 0 clock 48.= 0KHz v: height 768 start 769 end 800 total 801 clock 59.= 9Hz 800x600 (0x5e) 34.0MHz h: width 800 start 801 end 864 total 896 skew 0 clock 37.= 9KHz v: height 600 start 601 end 632 total 633 clock 59.= 9Hz --MP_/uR/rcS1S.q0.N=oL5M.qRmb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=parse-edid.txt # EDID version 1 revision 3 Section "Monitor" # Block type: 2:0 3:fd # Block type: 2:0 3:fc Identifier "VW222" VendorName "ACI" ModelName "VW222" # Block type: 2:0 3:fd HorizSync 31-81 VertRefresh 56-75 # Max dot clock (video bandwidth) 170 MHz # Block type: 2:0 3:fc # Block type: 2:0 3:ff # DPMS capabilities: Active off:yes Suspend:yes Standby:yes Mode "1680x1050" # vfreq 59.954Hz, hfreq 65.290kHz DotClock 146.250000 HTimings 1680 1784 1960 2240 VTimings 1050 1053 1059 1089 Flags "+HSync" "-VSync" EndMode # Block type: 2:0 3:fd # Block type: 2:0 3:fc # Block type: 2:0 3:ff EndSection --MP_/uR/rcS1S.q0.N=oL5M.qRmb--