Screen tearing in Ubuntu with Nvidia/Intel graphics

smit3119

I really hope someone here can help, because I'm very close to giving up and moving back to Windows. I have an MSI GT70 Dominator with an i7-4710MQ 2.5 GHz, Intel HD 4000 (I'm pretty sure) integrated graphics card, and a GeForce GTX 970M/PCle/SSE2 dedicated graphics card. I started with a stock install of Ubuntu 14.04.3, and there is terrible screen tearing in every program I've tried, from Chrome to Minecraft to L4D2. I'm using the proprietary Nvidia drivers (version 346.82 from nvidia-346) because I've heard they get the best performance. By screen tearing, I mean that it's as though vsync is off- when something is moving, you can see horizontal lines where the frames are off.

I've tried going to Nvidia X Server Settings to turn on "Sync to VBlank", but the problem persists.

I tried installing Bumblebee as well, but when using the optirun command to open a browser and going to a Youtube video, the screen tearing is still there.

I've also tried going to usr/share/lightdm/lightdm.conf.d and editing the 5-xserver-command.conf to have the -bs option.

After some advice from reddit, I upgraded to 15.04, but that didn't work.

I tried setting my Nvidia power settings to high, no luck.

I've tried Compton and Compiz, neither did squat.

In nvidia-settings, the X Server Display Configuration, there is no screen displayed in "Layout", X Screen 0 is the only thing selectable in "Model", and whenever I try to Save to X Configuration File, it says "Failed to generate X config file!"

I've tried this link, nada.

I've rebooted after every attempted fix. I really want to use Ubuntu, but if this screen tearing persists, I might just have to go back to Windows, it's horribly distracting. Please, please, please help me. Any help anyone can give will be greatly appreciated, thanks!

tbh

Create /etc/X11/xorg.conf.d/20-intel.conf containing

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TearFree"    "true"
EndSection

That should fix everything.

Source is https://wiki.archlinux.org/index.php/Intel_graphics#Tear-free_video

Note: This only works if you're using bumblebee.


Note from comments: Since 10.10 the config file directory is now /usr/share/X11/xorg.conf.d

Starting from Ubuntu 16.04 LTS * you can use the following script to switch between NVIDIA and INTEL's graphics cards and besides it corrects the video/screen tearing on INTELs environment: https://github.com/bauca/graphics-switcher

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Screen tearing in Ubuntu with Nvidia/Intel graphics

From Dev

Screen Tearing on Ubuntu Xorg 20.04 with Intel Graphics

From Dev

Screen tearing with Intel graphics

From Dev

Screen tearing with Intel graphics

From Dev

Screen Tearing and Horizontal Lines on Ubuntu 16.04 NVIDIA/Intel Graphics

From Dev

Screen Tearing Ubuntu 18.04

From Dev

Distorted graphics on linux screen flashes and heavy tearing

From Dev

"Solution" to Intel Graphics Screen Tearing/Flickering Causes Excessive Fan Use in Ubuntu 16.10/17.04/17.10

From Dev

"Solution" to Intel Graphics Screen Tearing/Flickering Causes Excessive Fan Use in Ubuntu 16.10/17.04/17.10

From Dev

Screen tearing in Xubuntu, no problem with Ubuntu

From Dev

UBUNTU 19.04 Screen Tearing PC

From Dev

[Solved]Screen Tearing in games after shifting to ubuntu

From Dev

Full screen video tearing in firefox Ubuntu 19.04

From Dev

Screen tearing on youtube videos UBUNTU 20.4

From Dev

Tearing graphics in SCNView

From Dev

How do I solve screen tearing on Ubuntu 18.04 with NVIDIA?

From Dev

JScrollPane Screen Tearing

From Dev

nvidia screen tearing in Xubuntu

From Dev

Screen tearing in Chromium browser

From Dev

How to detect screen tearing programmatically?

From Dev

How to detect screen tearing programmatically?

From Dev

Screen tearing on google chrome in 15.10

From Dev

Video Tearing Ubuntu 14.04 ATI

From Dev

Video Tearing Ubuntu 14.04 ATI

From Dev

Screen tearing using pygame on Raspberry Pi

From Dev

How does Windows Aero prevent screen tearing?

From Dev

Screen Tearing After Kubuntu Upgrade 15.10 -> 16.04

From Dev

Screen tearing on Nvidia GTX960m

From Dev

Screen tearing using pygame on Raspberry Pi

Related Related

HotTag

Archive