How to fix screen tearing in LXQt?

Get help with LXQt specific problems

How to fix screen tearing in LXQt?

Postby AlexSmoke » 29 Nov 2016, 19: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!
AlexSmoke
White ninja
White ninja
 
Posts: 6
Joined: 29 Nov 2016, 19:17
Location: Romania
Distribution: Arch

Re: How to fix screen tearing in LXQt?

Postby francois » 29 Nov 2016, 22:11

@AlexSmoke:
Welcome to porteus forum. :)

Which version of porteus are you using?
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4786
Joined: 28 Dec 2010, 15:25
Location: Enfin l'été, le changement climatique attendu: le soleil.
Distribution: kde xfce porteus manjaro kubun

Re: How to fix screen tearing in LXQt?

Postby AlexSmoke » 29 Nov 2016, 23: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
AlexSmoke
White ninja
White ninja
 
Posts: 6
Joined: 29 Nov 2016, 19:17
Location: Romania
Distribution: Arch

Re: How to fix screen tearing in LXQt?

Postby francois » 29 Nov 2016, 23: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.porteus.org/x86_64/current/drivers/
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4786
Joined: 28 Dec 2010, 15:25
Location: Enfin l'été, le changement climatique attendu: le soleil.
Distribution: kde xfce porteus manjaro kubun

Re: How to fix screen tearing in LXQt?

Postby AlexSmoke » 29 Nov 2016, 23: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.porteus.org/x86_64/current/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!
AlexSmoke
White ninja
White ninja
 
Posts: 6
Joined: 29 Nov 2016, 19:17
Location: Romania
Distribution: Arch

Re: How to fix screen tearing in LXQt?

Postby francois » 30 Nov 2016, 01:35

What is the nvidia card model that you have?
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4786
Joined: 28 Dec 2010, 15:25
Location: Enfin l'été, le changement climatique attendu: le soleil.
Distribution: kde xfce porteus manjaro kubun

Re: How to fix screen tearing in LXQt?

Postby fulalas » 30 Nov 2016, 04: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:

How to watch videos smoothly with no stutter and no tearing

Understanding Nvidia drivers numbers (plus: xzm modules) -- these modules don't work with Porteus 3.2.1, only 3.2, but...

How to create a Nvidia driver xzm module

:good:
fulalas
Contributor
Contributor
 
Posts: 418
Joined: 26 Oct 2016, 16:34
Location: Brazil
Distribution: Porteus

Re: How to fix screen tearing in LXQt?

Postby AlexSmoke » 30 Nov 2016, 07: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, 19:17
Location: Romania
Distribution: Arch

Re: How to fix screen tearing in LXQt?

Postby AlexSmoke » 30 Nov 2016, 07: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:

How to watch videos smoothly with no stutter and no tearing

Understanding Nvidia drivers numbers (plus: xzm modules) -- these modules don't work with Porteus 3.2.1, only 3.2, but...

How to create a Nvidia driver xzm module

: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.
AlexSmoke
White ninja
White ninja
 
Posts: 6
Joined: 29 Nov 2016, 19:17
Location: Romania
Distribution: Arch

Re: How to fix screen tearing in LXQt?

Postby fulalas » 30 Nov 2016, 08: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. ;)
fulalas
Contributor
Contributor
 
Posts: 418
Joined: 26 Oct 2016, 16:34
Location: Brazil
Distribution: Porteus

Re: How to fix screen tearing in LXQt?

Postby AlexSmoke » 04 Dec 2016, 01: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!
AlexSmoke
White ninja
White ninja
 
Posts: 6
Joined: 29 Nov 2016, 19:17
Location: Romania
Distribution: Arch


Return to LXQt



Who is online

Users browsing this forum: No registered users and 0 guests