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

Bug: black screen sometimes #156

Closed
babaric-dev opened this issue Mar 14, 2023 · 9 comments
Closed

Bug: black screen sometimes #156

babaric-dev opened this issue Mar 14, 2023 · 9 comments

Comments

@babaric-dev
Copy link
Contributor

Sometimes when logging in a server, it shows a black screen. It seems to occur randomly.

@gujjwal00
Copy link
Owner

Yeah, that happened for me too with TigerVNC. Next time it happens, please post the logs from AVNC.

@babaric-dev
Copy link
Contributor Author

babaric-dev commented Mar 16, 2023

I don't want to post the full logcat but which part of the logcat may log this issue?

@gujjwal00
Copy link
Owner

I want to know if the receiver thread has crashed. Usually there is a stack trace in the logs.

BTW, AVNC can't access full logcat. It only shows logs created by itself.

@gujjwal00
Copy link
Owner

After some testing, I am about 80% sure this is a bug in TigerVNC. If you disable clipboard sharing in AVNC Settings, you will be able to trigger it more reliably.

It feels like a race-condition. When extended clipboard is enabled, TigerVNC sometimes drops the initial framebuffer update request. So client ends up waiting for update, while server is waiting for update request.

@gujjwal00
Copy link
Owner

TigerVNC is working correctly. This bug is causes by buffering in LibVNCClient.
Please try the following APK: app-debug.zip

@yuanjv
Copy link

yuanjv commented Mar 26, 2023

TigerVNC is working correctly. This bug is causes by buffering in LibVNCClient. Please try the following APK: app-debug.zip

yes, this version 100% fixed the random black screen for me.
btw, will you include this fix on the next release?

@gujjwal00
Copy link
Owner

Thanks for testing @yuanjv . Yes, it will be included in next release.

@yuanjv
Copy link

yuanjv commented Mar 27, 2023

great

@gujjwal00
Copy link
Owner

v2.2.1 is now available with this fix.

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

No branches or pull requests

3 participants