Video does not work with Desktop Effects enabled

Bug #102290 reported by Lean Fuglsang on 2007-04-03
12
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Medium
Unassigned

Bug Description

With Desktop Effects enabled videos in Totem are black. VLC and Mplayer can show the movie, but when resized it also becomes black.

ProblemType: Bug
Architecture: i386
Date: Tue Apr 3 11:49:06 2007
DistroRelease: Ubuntu 7.04
Uname: Linux lean-laptop 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux

Joseph Smidt (jsmidt) wrote :

When Desktop-Effects is on Video doesn't play for me either for Totem, VLC or Mplayer. It works for a second If you wiggle the window but goes black immediately as the above bug says. This leads me to believe it is a refresh problem. I don't know what Video Card the other person uses but I have an Intel Card. My laspc -vv, lspci -vvn, dmesg, and xorg.conf are attached.

Joseph Smidt (jsmidt) wrote :
Joseph Smidt (jsmidt) wrote :
Joseph Smidt (jsmidt) wrote :
Joseph Smidt (jsmidt) wrote :
Joseph Smidt (jsmidt) wrote :
Joseph Smidt (jsmidt) wrote :

Yeah, again evidence it is a refresh problem: When I run glxgears with Desktop-effects enabled it is very choppy and I get this output:

jsmidt@Esther:~$ glxgears
2430 frames in 5.0 seconds = 485.638 FPS
2554 frames in 5.0 seconds = 510.789 FPS
2531 frames in 5.0 seconds = 505.642 FPS
2542 frames in 5.0 seconds = 507.805 FPS
2544 frames in 5.0 seconds = 508.790 FPS

When I run glxgears with Desktop-effects turned off I get a clean run with this:

jsmidt@Esther:~$ glxgears
5239 frames in 5.0 seconds = 1047.699 FPS
5308 frames in 5.0 seconds = 1061.578 FPS
5310 frames in 5.0 seconds = 1061.834 FPS
5282 frames in 5.0 seconds = 1056.322 FPS
5315 frames in 5.0 seconds = 1062.818 FPS

I hope that is helpful

I think this bug is a duplicate of #98711

mike.simonson (mike-simonson) wrote :

I am on Edgy but i have exactly the same problem but only in vlc.
I discover something funny with this bug. If you open two instance of vlc by rapidly clicking 4 time on the vidéo icon it opens two instance of vlc :-) but what's really fun is that one of the two works perfectly. No black screen you can reduce the window and open it again it still work you can get in full screen or use the cube to go on another desktop if you come back the video is still playing. And no problem with the opacity of the window in movement. That where all the problem i get with only one instance of vlc.

I have ATI radeon with open driver and xgl compiz

Lean Fuglsang (lean-ubuntu-cd) wrote :

Mike,
it sure seems we have the same problem. I will try it to open more instances op vlc when I come home.
Are you sure you are running xgl and not aiglx? With the open drivers it is much easier just to start compiz, without starting glx first.

Lean Fuglsang (lean-ubuntu-cd) wrote :

Mike I can confirm that it behaves exactly the same. The first video opened works 'some times' but not very often. The second video opened works no matter what you do with it.

In fact that's a real funny solution. But i do not have any idea of why that
reacts so oddly.

2007/4/14, Lean Fuglsang <email address hidden>:
>
> Mike I can confirm that it behaves exactly the same. The first video
> opened works 'some times' but not very often. The second video opened
> works no matter what you do with it.
>
> --
> Video does not work with Desktop Effects enabled
> https://bugs.launchpad.net/bugs/102290
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Chakkaradeep (chakkaradeep) wrote :

I can confirm this in my Feisty Fresh Install box. I just get black screen in any of the movie players when the desktop effects are on.Any solution for this ?

My Video Card is Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller

Thanks

eppy 1 (choppy121212) wrote :

"Are you sure you are running xgl and not aiglx? With the open drivers it is much easier just to start compiz, without starting glx first."

Yes, I'm definitely running aiglx on the open source radeon drivers. Same situation with glxgears here, too.

Chakkaradeep (chakkaradeep) wrote :

I solved this for Totem Movie Player by doing this,

Open your terminal , type gstreamer-properties and under Video Tab ,under Video Plugin choose X Window Syste, (No Xv).

Now movies get played in Totem.

But in other players like VLC, still it not playing and I tried searching in the options but couldnt find anything that could allow me to change the video plugin.

Christoph Donges (cdonges) wrote :

Thanks. That works for me.

On 4/21/07, Chakkaradeep <email address hidden> wrote:
>
> I solved this for Totem Movie Player by doing this,
>
> Open your terminal , type gstreamer-properties and under Video Tab
> ,under Video Plugin choose X Window Syste, (No Xv).
>
> Now movies get played in Totem.
>
> But in other players like VLC, still it not playing and I tried
> searching in the options but couldnt find anything that could allow me
> to change the video plugin.
>
> --
> Video does not work with Desktop Effects enabled
> https://bugs.launchpad.net/bugs/102290
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in compiz:
assignee: nobody → ubuntu-desktop-effects
status: Unconfirmed → Confirmed
Changed in compiz:
assignee: ubuntu-desktop-effects → nobody
Chakkaradeep (chakkaradeep) wrote :

Ok, got it sorted in VLC

1) Open VLC
2) Go to Settings-->Preferences
3) Select Advanced Options on the right hand bottom
4) Select Video-->Output Modules and you would see checkbox to select Video Output Module
5) Choose X11 Video Output in that

Now you can play videos in vlc too :)

If you that is tough to follow, please see the attachment

António Lima (amrlima) wrote :

I can confirm the same problem with my feisty box. Using aiglx+compiz+ati oss drivers. The workarounds stated in this topic work, but this should really be fixed some time soon :) Almost quited using desktop effects because of it.

Misantrof (vrangsinn) wrote :

 Chakkaradeep: Your solution works, but what a terrible sacrifice in picture quality....
Compare normal settings without 3d effects enabled on a divx-xvid movie. And you will see the quality loss.
So that workaround is for the ones who can not live without 3d effects until the good folks at ubuntu solve this problem.

Chakkaradeep (chakkaradeep) wrote :

Misantrof : Yes, and this happens only in the fresh install of Fesity. I have an upgrade box from edgy to feisty and there I dont get any of these problems.

Hope the Ubuntu Team hear us sooner and release a patch for it !

Nicolas Gorguès (gorni-siloh) wrote :

Same problem here, with open source RADEON driver (r300) and AIGLX.

I may have found an explanation on the OpenSuse XGL Troubleshooting page (http://en.opensuse.org/Xgl_Troubleshooting).
Here is the interesting quote:
---
General hardware dependent issues
 * XVideo will be very slow if hardware acceleration (pixel shaders) is not available. If using a composite manager, it will only be fast if FBOs or pBuffers are available and activated, or for fully opaque fullscreen windows (turn on option apps/compiz/general/screen0/options/unredirect_fullscreen_windows).

ATI / open source driver "radeon"
 * Driver has neither pBuffer nor FBO support. When using a composite manager all windows are rendered in software and only compositing is hardware accelerated. Astonishingly, this works well enough for most use cases.
---

Regarding lauching two instances of VLC and getting video output on the second one:
> Mike I can confirm that it behaves exactly the same. The first video opened works 'some times' but not very often. The second video opened works no matter what you do with it.
I guess the second instance just fails over to x11 (poor video quality) with no hardware acceleration, and no antialiasing...

barlas (barlaso) wrote :

I have the same problem. Try using xine movie player. It is the only one that works for me.

Changed in compiz:
importance: Undecided → Medium
Christian Reis (kiko) wrote :

Is this bug not a duplicate of bug 73471 (or the other way around)?

Peter Würtz (pwuertz) wrote :

@Christian: What are you talking about? I've been using Compiz for over one year. XVideo in combination with Compiz/Beryl was flawed since the beginning of the project (when using the intel or radeon driver from Xorg). Bug 73471 is addressing this bug and it has been reported half a year ago.

This is bug report is absolutely the same!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers