Screen tear and lag when I connect a monitor to my laptop

Hi, I started using zorin os 16 pro version few days ago. I am very new to linux environment. I installed it with nvidia drivers option.
I have fractional scaling enabled. But when I connect an external monitor to my laptop, both screens start to lag. The lag is very bad.

Any suggestion that I can try to fix this?

Hi and welcome to the forum :slight_smile:
When you open the Nvidia setting pane, do you see 2 monitors?


I see 2 monitors.

The positioning of the monitors seems not quite right.
Is it not supposed to be side by side?

My set-up has my monitor hooked to an elevated stand and my laptop is placed below it. Having this positioning affects performance?

Ah, OK.
Now I understand.

I will ask other volunteers.
Since mine is a desktop and I have 2 monitors side by side.

@Michel do you have any idea? It is a NVidia related issue.

What driver do you use ?

System:
Kernel: 5.11.0-40-generic x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11.0-40-generic
root=UUID=87691aae-487f-466b-98fb-10decd17dda6 ro quiet splash
vt.handoff=7
Console: tty 0 dm: GDM3 3.38.2.1 Distro: Zorin OS 16
base: Ubuntu 20.04 LTS Focal
Machine:
Type: Laptop System: ASUSTeK product: TUF Gaming FX505DT_FX505DT v: 1.0
serial:
Mobo: ASUSTeK model: FX505DT v: 1.0 serial:
UEFI: American Megatrends v: FX505DT.316 date: 01/28/2021
Battery:
ID-1: BAT0 charge: 43.6 Wh condition: 43.6/48.1 Wh (91%) volts: 12.9/11.7
model: FX50442 type: Li-ion serial: status: Full
Device-1: hidpp_battery_0 model: Logitech M350 Wireless Mouse
serial: charge: 100% (should be ignored) rechargeable: yes
status: Discharging
CPU:
Topology: Quad Core model: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 18 (24)
stepping: 1 microcode: 8108102 L1 cache: 384 KiB L2 cache: 2048 KiB
L3 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 33537
Speed: 1437 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz):
1: 1428 2: 1943 3: 1923 4: 1263 5: 1389 6: 1397 7: 1342 8: 1397
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: ASUSTeK
driver: nvidia v: 470.82.00 bus ID: 01:00.0 chip ID: 10de:1f91
Device-2: AMD Picasso vendor: ASUSTeK driver: amdgpu v: kernel
bus ID: 05:00.0 chip ID: 1002:15d8
Display: server: X.org 1.20.11 driver: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,vesa compositor: gnome-shell
tty: 80x24
Message: Advanced graphics data unavailable in console for root.
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus ID: 01:00.1 chip ID: 10de:10fa
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 05:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.11.0-40-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: e000 bus ID: 02:00.0
chip ID: 10ec:8168
IF: enp2s0 state: down mac:
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: AzureWave driver: rtw_8822ce v: N/A port: d000 bus ID: 04:00.0
chip ID: 10ec:c822
IF: wlp4s0 state: up mac:
Drives:
Local Storage: total: 476.94 GiB used: 18.46 GiB (3.9%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
serial: rev: 004C scheme: GPT
Partition:
ID-1: / raw size: 190.96 GiB size: 186.96 GiB (97.91%)
used: 18.43 GiB (9.9%) fs: ext4 block size: 4096 B dev: /dev/nvme0n1p5
Sensors:
System Temperatures: cpu: 70.8 C mobo: N/A
Fan Speeds (RPM): cpu: 3500
Use of uninitialized value $val2 in string eq at /usr/bin/inxi line 5821.
Use of uninitialized value $val2 in split at /usr/bin/inxi line 5826.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5828.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5829.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5830.
GPU: device: temp: N/A device: amdgpu temp: 70 C
Info:
Processes: 323 Uptime: 1h 19m Memory: 13.60 GiB used: 6.59 GiB (48.5%)
Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash
v: 5.0.17 running in: tty 0 inxi: 3.0.38

My system info for your reference.

This one.

Try setting the refresh rate to 60, its possible 1 of the 2 has a higher rate that results in lag.

3 Likes

Also - be warned: Fractional Scaling.

I also do not recommend the (Proprietary - Tested) driver. That name makes it sound Stable. It isn't.

2 Likes

Did that. If I do that and reboot my machine, only external monitor works. System doesn't detect my laptop's monitor.
I have to delete the config file in /etc/X11 folder to get both my displays working.
My laptop's monitor is 120 Hz / 48 Hz and my external monitor is 60 Hz.

Can you please suggest which one should I use?

I wonder why the 470 has the tested tag anyway.

Maybe try to install the nvidia driver manually, 495.44 i would suggest. I am using that driver on my gtx 1070 without any problems. Be aware of 470.86, that one i get blackscreens with when booting (happend twice and had to force shut down my system)

2 Likes

@Michel can be trusted for managing Nvidia drivers. :wink:

3 Likes

Will try this.

470.74 is good
470.82.00 is good
470.86 has a regression (on my side)
495.44 is good

I would use 495.44 since 26 october and it runs fine here.

3 Likes

I tried the steps in the guide. Now all I see is the black screen on both my monitors. I think I'll have to do a fresh install.

1 Like

Thats weird, did you download driver 470.86 ? If yes force shutdown and reboot.

Did you unplug the hdmi cable ?

No, 495.44. Did not disconnect my external monitor.