Client side not displaying anything

Discussion forum for ORBX on OTOY's Amazon AMIs
Post Reply
boxtown
Posts: 5
Joined: Tue Nov 12, 2013 11:57 pm

I'm running a g2.2xlarge Linux instance on an Amazon AMI. I've been able to successfully ssh in a grab the GUID, and I've even been able to scp in some files, but when I try to access the instance through Chrome v31 with WebGL enabled using the instructions posted http://aws.otoy.com/docs/OTOY-EC2-AMI.pdf here, all I can get is a black screen situated in a gray border. Any ideas?
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

Just confirming - did you load a ORBX Cloud Console AMI? If so, this is the expected behavior until you install an app in the user mode environment.

From the PDF:
The ORBX cloud console AMIs, by contrast, are for more advanced developers who are ready to
port their application or game to an isolated sandbox environment. The ORBX Cloud Console,
absent developer intervention, will simply load a locked down desktop in 1024x768 with a black
background.
boxtown
Posts: 5
Joined: Tue Nov 12, 2013 11:57 pm

Yes I did load an ORBX Cloud Console AMI. I guess my question is then, I've loaded a game onto the server through scp, and I tried using the START option for running it when I access the server from the client side but still nothing showed. Could you possibly provide more details on launching a program from the client side?
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

Can you try something simple like:

START=cmd.exe

Just to confirm you can load a user mode process. Please let me know if that works.
boxtown
Posts: 5
Joined: Tue Nov 12, 2013 11:57 pm

Hey sorry for the late reply but I got it to work with gedit. I think it might have been I wasn't url encoding my forward-slashes
boxtown
Posts: 5
Joined: Tue Nov 12, 2013 11:57 pm

Unfortunately, after having gotten gedit to work, the game I loaded onto the server still does not. It is a game developed in Unity for Linux machines and all the necessary folder and files are in the right places. Perhaps you might have some insight?
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

My earlier example was for the Windows ORBX Console AMI. That being said, The START parameter works the same way on Linux, but with Linux OS specific launch commands. I will have one of our Linux developers follow up to provide an example.
boxtown
Posts: 5
Joined: Tue Nov 12, 2013 11:57 pm

Right I got it to display gedit on Linux by doing START=%2Fusr%2Fbin%2Fgedit which is the path /usr/bin/gedit required to launch gedit. However, when I tried to launch our game, which is situated at /home/ubuntu/GloverDemoLinux/GloverDemoLinux.x86_64, nothing came up. It shouldn't be an issue with the game because I am able to run it on local linux machines running ubuntu.
thegoldrush
Posts: 3
Joined: Wed Dec 11, 2013 7:57 pm

Hi,

Our application is successfully running using the Linux Game Console when launched with the URL. However it is either not consistent or we haven't understood the platform well yet with regard to how to stop/start application using the URL. In either case we would need help, so here is the problem we are facing

When I launch the application using URL (with START=<path to application>;VSRC=ogl) we can see our application playing in the browser which is awesome. However, when I launch it again nothing is displayed on the browser. We have to ssh into the instance and kill the application process manually and it starts working after relaunch using URL.

However sometimes the application doesn't start at all. When we ssh into the instance we see that no process related to our application is running.

Any info on how this works or how to debug would be greatly appreciated.

Thanks
Post Reply

Return to “ORBX on Amazon AMIs”