Re: [Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Paul, Here's the output from the source packages: [EMAIL PROTECTED]:~/work$ grep -r XV_CONTRAST vlc-0.8.6.release/ vlc-0.8.6.release/modules/video_output/x11/xvideo.c: * XV_CONTRAST. f_value should be in the range of 0 to 1. vlc-0.8.6.release/modules/video_output/x11/xcommon.c:XVideoSetAttribute( p_vout, XV_CONTRAST, 0.5 ); [EMAIL PROTECTED]:~/work$ grep -r XV_CONTRAST totem-2.18.0/ [EMAIL PROTECTED]:~/work$ grep -r XV_CONTRAST xserver-xorg-video-i810-1.7.4/ xserver-xorg-video-i810-1.7.4/src/xvmc/I810XvMC.c: pI810XvMC-xv_contrast = XInternAtom(display,XV_CONTRAST,0); xserver-xorg-video-i810-1.7.4/src/xvmc/I810XvMC.c: {XvGettable | XvSettable, 0, 0x1ff, XV_CONTRAST}, xserver-xorg-video-i810-1.7.4/src/xvmc/I810XvMC.c://XV_CONTRAST xserver-xorg-video-i810-1.7.4/src/xvmc/I810XvMC.c://XV_CONTRAST xserver-xorg-video-i810-1.7.4/src/xvmc/I810XvMC.c://XV_CONTRAST xserver-xorg-video-i810-1.7.4/src/i810_video.c: {XvSettable | XvGettable, 0, 255, XV_CONTRAST} xserver-xorg-video-i810-1.7.4/src/i810_video.c:xvContrast = MAKE_ATOM(XV_CONTRAST); xserver-xorg-video-i810-1.7.4/src/i830_video.c: {XvSettable | XvGettable, 0, 255, XV_CONTRAST}, xserver-xorg-video-i810-1.7.4/src/i830_video.c: {XvSettable | XvGettable, 0, 255, XV_CONTRAST}, xserver-xorg-video-i810-1.7.4/src/i830_video.c: xvContrast = MAKE_ATOM(XV_CONTRAST); Strangely, totem doesn't refer to XV_CONTRAST at all. But... [EMAIL PROTECTED]:~/work$ grep -r CONTRAST totem-2.18.0/ totem-2.18.0/po/rw.po:# sw/source\ui\utlui\attrdesc.src:STR_CONTRAST.text totem-2.18.0/src/backend/bacon-video-widget-gst-0.10.c: else if (type == BVW_VIDEO_CONTRAST channel totem-2.18.0/src/backend/bacon-video-widget-gst-0.10.c: g_strrstr (channel-label, CONTRAST)) totem-2.18.0/src/backend/bacon-video-widget-gst-0.10.c: else if (type == BVW_VIDEO_CONTRAST channel totem-2.18.0/src/backend/bacon-video-widget-gst-0.10.c: g_strrstr (channel-label, CONTRAST)) totem-2.18.0/src/backend/bacon-video-widget-xine.c: XINE_PARAM_VO_CONTRAST, totem-2.18.0/src/backend/bacon-video-widget.h: BVW_VIDEO_CONTRAST, totem-2.18.0/src/totem-preferences.c: BVW_VIDEO_CONTRAST, (int) i); totem-2.18.0/src/totem-preferences.c: BVW_VIDEO_CONTRAST); There's a few possibilities we can look into: a) totem-preferences.c, or b) changing the i810 driver's contrast handling. On 3/22/07, Paul Sladen [EMAIL PROTECTED] wrote: Excellent summary Conn. Thanks for that. Could you 'apt-get source' both the packages for totem and for a known-working program (vlc?), then locate the appropriate place/file in each so that we can compare the broken code to the good. Doing a: grep -r XV_CONTRAST in the source tree maybe enough to find the place where it is set/queried. ** Changed in: xserver-xorg-video-i810 (Ubuntu) Status: Fix Released = Rejected ** Changed in: xorg (Ubuntu) Sourcepackagename: xorg = totem Status: Rejected = Confirmed -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Excellent summary Conn. Thanks for that. Could you 'apt-get source' both the packages for totem and for a known-working program (vlc?), then locate the appropriate place/file in each so that we can compare the broken code to the good. Doing a: grep -r XV_CONTRAST in the source tree maybe enough to find the place where it is set/queried. ** Changed in: xserver-xorg-video-i810 (Ubuntu) Status: Fix Released = Rejected ** Changed in: xorg (Ubuntu) Sourcepackagename: xorg = totem Status: Rejected = Confirmed -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
** Changed in: xserver-xorg-driver-i810 (Ubuntu) Importance: Untriaged = Medium -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
hi, i have the same problem and an workaround for ubuntu dapper, but isn't fine. apt-get install xserver-xorg-driver-i810=1:1.4.1.3-0ubuntu6 then restart (X), Ctrl+Alt+BS this version works fine. the new version in dapper (1:1.5.0.1-0ubuntu2) is buggy i hope someone find a better way bye Horst -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
and the workaround for debian sid or kanotix add to your sources.list # Experimental deb http://ftp.de.debian.org/debian experimental main contrib non-free deb-src http://ftp.de.debian.org/debian experimental main contrib non-free apt-get install xserver-xorg-video-i810/experimental xserver-xorg- core/experimental this will install the version xserver-xorg-video-i8101.6.3-1 xserver-xorg-core 1.1.1-1 which work's too -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
hi, so i think, xf86-video-i810 Version 1.4.1 and 1.6.3 works, 1.5.0 doesn't -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Intel has released the free software 2D/3D drivers for this chipset. See http://intellinuxgraphics.org/ Note: While these drivers represent significant work at both Tungsten Graphics and Intel—as our first release of this code—they're still in need of significant testing, tuning, and bug fixing before they will be ready for production use. We're releasing them now to demonstrate our ongoing commitment to providing free software drivers for Intel hardware. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Hi all, I had the same problems as mentioned here. On second time playing a movie using xv in xine or any other xine-based app, the colors would be totally distorted. Only restarting X would resolve the problem. On the other hand, when playing movies in mplayer, the colors seemed to be washed out and too bright. Anyway, I was able to solve the problem by installing the latest xorg i810 drivers (which were actually released today). They can be found here: http://www.t2-project.org/packages/xf86-video-i810.html Compile and install them, restart X and everything works fine. I also noticed that my screensaver (in KDE) is working now, it did not work with the old i810 driver. Please note that make install installs the driver to /usr/local/lib/xorg/modules/drivers, while the modules (at least on my debian) are located in /usr/lib/xorg/modules/drivers. Back-up the original i810_drv.so and then replace it by the shiny new one (X might crash, thus doing this from a text console would be the safe way out) Happy kaffeine-ing -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] 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? -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I've also tried totem-gstreamer, which also exhibits the bug as above. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
The same happens to me. I have an Intel 915 GM chipset. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Okay, a friend of mine has this problem on a Dell Inspiron laptop running Dapper, with totem-xine. If I remember rightly, the same problem was appearing with MPlayer as well. We didn't try xine-ui. She did not have the problem on the same laptop with Breezy, when she was using xine-ui. Turning down the brightness and contrast in Totem can alleviate the problem somewhat, but can't seem to get it quite right. It feels as if there is an extra setting, maybe gamma or something, that is mis-set, and Totem doesn't provide access to it. The problem she has looks very similar to the one in the screenshot on the following bug report: https://launchpad.net/distros/ubuntu/+bug/47566 the author of which believes it to be a duplicate of this bug. I don't have access to this Dell laptop right now, but can get to it on Sunday or Monday. I'll add the backports and updates repositories and download all the latest updates and see if the problem still occurs. If it does, I'll post lshw and xorg.conf for the laptop here. I would like to know what else I can post that will be most useful for getting this bug fixed. If you can ask me for something before Sunday then I'll post it, but I'm only going to have a short window of access to the laptop. My friend would really like to have this fixed, as she basically uses her laptop to watch movies. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
This doesn't work for me. I get this error: Found Xv 2.2 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 141 (XVideo) Minor opcode of failed request: 13 () Serial number of failed request: 11 Current serial number in output stream: 12 Cya! -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: [Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
On Fri, 7 Jul 2006, Daniel Lombraña wrote: X Error of failed request: BadMatch (invalid parameter attributes) Daniel: what version of the chip to do you have? (eg. i845). The individual gamma attributes are only available on i9xx. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
This is my video card: Intel Corporation 82852/855GM Integrated Graphics Device. So I can't fix it with that solution :( Thanks! -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: [Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Daniel: interesting. So you're still getting ugly video even though those registers don't even come into the equation. Can you move any of the slides in Totem to improve the situation? -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I have moved it to all positions and always the same horror color. All the colors are very red. If I use opengl in totem or in mplayer I can see the movies in the right way, but with Xv very bad. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
did u try the values..when the movie window was minimized?? else it won't work.. btw I also tried gxvattrthe graphical version of xvattr.. same problem..now values get reset on reboot.. paul ..any ideas as to what i can do to make the changes permanent??Like executing a command whenever Xv is initialised anywhere??? -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
hmm...all this while I ws thinkin I was the only one with this problem!! Well,I've got company... Hope to get this fixed soon!! See the snapshot ppl!! http://img154.imageshack.us/img154/8647/dsc000333lj.jpg -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
well for me...after lotsa experimenting.. I found out tht all i needed to do was xvattr -a XV_GAMMA5 -v 0xbb this did the trick.. But I have a doubt..each time I start Totem,the values get reset. How do I make them permanent?? Any Ideas?? -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Same problem here, with a i855gm: :00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) :00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) Both of the different xvattr-settings from Paul Sladen above fix the bad image quality while playing. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I'm having the same problem here (Ubuntu Dapper Drake stable) on Intel 945G. The problem only appears when I close Totem and open it again (too few colors / wrong colors) and disappears when I restart X. Moving the contrast slider doesn't fix the problem. Thanks! -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
disabling dri in xorg.conf seems to do the trick for me. dont know if it is a real fix or just intermittent. got the idea from https://bugs.freedesktop.org/show_bug.cgi?id=6933 -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
ok, not the fix. after a while the color distortion came back eagerly awaiting more info/fix. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I have tried what Jeff Johnson said, but no works here too. You have let me hope it could be a fix ;) The fix that I am using is use vesa instead of i810. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
** Changed in: xserver-xorg-driver-i810 (Debian) Status: Unknown = Needs Info -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Fixing bugs often require people having the issue working on it so it might take some time. If once fixed the fix is easy enough it can be backported -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
If once fixed the fix is easy enough it can be backported Thanks for the reply and forgive my ignorance, but will that happen automatically via the update function, or will I have to do it manually? And if the latter, how will I know when the fix is available, where to get it, etc.? Thanks again, Matt Jordan -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
If you have the dapper-updates source activated (which should be the default) those fixes come with the updates from it and you should just have to click on the update available -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Matt: as it happens, about 1 hour ago I had a update about getting some information directly from Intel, so I'm hoping I should be able to deal with this bug in a more complete way when the low-level documentation arrives, and hoping nail this one shut properly :) -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
** Bug watch added: Debian Bug tracker #365127 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365127 ** Also affects: xserver-xorg-driver-i810 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365127 Importance: Unknown Status: Unknown -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I'm just checking back in to ask if there's any sort of ETA on a total fix for this bug. I followed Alan Tam's helpful reply to me above and, like others here, I can live with the result as far as simply watching a video. However, I'm learning to use Cinelerra to edit video and the colors really aren't working for that. So is there an ETA on a total fix? Will there be a total fix? And if there is one, will it update Ubuntu automatically, or will I have to fetch/apply the fix (and if so, how will I know when and what to do)? Sorry to ask so many questions and I hope I don't seem demanding or rude, but I really want to get this sorted out so that I can get on with learning to edit video. Thanks, Matt Jordan -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Now that I know this is a contrast setting problem, I can adjust it. It's not good but I'll do okay. But there are lots of people with computers like my Dell Inspiron 6400 with the default Intel controller. This really needs to be fixed. Badly. The best setting for contrast seems to be about 0x40. -lspci: :00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03) Subsystem: Dell: Unknown device 01bd Flags: bus master, fast devsel, latency 0 Capabilities: [e0] #09 [5109] :00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03) (prog-if 00 [VGA]) Subsystem: Dell: Unknown device 01bd Flags: bus master, fast devsel, latency 0, IRQ 169 Memory at dff0 (32-bit, non-prefetchable) [size=512K] I/O ports at eff8 [size=8] Memory at c000 (32-bit, prefetchable) [size=256M] Memory at dfec (32-bit, non-prefetchable) [size=256K] Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Capabilities: [d0] Power Management version 2 :00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03) Subsystem: Dell: Unknown device 01bd Flags: bus master, fast devsel, latency 0 Memory at dff8 (32-bit, non-prefetchable) [size=512K] Capabilities: [d0] Power Management version 2 -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Same problem here. Sometimes the contrast is fine, tough. I have an Intel 910 GM chipset, btw. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Same problem here. Sometimes the contrast is fine, tough. I have an Intel 910 GM chipset, btw. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
** Bug 49830 has been marked a duplicate of this bug -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
With Dapper stable release I have the same problem. I can't watch movies with normal colors in mplayer totem or xine. I think this haven't been fixed yet. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Alan, Like I said in my post above, changing the contrast to 25% makes it look better, but it is still not completely right. The brightness and contrast still look like they could use tweaking. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
After some help, I now have this info about my video card: :00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01) One of my main uses for my computer is producing cartoon animation, so I'd really like to get this color issue figured out. I tried the xvattr fixes listed above and saw some improvement - videos are at least watchable now. But the color still isn't really right. If/when this bug is fixed (if it is a bug and I'm in the right place) how will I learn what to do to apply the fix to my computer? Is this one of those things that will automatically update? Thanks for any help. Matt Jordan -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
matt, Now that half of the bug is fixed. You don't need xvattr. Just tune the contrast (Edit - Preferences - Display) into 25% and it will look right. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I'm new to Ubuntu and Linux and not sure what card I have, but I also have the problem described in this report. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Ditto Carlos (the post above). -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I just want to add that I too am experiencing the above problem with xv in dapper. I have a Intel Corporation Mobile 915GM/GMS/910GM L Express Graphics Controller as given by lspci. I am using the defauly i810 driver in my xorg.conf. The problem first appeared when I upgrade to dapper yesterday (2006/06/04). Using mplayer with -vo xv option the contrast and the brightness of the video are incorrect. This problem also appears in totem (i believe it is also using the xv option). With mplayer, this problem goes away if I using -vo gl or -vo gl2. This problem also goes away (or at least this might just be covering it up) when I set the contrast in totem to about 25%, this fixs it for both totem and mplayer and remains fixed even after restart. Changing the contrast in the above method does not fix the problem all the way though, the values of the contrast and brightness appear they still need tweaking, which I might do latter if I have time. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Will you upload to dapper a new default constrast? -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I've installed 1.4.1.3-0ubuntu6 and rebooted. It still persists. ** Changed in: xserver-xorg-driver-i810 (Ubuntu) Status: Fix Released = Confirmed -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I can confirm this. 1.4.1.3-0ubuntu6 does not fix the bug. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Okay, I'm now in a situation where I can't replicate this bug. Can you both paste: $ xvattr | awk '/ Name/{printf$2}/Current/{printf\t%08#x\n,$3}' from after a cold start of the machine. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
I suppose you typed an extra # there. [EMAIL PROTECTED]:~$ xvattr | awk '/ Name/{printf$2}/Current/{printf\t%08x\n,$3}' XV_COLORKEY 000101fe XV_BRIGHTNESS fffb XV_CONTRAST 0030 XV_GAMMA0 XV_GAMMA1 00101010 XV_GAMMA2 00202020 XV_GAMMA3 00404040 XV_GAMMA4 00808080 XV_GAMMA5 00ff -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Okay, those numbers are pretty much correct (or at least *appear* to be what they should be). Can you try doing things (playing videos etc) to try an get them to change? The Brightness is -5, Contrast is 48. Can you include the version of 'totem' you are using (-gstreamer or -xine): dpkg -l | awk '/totem-/{print$1,$2m$3}' (The '#' in the format string means to convert the number in to the alternate form, for hexadecimal numbers this starts the number with an '0x'. See 'man 3 printf' for more information). -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
julien: you missed out your GAMMA results---the patch attempts to fix these aswell. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
The same values are shown even when totem is playing. When I slide contrast to the left, the video seems to become ok. But I expect it to work when the contrast is in the middle. Adding # does not work: [EMAIL PROTECTED]:~$ xvattr | awk '/ Name/{printf$2}/Current/{printf\t%08#x\n,$3}' awk: run time error: improper conversion(number 1) in printf( %08#x ) FILENAME=- FNR=9 NR=9 [EMAIL PROTECTED]:~$ dpkg -l | awk '/totem-/{print$1,$2m$3}' ii libtotem-plparser11.4.1-0ubuntu3 rc totem-gstreamer1.3.91-0ubuntu2 ii totem-xine1.4.1-0ubuntu3 The same happens even if I replace totem-xine by totem-gstreamer. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Alan: the contrast needs to be at 25%, or thereabouts. If all you need to do is to change the contrast level to get it to look right, please can you post me the hex value that you think works best afterwards. I'll consider doing a change to the X server so that the best default constrast is moved to the centre of the range. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
It looks nice when XV_CONTRAST is around 55-70 (out of 255). -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
In fact, it XV_CONTRAST is normal at 64 (I've been experiencing this bug too). -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Here's what I get just after starting a movie in Totem-gstreamer: [EMAIL PROTECTED] ~ $ xvattr | awk '/ Name/{printf$2}/Current/{printf\t%08#x\n,$3}' XV_COLORKEY 0x010203 XV_BRIGHTNESS XV_CONTRAST 0x7e For info: [EMAIL PROTECTED] ~ $ dpkg -l | awk '/totem-/{print$1,$2m$3}' ii libtotem-plparser11.4.1-0ubuntu3 ii totem-gstreamer1.4.1-0ubuntu3 ii totem-gstreamer-firefox-plugin1.4.1-0ubuntu3 -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Here the results for my hpnx6110: xvattr | awk '/ Name/{printf$2}/Current/{printf\t%08#x\n,$3}' XV_COLORKEY 0x0101fe XV_BRIGHTNESS 0xfffb XV_CONTRAST 0x30 XV_GAMMA0 XV_GAMMA1 0x101010 XV_GAMMA2 0x202020 XV_GAMMA3 0x404040 XV_GAMMA4 0x808080 XV_GAMMA5 0xff using: ii libtotem-plparser11.4.1-0ubuntu3 ii totem-xine1.4.1-0ubuntu3 ii totem-xine-firefox-plugin1.4.1-0ubuntu3 Playing a Video in totem, manual contrast-setting: xvattr | awk (etc.) ... XV_CONTRAST 0039 ... -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
xserver-xorg-driver-i810 (1:1.4.1.3-0ubuntu6) dapper; urgency=low * Adjust the default Xvideo Gamma levels [Malone: #32963]. This seems to be looking consistently good for me now! Please reopen if you're still seeing a problem with the latest dapper packages (make sure you have the above one). ** Changed in: xserver-xorg-driver-i810 (Ubuntu) Status: In Progress = Fix Released -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
AlanTam: Okay, I think I've worked out why the commands aren't working for you. You need to start a movie playing (eg. in Totem). Then bring up eg. Gnome Terminal and paste those commands (*while the movie is already loaded*). The values are getting reset to the horrible looking ones each time the Xv port is initialised. Can you try that again please if you get a chance? -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Both works now. I cannot distinguish which is better. -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 32963] Re: Xv movies on 810/i945 gives horrible color, Gamma
Excellent news. I'll whip up a patch. ** Changed in: xserver-xorg-driver-i810 (Ubuntu) Status: Fix Released = In Progress -- Xv movies on 810/i945 gives horrible color, Gamma https://launchpad.net/bugs/32963 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs