Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

directx viewer

Post Reply
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6869
Joined: 2004-04-23 10:21
Contact:

directx viewer

Post by Rudi De Vos »

Just wondering...does almost everybody has directx installed
on the PC they use as viewer ?

Using directX make sizing and update speed a lot faster and smoother.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

more faster than now for same computer 2 computers ?
I'm very impressive about your knowledge for improve UltraVNC speed faster and smoother, so great

easy answer, every windows since windows ME had DirectX already installed,

NT4 sp4 don't have it, but possible
2000 ready installed Direct
XP factory installed DirectX
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
lizard
Former moderator
Former moderator
Posts: 171
Joined: 2004-05-03 07:43
Contact:

Post by lizard »

While I'd like to see one of that experiment, I still doubt the effect of it.
According to a profiled statistics, the drawing phase is rather not CPU sensitive process in the viewer activity any longer.
Once the BitBlt replacement for SetPixel/SetPixelV has been done, the drawing performance drastically improved to very high level.
Now a quick look into the code would show us that more than the drawing part, morphing bitmap data (such as RGB<->BGR, pallete<->24bit) appears likely to use more CPU.
If these kinds of signal processing, though, could be handled in DirectDraw HW acceleration, I think creating a DirectX viewer would be a good choice of speed improvement.
And just a tiny matter that some *ix people might start claiming about SDL compatibility, maybe?

Regards
Lizard
Ares
Former moderator
Former moderator
Posts: 183
Joined: 2005-03-16 18:42

Post by Ares »

Hm that sounds like a pretty good idea if it really speeds things up. Most Windows boxes at least have DirectX 5 on them, except NT4 as redge pointed out.

FYI, my Win98 SE virtual machine has DirectX 4 installed, and I didn't put it on there. So it seems even 98SE has it.


-Ares
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6869
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Directx viewer is even more cpu intensive then blit...

Theoritical it should be less. Possible it has to do with the fact that for each update, foreground/background buffer is switched.

We keep it to blit for now
Post Reply