Comments (6)
Which version of the viewer?
from turbovnc.
2.0.80 (20151217), using Java 8u72 on Windows 7.
from turbovnc.
OK, I'll investigate further. I see a delay on Windows using Java as well, but not nearly as long a delay as what you're seeing.
from turbovnc.
So with the Java Viewer debugging turned on I see this:
DesktopWindow: GraphicsDevice does not support HW acceleration.
PlatformPixelBuffer: Native pixel format is depth 24 (32bpp) little-endian rgb888
PlatformPixelBuffer: Native pixel format is depth 24 (32bpp) little-endian rgb888
CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
CConn: Requesting Tight encoding
CConn: Screen 0 work area: 0, 0 1920 x 1152
CConn: Screen 1 work area: 1920, 0 1920 x 1200
CConn: Spanned work area: 0, 0 1920 x 1152
Viewport: Set geometry to 331, 92 1258 x 967
CMsgReaderV3: Server supports GII version 1
CConn: Enabling GII
CConn: Enabling continuous updates
It takes 7 seconds until "CConn: Screen 0 work area: 0, 0 1920 x 1152" and then another 7 seconds until "CConn: Screen 1 work area: 1920, 0 1920 x 1200" shows up. I have 2 monitors, perhaps that's why my delay is longer?
from turbovnc.
I unplugged my 2nd monitor and it did indeed cut the delay from 14 to 7 seconds.
from turbovnc.
You're running into this issue:
https://bugs.openjdk.java.net/browse/JDK-6477756
Workaround is to set the Java system property sun.awt.nopixfmt
to true. I just checked in a commit to master and 2.0.x that should make this happen automatically. As far as I can tell, there are no ill effects from doing this. Basically, setting sun.awt.nopixfmt=true
tells Java 2D to use the default pixel format instead of probing for all available pixel formats, but I think that's probably fine, because the Java TurboVNC Viewer always tries to use the Windows GDI Java 2D blitter. As far as I understand, probing for pixel formats is only necessary when using the OpenGL or DDraw Java 2D blitters, but I included a safety net in case something goes wrong (the old behavior can be reverted by explicitly setting sun.awt.nopixfmt
to 0 or false.)
from turbovnc.
Related Issues (20)
- vncserver: Wrong type or access mode of /home/tyiot/.vnc HOT 6
- VNCserver cannot start, log prompt Killing Xvnc process ID HOT 4
- Internal SSH client does not support all features of ~/.ssh/config, ProxyJump/ProxyCommand HOT 3
- Consider switching to building with zlib-ng HOT 3
- how do i start turbovnc server automatically on ubuntu 22.04? HOT 1
- Release separate assets for vncviewer and vncserver installers HOT 1
- Can't seem to bring up TurboVNC session on Ubuntu w/ ARM HOT 7
- podman containers fail to start through TurboVNC session HOT 4
- How to configure turbovnc as a systemd service (ubuntu 20.04) HOT 1
- the UI of Display Settings dialog is messy after changing custom scale HOT 2
- Install fails HOT 3
- Can't start TurboVNC in Ubuntu GNOME desktop HOT 10
- JRELoadError with arm64 Mac - version 3.1.1 HOT 3
- Can the software increase support for file copying HOT 1
- No value for `$wm` working HOT 4
- Session Manager behaviour with UDS listening sessions HOT 4
- Browser and other applications missing on Virtual Desktop HOT 12
- Session Manager Error HOT 3
- java.lang.IllegalArgumentException: Value too long HOT 6
- Guidance needed: Trying to get TurboVNC to only serve a single monitor HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turbovnc.