TigerVNC / tigervnc

High performance, multi-platform VNC client and server
https://tigervnc.org
GNU General Public License v2.0
5.08k stars 932 forks source link

Display is not refreshed unless mouse movement over time #1838

Open joeg1484 opened 3 hours ago

joeg1484 commented 3 hours ago

Describe the bug Client connected with vncviewer and seems to start fine without issues, however, over time, the connection seems to stop updating the screen unless you move the mouse over the viewer screen. The setup is kiosk mode with Gnome and view only.

We are using it on a local lan, so just a couple switches on a 40g fiber network. We see traffic passing between the systems using tcpdump, but when the system stops updating, all VNC traffic stops - until you move the mouse over the viewer, then it kicks back up with traffic.

We suspected packet drops and tcp re-transmits, but have been assured by network team that there are no errors on the 40g switches or the ports the systems are connected to.

To Reproduce To reproduce, we just have to kill the connection with vncviewer and reconnect. Again, initially it will start fine, but over time will degrade.

The time it takes can be from 5 min to several hours.

Expected behavior We expect the viewing session to continue to update the screen for changes over the course of the connection

Screenshots Unfortunately, this is a classified environment, so I will not be able to provide screen shots, but I can get you the information you need.

Client (please complete the following information):

Server (please complete the following information):

Additional context

Here is the xorg.conf we are using on the server side:

` Section "DRI" Mode 0666 EndSection

Section "ServerLayout" Identifier "TwinLayout" Screen 0 "metaScreen" 0 0 Option "AllowNVIDIAGPUScreens" "true" EndSection

Section "Monitor" Identifier "Monitor0" Option "DPMS" "false" Option "CustomEDID" "DFP:/etc/X11/edids/dell_32edid.bin" EndSection

Section "Monitor" Identifier "Monitor1" Option "DPMS" "false" Option "CustomEDID" "DFP:/etc/X11/edids/extron4k_edid.bin" EndSection

Section "ServerFlags" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" Option "BlankTime" "0" EndSection

Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "Quadro RTX 8000" BusID "PCI:33:0:0"

#Option "DamageEvents"  "True"
Option         "UseEDID" "true"
Option         "ConnectedMonitor"   "DFP-0, DFP-1"
Option         "metamodes" "DFP-0: 3840x1440 +0+0, DFP-1: 3840x1440 +2560+0"

EndSection

Section "Screen" Identifier "metaScreen" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Modes "3840x2160" EndSubSection EndSection `

This systems is one of about 200 we have in this environment and they are connected by 2 monitors, sometimes 4. This is the only system we are connecting remotely with vnc as a monitor system. We are unable to test on other systems due to the nature of our business.

Please let me know if you need more information and I will provide it.

Thanks!

CendioOssman commented 1 hour ago

If it stops updating after a while, isn't it just screen blanking that kicks in?

Can someone have a look at what's happening locally at the machine when things stop? Doesn't it resume if the local mouse is moved?