You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Linux Lite 2.0 is great, Compton makes it even better (with Nvidia drivers)

Author (Read 15281 times)

0 Members and 1 Guest are viewing this topic.

Re: Linux Lite 2.0 is great, Compton makes it even better (with Nvidia drivers)
« Reply #17 on: September 30, 2016, 05:09:11 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
I saw this in the comments of this YouTube video, and it helped with my laptop running Intel graphics.  I got similar results installing Compton, but this is simpler.

Quote
If you use XFCE on any distro(I'm guessing) just goto window manager tweaks, goto compositor tab, then click the checkbox for "Synchronize Drawing to the Vertical Blank" this fixed all tearing problems and it looks very smooth now.




These videos help, too:


« Last Edit: October 30, 2016, 11:19:06 AM by torreydale »
Want to thank me?  Click my [Thank] link.
 

 

nomko

  • Forum Regular
  • ***
  • 117
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile
    • My personal Linux site

  • CPU: Intel Core i7

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 4th. Gen. integr. GPU/Nvidia GeForce GTX860M
I'm not sure if this solution works for ALL Nvidia Geforce cards. So please be carefull when applying this solution. Also, when you don't encounter this issue, also DO NOT APPLY THIS SOLUTION. If it ain't broke, don't try to fix it!

As example, i never came across this problem. So, there is no need for me to use this solution.
« Last Edit: March 23, 2016, 05:05:31 AM by nomko »
My laptop:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

I don't need Google, my wife knows everything!

My Linux website
 

 

eightbit

  • New to Forums
  • *
  • 10
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile

  • CPU: G3450

  • MEMORY: 8Gb

  • VIDEO CARD: GTX 460
I went to log in to reply to this topic but apparently my account was gone (Purged?) It was been some time since I logged in so I expected it :)

I just wanted to touch on this to clear something up. The line that Jerry uses is perfect for compton. The config file I posted of in the very first post is not really necessary at all. It was the beginnings of me working with Compton and I was getting more familiar with it. To summarize, what should be done is this:

Code: [Select]
First, install Compton:

sudo apt-add-repository ppa:richardgv/compton
sudo apt-get update
sudo apt-get install compton

Now, get it to run on startup:

Go into the Applications menu and click ‘Settings Manager’, then click ‘Session and Startup’, then select the ‘Application Autostart’ tab,

Click Add and:

Name: Compton
Description: Compositor for X11
Command: compton --backend glx --paint-on-overlay --glx-no-stencil --vsync opengl-swc


Now reboot



Thats it. Everything will run smooth and perfect. Thanks again Jerry for your input and addition. I couldn't live without this in LL :)
« Last Edit: March 20, 2016, 11:56:34 PM by eightbit »
 

 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Open a terminal, do:

Code: [Select]
pidof compton
if it returns a number, its running.
 

 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
I've set up 'compton' using the config.file route - how do I know if it is working?
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
@Jerry
Sorry, I think you answered while I was still editing my post... could you take another look at it.

In your last post you wrote...
leafpad ~/.config/compton.conf

Do I start that line with gksu..?

I don't understand what  touch ~/.config/compton.conf  refers to in your last post.
« Last Edit: August 25, 2015, 10:23:50 AM by m654321 »
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Code: [Select]
touch ~/.config/compton.conf
Code: [Select]
leafpad ~/.config/compton.conf
 

 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
Thanks @Jerry.

How do I do this, from eightbit's opening post in this thread...
Quote
Once it’s installed, create a text file in ~/.config/ called compton.conf with the following contents:

After eightbit's first three lines of code, that I entered into the terminal, I launched  Compton but nothing happened.

I'm a bit confused about the order for eightbit's code 
Code: [Select]
compton --vsync opengl --backend glx -b and jerry's code
Code: [Select]
compton --backend glx --paint-on-overlay --glx-no-stencil --vsync opengl-swc

Which comes first or does one replace the other? Do I start this command line with 'sudo'?  I'm also a bit unsure how to open the configuration file - I've understood that the config. file is not needed if the above command line is used.


Also if I get in a mess, how do I remove Compton - what should I type in the terminal for this?

Many thanks in advance for any help with this.
Regards
Mike
« Last Edit: August 24, 2015, 04:29:08 AM by m654321 »
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
What do you have to lose by trying? If it doesn't make a difference, switch back.
 

 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
My main laptop's GPU is an NVidia Geforce GTX 870M.
Should I be using Compton & will it make the graphics better?

The only obvious graphics problem that I've experienced with the above laptop is a bad dose of 'patchy pixels' when using Google Earth in LL2.4,
which can be viewed with in link  http://imagebin.ca/v/1jogKCOPHlAT

I have attempted to rectify this as a rendering issue, by going into Google Earth's settings, but without success.  Would Compton help?

Regards
Mike
« Last Edit: August 24, 2015, 09:11:06 AM by m654321 »
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Jerry, is your command line to be used even with a single monitor setup?

Not restricted to dual monitors.

Also, just so I understand, that is what you enter in the command line in startup programs, correct?

Correct.
 

 

Lend27

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 75
    Posts
  • Reputation: 10
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4790K

  • MEMORY: 32Gb

  • VIDEO CARD: NVidia GTX760
Jerry, is your command line to be used even with a single monitor setup?
Also, just so I understand, that is what you enter in the command line in startup programs, correct?

Thanks!
Len
 

 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Further to this thread, I've completely swapped over to Compton, and my screen tearing has gone!

Using this to start up:

Code: [Select]
compton --backend glx --paint-on-overlay --glx-no-stencil --vsync opengl-swc
and that's with dual screens :)
 

 

eightbit

  • Guest
I found an even easier method that seems to work great without having to use a config file. Simply add:

compton --vsync opengl --backend glx -b

To the startup line for Compton and it works really great! Compton is a real miracle. Super light and awesome compositor. I wish the XFCE team would replace their internal (flawed) compositor with this one.
 

Re: Linux Lite 2.0 is great, Compton makes it even better (with Nvidia drivers)
« Reply #3 on: September 28, 2014, 02:19:04 AM »
 

eightbit

  • Guest
No problem! I realize many people using Linux Lite are probably not using high end Nvidia cards, but I think that this distro is equally great for high end machines as well. I read somewhere that you were a gamer, and so am I. I find the light resource use of the distro awesome for Steam and especially emulation related gaming (vintage stuff like what Retroarch and Mame provide) and it works so well. This compositor does right when it comes to gaming, that is for sure.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section