Bug 9792 - [945GM, 915GM] XVPutImage always get blue image
Summary: [945GM, 915GM] XVPutImage always get blue image
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-28 19:33 UTC by WuNian
Modified: 2007-08-13 23:47 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
C file (10.18 KB, text/plain)
2007-01-28 19:38 UTC, WuNian
no flags Details

Description WuNian 2007-01-28 19:33:37 UTC
XV colorkey not work on 945G and 915G.
But on FC6 distribution, it works.
2D driver source: modesetting branch;
xserver: randr-1.2-for-server-1.2
Comment 1 WuNian 2007-01-28 19:38:44 UTC
Created attachment 8530 [details]
C file

1, make the attachment file;
      gcc   -g -o xvcheck_colorkey xvcheck_colorkey.c -lXext -lXv -lX11 -lm
2, run it: ./xvcheck_colorkey -d 22222
Comment 2 WuNian 2007-01-28 21:07:23 UTC
The bug occurs on 945GM and 915GM. On 945G and 915G, the colorkey works fine.
Comment 3 WuNian 2007-01-29 22:21:44 UTC
I debugged the program, found that XVPutImage always get blue image on 945gm and 915gm, so ANY xv attribute do not work.
Comment 4 Eric Anholt 2007-02-15 17:32:50 UTC
I get half a black screen and half a white screen.  That's what the test is supposed to do, right?  If so, you would need to post a log (as usual).
Comment 5 WuNian 2007-02-25 18:51:36 UTC
The test case is used to test ColorKey. Now it is not colorkey issue, so please comments below lines, then you will see a blue image on 945gm and 915gm:

  XSetForeground (dpy, context, ckey_val);
  XFillRectangle (dpy, win, context, 0, 0, width / 2, height);
  XSetForeground (dpy, context, ~ckey_val);
  XFillRectangle (dpy, win, context, width / 2, 0, width / 2, height);
  XFlush (dpy);

Comment 6 Daniel Stone 2007-02-27 01:35:59 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 7 WuNian 2007-03-21 22:02:00 UTC
This bug does not exist now. So change status to FIXED.
and the colorkey works.
Comment 8 zy 2007-05-23 22:48:22 UTC
reopen this bug.
XVPutImage() always gets an image which color is equal to colorkey.
Comment 9 WuNian 2007-08-13 23:47:39 UTC
The bug does not exist now. 


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.