How to switch between unity-3d and unity-2d without logging off?
When using Unity-3d, Compiz has annoying side-effects on videos.
When watching a video with any player, it is a bit jerky : it looks like a frame is dropped once in a while.
If you switch to Unity-2d (that does not use Compiz), the video is correct.
There is the same problem and workaround for 3D graphics (games etc).
My computer has a Core i5-650 processor, with Intel HD graphics. It has far enough power to decode videos, even in full HD.
When watching videos, the CPU stays low (in 2d and 3d).
The behavior is the same with all the players I tested : totem, vlc, XBMC.
On the XBMC website, Compiz is said to be "not compatible with XBMC" : http://
I tested the suggested workaround (Unredirect Fullscreen Windows) but it did not solve the problem. I also tested many other options (sync to vblank etc) : none worked, so I reverted to default compiz settings.
I would need to keep unity-3d most of the time, and sometimes be able to display a fullscreen video on the secondary screen (HDMI output), while keeping my windows and session on the main screen.
On Ubuntu 10.04 (Lucid), I did it "easily" by switching to metacity, with a "metacity --replace &" command-line. A "compiz --replace &" switched back to Compiz.
It still works with Unity on Precise beta 1 (except I also have to run "gnome-panel &" to have the panels), but it has a few drawbacks :
- I loose the menus of every open window on the main screen (because of the global menu of unity)
- It's very disturbing because the look and feel of unity and metacity are quite different. For example, I still tend to move the mouse on the left to open an application or switch between them...
That's why I was thinking that switching temporarily to unity-2d could be a solution.
But I did not find how to do it without logging off.
Fore reference, here is the way I was doing it with metacity on Lucid : http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- unity-2d Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Gerry Boland
- Solved:
- Last query:
- Last reply: