mbroemme / vdi-stream-client Goto Github PK
View Code? Open in Web Editor NEWVDI Stream Client is a very tiny, low latency and GPU accelerated client to connect to Windows running Parsec Host.
License: GNU General Public License v3.0
VDI Stream Client is a very tiny, low latency and GPU accelerated client to connect to Windows running Parsec Host.
License: GNU General Public License v3.0
My host event loop:
case HOST_EVENT_USER_DATA: {
char *data = ParsecGetBuffer(parsec, event.userData.key);
printf("udata id: %d, data: %s\n", event.userData.id, data);
ParsecFree(parsec, data);
break;
To change the host's screen resolution directly in client, Parsec send this message:
udata id: 11, data:
{
"video": [
{
"output": "none",
"encoderMaxBitrate": 10,
"encoderFPS": 0, // 0 to keep the host settings
"resolutionX": 1920, // expected value
"resolutionY": 1080,
"fullFPS": false, // true to tell the host records upto FPS limit
"hostOS": 0
},
{
// same as previous, but resolutionX and Y are 0
},
{
// same as previous
}
]
}
Seems Parsec supports upto 3 video streams, but only 2 (NUM_VSTREAMS) in SDK.
Moreover, I found two empty udata every a few long secs:
udata id: 9, data:
udata id: 10, data:
And we've already known 7 (PARSEC_APP_CLIPBOARD_MSG) is used to transfer clipboard data 😄
Could you show us how to install this VDI tool on chimera OS based on arch linux.
please provide short quick video
Thank you for this project, it's incredibly useful and the client performs rather well.
Everything works great with xwayland, but as soon as SDL_VIDEODRIVER=wayland is set I don't seem to get any rendered output even though the connection is established and no errors are being returned:
Initialize SDL
Initialize TTF
Initialize Parsec
Disable audio streaming
Connect to Parsec service
Connect to Parsec host
Initialize Video Decoder
Use resolution 1920x1080
wayland log
waydebug.log
It's not clear to me if native wayland is supported or not - no errors suggests that it might be, but no rendered window could suggest issues with my setup or something larger.
I'm using sway as my wm, so not sure if tiling could be causing some issues but I don't see how - any input would be much appreciated
VDI stream client is a great tool. Does the host support Mac now? If not, is there any plan to support it in the future?
Hi,
I just installed from AUR and made it work - so far documentation was helpful!
Now, I am not able to "leave the window" with my keyboard / mouse cursor inputs using ctrl+alt (which was a pretty useful info printed in the title bar).
Situation is funny now, because every time I try to kick myself from parsec, I get reconnected, so no chance to leave the streaming window on the client side.
On the host side, I cannot quit parsec, because I cannot kick myself (long enough for my screen to go back from black).
I feel a bit stuck :D
Workaround?
ctrl+alt+F1 (/F2/F3 etc.) seem to work, so i might switch to console and kill the streaming client from there.
Hello.
Parsec doesn't support Linux hosts but for me it's must have feature. I don't use Windows. I would like to have a good arm64/amd64 alternative to Anydesk for remote work via cloud servers. Seems like your app can be that alternative.
In readme you wrote:
VDI Stream Host application seems reasonable
Do you have plans for creating the host application in the future that supports Linux?
compiling the repo with the latest parsec version cause a compile error:
make all-recursive
make[1]: Entering directory '/workspace/template-nix/vdi-stream-client-0.2.0'
Making all in src
make[2]: Entering directory '/workspace/template-nix/vdi-stream-client-0.2.0/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -g -O2 -c -o vdi_stream_client-parsec.o `test -f 'parsec.c' || echo './'`parsec.c
parsec.c: In function ‘vdi_stream_client__cursor’:
parsec.c:76:14: error: ‘ParsecCursor’ {aka ‘struct ParsecCursor’} has no member named ‘modeUpdate’; did you mean ‘imageUpdate’?
76 | if (cursor->modeUpdate == SDL_TRUE) {
| ^~~~~~~~~~
| imageUpdate
make[2]: *** [Makefile:429: vdi_stream_client-parsec.o] Error 1
make[2]: Leaving directory '/workspace/template-nix/vdi-stream-client-0.2.0/src'
make[1]: *** [Makefile:385: all-recursive] Error 1
make[1]: Leaving directory '/workspace/template-nix/vdi-stream-client-0.2.0'
make: *** [Makefile:326: all] Error 2
looking at their SDK changes with previous version ( 5.0 ), they replace modeUpdate
with hidden
. changing the code will compile it fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.