LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2016, 10:41 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,690

Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
Screen tearing in chromium netflix


I am using Alien Bob's chromium package to watch netflix. Everything is working fine but I am getting really bad horizontal screen tearing. I have tested in KDE/Mate/Mate-Compiz/Xfce and I get tearing in all off them. I am thinking this is possibly an nvidia driver issue. I am going to uninstall my nvidia driver and try with nouveau but I just wanted to see if anyone else is having this issue or has any hints on how to fix it?
 
Old 03-10-2016, 11:56 PM   #2
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
Enable v-sync that will eliminate tearing.
 
Old 03-11-2016, 12:03 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Save the following as /usr/share/X11/xorg.conf.d/10-tearingfix.conf:

Code:
Section "Screen"
        Identifier      "nvidia"
            Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

        Option          "TripleBuffer"                  "on"
        Option          "AllowIndirectGLXProtocol"      "off"
EndSection
 
Old 03-11-2016, 09:02 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,690

Original Poster
Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
Thanks for the replies. I finally figured it out. I had to dig a little deeper in my google searching but I found these pages that lead me to the answer.

https://www.pantz.org/software/chrom...den_menus.html
http://ubuntuforums.org/showthread.php?t=2251728

It turns out that hardware acceleration was disabled even though it was enabled in settings. Launching chromium from the command line with --disable-gpu-sandbox and enabling "Override software rendering list" in chrome://flags enabled hardware acceleration and fixed the tearing. Chromium did give me a warning about unsupported option and possible instability but so far it is working fine.

Last edited by Daedra; 03-11-2016 at 09:04 AM.
 
2 members found this post helpful.
Old 03-28-2016, 01:22 AM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Daedra, THANK YOU! You've allowed me to get rid of the performance-killing "solutions" that I've been using.

I set the following to make it permanent:

Code:
export CHROMIUM_USER_FLAGS=" --disable-gpu-sandbox "
 
Old 03-28-2016, 05:07 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by dugan View Post
Daedra, THANK YOU! You've allowed me to get rid of the performance-killing "solutions" that I've been using.

I set the following to make it permanent:

Code:
export CHROMIUM_USER_FLAGS=" --disable-gpu-sandbox "
The CHROMIUM_USER_FLAGS overrule every setting made in /etc/chromium so that is kind of a last resort - for instance your Flash plugin will no longer work.
It's more elegant to create a new file in /etc/chromium and have the filename end in ".conf".
Inside you put:
Code:
CHROMIUM_FLAGS="$CHROMIUM_FLAGS  --disable-gpu-sandbox"
 
3 members found this post helpful.
Old 03-28-2016, 06:24 PM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,690

Original Poster
Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
Yeah that is better. Thanks Eric and Dugan.

Last edited by Daedra; 03-28-2016 at 06:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen tearing. Death On Wings Slackware 23 01-29-2016 08:59 PM
[SOLVED] Netflix error code M7063-1913 - Chromium 42.0.2311.90 nickboarder27 Slackware 6 05-01-2015 07:01 PM
[SOLVED] Screen tearing with VLC only Daedra Slackware 6 08-27-2014 08:26 PM
[SOLVED] How To Minimize Screen Tearing Pinonoir Slackware 6 07-02-2014 08:05 PM
Nvidia Screen tearing with Xv kryptobs2000 Linux - Software 0 01-15-2008 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration