Page 1 of 1

How to fix screen tearing in LXQt?

Posted: 29 Nov 2016, 18:26
by AlexSmoke
I can't find a way to fix the screen tearing while using this GUI. On Xfce4 it's easy, I just use compton, but on LXQt, downloading compton and setting it to autostart doesnt do anything. I used the same autostart command like on XFCE, is that the problem? So what should I do, can anyone help? I like how the interface looks alot!

Re: How to fix screen tearing in LXQt?

Posted: 29 Nov 2016, 21:11
by francois
@AlexSmoke:
Welcome to porteus forum. :)

Which version of porteus are you using?

Re: How to fix screen tearing in LXQt?

Posted: 29 Nov 2016, 22:17
by AlexSmoke
francois wrote:@AlexSmoke:
Welcome to porteus forum. :)

Which version of porteus are you using?
Hi, I am using version 3.1. I tried both closed and open source drivers on Nvidia

Re: How to fix screen tearing in LXQt?

Posted: 29 Nov 2016, 22:23
by francois
I asume that you are on the 64 bit architecture. Did you tried one of these two drivers built for porteus:
https://ftp.heanet.ie/mirrors/dl.porteu ... t/drivers/

Re: How to fix screen tearing in LXQt?

Posted: 29 Nov 2016, 22:53
by AlexSmoke
francois wrote:I asume that you are on the 64 bit architecture. Did you tried one of these two drivers built for porteus:
https://ftp.heanet.ie/mirrors/dl.porteu ... t/drivers/
I'm actually on 32 bit. I will try the drivers from the i486 directory and see if it works.
I will let you know how it goes!

Re: How to fix screen tearing in LXQt?

Posted: 30 Nov 2016, 00:35
by francois
What is the nvidia card model that you have?

Re: How to fix screen tearing in LXQt?

Posted: 30 Nov 2016, 03:35
by fulalas
Can you specify if tearing appears only on videos or 3D apps or all apps?

Also, please consider moving to Porteus 3.2.1 as version 3.1 is 2 years old. I've made a LXQt module for this current version, and with Nvidia driver I've managed to avoid tearing on all fullscreen apps -- there's just a little bit on non-fullscreen apps. I'm not using compton because I think it brings more problems that it solves.

Here are some topics about this subject:

viewtopic.php?f=39&t=6361

viewtopic.php?f=39&t=6397 -- these modules don't work with Porteus 3.2.1, only 3.2, but...

viewtopic.php?f=39&t=6391

:good:

Re: How to fix screen tearing in LXQt?

Posted: 30 Nov 2016, 06:23
by AlexSmoke
francois wrote:What is the nvidia card model that you have?
Its an Nvidia 9300 GE. I am using Linux on an older machine, so the components are pretty outdated, but I tried it on my newer one with a GTX 750 TI and it's the same problem.
I have to say though that I managed to fix tearing on XFCE, and MATE, so the graphics card should not be the problem. If I can't do anything, I guess I'l switch to XFCE, but I have been using that GUI on my Arch install for a year and I'd rather try something new. And I dont really like MATE, while KDE and Gnome run like garbage on that old machine.

PS: Trying different drivers didn't work.

Re: How to fix screen tearing in LXQt?

Posted: 30 Nov 2016, 06:45
by AlexSmoke
fulalas wrote:Can you specify if tearing appears only on videos or 3D apps or all apps?

Also, please consider moving to Porteus 3.2.1 as version 3.1 is 2 years old. I've made a LXQt module for this current version, and with Nvidia driver I've managed to avoid tearing on all fullscreen apps -- there's just a little bit on non-fullscreen apps. I'm not using compton because I think it brings more problems that it solves.

Here are some topics about this subject:

viewtopic.php?f=39&t=6361

viewtopic.php?f=39&t=6397 -- these modules don't work with Porteus 3.2.1, only 3.2, but...

viewtopic.php?f=39&t=6391

:good:
Tearing occurs while moving windows on the desktop. Browsing and watching videos with Chrome works perfectly fine. However Firefox is unusable, the tearing is awful. But I am fine with using Chrome, so I guess that's not an issue. As for local video playback, VLC with 3D acceleration off works perfectly, but MPV and Mplayer tear. If I enable 3D acceleration on VLC in also tears.

So I think it might have to do with 3D acceleration, but I don't know why Chrome would behave differently then Firefox. I should mention that while the browsers are outdated on Porteus 3.1, I also experienced the same issue on a fully updated XFCE4 and Arch install. If I disabled compositing, then the tearing would behave the same as on the Porteus. Chrome and VLC work great, Firefox and MPV tear. Installing compton fixed all these issues. Since I am using Linux mainly to watch movies and just learn more about Linux, I haven't run into any downsides from having compton installed.

But I will try the new version and see what happens. The site recommended me that version for some reason, maybe because I selected 32bit. I will see into looking for newer versions even if they are 64bit. I will eventually use it on a better PC anyway.

Re: How to fix screen tearing in LXQt?

Posted: 30 Nov 2016, 07:49
by fulalas
AlexSmoke wrote:Tearing occurs while moving windows on the desktop.
If you could try XFCE, enable 'synchronize drawing to the vertical blank' on Window Manager Tweaks -> Compositor.

I'll tell you what I'm doing to avoid almost all tearing on Porteus XFCE:

1- disable compositor
2- install Nvidia driver

This is enough for everything, except videos. For videos you have to follow this.

If you really want to use LXQt, I can only offer help for the new Porteus 3.2 version.
AlexSmoke wrote:Since I am using Linux mainly to watch movies and just learn more about Linux
That's exactly my case 1 month ago and now I'm in love with Linux and Porteus :)
AlexSmoke wrote:I haven't run into any downsides from having compton installed.
'Each and every compositor causes loss in performance, as indicated by all those benchmarks from Phoronix.'
(https://github.com/chjj/compton/wiki/perf-guide)
AlexSmoke wrote:But I will try the new version and see what happens. The site recommended me that version for some reason, maybe because I selected 32bit. I will see into looking for newer versions even if they are 64bit. I will eventually use it on a better PC anyway.
The website is outdated. Look for the links I told you before. ;)

Re: How to fix screen tearing in LXQt?

Posted: 04 Dec 2016, 00:00
by AlexSmoke
Just an update on what I did. I gave up trying to make LXQt tear free, and instead moved to the newest 64-bit MATE version of Porteus, and I must say it's great! Looks really nice with the custom theme, it's faster then the old one and the browsers more up to date. Compton also works great. So I am glad I made this move!

In other unrelated news, I uninstalled XFCE4 from my Arch distro and replaced it with LXQt. On Arch, LXQt is up to date and compton works perefectly fine, so now I get to play with two new interfaces!