Bug 9930 - [965 915] video in textured video overlay flickers with Beryl
Summary: [965 915] video in textured video overlay flickers with Beryl
Status: RESOLVED DUPLICATE of bug 10912
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.1 (2006.05)
Hardware: Other All
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-09 10:21 UTC by Carl Michal
Modified: 2007-11-06 17:17 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Carl Michal 2007-02-09 10:21:01 UTC
When running aiglx/beryl video shown in textured video overlays flickers when something in a window underneath changes.

For example, if mplayer is started from the command line in a terminal window and the video output window is placed on top of the status line in the terminal window, the video flickers where the status line is updating underneath.

I've seen this on two systems - a 946gz based (x86_64) system and 915gm (ia32) system.  On the 915gm system, xvinfo advertises an "Intel(R) Video Overlay" as well as "Intel(R) Textured Video."  The flicker problem only happens on the textured video.

On the 946gz system, only the textured video is available.

Both systems have xf86-video-i810-1.7.4 drivers.
Comment 1 Eric Anholt 2007-02-14 13:08:10 UTC
Please test with the driver in the modesetting branch.  Previously, textured video didn't work correctly with composite (just like the overlay scaler doesn't).
Comment 2 Carl Michal 2007-02-14 13:46:23 UTC
The modesetting branch is worse - mplayer crashes on startup when using the xv output.  It complains: X11 error: BadAlloc (insufficient resources for operation).

Totem hangs, xine dies with:
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  1795
  Current serial number in output stream:  1796
Comment 3 Daniel Stone 2007-02-27 01:36:17 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 Eric Anholt 2007-03-08 14:20:30 UTC
I just reworked the memory allocation recently.  Could you try it again with the current driver in master?
Comment 5 Carl Michal 2007-03-09 15:42:44 UTC
Similar problem remains to the earlier report with the modesetting branch.  Xine reports:
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  7408
  Current serial number in output stream:  7409

mplayer crashes:
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 

One question though, it looks like master is the modesetting branch now - I had to download recent xserver sources to compile the i810 driver.  I'm running a 1.2.0 server, but had to compile the driver against current sources - is that likely to be a problem?
Comment 6 Mathias Bavay 2007-04-26 03:16:29 UTC
I have a problem that should be the same (or at least related): using a 82865G chispet as well as with a 915GM Express, when using Googleearth for Linux version 4.0.2735 the window flickers at every redraw (while loading and applying the textures as well as when moving the mouse). 

Something related is also seen when running Cube2 (see www.cubeengine.com): the first version of the engine (simply called cube) runs fine while the new version is very slow (hardly playable), even for the same levels and using a very low resolution (on a Pentium M 1.3 GHz). I suspect that the texture code has been changed between the two.
Comment 7 Carl Michal 2007-05-09 11:07:00 UTC
Just to update this, I have xf86-video-i810-2.0.0 now, and there still seem to be serious problems with the textured video overlay while beryl is active with AIGLX.

mplayer reports:
X11 error: BadAlloc (insufficient resources for operation)

Xine reports:
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2006 The xine Team.
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  1791
  Current serial number in output stream:  1792
Comment 8 Eric Anholt 2007-11-06 17:17:51 UTC
The original issue of flickering with beryl would have been due to xv not respecting composite, which it now does.  However, the new issue is a dupe of 10912, which can be fixed by using EXA instead of XAA.

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


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.