IMPORTANT NOTE: As the user Mastro (thank you very much for the info) wrote in the comments on this page, what follows will work but it’s NOT a solution, only a work-around to the problem. As he says, ” using software video rendering instead of graphic card video rendering lead to lower performance and less quality…” but it will work and you will have no problem in any case. If you want to completely SOLVE the problem, then you can only use a patched version of MPlayer. Here are the suggestions and instructions by Mastro:
The only way to use the graphic card with video playback while using AIGLX/XGL is to enable the Videoplayback Compiz plugin and to patch mplayer to use this plugin… (at the moment mplayer is the only player that has a patch for this)
in the future all video player software should have this ability. Since Compiz is still a unstable software players doesn’t add support for it.. do you want it? ask them! File a Bug report/request feature
that’s what i mean: http://www.youtube.com/watch?v=vPWMVxkGUd8
the only repository i know that already have a patched version of Mplayer is 3v1n0 (trevino: is an italian guy) repository (for ubuntu) i don’t know of others… but may be they exist
the alternative option is to manually compile it with the patch..
it’s not an easy thing
go to your media-player homepage and open a bug asking for the plugin support
ps: this doesn’t work with mplayer-plugin (browser build-in player) or with kmplayer.. it only work with mplayer (command line) and gmplayer (gtk/gnome mplayer GUI)
a little note:
mplayer with the patch doesn’t playback with XV if you are without compiz
and with compiz enabled could be slower then without patch/compiz
this depends on the driver support to that plugin…
i’ve preferred to remove mplayer with the patch and to disable compiz when i want to watch a video
So, now you have three options to correctly watch a movie in a Compiz Fusion enabled system:
- Follow this guide and bypass the problem
- Use a patched Mplayer
- Disable Compiz Fusion (and this was the most obvious thing to do from the beginning :( )
In any case I suggest you to input the bug to the staff of your preferred video player. It will surely help the development of Compiz Fusion and of the player too. Good luck then! Here starts the guide :)
Well, surely you love all of the wonderful effects that Compiz Fusion or Beryl can give to your desktop. But surely you also found out a lot of problems when trying to watch movies with your prefered Video player. An ugly black screen instead of you preferred TV show, full screen windows becoming semi-transparent…. well, that surely is not good. I’ve been looking in the net for a solution to all of this problems and I found this great article for what concerns the black screen but no info for the transparent fullscreen mode. Then I posted in the Compiz Fusion FOrum and I found a solution to this problem too :)
So let’s start working and see how we can get rid of all the problems with these very used movie players: GStreamer, vlc, Mplayer, xine e Realplayer.
That’s the default Ubuntu player, used by Totem. To correctly visualize you video files with Totem proceed as follows:
1) Open a terminal and enter:
2) Move to the Video tag.
3) In default video plugin select “X Window System (without Xv)”.
4) Click on try to verify if it works fine.
5) Close this window, problems solved.
That’s my preferred player, I always use it and surely many of you do too. It is very important to have it working correctly, so:
1) Run vlc.
2) Settings –> Preferences.
3) Selct Video and then outpoot modules.
3) Check the little “Advanced options” check box on the button left corner of this window.
4) New options will now appear, so in Video outpoot choose “X11 video out”.
5) Save and exit. Mission completed.
I never use it and every time I try to open something with it, it never works ;P but if you use it…:
1) Run Mplayer.
2) Right click on the screen and select Preferences.
3) Select the video tag and in available drivers choose X11 (XImage/Shm).
4) Save and restart the application.
Very useful if you use Kaffeine or Totem with xine:
1) Run xine.
2) File –> configure –> preferences.
3) In experience_level select “Master Of The Known Universe” so that all the setting become visible.
4) Select the video tag.
5) In driver choose “xshm”.
6) Restart Xine.
Few passages are needed to configure it:
1) Run Real Player.
2) Move to Settings –> preferences.
3) Select the “Hardware” tab.
4) Uncheck the check box “UseXVideo”.
5) Restart Real Player.
Transparent Full Screen problem
This is a problem that only occurs with Compiz Fusion. So to set it properly we’ll need CompizConfig Settings Manager. You can access it from System –> Preferences in Gnome or using the Compiz Fusion Icon I described you in THIS article.
Now click on the “General” button (On the left) and then select the General Options button. Move to the Opacity Settings tab. Select the existing string, edit it and substitute it with this line:
((type=Unknown | Menu | PopupMenu | DropdownMenu | Tooltip | Notification | Combo | Dnd | name=sun-awt-X11-XWindowPeer) | (type=Normal & override_redirect=1)) & !(name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer | state=fullscreen | name=^x11$ | name=^xv$ | name=^xine Video Window$)
Set the Opacity Value to 100 and click OK. The trick is done, try it yourself! The people there at opencomposite say that this is not a bug but a simple setting issue… well, that’s exactly what a bug is. Something unsolved that makes a program behave in a different way than that it should be meant to act. So, call it whatever you like, for me it is a bug and I’m sure you agree with me since it has to be solved manually and sistematically on each Compiz Fusion installation ;P