[Intel-gfx] [PATCH 00/18] xv overlay cleanup & drmmode overlay support

Daniel Vetter daniel at ffwll.ch
Thu Sep 3 10:30:50 CEST 2009


On Thu, Sep 03, 2009 at 10:22:38AM +0800, Xiang, Haihao wrote:
> On Wed, 2009-09-02 at 14:37 +0800, Daniel Vetter wrote:
> > On Wed, Sep 02, 2009 at 09:54:35AM +0800, Xiang, Haihao wrote:
> > > > >    2. blue window when playing an 80 mbps file .
> > > It seems a(2) is clipping issue. The left-bottom of this window is out
> > > of the screen when playing this video and there is an error "X11 error:
> > > BadAlloc (insufficient resources for operation)".  If resizing and
> > > moving the window until it isn't clipped, I get the same result as a(1).
> > > I think 855 and 865 might have this problem too.
> > 
> > Can you send me your xrandr output and the dimension/location of the
> > output window (via xwininfo) and the dimension of the video? Then I can
> > check where it possibly blows up because I don't have any clipping
> > problems, here. And I've checked quite a lot of cases with dual-head,
> > panel fitting mode and anything else that crossed my mind.

Thanks. Unfortunately I can't reproduce it here nor does the dimensio of
the mplayer window look like it might hit some new corner case. Just to
make sure: I've update patch 6/6 for the kernel about a week ago. v2 of
this patch fixes an of-by-one thinko that prevents the overlay from
display when it's on the first column/row of a crtc. Are you using this
version or the old one?

[I hope [PATCH 6/6 v2] made it to you, because from here, intel-gfx looks
quite lossy atm]

> xrandr output:
> 
> Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 4096 x 4096
> VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis)
> 434mm x 270mm
>    1680x1050_60.00   60.0*+
>    1680x1050      60.0 +
>    1024x768       75.1     60.0  
>    800x600        75.0     60.3  
>    640x480        75.0     60.0  
>    720x400        70.1  
> LVDS1 connected (normal left inverted right x axis y axis)
>    1600x1200      60.0 +   85.0     75.0     70.0     65.0     60.0  
>    1400x1050      74.8     60.0  
>    1280x1024      85.0     75.0     60.0  
>    1280x960       85.0     60.0  
>    1152x864       75.0  
>    1024x768       85.0     75.0     70.1     60.0  
>    832x624        74.6  
>    800x600        85.1     72.2     75.0     60.3     56.2  
>    640x480        85.0     72.8     75.0     59.9  
>    720x400        85.0  
>    640x400        85.1  
>    640x350        85.1  
> TV1 disconnected (normal left inverted right x axis y axis)

Can you also please test whether the overlay works with VGA1 turned off
and LVDS1 at 1400x1050? This should exercise the one-line-mode for the
panel fitter. I don't have a big enough screen, so this code path is
completely untested.

Thanks alot, Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: 079 365 57 48



More information about the Intel-gfx mailing list