Bug 18441 - [GM965] XV contrast and brightness attributes have no effect with textured video
Summary: [GM965] XV contrast and brightness attributes have no effect with textured video
Status: ASSIGNED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 39606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-08 06:16 UTC by Eric Piel
Modified: 2012-11-20 18:25 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Piel 2008-11-08 06:16:28 UTC
When using XV with textured video, which ever value I set the two advertised attributes XV_BRIGHTNESS and XV_CONTRAST, the video always looks identical. If I force the usage of video overlay, then those attributes works fine (and the other advertised attributes seem to also have effect). 

So there is a bug with XV textured video: either the attributes are advertised, and then have some effect, or they should not be proposed. 

How to reproduce:
1. mplayer my-favourite-video.ogc
2. play with attributes pressing 1, 2, 3, and 4
=> nothing happens

1. mplayer -vo xv:port=1 my-favourite-video.ogc
2. play with attributes pressing 1, 2, 3, and 4
=> your favourite video gets a hard time

Version:
intel 2.5.0
xserver 1.4.2
Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
Comment 1 Wang Zhenyu 2008-11-09 18:09:17 UTC
yep, 915/945 texture video should have support for that, we've done that for 965G yet. It's on TODO, but lack time for now.
Comment 2 Wang Zhenyu 2008-11-09 18:09:48 UTC
sorry we have not done that yet.
Comment 3 Michael Fu 2009-03-15 19:42:40 UTC
give it to haihao as media bug.. let's not to let this bug dead if what needed is a doable fix
Comment 4 Sven Arvidsson 2009-08-22 13:44:43 UTC
The G45 has the same problem, and of course it doesn't have an overlay mode, only textured video.
Comment 5 Sven Arvidsson 2010-04-01 12:47:21 UTC
Any idea when this will be implemented?
Comment 6 Kamil Iskra 2010-07-12 18:00:53 UTC
Same problem on Arrandale.  I first saw this problem on 965 some two years (!) ago but it was tolerable there because there was also the overlay support.  However, Arrandale only has textured video support.
Comment 7 Da Fox 2011-07-27 13:10:59 UTC
(In reply to comment #6)
> Same problem on Arrandale.  I first saw this problem on 965 some two years (!)
> ago but it was tolerable there because there was also the overlay support. 
> However, Arrandale only has textured video support.

This is still an issue nearly three (!!) years later. Also it seems the XV_HUE, XV_SATURATION, and XV_GAMMA video attributes are missing (see bug #39606).

Hardware is Dell XPS 15 (L502x) with:
00:02.0 VGA compatible controller: Intel Corporation Device 0116 (rev 09)
[    13.803] (II) intel(0): Integrated Graphics Chipset: Intel(R) Sandybridge
Mobile (GT2)

Software versions:
xf86-video-intel: 6dbbb74bde034f5f00aee0396ccd1e03a6625fbd
xorg-server: 1.10.2
libXv: 1.0.6
xvattr: 1.3-r2
Comment 8 Kamil Iskra 2011-07-27 14:10:14 UTC
Yeah, I've basically given up on this embarrassing shortcoming ever getting addressed, and have bought a proper HDTV to watch movies.  Much more comfortable anyway.

For the rare occasion when I need to use Xvideo on my computer, I found the old little "xcalib" utility to be invaluable.  It can adjust contrast, brightness, and gamma.  It can even be used for lightweight color calibration, e.g., to remove the blue tint common on many cheaper laptop screens.  It works on a system-wide basis so it affects not only mplayer or vlc, but also your web browser, including flash videos.

<rant>
It's kind-of amazing that the same functionality is not integrated into full-blown desktop environments such as KDE.  I guess it's simply an indication that hardly anybody in the Linux world cares about these things -- flicker-free boot is clearly *so* much more important.
</rant>
Comment 9 Chris Wilson 2012-05-25 02:45:22 UTC
*** Bug 39606 has been marked as a duplicate of this bug. ***


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.