| View previous topic :: View next topic |
| Author |
Message |
Shirakawasuna n00b

Joined: 16 Mar 2006 Posts: 30
|
Posted: Fri Jun 09, 2006 1:29 pm Post subject: XVideo and i915 Gamma Problem |
|
|
I'm having a problem with playing videos. Upon booting and logging in to kde, the first video runs fine, and so long as I don't close the movie player, other videos play as well. But if I close the program and then try to play another movie, I get horrible color distortions like purples and bright greens in a splotchy fashion all over the movie. Everything else is unaffected.
Movie players used: Kaffeine, Kmplayer, mplayer, vlc.
File formats tried: mpeg avi wmv rm
Video chipset: intel 915gm
Software stuff:
I'm running xorg-x11-7.1 with the i810 driver along with the i915 direct rendering module (from the kernel).
As it turns out, using mplayer -vo x11 <file> doesn't have the same problem, even though all of those players do. I'd really appreciate any help on this issue, because I can't figure out the root problem!
**edit**: I tried out kaffeine's xine video out preferences and sdl gives me the same problem, opengl gives me a detailed picture but has a lot of purple and green, and xshm works beautifully.
Here's my xorg.conf
| Code: | Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "TouchPad" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "stylus" "SendCoreEvents"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
# Section "Extensions"
# Option "Composite" "true"
# EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc102"
Option "XkbLayout" "uk"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "PalmMinWidth" "30"
Option "PalmMinZ" "200"
Option "SHMConfig" "on"
Option "HorizScrollDelta" "0"
Option "RTCornerButton" "0"
Option "PalmDetect" "on"
EndSection
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "IMPS/2"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons" "yes"
# EndSection
#Section "InputDevice"
# Driver "wacom"
# Identifier "cursor"
# Option "Device" "/dev/ttyS0"
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4"
# Option "Mode" "Absolute"
# Option "Button3" "2"
# Option "Button2" "3"
# Option "TPCButton" "on"
#EndSection
#Section "InputDevice"
# Driver "wacom"
# Identifier "stylus"
# Option "Device" "/dev/ttyS0"
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4"
#EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
DisplaySize 339 212
ModelName "LCD Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
Modeline "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828 -Hsync +Vsync
EndSection
Section "Device"
# The i810 driver under xorg-6.8.2 and earlier DO NOT support the
# Intel Integrated 915 chipset. Use the generic vesa driver on old
# versions.
Identifier "Videocard0"
# Driver "vesa"
Driver "i810"
Option "NoAccel" "false"
Option "DRI" "true"
Option "XVideo" "true"
Option "VBERestore" "true"
VendorName "Intel"
BoardName "Intel 915"
BusID "PCI:0:2:0"
# VideoRam 131072
# Once the i810 supports the chipset, this section can be changed
# to use the new driver by using the appropriate Driver line
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
# Modes "1280x800" "1024x768" "800x600" "640x480"
Modes "1280x800"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
|
Last edited by Shirakawasuna on Sun Jul 09, 2006 6:00 am; edited 2 times in total |
|
| Back to top |
|
 |
Shirakawasuna n00b

Joined: 16 Mar 2006 Posts: 30
|
Posted: Fri Jun 09, 2006 1:52 pm Post subject: |
|
|
| bah, I was trying to post my Xorg.0.log, but it's too huge. If anyone wants it or thinks it would be useful, I can send it to you or find a way to upload it. |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Sun Jul 02, 2006 6:19 pm Post subject: |
|
|
Have the same issue with the same chipset...
Also, you should rename the topic to XV video color issue with i915
Last edited by HTS on Sun Jul 02, 2006 8:41 pm; edited 2 times in total |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Sun Jul 02, 2006 6:39 pm Post subject: |
|
|
Yes xshm works but is HORRIBLE when scaling... The solution might lie in the ColorKey option of the driver.
EDIT: Nope, neither ColorKey nor VideoKey seem to be the solution, this bug is really pissing me off
I'm using same xorg on kernel 2.6.17 with drm not compiled in kernel and get exactly the same symptoms with xine-ui and kaffeine. The only solution is to restart X whenever you close the player, or to keep the player opened........ what a waste.
EDIT: Driving me crazy, found some guys with the same issue with Ubuntu and i915...
Let's consider posting this to Bugzilla! Let me know if you want to do it.
Cheers,
HTS |
|
| Back to top |
|
 |
warhawk n00b

Joined: 12 Feb 2003 Posts: 21
|
Posted: Mon Jul 03, 2006 2:10 am Post subject: |
|
|
do you mean the bug shown on this picture? -> http://194.94.79.14/~alex/xine_xv.jpg (the blue area is the video, not captured because of the overlay)
i'm running xorg 7.0 (7.1 has the same issue, 6.8 not) with the savage driver (pro savage kn133 in my laptop). solution for me at the moment is to use opengl (very slow), xshm (slow) or sdl (ok, but slower than xv) for video output. |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 3:51 am Post subject: |
|
|
Nope it is not that bug.
We can actually see the image and the shapes, but the colors look like inverse-soloarised (ie the gamma values look definitely wrong!)
The problem is that the issue is purely an overlay issue and does not appear on screenshots.
I will take some pictures later today, need to go to work I'm so late !
(Haha, work was good today, I need to write a Linux audio driver for a Micronas DAC) |
|
| Back to top |
|
 |
kamracik Apprentice

Joined: 01 Apr 2006 Posts: 217 Location: Poland->Lodz
|
Posted: Mon Jul 03, 2006 12:56 pm Post subject: |
|
|
same problem with me :/
and i looks in google and still nothing :/ lots of people have this problem but no solution but i think its a bug in xine cose i can use xv in mplayer and its dont destroy colors in another launch |
|
| Back to top |
|
 |
blice Guru

Joined: 12 Feb 2005 Posts: 581 Location: D- 26188
|
Posted: Mon Jul 03, 2006 1:51 pm Post subject: |
|
|
Maybe Im wrong, but this looks like an Bug in your GL-drivers, I`d bet, if you start mplayer with -vo:gl or -vo:gl2 you will get the same problems..
if its like this, then theres a bug at the drivers for your Gfx-Cards _________________ Gentoo seit 2004.3
Schreibt mir: blice@jabber.sk |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 2:26 pm Post subject: |
|
|
Ok, here is a detailled description of the bug.
The bug occurs in all video players using the xv driver.
Using the OpenGL driver does NOT cause the bug, it is specific to XV.
How to repeat the bug.
Lauch Kaffeine or Xine-ui or any video player and play a video: the video plays fine (Image1)
Close the player.
Launch the same or another video player: the gamma are fucked up (image2)
Pictures taken with my camera.
Nice XV
Buggy XV
I will post this bug to Bugzilla.
Last edited by HTS on Mon Jul 03, 2006 4:24 pm; edited 1 time in total |
|
| Back to top |
|
 |
kamracik Apprentice

Joined: 01 Apr 2006 Posts: 217 Location: Poland->Lodz
|
Posted: Mon Jul 03, 2006 2:52 pm Post subject: |
|
|
| HTS in my case its only in xine i can start mplayer/kaffeine or any other and video is still good even if i close it. But if i start xine and close colors gets dizzy . |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 3:11 pm Post subject: |
|
|
I checked again on Kaffeine... the bug occurs. I submitted the bug to Bugzilla.
I will try mplayer too
PS: are you sure your Kaffeine is set to use XV ?  |
|
| Back to top |
|
 |
kamracik Apprentice

Joined: 01 Apr 2006 Posts: 217 Location: Poland->Lodz
|
Posted: Mon Jul 03, 2006 3:41 pm Post subject: |
|
|
im sure same as mplayer :]
in my opinion its xine changing something with the xv on exit command and corrupts it |
|
| Back to top |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1459 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Mon Jul 03, 2006 3:48 pm Post subject: |
|
|
I think this has sth to do with ffmpeg, I've noticed it yesterday - mplayer shows all green, totem is just fine before after and in the same time as mplayer plays this, I still haven't checked xine. _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
last.fm |
|
| Back to top |
|
 |
kamracik Apprentice

Joined: 01 Apr 2006 Posts: 217 Location: Poland->Lodz
|
Posted: Mon Jul 03, 2006 3:52 pm Post subject: |
|
|
| does ffmpeg is used for all kind of video?? cose xine corrupts all graphics and if it is problem with ffmpeg mplayer should be corrupt too but it is'n |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 3:56 pm Post subject: |
|
|
Good question, I have no idea
Just seen I missed two use flags:
xvmc and i8x0
Currently Re-compliling video libraries. I'll let you know.
EDIT: As expected the i8x0 and xvmc use flags didn't solve the issue.
EDIT: Confirmed, the bug doesn't occur with mplayer. Do you have a nice KDE frontend for mplayer? It's a bit boring to launch videos using command line...
Last edited by HTS on Mon Jul 03, 2006 4:23 pm; edited 1 time in total |
|
| Back to top |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1459 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Mon Jul 03, 2006 4:22 pm Post subject: |
|
|
This problem only occurs with mplayer for me, vlc plays the file fine (elephant dreams.avi - it is the first creative commons film ever , xine plays it fine although with some slowdowns, and apparently gstreamer powerd players play it also just fine.
I forgot to mention it - I have nvidia, and this is xorg-7.1 _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
last.fm |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 4:24 pm Post subject: |
|
|
Do you have the same kind of output as I have shown in my pictures? Since we use different chipsets and the bug occurs in different players it may be two different bugs.
|
|
| Back to top |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1459 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Mon Jul 03, 2006 4:32 pm Post subject: |
|
|
Yes although the color changes, this time was in pink (but it is more similiar to the fckd up gamma screenshots - only it changes here), I could try making pictures of it.
[EDIT]it could be another problem, I've looked at your pictures better now and you still have some colors there, in my case it all is collored pink or green or whatever comes - essential as a b&w but instead white I have another color, and changing the output driver here does not make any difference[/EDIT] _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
last.fm
Last edited by Gergan Penkov on Mon Jul 03, 2006 4:37 pm; edited 1 time in total |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 4:33 pm Post subject: |
|
|
| kamracik wrote: | | but i think its a bug in xine cose i can use xv in mplayer and its dont destroy colors in another launch | True again. If Xine or Kaffeine is closed, then mplayer is affected again. xine-lib is messing something in the xv driver on exit...
Last edited by HTS on Mon Jul 03, 2006 4:36 pm; edited 1 time in total |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 4:35 pm Post subject: |
|
|
| Gergan Penkov wrote: | | Yes although the color changes, this time was in pink (but it is more similiar to the fckd up gamma screenshots - only it changes here), I could try making pictures of it. | Yes I 'd like to see the pictures if you can do that.
if you have nowhere to host them, I will do it, you can send them to my mail
julien.bramary@blueyonder.co.uk |
|
| Back to top |
|
 |
kamracik Apprentice

Joined: 01 Apr 2006 Posts: 217 Location: Poland->Lodz
|
Posted: Mon Jul 03, 2006 4:51 pm Post subject: |
|
|
| i tried xine without ffmpeg and same as usual.. no changes :/ so its not ffmpeg :/ |
|
| Back to top |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1459 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Mon Jul 03, 2006 4:53 pm Post subject: |
|
|
bad - mplayer
good - totem _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
last.fm |
|
| Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 370 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 5:05 pm Post subject: |
|
|
Hmmm...
Thanks for the pictures.
Looks like a slightly difrerent bug to me. All your colors are shifted to green or whatever color. Like a global hue mismatch. On my bug, the colors seem to exceed the max value and cycle back to opposite colors, more like a contrast issue or something.
The main difference being your bug also occurs with mplayer.
As an i915 user, I will stick to mplayer until that xine-lib issue is solved. |
|
| Back to top |
|
 |
kamracik Apprentice

Joined: 01 Apr 2006 Posts: 217 Location: Poland->Lodz
|
Posted: Mon Jul 03, 2006 5:07 pm Post subject: |
|
|
just use xine with xshm its works correctly :]
in out bug is problem with video overlay as you see on photo its look like xine just turn off it after close :/ |
|
| Back to top |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1459 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Mon Jul 03, 2006 5:09 pm Post subject: |
|
|
The strange thing is that it worked some probably 3-4 days ago and yesterday I have noticed this new behaviour and now I see a similiar thread here on the forums  _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
last.fm |
|
| Back to top |
|
 |
|