Choose style:

Author Topic: Fix screen tearing on Intel graphics chips  (Read 5522 times)

0 Members and 1 Guest are viewing this topic.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 18542
  • Karma: 2171
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Fix screen tearing on Intel graphics chips
« on: November 25, 2015, 07:12:54 am »
I'm putting this here rather than the official tutorials section because I can't guarantee it'll work for everyone .. but it's certainly worked for me on 3 PC's with Intel graphics chips that were using the i915 driver.

This is ONLY for Intel graphics .. do NOT use this for nVidia or AMD/ATI graphics cards.

First check if you do indeed have an intel graphics chip .. open a terminal and run:
Code: [Select]
inxi -G

If that says you have intel graphics hardware and are using the i915 driver, carry on below....

First check you have a screen tearing issue in the first place .. if you see horizontal tearing in this video carry on below:-


The FIX

Open a terminal and run these commands in sequence:
Code: [Select]
sudo apt-get install mesa-utils
then
Code: [Select]
sudo mkdir -v /etc/X11/xorg.conf.d
then
Code: [Select]
echo -e 'Section "Device"\n Identifier "Intel Graphics"\n Driver "Intel"\n Option "AccelMethod" "sna"\n Option "TearFree" "true"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
now REBOOT to pick up the changes.   <-- It's IMPORTANT that you reboot to apply the changes



To UNDO

Open a terminal and run:
Code: [Select]
sudo rm -v /etc/X11/xorg.conf.d/20-intel.conf
and REBOOT.



Source:
http://www.apolitech.com/search/label/Drivers
« Last Edit: January 05, 2018, 07:43:39 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 2998
  • Karma: 695
    • View Profile
  • Peppermint version(s): Peppermint 7 & 8 64 bit
Re: Fix screen tearing on Intel graphics chips
« Reply #1 on: April 06, 2016, 10:01:57 am »
I love this tutorial.  I'm running Intel HD graphics on this desktop computer I'm running and the tearing while scrolling in Firefox was driving me nuts. (I know, short trip)  Anyway, I applied the fix and no more tearing.  Thanks as always, Mark.  8)

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 18542
  • Karma: 2171
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Re: Fix screen tearing on Intel graphics chips
« Reply #2 on: April 07, 2016, 09:47:03 pm »
And as always, you're welcome my mate :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PingTway

  • nOOb
  • *
  • Posts: 2
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Fix screen tearing on Intel graphics chips
« Reply #3 on: June 04, 2016, 08:40:30 pm »
I apologize  for my ignorance.. what does screen tearing look like?

Thanks

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 18542
  • Karma: 2171
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Re: Fix screen tearing on Intel graphics chips
« Reply #4 on: June 04, 2016, 08:54:25 pm »
Hi PingTway, and welcome to the forum :)

Click this picture to enlarge

WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec


Offline PingTway

  • nOOb
  • *
  • Posts: 2
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Fix screen tearing on Intel graphics chips
« Reply #5 on: June 05, 2016, 03:44:49 am »
Ok, thanks. I see now. Yes I have something like that I will try your suggestion now.

Offline marcdutonkin

  • Jr. Member
  • **
  • Posts: 28
  • Karma: 0
  • New Forum User
    • View Profile
Re: Fix screen tearing on Intel graphics chips
« Reply #6 on: June 05, 2016, 08:19:11 pm »
 This fix works well on my NUC as long as the screen is not put to sleep.  However, if you set the power management preferences to put the screen to sleep when the computer is inactive, the screen tearing issue reappears after screen wakeup.
To fix this situation it is also necessary to set the "Synchronize drawing to the vertical blank" desktop effect in Peppermint6 Control Center.

Offline MDP602

  • nOOb
  • *
  • Posts: 1
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Fix screen tearing on Intel graphics chips
« Reply #7 on: July 01, 2016, 03:15:19 am »
Hello,

I was getting screen tearing on my install of Peppermint OS 7  in full screen and not full screen. I have Intel HD 4000 graphics. I then tried the above installing the Mesa driver which fixed the screen tearing, but however while in full screen now (watching YouTube videos in Google Chrome) I get screen glitches :( Not sure if there is another way to fix the screen tearing or if a way to fix the screen glitches while using the Mesa driver for this Intel HD 4000 graphics.

Thanks for the help.

*If needed, this is a laptop Lenovo ideapad P500 with Intel i7 CPU, 8GB Ram, Intel HD 4000 graphics*

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4337
  • Karma: 936
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): Peppermint 8, 64-bit
Re: Fix screen tearing on Intel graphics chips
« Reply #8 on: July 01, 2016, 03:42:37 am »
Hi MDP602 welcome to the Peppermint Forum  8).  Launch Google Chrome.  Click on the three stacked dots symbol in the top right corner of the screen.  Select: Settings and scroll down to: + Show advanced settings and select it.  Scroll down to to Settings and uncheck/deselect: Use hardware acceleration when available.  Close all instances of Google Chrome including any Chrome SSBs, if you have any.  Relaunch Google Chrome.  Did that help  ;)?  If it didn't, try disabling some of the effects in: menu > Favourites > Peppermint Settings Panel > Peppermint Control Center.  From the: Desktop Effects tab, disable all or some of the effects  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Pikolo

  • Trusted User
  • Member
  • *****
  • Posts: 138
  • Karma: 25
    • View Profile
  • Peppermint version(s): 8
Re: Fix screen tearing on Intel graphics chips
« Reply #9 on: January 16, 2017, 08:26:47 pm »
I never noticed the tearing before, but I seem to have it. At least it shows on the white/black stripes video. Can you apply the same fix to newer mesa drivers?
Code: [Select]
pshem@PiLenovo ~ $ inxi -G
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@59.97hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile
           GLX Version: 3.0 Mesa 13.0.3 - padoka PPA
This graphics card is more commonly known as Intel HD4000. The screen tearing is only minor. what are the odds of breaking something with this fix?


Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1403
  • Karma: 245
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8
Re: Fix screen tearing on Intel graphics chips
« Reply #10 on: January 17, 2017, 05:12:44 am »
I've done it on 2nd generation "Sandybridge" and it seemed to help.

Offline utu

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 64-bit Peppermint 7 LiveUSB
Re: Fix screen tearing on Intel graphics chips
« Reply #11 on: January 19, 2017, 11:01:35 pm »
Thanks for this tweak.
I wasn't aware of the problem.
This solves it completely.
Using Xubuntu 16.10 with Xfce4, FYI.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 18542
  • Karma: 2171
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Re: Fix screen tearing on Intel graphics chips
« Reply #12 on: January 20, 2017, 04:06:33 pm »
No problem utu, glad it helped :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline farms

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 64 Bit
Re: Fix screen tearing on Intel graphics chips
« Reply #13 on: February 16, 2017, 05:42:49 am »
PCNetSpec once again thank you i had different intel driver than you said but it works , cheers.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 18542
  • Karma: 2171
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Re: Fix screen tearing on Intel graphics chips
« Reply #14 on: February 16, 2017, 06:21:21 pm »
Mucho welcomeness :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec