giongto35 / cloud-morph Goto Github PK
View Code? Open in Web Editor NEWDecentralize, Self-host Cloud Gaming/Application
License: MIT License
Decentralize, Self-host Cloud Gaming/Application
License: MIT License
Get "http://178.128.125.200:7700/get-apps": EOF
Maybe I missed this but is there currently support for audio? The diablo demo has no sound. I'm using the Brave browser.
My OS : Windows 10 1909 x64
Sorry to disturb, I'm the rookie in cloud gaming/streaming media programming. I'm using Mac OS, but it doesn't work by your step. Here is the result.
It stacks in "2020/09/18 17:15:50 Launched application VM", Then has no outputs. I checked docker logs, here is the result.
Can you give me some advice? I'm newer in this field, but I want to study.
Hi there. I am starting to test this. Use Ubuntu 20.04 on Windows. I did some pre-installations to get it working, as always. The issue is that when it is running, it reaches a point where it shows me a Firewall window, but the whole process stops, This is the message.
2021/08/27 00:35:07 Launched application VM
2021/08/27 00:35:07 Setup Video Listener
panic: listen udp :5004: bind: address already in use
goroutine 1 [running]:
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.(*ccImpl).newLocalStreamListener(0xc0001044b0, 0x138c, 0x1, 0xc0000ec860)
/home/evan/cloud-morph/pkg/core/go/cloudapp/cloudapp.go:232 +0x26b
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewCloudAppClient(0xc0000ec860, 0x6, 0xc0000ec870, 0xb, 0xc0000ec890, 0x7, 0x0, 0xc0000ec8c0, 0xd, 0xc0000ec8a7, ...)
/home/evan/cloud-morph/pkg/core/go/cloudapp/cloudapp.go:91 +0x375
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewCloudService(0xc0000ec860, 0x6, 0xc0000ec870, 0xb, 0xc0000ec890, 0x7, 0x0, 0xc0000ec8c0, 0xd, 0xc0000ec8a7, ...)
/home/evan/cloud-morph/pkg/core/go/cloudapp/service.go:276 +0xf7
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewServerWithHTTPServerMux(0xc0000ec860, 0x6, 0xc0000ec870, 0xb, 0xc0000ec890, 0x7, 0x0, 0xc0000ec8c0, 0xd, 0xc0000ec8a7, ...)
/home/evan/cloud-morph/pkg/core/go/cloudapp/server.go:71 +0x26c
main.NewServer(0xfcaee0)
/home/evan/cloud-morph/server.go:211 +0x4fd
main.main()
/home/evan/cloud-morph/server.go:314 +0xb8
exit status 2
The Road Rash demo froze when trying to use the 'Save Game As...' menu item from the Restroom. This feature opens a Windows save dialog box to save a game file.
When selecting 'Save Game As...', the save dialog opened correctly. When trying to interact with the dialog to save a file, the dialog disappeared from the screen and the focus was changed back to the game menu. the screen was frozen on the game Restroom menu and no user input was accepted.
my end goal is to get dosbox games running in the same way that the other cores work.
I successfully installed dosbox_pure_libretro.so as a new core and added a game to the games folder
adjusted config.yaml, started up the server and worker and got a game running.
however it seems the keyboard/controller does not map to what the dosbox core expects.
imho I would expect that web/js/input/input.js and web/js/input/keyboard.js have a role to play in the client side of the controller support.
no clue about the server side though.
So this might be a bit off topic, but still I would like to discuss this topic:
My idea would be to use this project as an In-home-streaming solution (just like Nvidia GameStream or Steam Link etc.).
While this is of course to some degree already possible, there are still some scenarios that are not covered natively, for example:
While I am sure that users who are programmers themselves, could change the source code to adjust it for other purposes, it is quite difficult to understand everything for other people.
So the potential solution would be to have easier configurable settings/structures etc., that would allow the users to setup the above mentioned scenarios more easily.
I can of course understand if you say that this is not the scope of this project, but I wanted to mention it, as I think it would be useful for many people.
Thx 🙂 .
Please fix mention about Wine. Wine is not a emulator (even acronym in the name mentions it)
See here for example: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
I know this is a stretch for this project.
I have some projects that I use webrtc video and audio chat in the experience. Is it possible to cloud stream the game/experience but still have access to user hardware for webrtc video and audio chat?
Just curious and no pressure. Thanks!
Hello,
At first thanks for this project, I was looking for some cloud gaming solution but made with opensource. It's more a question than a real issue but do you think it would be possible to use the same process for running a native linux application/game instead of Windows applications with Wine?
Cheers.
It supports v-gpu?if not,how does it support multi-doker if many user use one server to play?
I am thinking about whether i can use nvdia‘s v-gpu to support my server.
I am deploying this project on Ubuntu18.04 and I've done steps one to four. But when I run "go run server.go", there are some problems:
2020/10/22 15:39:38 Starting monitoring server at :3535
2020/10/22 15:39:38 Profiling is enabled at :3535/debug/pprof
2020/10/22 15:39:38 Spawn server
2020/10/22 15:39:38 listening wine at port 9090
2020/10/22 15:39:38 execing run-client.sh
panic: exit status 126
goroutine 1 [running]:
github.com/giongto35/cloud-morph/pkg/core/go/cloudgame.(*ccImpl).launchGameVM(0xc00007f9e0, 0x138c, 0xc000024c80, 0x17, 0xc00002a980, 0xd, 0xc00002a9b0, 0x9, 0x406900, 0x140)
cloud-morph/pkg/core/go/cloudgame/cloudgame.go:141 +0x340
github.com/giongto35/cloud-morph/pkg/core/go/cloudgame.NewCloudGameClient(0xc000024c80, 0x17, 0xc00002a980, 0xd, 0xc00002a9b0, 0x9, 0x0, 0xc00002aa10, 0xd, 0xc00002a9e0, ...)
cloud-morph/pkg/core/go/cloudgame/cloudgame.go:75 +0x1db
github.com/giongto35/cloud-morph/pkg/core/go/cloudgame.NewCloudService(0xc000024c80, 0x17, 0xc00002a980, 0xd, 0xc00002a9b0, 0x9, 0x0, 0xc00002aa10, 0xd, 0xc00002a9e0, ...)
cloud-morph/pkg/core/go/cloudgame/service.go:304 +0x1ac
main.NewServer(0xf490c0)
cloud-morph/server.go:230 +0x44e
main.main()
cloud-morph/server.go:296 +0xb8
exit status 2
It has been showing a black screen on DII since today, is it normal?
I was able to run around a bit with a necromancer and then, after the page reload, it all went black. It was possible to play if multiple tabs were open, in which case the first one would stream the game.
Hi,
We made a Windows game with Unity. When deployed to cloud morph, the game starts but the input does not work (the game locally works with mouse and keyboard and with gamepad).
We enabled some logs in the game and we also made a simpler game only to test the inputs, but we get a black screen.
Any suggestion? Are Unity games supported/Are there some tips when building the game (i.e. x86 vs x64, supported graphics APIs, etc.)? Thanks in advance.
Hey, just want to say: amazing work! keep up the great work! 💯
I follow by the step to run on windows. But go run server.go
will stop at the log Setup Video Listener
.
I found that the powershell command powershell -ExecutionPolicy Bypass -F run-sandbox.ps1 apps/spider sol.exe spider 800 600 -w windows
is not working. This powershell command has no log showed and no SandBox window
I see multiple dots moving in circles.
I wonder if the latency from the web client to the server could be displayed during the play, since it might be a useful indication for users who are suffering a big lag and wondering why.
PS E:\test\cloud-morph> go run server.go
go: github.com/gofrs/[email protected]+incompatible: Get "https://proxy.golang.org/github.com/gofrs/uuid/@v/v4.2.0+incompatible.mod": dial tcp 108.177.97.141:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
go: downloading github.com/gorilla/mux v1.8.0
go: downloading github.com/gorilla/websocket v1.5.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/gofrs/uuid v4.2.0+incompatible
go: downloading github.com/pion/rtp v1.7.13
go: downloading github.com/pion/interceptor v0.1.11
go: downloading github.com/pion/webrtc/v3 v3.1.41
go: github.com/gofrs/[email protected]+incompatible: Get "https://proxy.golang.org/github.com/gofrs/uuid/@v/v4.2.0+incompatible.mod": dial tcp 108.177.97.141:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Happens with VirtualCop, Samurai Showndown ...
Hmm?
Just saw this from cloud-game README, @giongto35 this is so cool!
I have a bunch of games I bought from GoG that work great on Linux, but I can't play locally. I have gigabit internet so this is going to be something I use all the time.
Really excited to see where this goes.
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.