Comment 59 for bug 32963

Revision history for this message
Iain Murray (ubuntu-iainmurray) wrote : Re: Xv movies on 810/i945 gives horrible color, Gamma

I have similar washed out videos under some circumstances with an "Intel Corporation 82852/855GM Integrated Graphics Device" using the i810 driver. This is a Dell Inspiron 710m. I'm running 6.06 LTS originally installed from an official CD with whatever updates apt offered me.

My impression is that it is a totem-xine and gxine bug.

If I watch movies with xine (from the xine-ui package) or mplayer after an X restart then everything is fine. xvattr information (given later) is not changed by running xine or mplayer.

Movies under totem (totem-xine) are washed out. The values reported by xvattr change, but are reset after closing totem. Moves subsequently play ok in xine or mplayer. Totem can also play movies fine if xvattr values are fixed after starting totem.

Movies under gxine are washed out, xvattr values are changed (although not to same values as by totem) and stay changed. Movies in xine or mplayer are washed out until an X restart or xvattr stuff changed back by hand. Again gxine plays fine if fix xvattr values by hand while gxine running.

I get the following xvattr output after X restart: and stays the same after running xine(-ui) or totem(-xine):
% xvattr
Found Xv 2.2
Adaptor: 0
Name: Intel(R) Video Overlay
 Port: 73
  Name: XV_COLORKEY
   Flags: XvGettable XvSettable
   Min value: 0
   Max value: 16777215
   Current value: 66046
  Name: XV_BRIGHTNESS
   Flags: XvGettable XvSettable
   Min value: -128
   Max value: 127
   Current value: -5
  Name: XV_CONTRAST
   Flags: XvGettable XvSettable
   Min value: 0
   Max value: 255
   Current value: 48

The values are reset after closing totem, but while it is running I get:
% xvattr
Found Xv 2.2
Adaptor: 0
Name: Intel(R) Video Overlay
 Port: 73
  Name: XV_COLORKEY
   Flags: XvGettable XvSettable
   Min value: 0
   Max value: 16777215
   Current value: 66046
  Name: XV_BRIGHTNESS
   Flags: XvGettable XvSettable
   Min value: -128
   Max value: 127
   Current value: -1
  Name: XV_CONTRAST
   Flags: XvGettable XvSettable
   Min value: 0
   Max value: 255
   Current value: 127

After running (and closing) gxine I get:
% xvattr
Found Xv 2.2
Adaptor: 0
Name: Intel(R) Video Overlay
 Port: 73
  Name: XV_COLORKEY
   Flags: XvGettable XvSettable
   Min value: 0
   Max value: 16777215
   Current value: 66046
  Name: XV_BRIGHTNESS
   Flags: XvGettable XvSettable
   Min value: -128
   Max value: 127
   Current value: 0
  Name: XV_CONTRAST
   Flags: XvGettable XvSettable
   Min value: 0
   Max value: 255
   Current value: 128

I've been fixing color washouts by running:
    xvattr -a XV_CONTRAST -v 48 ; xvattr -a XV_BRIGHTNESS -v -5

Why (with the default settings, which I haven't touched) don't totem/gxine just leave the xvattr settings alone?