raspi / kaukosohva Goto Github PK
View Code? Open in Web Editor NEWPlay games remotely with Linux
Play games remotely with Linux
This could potentially reduce lag later on (if X render lag is too high). Vulkan via layers would be easier to hook into, compared to OpenGL. Of course, if the delay that X causes is insignificant then it will do :)
Managed to get chance for another brief play around with this at the weekend.
At the moment the soundcard is set to:
ASOURCE="autoaudiosrc"
But this has the problem that it can select the wrong soundcard if you have more than one. (I have 1 soundcard for game audio and a usb sound card for microphone/voice audio when using discord)
In the end we used the following command to list the available cards:
pactl list | grep -A2 'Source #' | grep 'Name: ' | cut -d" " -f2
and then changed the ASOURCE to the following:
ASOURCE="pulsesrc device=alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
I am not sure if this is the correct way of doing it but it did work so I am assuming it is :)
I don't currently own any AMD hardware so if someone figures out working hardware encoding/decoding parameters, it would be great.
During my testing over LAN if I specify my LAN adapter directly the streaming seems to work fine but if I use wireguard over my LAN I appeared to be getting many dropped frames on the client causing the screen to be grey a lot of the time...
After reading on the internet about wireguard and dropped packets I came across a post about wireguard and MTU. Someone with an unstable wireguard connection discovered that manually setting the MTU for the wireguard interface dramatically increased stability.
I can confirm (for me at least) that setting the HOST and CLIENT to MTU = 1500 on the wireguard interface fixed the issue for me and wireguard acts just the same as if i was using the real network interface over LAN.
I have not been able to test over an internet connection so I can not confirm if this is even an issue as I believe WAN traffic uses a lower MTU than LAN anyway but its worth posting here incase others are having similar issues.
Clues:
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.