Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tearing / Flickering / Graphical bugs, Nvidia 4060 Ti #261

Open
JubilantJerry opened this issue Jan 15, 2025 · 0 comments
Open

Tearing / Flickering / Graphical bugs, Nvidia 4060 Ti #261

JubilantJerry opened this issue Jan 15, 2025 · 0 comments
Labels

Comments

@JubilantJerry
Copy link

JubilantJerry commented Jan 15, 2025

If you'd like to put out an incentive for fixing this bug, you can do so at https://issuehunt.io/r/LibVNC/x11vnc

Describe the bug

On my system (Ubuntu on Xorg 24.04, Nvidia 4060Ti, LAN connection), the screen seen by the VNC client tends to flicker on random subareas of the screen when there are frequent updates on the screen. I'm not sure if this should be called tearing or flashing or some other visual bug.

The contents that flicker in mostly look like random rectangles that are showing bits of the desktop below the window, they are transient and seem to disappear within 0.1 seconds. The flickering occurs throughout the screen in unpredictable locations.

The issue occurs even if the network connection is very fast between the client and the server. I've tried directly connecting to two via Ethernet, the connection itself would be smooth and the client can see videos play without any lag, but the flickering artifacts still will appear very frequently.

To Reproduce

It seems that x11vnc default options cause the flickering, and I haven't found any options that prevent it.
It is much more likely to happen when my Nvidia GPU is in power mode P5 or higher (i.e. when it is relatively idle). It becomes much less pronounced when my Nvidia GPU is under load and uses power mode P2 or lower.
Flickering is significantly reduced if I use -snapfb, if the Nvidia GPU is also in P2 or lower the flickering almost entirely stops.
A possible workaround for others facing the issue will be to use -snapfb and run CUDA kernels every 10 seconds.

Expected Behavior

Screen should not flicker. It's fine if the screen lags, but flickering is visually more disruptive.

Screenshots

Screenshot from 2025-01-15 16-37-59-1
Screenshot from 2025-01-15 16-38-37-1
Screenshot from 2025-01-15 16-38-37-2
Screenshot from 2025-01-15 16-46-27-1

Desktop (please complete the following information):

  • OS and version: Ubuntu 24.04
  • Xorg version used: xorg-server 2:21.1.12-1ubuntu1.1
  • Graphics driver: nvidia-driver-550
  • VNC viewer: TigerVNC, Remmina

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant