frank90psi / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Grey square instead of video and flickering when video is resized or menu slides away in fullscreen #297

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enable Xv output
2. Turn on Controls
3. Press fullscreen

What is the expected output? What do you see instead?
When I make gnome-mplayer go fullscreen, instead of doing so, it makes a
large grey square instead. It appears to work at first, but when the
controls move down the picture turns grey. If I disable controls, then it
starts working again. That is, unless a notification or other popup
appears, otherwise it turns grey as well.

What version of the product are you using? On what operating system?
I'm using 0.9.8-1 in Ubuntu Karmic.

Please provide any additional information below.
I've filed a bug about this on launchpad:
https://bugs.edge.launchpad.net/ubuntu/+source/gtk+2.0/+bug/443223
It appears this might be an issue caused with the new gtk+.

Original issue reported on code.google.com by Ripps...@gmail.com on 5 Oct 2009 at 5:49

GoogleCodeExporter commented 8 years ago
What version of GTK are you using in Karmic?

Original comment by kdeko...@gmail.com on 5 Oct 2009 at 6:20

GoogleCodeExporter commented 8 years ago
2.18.1-1ubuntu1

Original comment by Ripps...@gmail.com on 5 Oct 2009 at 6:25

GoogleCodeExporter commented 8 years ago
See the following upstream bugs, appears to be GTK 2.18 issue

https://bugs.launchpad.net/bugs/443223

https://bugzilla.gnome.org/show_bug.cgi?id=598050

Original comment by kdeko...@gmail.com on 13 Oct 2009 at 5:57

GoogleCodeExporter commented 8 years ago
Issue 302 has been merged into this issue.

Original comment by kdeko...@gmail.com on 14 Oct 2009 at 7:45

GoogleCodeExporter commented 8 years ago
Issue 307 has been merged into this issue.

Original comment by kdeko...@gmail.com on 21 Oct 2009 at 12:42

GoogleCodeExporter commented 8 years ago
Issue 308 has been merged into this issue.

Original comment by kdeko...@gmail.com on 21 Oct 2009 at 12:42

GoogleCodeExporter commented 8 years ago
Issue 309 has been merged into this issue.

Original comment by kdeko...@gmail.com on 24 Oct 2009 at 1:16

GoogleCodeExporter commented 8 years ago
The problem seems to be solved in Fedora 12 with the latest gtk2 update. 
http://koji.fedoraproject.org/koji/buildinfo?buildID=138016

Original comment by jean.wi...@gmail.com on 25 Oct 2009 at 8:55

GoogleCodeExporter commented 8 years ago
It does not fix it for me. What video card and driver are you using and what 
video
out do you have chosen in gnome-mplayer?

Original comment by kdeko...@gmail.com on 25 Oct 2009 at 1:37

GoogleCodeExporter commented 8 years ago
Hmm... I discovered something interesting. When I switched on KMS for my ati 
radeon 
card, the the flickering and grey square issue went away. However, video 
performance 
had degraded and wasn't very smooth. It might be because xv in the kms ati 
driver 
isn't finished yet.
This leads me to wonder if this might be more of an xv issue than a gtk one.

Original comment by Ripps...@gmail.com on 25 Oct 2009 at 4:59

GoogleCodeExporter commented 8 years ago
As it turns out, it's not the kms that fixes the issue, it's that dri2 ati 
driver 
doesn't have a overlay xv, but textured video.
When I tried textured video xv with kms disabled, the issue was resolved as 
well. 
However, textured video with the non-kms ati causes tearing, despite whatever 
xvattr 
XV_VSYNC setting I have.

Original comment by Ripps...@gmail.com on 25 Oct 2009 at 5:34

GoogleCodeExporter commented 8 years ago
For me it happens on both my ATI and Intel video cards with x11, xv and gl video
outputs. I can gtk 2.16 on the machine (over ssh from another) and it works
perfectly, so I tend to go back to gtk 2.18 being the problem.

Original comment by kdeko...@gmail.com on 25 Oct 2009 at 6:02

GoogleCodeExporter commented 8 years ago
if add change the video output from xv to xv:ck-method=auto, the entire video 
doesn't disappear into a grey square, but the bottom of the video does get a 
thick grey line.

Original comment by Ripps...@gmail.com on 25 Oct 2009 at 7:09

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 26 Oct 2009 at 1:10

GoogleCodeExporter commented 8 years ago
Based on a recommendation from the GTK team a minor patch was made to set the
background color (patch is in r1584). However, there is a patch to GTK that 
needs to
be made to fully correct this. I believe the patch will be in GTK 2.18.4, but 
don't
have confirmation on that yet.

See https://bugzilla.gnome.org/show_bug.cgi?id=598050 for additional info.

Original comment by kdeko...@gmail.com on 5 Nov 2009 at 3:14

GoogleCodeExporter commented 8 years ago
Issue 314 has been merged into this issue.

Original comment by kdeko...@gmail.com on 8 Nov 2009 at 7:19

GoogleCodeExporter commented 8 years ago
Issue 319 has been merged into this issue.

Original comment by kdeko...@gmail.com on 14 Nov 2009 at 9:43

GoogleCodeExporter commented 8 years ago
BTW, you can disable the animation in SVN, it is in the preferences. Still 
flickers,
but less.

Original comment by kdeko...@gmail.com on 14 Nov 2009 at 9:45

GoogleCodeExporter commented 8 years ago
Issue 324 has been merged into this issue.

Original comment by kdeko...@gmail.com on 22 Nov 2009 at 1:50

GoogleCodeExporter commented 8 years ago
my bug report #324, got merged in here, but that's not correct: i don't get any 
"grey square" or anything similar, it's just that the video changes 
it position and thereby irritates a lot...

maybe the solution to my problem is the solution to this bug (#297) too, but 
the 
symptoms are different -- the problem is that the control bar and the video 
area 
share the same space, but the control bar should rather be put on top of the 
video 
(and hiding part of it if necessary)...

look at the totem control bar behaviour: that's how it could be fixed! i don't 
know 
why nobody else suggested this!

Original comment by boennh...@gmail.com on 24 Nov 2009 at 11:26

GoogleCodeExporter commented 8 years ago
the patch mentioned in https://bugzilla.gnome.org/show_bug.cgi?id=598050 and
gnome-mplayer-r1594, do not resolve the issue for me.
instead of seeing a grey background during flickering, i see a black one 

Original comment by hicham.h...@gmail.com on 26 Nov 2009 at 5:26

GoogleCodeExporter commented 8 years ago
Please comment on the GTK bug as we did as they advised. This problem does not 
happen
in GTK 2.16.

Original comment by kdeko...@gmail.com on 26 Nov 2009 at 5:44

GoogleCodeExporter commented 8 years ago
I just updated to Gnome 2.28 and i am therefore using GTK-2.18.3 and i can 
confirm 
that the bug is still there... and even worse apparently: before this update it 
was 
just the annoying move of the video itself, but now i also get this grey 
overlay... =
(

@kdekorte: you said that overlaying the control widget is not possible, then 
what 
about just making the control bar fully black instead of hiding it? this would 
just 
be a workaround, but better than nothing...

Original comment by boennh...@gmail.com on 27 Nov 2009 at 4:36

GoogleCodeExporter commented 8 years ago
@boennhoff, the control bar sliding away is not the only problem, it happens on
window resize as well. Also, GTK 2.18.3 does have the problem, 2.18.4 is 
supposed to
fix it, but the above comments don't seem promising. 

I have an idea for the fullscreen control bar, but I have not had time to try 
it yet.

Original comment by kdeko...@gmail.com on 27 Nov 2009 at 5:06

GoogleCodeExporter commented 8 years ago
I updated to gtk2 2.18.4, using an rpm from Fedora 12 koji, on my machine and it
appears to fix the problem when combined with SVN

Original comment by kdeko...@gmail.com on 1 Dec 2009 at 4:04

GoogleCodeExporter commented 8 years ago
Confirmed, gtk2-2.18.4 with latest svn fixes the issue for me
Thank u Kevin for ur effort !

Original comment by hicham.h...@gmail.com on 1 Dec 2009 at 9:28

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 2 Dec 2009 at 9:36