Cinnamon Compositor Screen Tearing in Games - Disable?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Cinnamon Compositor Screen Tearing in Games - Disable?
I'm sad to say that I cannot switch to Linux Mint 15 over Ubuntu 13.04 if I want to have a nice desktop eperience in both cases, and here's why.
Unchecking all check boxes in System Settings > Appearance > Effects, including "Enable desktop effects", does not disable the compositor. Is there a way to disable compositing in Cinnamon?
Within Linux Mint 15, there is a huge difference for gaming due to screen tearing and most likely decreased framerates (haven't verified the latter yet) between when running Cinnamon and when running LXDE or Fluxbox, just to prove that it's not a game or driver settings difference.
Unity in Ubuntu 13.04 runs the games just like Mint 15 does in LXDE and Fluxbox, without screen tearing, and is using the same nVidia driver version. I don't know how they are doing it because it doesn't seem like desktop effects are being turned off upon launching a game. I haven't tried a windowed mode in a game yet but given how fullscreen games slide into place and there is no flickering I highly doublt the compositor is being turned off and they have even said you can't turn it off and that "2D mode is no longer supported" (and indeed is not selectable via the login screen like it was in Ubuntu 12.04).
Given all of this, it seems that Unity is doing something to allow fluid graphics processing even with a compositor, while Cinnamon is not doing this. Or, perhaps Cinnamon is simply not being hardware accellerated while Unity is.
Has anyone had similar experiences, and does anyone know why, and know of a way to disable compositing in Cinnamon or is it not an option?
Thanks!!!
Unchecking all check boxes in System Settings > Appearance > Effects, including "Enable desktop effects", does not disable the compositor. Is there a way to disable compositing in Cinnamon?
Within Linux Mint 15, there is a huge difference for gaming due to screen tearing and most likely decreased framerates (haven't verified the latter yet) between when running Cinnamon and when running LXDE or Fluxbox, just to prove that it's not a game or driver settings difference.
Unity in Ubuntu 13.04 runs the games just like Mint 15 does in LXDE and Fluxbox, without screen tearing, and is using the same nVidia driver version. I don't know how they are doing it because it doesn't seem like desktop effects are being turned off upon launching a game. I haven't tried a windowed mode in a game yet but given how fullscreen games slide into place and there is no flickering I highly doublt the compositor is being turned off and they have even said you can't turn it off and that "2D mode is no longer supported" (and indeed is not selectable via the login screen like it was in Ubuntu 12.04).
Given all of this, it seems that Unity is doing something to allow fluid graphics processing even with a compositor, while Cinnamon is not doing this. Or, perhaps Cinnamon is simply not being hardware accellerated while Unity is.
Has anyone had similar experiences, and does anyone know why, and know of a way to disable compositing in Cinnamon or is it not an option?
Thanks!!!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
I am having the same issue. I have upgraded my nvidia-equipped laptop from Mint 14 xfce edition to Mint 15 Cinnamon and noticed a slowness with Steam games. It would be nice to be able to switch off the compositor prior to running fullscreen 3d games.
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
Did you try Fluxbox, XFCE, LXDE, or something like that in Mint 15 to verify that without a compositing window manager it is faster? I'm sure it will be though. As I said I didn't try any real benchmarks for FPS but the tearing is very much real.strict wrote:I am having the same issue. I have upgraded my nvidia-equipped laptop from Mint 14 xfce edition to Mint 15 Cinnamon and noticed a slowness with Steam games. It would be nice to be able to switch off the compositor prior to running fullscreen 3d games.
Some good benchmark programs if you want to try them: https://unigine.com/products/benchmarks/
You probably shouldn't do Valley on a laptop's GPU though but maybe Sanctuary or something.
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
To fix video tearing in Cinnamon, try this:
1) Open Terminal
2) Issue the following command:
3) Add to end of file:
4) Reboot and see if that fixes the problem
1) Open Terminal
2) Issue the following command:
Code: Select all
gksu gedit /etc/environment
Code: Select all
CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=True
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
This should be reposted as a seperate topic to cure the tearing experienced in Smooth Scrolling in Firefox which it does admirably. - Thank you very much for posting this. You have made my Cinnamon experience much much better.Ginsu543 wrote:To fix video tearing in Cinnamon, try this:
1) Open Terminal
2) Issue the following command:3) Add to end of file:Code: Select all
gksu gedit /etc/environment
4) Reboot and see if that fixes the problemCode: Select all
CLUTTER_PAINT=disable-clipped-redraws:disable-culling CLUTTER_VBLANK=True
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
You are my hero. As Oldbwl said maybe this should be reposted as a sticky or something to fix screen tearing in Linux Mint 15? Who needs Wayland when we have this anyway, lol. Yeah yeah Xorg sucks in other ways apparently...Ginsu543 wrote:To fix video tearing in Cinnamon, try this:
1) Open Terminal
2) Issue the following command:3) Add to end of file:Code: Select all
gksu gedit /etc/environment
4) Reboot and see if that fixes the problemCode: Select all
CLUTTER_PAINT=disable-clipped-redraws:disable-culling CLUTTER_VBLANK=True
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
I'm glad that helped both you guys. I claim no credit as I saw that solution somewhere else in this forum. I just couldn't remember where so I just posted it rather than providing a linky.
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
Just wanted to post up a thanks for this. I had pretty bad tearing when playing snes9x-gtk and Kega Fusion fullscreen. I entered these commands and all is well. Hope this gets implemented by default for future releases, as many of us game on Mint now.
Re: Cinnamon Compositor Screen Tearing in Games - Disable?
Great!! It works...!
Thanks a lot..! I have been fiddling with NVIDIA drivers to fix the screen tearing issue in my mint. But your answer just worked like that I'm happy.
Thanks a lot..! I have been fiddling with NVIDIA drivers to fix the screen tearing issue in my mint. But your answer just worked like that I'm happy.