How to fix screen tearing in LXQt?

Get help with LXQt specific problems
Post Reply
AlexSmoke
White ninja
White ninja
Posts: 6
Joined: 29 Nov 2016, 18:17
Distribution: Arch
Location: Romania

How to fix screen tearing in LXQt?

Post#1 by AlexSmoke » 29 Nov 2016, 18:26

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!

User avatar
francois
Contributor
Contributor
Posts: 4945
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to fix screen tearing in LXQt?

Post#2 by francois » 29 Nov 2016, 21:11

@AlexSmoke:
Welcome to porteus forum. :)

Which version of porteus are you using?
Voltaire: Le mieux est l'ennemi du bien.

AlexSmoke
White ninja
White ninja
Posts: 6
Joined: 29 Nov 2016, 18:17
Distribution: Arch
Location: Romania

Re: How to fix screen tearing in LXQt?

Post#3 by AlexSmoke » 29 Nov 2016, 22:17

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

User avatar
francois
Contributor
Contributor
Posts: 4945
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to fix screen tearing in LXQt?

Post#4 by francois » 29 Nov 2016, 22:23

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/
Voltaire: Le mieux est l'ennemi du bien.

AlexSmoke
White ninja
White ninja
Posts: 6
Joined: 29 Nov 2016, 18:17
Distribution: Arch
Location: Romania

Re: How to fix screen tearing in LXQt?

Post#5 by AlexSmoke » 29 Nov 2016, 22:53

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!

User avatar
francois
Contributor
Contributor
Posts: 4945
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to fix screen tearing in LXQt?

Post#6 by francois » 30 Nov 2016, 00:35

What is the nvidia card model that you have?
Voltaire: Le mieux est l'ennemi du bien.

fulalas
Contributor
Contributor
Posts: 587
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: How to fix screen tearing in LXQt?

Post#7 by fulalas » 30 Nov 2016, 03:35

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:

https://forum.porteus.org/viewtopic.php?f=39&t=6361

https://forum.porteus.org/viewtopic.php?f=39&t=6397 -- these modules don't work with Porteus 3.2.1, only 3.2, but...

https://forum.porteus.org/viewtopic.php?f=39&t=6391

:good:

AlexSmoke
White ninja
White ninja
Posts: 6
Joined: 29 Nov 2016, 18:17
Distribution: Arch
Location: Romania

Re: How to fix screen tearing in LXQt?

Post#8 by AlexSmoke » 30 Nov 2016, 06:23

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.

AlexSmoke
White ninja
White ninja
Posts: 6
Joined: 29 Nov 2016, 18:17
Distribution: Arch
Location: Romania

Re: How to fix screen tearing in LXQt?

Post#9 by AlexSmoke » 30 Nov 2016, 06:45

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:

https://forum.porteus.org/viewtopic.php?f=39&t=6361

https://forum.porteus.org/viewtopic.php?f=39&t=6397 -- these modules don't work with Porteus 3.2.1, only 3.2, but...

https://forum.porteus.org/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.

fulalas
Contributor
Contributor
Posts: 587
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: How to fix screen tearing in LXQt?

Post#10 by fulalas » 30 Nov 2016, 07:49

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. ;)

AlexSmoke
White ninja
White ninja
Posts: 6
Joined: 29 Nov 2016, 18:17
Distribution: Arch
Location: Romania

Re: How to fix screen tearing in LXQt?

Post#11 by AlexSmoke » 04 Dec 2016, 00:00

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!

Post Reply