Maui Forums
Screen Tearing - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Plasma Desktop (https://forums.mauilinux.org/forumdisplay.php?fid=84)
+--- Thread: Screen Tearing (/showthread.php?tid=24037)

Pages: 1 2 3 4


RE: Screen Tearing - rocky7x - 28th October 2016

@sputnik_tr_02: but if glxgears works with both commands then Bumblebee works Wink It means that specific games you are trying to run are having problems. And for that you would need to google a bit about how to run them. It is OK for optirun and primusrun to provide different framerates, because one obeys v-sync and the other doesn't. I have the same result Wink So I would say that the Bumblebee functionality is solved for you - now you have to find the right setup or steps for individual games...


RE: Screen Tearing - wonder - 30th October 2016

(19th October 2016, 10:26)rocky7x Wrote: For screen tearing with Nvidia, try to create a file in /etc/profile.d/ with following content:



Code:
export KWIN_TRIPLE_BUFFER=1

Let the file name be for example kwin_triple_buffer.sh
In my case, I have this 2 lines in kwin.sh:
Code:
export __GL_YIELD="USLEEP"
export KWIN_TRIPLE_BUFFER=1
I don't have laptop, I have a tower with nvidia card, always, fix the tearing with the edit xorg.conf
This days, I search other solutions, and I view this, this 2 lines in kwin.sh
I try with this and works fine.
But I don't know my first line what works made or function.

Regards.


RE: Screen Tearing - sputnik_tr_02 - 31st October 2016

@rocky7x: Yes bumblebee seems to work but not for games, I have tried 7-8 games not a single one worked. I think I have to give up gaming on linux, for a while at least. Because other problem is that whether I use bumblebee or not gaming performance on linux is just terrible, most of the games I tried had almost half of the framerate than windows. Don't get me wrong I am not blaming linux itself for this but it is just an unfortunate fact.

@wonder: Yes I have tried that as well but it does not work on laptops. I think our issue is related to optimus systems. But thanks for the advice it will help those who use Maui on tower systems.


RE: Screen Tearing - rocky7x - 1st November 2016

Hi sputnik_tr_02, Could you maybe paste the command how you run a certain game and the output you get? Does this same game run if you login using Nvidia card? Does it work with intel driver?


RE: Screen Tearing - sputnik_tr_02 - 2nd November 2016

(1st November 2016, 11:42)rocky7x Wrote: Hi sputnik_tr_02, Could you maybe paste the command how you run a certain game and the output you get? Does this same game run if you login using Nvidia card? Does it work with intel driver?

The commands I have tried are: They have worked before so it must be something else.
Code:
primusrun %command% and optirun %command%

I have also tried running steam client itself with primusrun and optirun, client works but games do not. And yes games launch with intel card but as you may guess most of the games unplayable because of poor performance. I think my issue is a conflict between bumblebee and xorg server. I am planning to fresh install Maui 2 in couple of days so I may try it againĀ or just use the intel card for the time being.


RE: Screen Tearing - rocky7x - 2nd November 2016

Hi sputnik_tr_02, well for Steam there are numeous articles on the internet, covering how to get those games working (e.g. https://support.steampowered.com/kb_article.php?ref=6316-GJKC-7437) - the point is (similarly as with Half-Life), that Steam client is one process, which when you start the game triggers another one, but the client doesn't know that it must start the game with optirun/primusrun. Therefore you have to tell it to him somehow. And that you can do by modifying the startup strings in the library, so they contain the optirun command. Check the article, it should be quite easy. As for the games, most of the games use launchers, which then start a secondary process and that is why it doesn't work. There is a good script for Half-Life here https://zipizap.wordpress.com/2012/03/12/half-life-2-wine-and-optirun-bumblebee/ - it can be easily modified for any launcher based game.