Screen tearing on hybrid laptop

I have a Dell Inspiron 7577 laptop. I have some trouble making it sync to V-Blank. The nvidia-settings app doesn’t allow me to Force Full Composition Pipeline, as there is no such option available in the Advanced Settings. That may be related to the fact, that there are actually two GPUs on the system, one of which is Intel’s. The X Server XVideo Settings also shows: Currently synced to display: Unknown.

Exact system specs:

System:    Host: snake-mint Kernel: 4.15.0-62-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
           Desktop: Cinnamon 4.2.4 wm: muffin dm: LightDM Distro: Linux Mint 19.2 Tina 
           base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Dell product: Inspiron 7577 v: N/A serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Dell model: 0XCNGT v: A00 serial: <filter> UEFI: Dell v: 1.8.0 date: 04/19/2019 
Battery:   ID-1: BAT0 charge: 40.5 Wh condition: 40.5/56.0 Wh (72%) volts: 17.0/15.2 
           model: Samsung SDI DELL W7NKD82 serial: <filter> status: Full 
CPU:       Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake 
           rev: 9 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44928 
           Speed: 1138 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 900 2: 899 3: 900 4: 900 
           5: 900 6: 900 7: 900 8: 900 
Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:591b 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell driver: nvidia 
           v: 430.26 bus ID: 01:00.0 chip ID: 10de:1c8c 
           Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia 
           unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 430.26 
           direct render: Yes 
Audio:     Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:a171 
           Sound Server: ALSA v: k4.15.0-62-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
           driver: r8169 v: 2.3LK-NAPI port: d000 bus ID: 3b:00.0 chip ID: 10ec:8168 
           IF: enp59s0 state: down mac: <filter> 
           Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: d000 
           bus ID: 3c:00.0 chip ID: 8086:24fd 
           IF: wlp60s0 state: up mac: <filter> 
           IF-ID-1: virbr0 state: down mac: <filter> 
           IF-ID-2: virbr0-nic state: down mac: <filter> 
Drives:    Local Storage: total: 1.82 TiB used: 321.61 GiB (17.3%) 
           ID-1: /dev/sda type: USB vendor: Samsung model: Portable SSD T5 size: 931.51 GiB 
           serial: <filter> 
           ID-2: /dev/sdb vendor: Seagate model: ST1000LX015-1U7172 size: 931.51 GiB 
           speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 915.37 GiB used: 321.60 GiB (35.1%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 49.0 C mobo: 47.0 C sodimm: 38.0 C gpu: nvidia temp: 46 C 
           Fan Speeds (RPM): cpu: 2289 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/inkscape_dev-stable-bionic.list 
           1: deb http: //ppa.launchpad.net/inkscape.dev/stable/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/kdenlive-kdenlive-stable-bionic.list 
           1: deb http: //ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/kritalime-ppa-bionic.list 
           1: deb http: //ppa.launchpad.net/kritalime/ppa/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list 
           1: deb [arch=amd64] https: //packages.microsoft.com/ubuntu/18.04/prod bionic main
           Active apt repos in: /etc/apt/sources.list.d/mono-official-stable.list 
           1: deb https: //download.mono-project.com/repo/ubuntu stable-bionic main
           Active apt repos in: /etc/apt/sources.list.d/nextcloud-devs-client-bionic.list 
           1: deb http: //ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/obsproject-obs-studio-bionic.list 
           1: deb http: //ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //mirror.yandex.ru/linuxmint-packages tina main upstream import backport
           2: deb http: //mirror.yandex.ru/ubuntu bionic main restricted universe multiverse
           3: deb http: //mirror.yandex.ru/ubuntu bionic-updates main restricted universe multiverse
           4: deb http: //mirror.yandex.ru/ubuntu bionic-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ bionic partner
           Active apt repos in: /etc/apt/sources.list.d/otto-kesselgulasch-gimp-bionic.list 
           1: deb http: //ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/pgdg.list 
           1: deb http: //apt.postgresql.org/pub/repos/apt/ bionic-pgdg main
           Active apt repos in: /etc/apt/sources.list.d/phoerious-keepassxc-bionic.list 
           1: deb http: //ppa.launchpad.net/phoerious/keepassxc/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https: //repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/thomas-schiex-blender-bionic.list 
           1: deb http: //ppa.launchpad.net/thomas-schiex/blender/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/ubuntu-cloud-archive-stein-staging-bionic.list 
           1: deb http: //ppa.launchpad.net/ubuntu-cloud-archive/stein-staging/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64] http: //packages.microsoft.com/repos/vscode stable main
Info:      Processes: 334 Uptime: 2h 20m Memory: 15.53 GiB used: 8.39 GiB (54.0%) Init: systemd 
           v: 237 runlevel: 5 Compilers: gcc: 7.4.0 alt: 7 Client: Unknown python3.6 client 
           inxi: 3.0.32
1 Like

Please try using the kernel parameter
nvidia-drm.modeset=1

Hi, I have a Dell i7-8750H with linux mint 19.2 and I’m trying install the nvidia driver for 1050 Ti Mobile. But, the results are the same many times

Graphics: Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell driver: N/A bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: llvmpipe (LLVM 8.0 256 bits) v: 3.3 Mesa 19.1.2 - padoka PPA direct render: Yes

Would anyone can help with this, please?

NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell driver: N/A

The driver can’t to reading correctly.

Please run nvidia-bug-report.sh as root and attach the resulting .gz file to your post. Hovering the mouse over an existing post of yours will reveal a paperclip icon.
[url]https://devtalk.nvidia.com/default/topic/1043347/announcements/attaching-files-to-forum-topics-posts/[/url]

Hello:

I have the same problem. Attach the file – [url]nvidia-bug-report.log.gz - Google Drive

Notebook Asus:
Intel® Core™ i5-8250U CPU @ 1.60GHz × 8
GeForce GTX 1050/PCIe/SSE2
Ubuntu 19.10
nvidia-bug-report.log.gz (339 KB)

To mitigate tearing on an optimus system, please use kernel parameter
nvidia-drm.modeset=1

In my case option nvidia-drm.modeset=1 disabled external monitor.
Is there any other solution?

HP Pavilion 15-bc203nw with gtx1050
Ubuntu 20.04
nvidia-435

That’s a common bug with unknown reason. Please check if switching to lightdm helps.

No, screen tearing still occurs.

I have discovered when I close my laptop (or just disable internal display) tearing disappears and image becomes smooth.

Hello! I have a GTX 1650 on a notebook running Ubuntu 18.04, and I’m using the NVIDIA driver metapackage nvidia-driver-450. Using the options nvidia-drm modeset=1 , I was able to correct the screen tearing problem almost completely, but when I connect an external monitor through HDMI, it has a LOT of screen tearing.

I also have tried setting “Force Composition Pipeline” in the NVIDIA X Server Settings, it solves the issue, but when I restart the system the notebook monitor stops being recognized (the screen is black, and it is not listed in xrandr). It seems like it is because the Notebook monitor is a PRIME Display, as shown in the link below, and it can’t deal with the X Configuration File that the X Server generates.

NVIDIA X Server Settings

Do you know how to solve that?

In my case (Ubuntu 20.04) updating kernel to 5.8 and drivers nvidia-driver-455 fixed this issue.