You are not logged in.

#1 2021-02-11 21:17:09

_112
Member
Registered: 2021-02-11
Posts: 10

NVIDIA Dual display lag

When using dual displays. There is major lag happening on the screen mouse is stuttering etc almost like the refresh rate has been set to 5hz. But when I disabled my second screen in nvidia-settings. All turns back to normal. It's hard to explain what happens but I have linked a video to show what happens here

Logs Here using command "lspci > log.txt && lsusb >> log.txt && journalctl -b -0 >> log.txt && cat log.txt | curl -F 'f:1=<-' ix.io "

I am using the latest version of the Linux kernel and Nvidia drivers supplied by arch.

Offline

#2 2021-02-11 22:17:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: NVIDIA Dual display lag

Please post your xorg log (after adding - and removing if you want - the second output)

Offline

#3 2021-02-11 22:58:07

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

Here is the log Started with both outputs went to 1 then back to 2

Offline

#4 2021-02-12 15:42:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: NVIDIA Dual display lag

There's no stale modesetting control (the driver is properly unloaded) and the outputs are identical.
The video doesn't suggest a compositor (the full composition pipeline is btw. active for a dual display anyway) but raises the question whether this is limited to the input device: do eg. videos or xscreensaver hacks play w/ proper framerate or are they limited as well?
Do you get excessive CPU load in this situation?

Offline

#5 2021-02-13 05:43:16

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

Um, I don't really understand that reply. The issues happen on a clean install of just Nvidia drivers and the WM. No screensavers nothing. I don't think I have the DRM kernel mode setting added. And there is no excessive CPU load when it happens. I assume the Nvidia driver is loaded because with 1 monitor its working fine no issues

Offline

#6 2021-02-13 08:43:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: NVIDIA Dual display lag

It's a recap of your xorg log and the request to try the behavior on something that produces frequent output at an expected frequency >> 5Hz to ensure that this is not restricted to the input (ie. that it's not a problem with the display but that the pointer actually jumps between positions)

Offline

#7 2021-02-13 10:41:11

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

I don't really know how to test it. I have tried other DP ports (I have 3) and all of them do the same. I could try 1 HDMI and 1 DP. But the issues only happens with 2 monitors connected. With 1 no matter what port the issue doesn't occur

Offline

#8 2021-02-13 10:43:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: NVIDIA Dual display lag

Play a video or run glxgears or whatever. Does that stutter too?

Offline

#9 2021-02-13 11:13:33

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

Yes glxgears does stutter and so does video. But the glxgears shows its running at normal fps in the console output

Offline

#10 2021-02-13 13:47:43

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

Here is a video showing glxgears running https://www.youtube.com/watch?v=LqDdMBW7XLk ALso I testing with 1 DPI and 1 HDMI and the HDMI cable screen runs smooth. But the DP cable screen is still having the issues as before.

So it goes

DP + DP = Both lag
DP + HDMI = HDMI smooth, DP lag
1 DP = Smooth
1 HDMI = Lag

Last edited by _112 (2021-02-13 13:55:20)

Offline

#11 2021-02-14 08:30:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: NVIDIA Dual display lag

The thing certainly has a 6/8-pin connector for dedicated power supply. Did you feed that?
If yes, does the same happen w/ the LTS kernel?

Offline

#12 2021-02-14 18:17:36

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

All power pins are connected. Using windows there is no trouble with the card. I have tested it with LTS kernel also with kernel version 4.19.175 and still the issue persists

Offline

#13 2021-02-14 20:13:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: NVIDIA Dual display lag

_112 wrote:

Using windows

See the third link in my signature.
(The only reason is that this is weird and a hibernating windows will have weird effects, there's no strong argument that it's the cause)

Offline

#14 2021-02-15 11:09:22

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

Tried still the same issue. Windows isn't even on the drive Linux is on. Grub is installed on the Linux drive not the windows drive also. I think I should make an issue on the Nvidia forums. As I think this is a driver issue

Offline

#15 2021-02-15 13:25:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: NVIDIA Dual display lag

Windows isn't even on the drive Linux is on.

ftr, that's irrelevant.
The hibernating system leaves the HW in an undefined state - the physical location of the installation doesn't matter.

As I think this is a driver issue

Possibly.
Did you check whether nouveau shows the same behavior?

Offline

#16 2021-02-15 14:36:33

_112
Member
Registered: 2021-02-11
Posts: 10

Re: NVIDIA Dual display lag

Nouveau doesn't cause an issue. So I think it's the Nvidia drivers

Offline

Board footer

Powered by FluxBB