** Summary changed:

- totem overrides XV_CONSTRAST to wrong default value (Xv movies on i810/i945 
have horrible colour/gamma)
+ totem overrides XV_CONSTRAST/XV_SATURATION to wrong default value (Xv movies 
on i810/i945 have horrible colour/gamma/contrast)

** Description changed:

- I bought a new desktop with a Foxconn 945G7MA-8EKRS2 motherboard [1].
+ Totem (in some Ubuntu versions only -gstreamer or -xine variants)
+ overrides XV_CONTRAST/XV_SATURATION to wrong values, this causes viewing
+ movies with accelerated XV Intel and I810 drivers (i855/i810/i945/etc
+ video cards) have horrible (distorted) colors/gamma/contrast/brightness
+ (in such case it's pretty hard to set correct color balance in totem's
+ preferences, often you need to change not only contrast, but also
+ saturation from standard values).
  
- I installed Dapper Flight 4 and bug 27180 occurred. I chose i810 and
- results in a working X. However, whenever I play video, the colors are
- distorted very much.
+ Most other media players (vlc, mplayer, gxine, etc) doesn't have this
+ problem, AFAIK. Also this problem disappears by changing video output
+ driver from XV to X11. Note: XV_CONTRAST/XV_SATURATION should be reseted
+ to real defaults before running another media player, as in most cases
+ totem changes XV_CONTRAST/XV_SATURATION for whole session, until you
+ reboot.
  
- I tried with mplayer and found that if I switch the video driver from
- "xv" to "gl", then colors will be ok, but very slow. Of course, totem
- won't let me switch the driver either --- Where has "Multimedia System
- Selector" gone?
+ In some Ubuntu versions (for example in Ubuntu 7.10 "Gutsy") this
+ problem appears only with totem-xine, in other (e.g. 8.04 "Hardy") -
+ only with totem-gstreamer, AFAIK problem is in both totem variants in
+ older Ubuntu versions (e.g. 6.06 "Dapper").
  
- I cannot test using Breezy since it hangs somewhere during booting the
- Live CD.
+ Example of testcase (applies to Ubuntu 8.10 Hardy's driver, as well as
+ Debian experimental, date 2008-04):
  
- [EMAIL PROTECTED]:~$ sudo lspci -v
- ...
- 0000:00:02.0 VGA compatible controller: Intel Corporation 945G Integrated 
Graphics Controller (rev 02) (prog-if 00 [VGA])
-         Subsystem: Foxconn International, Inc.: Unknown device 0cc0
-         Flags: bus master, fast devsel, latency 0, IRQ 193
-         Memory at fdf00000 (32-bit, non-prefetchable) [size=512K]
-         I/O ports at ff00 [size=8]
-         Memory at d0000000 (32-bit, prefetchable) [size=256M]
-         Memory at fdf80000 (32-bit, non-prefetchable) [size=256K]
-         Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 
Enable-
-         Capabilities: [d0] Power Management version 2
- ...
+ System:
+ Dell Inspiron 510m, 00:02.0 VGA compatible controller: Intel Corporation 
82852/855GM Integrated Graphics Device (rev 02)
+ xserver-xorg-video-intel package version 2:2.2.1-1ubuntu12
  
- My monitor is LG L1950S.
+ Test case:
+ 1. Install "xvattr" package
+ 2. Reboot system, and get "base" settings for XV, i.e. "xvattr 
>xvattr.default"
+ 3. Open a movie using a different movie player (totem-xine, totem-gstreamer, 
vlc, mplayer, gxine, etc), close it, then get a new reading via xvattr; e.g. 
after playing a movie in VLC: "xvattr >xvattr.vlc" (or during the play)
+ 4. Compare files, e.g.: diff -u xvattr.default xvattr.vlc
+ 5a. If there is a difference, you will need to reset xvattr to "default" 
settings before trying another movie player (this can be done by rebooting 
computer).
+ 5b. If there is no difference, repeat step 3 & 4 with a different movie 
player.
  
+ Expected results:
+ No movie players change XV settings
  
- [1] 
http://www.foxconnchannel.com/products_motherboard_2.cfm?pName=945G7MA-8EKRS2
+ Actual results:
+ Totem (only using the gstreamer backend) and SMplayer (this can be another 
bug) causes XV settings to change each time a movie is opened. No other movie 
player (including totem-xine and mplayer) causes this problem.
+ 
+ [EMAIL PROTECTED]:~/intelbug$ diff -u xvattr.default xvattr.totem-gstreamer
+ --- xvattr.default 2008-04-24 00:07:00.000000000 +0100
+ +++ xvattr.totem-gstreamer 2008-04-24 00:08:14.000000000 +0100
+ - Current value: 66046
+ + Current value: 66051
+    Name: XV_BRIGHTNESS
+     Min value: -128, Max value: 127
+ - Current value: 0
+ + Current value: -1
+    Name: XV_CONTRAST
+     Min value: 0, Max value: 255
+ - Current value: 64
+ + Current value: 62
+    Name: XV_SATURATION
+     Min value: 0, Max value: 1023
+ - Current value: 128
+ + Current value: 125
+ [..]
+ 
+ Test Case 2:
+ 
+ 1. Get default settings from fresh startup, before launching any movie 
players, i.e. xvattr >xvattr.default
+ 2. Repeatedly open a movie in totem-gstreamer, then close movie and record 
xvattr settings, i.e.
+ 
+ totem /usr/share/example-content/Experience\ ubuntu.ogg
+ xvattr >xvattr.1
+ totem /usr/share/example-content/Experience\ ubuntu.ogg
+ xvattr >xvattr.2
+ totem /usr/share/example-content/Experience\ ubuntu.ogg
+ xvattr >xvattr.3
+ 
+ 3. Compare xvattr settings.
+ 
+ Conclusion: each time totem opens a new movie, it further changes the
+ default movie settings (please see attachment).
+ 
+ See attached file "xvattr diff comparison from example in Test Case 2"

** Tags added: feisty gutsy hardy

-- 
totem overrides XV_CONSTRAST/XV_SATURATION to wrong default value (Xv movies on 
i810/i945 have horrible colour/gamma/contrast)
https://bugs.launchpad.net/bugs/32963
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to