You are not logged in.

#1 2016-12-25 19:51:55

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Gtx 970 and screen tearing

Hello

Just installed Bunsenlabs, so far i love this distro, but im getting a little screen tearing, for example when i scroll webpage down (Chrome), there is little screen tearing at the top.

My GPU: GTX 970
GPU driver v: 367.57

Any ideas?

Thanks

Offline

#2 2016-12-25 20:03:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

Try https://wiki.archlinux.org/index.php/NV … en_tearing

EDIT: welcome to the forums! big_smile

Last edited by Head_on_a_Stick (2016-12-25 20:04:18)

Offline

#3 2016-12-25 21:21:06

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Re: Gtx 970 and screen tearing

I did some research and it looks like by using this method you will have problem with second display, also it might reduce performance, and afaik broke system if i upgrade my kernel.

Isn't there a better way to do that? hmm

Offline

#4 2016-12-25 21:36:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

You could try using the compositor instead.

Edit the file at /usr/bin/bl-compositor (as root!) and change the EXECXCOMP+= line to this:

    EXECXCOMP+='--backend glx --vsync opengl-mswc'

Then save the file and restart the compositor, either by running:

bl-compositor --restart

Or by using:

Openbox Main Menu → Preferences → Compositor → Restart Compositing

If this doesn't help much then you could try updating to the newer version of compton by adding the BunsenLabs jessie-backports repository:

sudo tee /etc/apt/sources.list.d/bunsen-backports.list <<!
deb http://pkg.bunsenlabs.org/debian jessie-backports main
!

Then update the package database & install:

sudo apt update
sudo apt install compton/jessie-backports

https://www.bunsenlabs.org/repoidx.html … ts-compton

Offline

#5 2016-12-25 21:36:53

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Re: Gtx 970 and screen tearing

Ok i followed this guide:

http://duncanlock.net/blog/2013/06/07/h … g-in-xfce/

And it fixed the problem, but my FPS are locked at 60fps now which isn't really satisfying me hmm

EDIT:  i wrote this post and already tearing happening again...

Last edited by pawel2k (2016-12-25 21:37:16)

Offline

#6 2016-12-25 21:39:33

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

pawel2k wrote:

That does pretty much exactly the same thing as I advised in my last post but adds a potentially risky PPA rather than using the official BunsenLabs repositories.

I *do not* recommend using PPAs in BunsenLabs, they are *not* compatible and may cause major problems.

Offline

#7 2016-12-25 21:42:48

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Re: Gtx 970 and screen tearing

Head_on_a_Stick wrote:
pawel2k wrote:

That does pretty much exactly the same thing as I advised in my last post but adds a potentially risky PPA rather than using the official BunsenLabs repositories.

I *do not* recommend using PPAs in BunsenLabs, they are *not* compatible and may cause major problems.

Ok for now no screen tearing, how can i check if my FPS aren't locked at 60 fps though?

thank you

Offline

#8 2016-12-26 14:48:32

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Re: Gtx 970 and screen tearing

Screen tearing still exists, i guess Nvidia drivers arent best for Linux since i have the problem on multiple DE's

Offline

#9 2016-12-26 15:16:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

Yes, could be.

Have you tried nouveau?

Apparently that's pretty good these days.

Offline

#10 2016-12-26 15:55:19

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Gtx 970 and screen tearing

Head_on_a_Stick wrote:

Yes, could be.

Have you tried nouveau?

Apparently that's pretty good these days.

The trouble with nouveau is that AFAIK you can't use CUDA for gpu rendering with Blender sad


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-12-26 16:15:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

damo wrote:

you can't use CUDA for gpu rendering with Blender sad

Have you tried OpenCL?

https://packages.debian.org/jessie/nvidia-opencl-common

https://wiki.blender.org/index.php/OpenCL

Offline

#12 2016-12-26 16:56:11

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Re: Gtx 970 and screen tearing

I have switched to Ubuntu big_smile , made minimal install with Gnome3 and got 0 tearing, also Steam works perfect, smooth animations etc.

Last edited by pawel2k (2016-12-26 16:56:34)

Offline

#13 2016-12-26 17:08:54

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

pawel2k wrote:

Gnome3 and got 0 tearing

Ah yes, GNOME's compositing is first rate -- you could have just installed that desktop in BL and saved yourself some time wink

also Steam works perfect

Steam works perfect in BL, I think your issues were PEBKAC in nature wink

Anyway, glad you got it sorted smile

Offline

#14 2016-12-26 19:51:07

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Gtx 970 and screen tearing

Head_on_a_Stick wrote:
damo wrote:

you can't use CUDA for gpu rendering with Blender sad

Have you tried OpenCL?

https://packages.debian.org/jessie/nvidia-opencl-common

https://wiki.blender.org/index.php/OpenCL

blender.org wrote:

CUDA
Nvidia CUDA is supported for GPU rendering with Nvidia graphics cards. We support graphics cards starting from GTX 4xx (computing capability 2.0).
Cycles requires recent Nvidia drivers to be installed, on all operating systems.

OpenCL
OpenCL is supported for GPU rendering with AMD graphics cards. We only support graphics cards with GCN architecture (HD 7xxx and above).


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#15 2016-12-26 22:48:25

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Gtx 970 and screen tearing

pawel2k wrote:

I have switched to Ubuntu big_smile , made minimal install with Gnome3 and got 0 tearing, also Steam works perfect, smooth animations etc.

Sad to see ya switch to Ubuntu though!  Is this a case of Compton ( BL's screen compositor) not being able to handle the support for the GPU in use?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#16 2016-12-26 22:53:13

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Gtx 970 and screen tearing

Horizon_Brave wrote:

... Is this a case of Compton ( BL's screen compositor) not being able to handle the support for the GPU in use?

More like kernel etc. I am running a Bunsenified Mint on a new laptop + nvidia (Mint worked OOTB, Ubuntu didn't, I gave up with BL!), with Openbox and Compton. The compositor is fine smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#17 2016-12-27 00:57:04

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Re: Gtx 970 and screen tearing

I don't see Linux gaining popularity if such basic stuff is broken =/

Gtx 970 is a very popular GPU so it should work OOTB, but later on when i buy a laptop i will for sure install BT again big_smile

Cheers all

Offline

#18 2016-12-27 01:03:22

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

pawel2k wrote:

I don't see Linux gaining popularity if such basic stuff is broken =/

NVIDIA's support for the open source community is appalling, IMO.

If you want to use GNU/Linux then I would recommend Intel or AMD, the latter now offer their GPU driver freely (as in speech):

https://packages.debian.org/jessie-back … deo-amdgpu

Offline

#19 2016-12-27 01:13:22

pawel2k
Member
Registered: 2016-12-25
Posts: 53

Re: Gtx 970 and screen tearing

Head_on_a_Stick wrote:
pawel2k wrote:

I don't see Linux gaining popularity if such basic stuff is broken =/

NVIDIA's support for the open source community is appalling, IMO.

If you want to use GNU/Linux then I would recommend Intel or AMD, the latter now offer their GPU driver freely (as in speech):

https://packages.debian.org/jessie-back … deo-amdgpu

And yet i have seen so many people say how amazing Nvidia drivers are (even better than Windows!) big_smile
Im wondering why this problem dont exist in Gnome3, maybe there is something else than compton that i could try?

Ubuntu with Gnome3 takes like 5x more ram than BT so it would be nice to get it working.

Offline

#20 2016-12-27 01:43:01

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gtx 970 and screen tearing

pawel2k wrote:

Im wondering why this problem dont exist in Gnome3

As I said, their compositing has always been very good.

The best option is always the native video driver method but that doesn't seem to work for you hmm

Is your GNOME desktop using Wayland?

That offers the best desktop experience for GNU/Linux at the moment, IMO.

Also, to cut down on RAM usage in GNOME be sure to disable all the tracking & indexing features.

Offline

Board footer

Powered by FluxBB