[Intel-gfx] possible quirks addition

The Fungi fungi at yuggoth.org
Mon Oct 19 18:53:46 CEST 2009


On Mon, Oct 19, 2009 at 12:05:43PM -0400, Adam Jackson wrote:
> That's... unfortunate. It should be twice as long as this (the 01
> in the second-to-last byte is the number of extension blocks to
> follow).

Well, get-edid complains about an invalid/incomplete EDID, and back
when I was using this with an ATI Radeon 9000 via DVI-to-HDMI cable
it, similarly, failed to deal with this EDID. I've been convinced
since I bought it that this set was outputting broken EDID, and was
surprised enough that it gave any at all for that matter (early
HDMI-supporting rear-projection 16:9 HDTV). Up until recently my
only option had been to disable EDID querying and force specific
modelines in xorg.conf (or hack the mode I wanted into the kernel
default timings and use fbdev), but more recent improvements in Xorg
have at least made it so all I need to do now is toss a few lines in
my .initrc, so I'm not complaining. ;)

> What version of the X server and intel driver are you using?

>From /var/log/Xorg.0.log:

X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31 i686 Debian
Current Operating System: Linux hastur.yuggoth.org 2.6.31-trunk-686-bigmem #1 SMP Thu Oct 8 23:01:25 UTC 2009 i686
Build Date: 30 September 2009  08:45:15PM
xorg-server 2:1.6.4-2 (bgoglin at debian.org)
[...]
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.6.4, module version = 2.9.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
[...]

> This, I think, is just TVs being hateful. Despite now actually
> having a pixel-precise transmission format, content is still sent
> set in from the edges (think sports tickers) because some people
> will try to jam it onto old NTSC displays that overscan. Digital
> displays then go out of their way to implement overscanning so the
> content actually goes out to the edges and "looks bigger", which
> to a naïve consumer looks better.
> 
> So, see if you've got an option for overscan or aspect stretching
> in the TV's menu, and turn it off if you can.

I might not have been clear enough in my description here. I've
actually broken into the "secret" Sony service technician menu on
this set to readjust the picture inward so there is no overscanning
for the modes I use. What seems to be happening here is that the
kernel believes the 720x480 mode the TV advertises in its EDID
block, but the television is then throwing away the left and right
40 pixel columns (leaving wide black "pillar box" bars in their
place) to trim the width to 640 pixels, implying it thinks that 480p
is only a 4:3 aspect format. Its 640x480 mode occupies the exact
same region of the screen. Definitely can't blame overscanning for
this one, I'm afraid.

> This is the real problem with your display though. It claims 1080i
> as the preferred mode, but then that's getting filtered away for
> some reason. I can't see any obvious reason for that in the kernel
> code; does your X log say anything about "Not using mode [...]" ?
> 
> If we got this right, then the 720x480 bug would be more or less
> moot.

No mention of the string "not using" in Xorg.0.log:

kiosk at hastur:~$ grep -ci "not using" /var/log/Xorg.0.log
0

I'll include all the intel(0): lines from the log after my .sig, in
case they help.

> It's almost certain we're getting this wrong in more than one way
> though. We're not correcting for the way TVs encode interlaced
> modes to match the way X expects it internally (your TV is saying
> "540 lines, interlaced up by 2", which is technically more honest,
> but X expects it to be "1080 lines interlaced down by 2").

Ahh, so interlacing *is* supposed to work? I had tried adding a
bunch of ATSC standard interlaced modes the TV appears to support
from other consumer A/V equipment, but was never able to get the
driver/chipset to output anything the TV felt like displaying.
-- 
{ IRL(Jeremy_Stanley); PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657);
SMTP(fungi at yuggoth.org); IRC(fungi at irc.yuggoth.org#ccl); ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fungi at yuggoth.org);
MUD(fungi at katarsis.mudpy.org:6669); WWW(http://fungi.yuggoth.org/); }

[---BEGIN Xorg.0.log excerpt---]
(II) intel(0): Creating default Display subsection in Screen section
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) G35
(--) intel(0): Chipset: "G35"
(II) intel(0): Output VGA1 has no monitor section
(II) intel(0): Output HDMI1 has no monitor section
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output HDMI1
(II) intel(0): Manufacturer: SNY  Model: 1f8  Serial#: 16843009
(II) intel(0): Year: 2004  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Indeterminate output size
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.625 redY: 0.340   greenX: 0.280 greenY: 0.595
(II) intel(0): blueX: 0.155 blueY: 0.070   whiteX: 0.283 whiteY: 0.298
(II) intel(0): Supported established timings:
(II) intel(0): 640x480 at 60Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 74.2 MHz   Image Size:  16 x 9 mm
(II) intel(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
(II) intel(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 27.0 MHz   Image Size:  4 x 3 mm
(II) intel(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
(II) intel(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
(II) intel(0): Monitor name: SONY TV
(II) intel(0): Ranges: V min: 59 V max: 61 Hz, H min: 15 H max: 46 kHz, PixClock max 80 MHz
(II) intel(0): Number of EDID sections to follow: 1
(II) intel(0): EDID (in hex):
(II) intel(0): 	00ffffffffffff004dd9f80101010101
(II) intel(0): 	000e0103800000780a0dc9a057479827
(II) intel(0): 	12484c20000001010101010101010101
(II) intel(0): 	010101010101011d8018711c1620582c
(II) intel(0): 	250010090000009e8c0ad08a20e02d10
(II) intel(0): 	103e9600040300000018000000fc0053
(II) intel(0): 	4f4e592054560a2020202020000000fd
(II) intel(0): 	003b3d0f2e08000a20202020202001df
(II) intel(0): Printing probed modes for output HDMI1
(II) intel(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output HDMI1 connected
(II) intel(0): Using fuzzy aspect match for initial modes
(II) intel(0): Output HDMI1 using initial mode 640x480
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(==) intel(0): DPI set to (96, 96)
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): No memory allocations
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): direct rendering: DRI2 Enabled
(II) intel(0): Setting screen physical size to 16 x 9
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output HDMI1
(II) intel(0): Manufacturer: SNY  Model: 1f8  Serial#: 16843009
(II) intel(0): Year: 2004  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Indeterminate output size
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.625 redY: 0.340   greenX: 0.280 greenY: 0.595
(II) intel(0): blueX: 0.155 blueY: 0.070   whiteX: 0.283 whiteY: 0.298
(II) intel(0): Supported established timings:
(II) intel(0): 640x480 at 60Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 74.2 MHz   Image Size:  16 x 9 mm
(II) intel(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
(II) intel(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 27.0 MHz   Image Size:  4 x 3 mm
(II) intel(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
(II) intel(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
(II) intel(0): Monitor name: SONY TV
(II) intel(0): Ranges: V min: 59 V max: 61 Hz, H min: 15 H max: 46 kHz, PixClock max 80 MHz
(II) intel(0): Number of EDID sections to follow: 1
(II) intel(0): EDID (in hex):
(II) intel(0): 	00ffffffffffff004dd9f80101010101
(II) intel(0): 	000e0103800000780a0dc9a057479827
(II) intel(0): 	12484c20000001010101010101010101
(II) intel(0): 	010101010101011d8018711c1620582c
(II) intel(0): 	250010090000009e8c0ad08a20e02d10
(II) intel(0): 	103e9600040300000018000000fc0053
(II) intel(0): 	4f4e592054560a2020202020000000fd
(II) intel(0): 	003b3d0f2e08000a20202020202001df
(II) intel(0): EDID vendor "SNY", prod id 504
(II) intel(0): Using EDID range info for horizontal sync
(II) intel(0): Using EDID range info for vertical refresh
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1920x540"x0.0   74.25  1920 2008 2052 2200  540 542 547 562 interlace +hsync +vsync (33.8 kHz)
(II) intel(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Printing probed modes for output HDMI1
(II) intel(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output HDMI1
(II) intel(0): Manufacturer: SNY  Model: 1f8  Serial#: 16843009
(II) intel(0): Year: 2004  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Indeterminate output size
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.625 redY: 0.340   greenX: 0.280 greenY: 0.595
(II) intel(0): blueX: 0.155 blueY: 0.070   whiteX: 0.283 whiteY: 0.298
(II) intel(0): Supported established timings:
(II) intel(0): 640x480 at 60Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 74.2 MHz   Image Size:  16 x 9 mm
(II) intel(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
(II) intel(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 27.0 MHz   Image Size:  4 x 3 mm
(II) intel(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
(II) intel(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
(II) intel(0): Monitor name: SONY TV
(II) intel(0): Ranges: V min: 59 V max: 61 Hz, H min: 15 H max: 46 kHz, PixClock max 80 MHz
(II) intel(0): Number of EDID sections to follow: 1
(II) intel(0): EDID (in hex):
(II) intel(0): 	00ffffffffffff004dd9f80101010101
(II) intel(0): 	000e0103800000780a0dc9a057479827
(II) intel(0): 	12484c20000001010101010101010101
(II) intel(0): 	010101010101011d8018711c1620582c
(II) intel(0): 	250010090000009e8c0ad08a20e02d10
(II) intel(0): 	103e9600040300000018000000fc0053
(II) intel(0): 	4f4e592054560a2020202020000000fd
(II) intel(0): 	003b3d0f2e08000a20202020202001df
(II) intel(0): EDID vendor "SNY", prod id 504
(II) intel(0): Using hsync ranges from config file
(II) intel(0): Using vrefresh ranges from config file
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1920x540"x0.0   74.25  1920 2008 2052 2200  540 542 547 562 interlace +hsync +vsync (33.8 kHz)
(II) intel(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Printing probed modes for output HDMI1
(II) intel(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output HDMI1
(II) intel(0): Manufacturer: SNY  Model: 1f8  Serial#: 16843009
(II) intel(0): Year: 2004  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Indeterminate output size
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.625 redY: 0.340   greenX: 0.280 greenY: 0.595
(II) intel(0): blueX: 0.155 blueY: 0.070   whiteX: 0.283 whiteY: 0.298
(II) intel(0): Supported established timings:
(II) intel(0): 640x480 at 60Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 74.2 MHz   Image Size:  16 x 9 mm
(II) intel(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
(II) intel(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 27.0 MHz   Image Size:  4 x 3 mm
(II) intel(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
(II) intel(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
(II) intel(0): Monitor name: SONY TV
(II) intel(0): Ranges: V min: 59 V max: 61 Hz, H min: 15 H max: 46 kHz, PixClock max 80 MHz
(II) intel(0): Number of EDID sections to follow: 1
(II) intel(0): EDID (in hex):
(II) intel(0): 	00ffffffffffff004dd9f80101010101
(II) intel(0): 	000e0103800000780a0dc9a057479827
(II) intel(0): 	12484c20000001010101010101010101
(II) intel(0): 	010101010101011d8018711c1620582c
(II) intel(0): 	250010090000009e8c0ad08a20e02d10
(II) intel(0): 	103e9600040300000018000000fc0053
(II) intel(0): 	4f4e592054560a2020202020000000fd
(II) intel(0): 	003b3d0f2e08000a20202020202001df
(II) intel(0): EDID vendor "SNY", prod id 504
(II) intel(0): Using hsync ranges from config file
(II) intel(0): Using vrefresh ranges from config file
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1920x540"x0.0   74.25  1920 2008 2052 2200  540 542 547 562 interlace +hsync +vsync (33.8 kHz)
(II) intel(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Printing probed modes for output HDMI1
(II) intel(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Allocate new frame buffer 1280x720 stride 1280
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output HDMI1
(II) intel(0): Manufacturer: SNY  Model: 1f8  Serial#: 16843009
(II) intel(0): Year: 2004  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Indeterminate output size
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.625 redY: 0.340   greenX: 0.280 greenY: 0.595
(II) intel(0): blueX: 0.155 blueY: 0.070   whiteX: 0.283 whiteY: 0.298
(II) intel(0): Supported established timings:
(II) intel(0): 640x480 at 60Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 74.2 MHz   Image Size:  16 x 9 mm
(II) intel(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
(II) intel(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 27.0 MHz   Image Size:  4 x 3 mm
(II) intel(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
(II) intel(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
(II) intel(0): Monitor name: SONY TV
(II) intel(0): Ranges: V min: 59 V max: 61 Hz, H min: 15 H max: 46 kHz, PixClock max 80 MHz
(II) intel(0): Number of EDID sections to follow: 1
(II) intel(0): EDID (in hex):
(II) intel(0): 	00ffffffffffff004dd9f80101010101
(II) intel(0): 	000e0103800000780a0dc9a057479827
(II) intel(0): 	12484c20000001010101010101010101
(II) intel(0): 	010101010101011d8018711c1620582c
(II) intel(0): 	250010090000009e8c0ad08a20e02d10
(II) intel(0): 	103e9600040300000018000000fc0053
(II) intel(0): 	4f4e592054560a2020202020000000fd
(II) intel(0): 	003b3d0f2e08000a20202020202001df
(II) intel(0): EDID vendor "SNY", prod id 504
(II) intel(0): Using hsync ranges from config file
(II) intel(0): Using vrefresh ranges from config file
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1920x540"x0.0   74.25  1920 2008 2052 2200  540 542 547 562 interlace +hsync +vsync (33.8 kHz)
(II) intel(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Printing probed modes for output HDMI1
(II) intel(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[---END Xorg.0.log excerpt---]



More information about the Intel-gfx mailing list