PudelKing Mar 17 @ 12:28pm
steam + VirtualGL + Portal
I successfully installed steam on ubuntu 12.10 64bit. Portal works (quite) perfectly, when i play directly on the computer.

Now i want to play from another computer that has no fast GPU (atom/intel)
So i installed VirtualGL. It works great e.g. for Need for Speed World (wine) and Second Life (native)
But Portal doesn't work, it won't start, i get this error:

[...]
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0)!
CGameStreamThread: Set render instance ID 11200 for appid 400
[...]
Did not detect any valid joysticks.
[0317/200203:ERROR:resource_bundle.cc(411)] Failed to load /mnt/win/d/SteamLibrary/SteamApps/common/Portal/cef_gtk.pak
Some features may not be available.
[0317/200203:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0317/200203:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
OnFocusWindowChanged to window type: k_EWindowTypeNonSteamDesktop, 0
The program 'hl2_linux' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 123 error_code 3 request_code 15 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
/mnt/win/d/SteamLibrary/SteamApps/common/Portal/hl2.sh: Line 67: 11200 Segmentation Fault ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 400 "Portal", ProcID 11200
OnFocusWindowChanged to window type: k_EWindowTypeSteamDesktop, 0

(steam:11097): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
[...]

Everything else (i tried) seems to work through vgl.

$ echo $DISPLAY
localhost:11.0

Any ideas?
Showing 1-10 of 10 comments
< >
Apocryphus Mar 17 @ 7:32pm 
Could be a driver error because of:

The error was 'BadWindow (invalid Window parameter)'.

Try reinstalling mesa?
LightBulb [Linux] Mar 25 @ 7:27am 
I'm interested on how well this can work. I would like to see if i could stream my games to my laptop or raspberryPi. Do you think you could give an example of how you launch the game through steam? From what i've read you use vglconnect to get a ssh connection then run vglrun to launch an application. Then i was thinking well steam needs to be running to launch a game. So what i guess would be the solution would be launch steam in big picture then try and launch a game in there. Without knowing how vgl works surely that would create a fork proccess on the same ssh session so steam and the game can still talk to each over.

I'm probably completely wrong with what i'm saying here so it would be good to hear whats possible.

I see you posted this a while ago have you had any success with getting portal to run?
[masni] HEADLESS Apr 6 @ 4:14am 
it works if u disable steam overlay... atleast dota 2 and cs worked for me
LightBulb [Linux] Apr 6 @ 7:13am 
Could you explain what commands you have to execute on each machine to do this?
Kerias Apr 6 @ 8:08am 
Originally posted by LightBulb Linux:
Could you explain what commands you have to execute on each machine to do this?

You dont need any commands to disable steam overlay. Just right click the game in your library and choose "Properties" and then uncheck the steam overaly option.
Last edited by Kerias; Apr 6 @ 8:09am
LightBulb [Linux] Apr 8 @ 8:28am 
No i mean too acutely use virtualGL with steam. I tried using vglconnect and then vglrun glxgears with my pc as the server and my laptop as the client and i got a message saying cannot open display. I don't really understand the full workings of virtualGL. From what i have read theres two options, run with x11 forwarding or use a vnc server and client. Whats sort of setup did you use to set it up? It seems x11 forwarding didn't work for me.
PudelKing Apr 10 @ 8:42am 
Originally posted by LightBulb Linux:
I see you posted this a while ago have you had any success with getting portal to run?
not yet, unfortunately...
PudelKing Apr 10 @ 8:52am 
Originally posted by LightBulb Linux:
No i mean too acutely use virtualGL with steam. I tried using vglconnect and then vglrun glxgears with my pc as the server and my laptop as the client and i got a message saying cannot open display. I don't really understand the full workings of virtualGL. From what i have read theres two options, run with x11 forwarding or use a vnc server and client. Whats sort of setup did you use to set it up? It seems x11 forwarding didn't work for me.
hmm sounds right...
1. you need to install virtualgl on both computers (vglserver_config on the server, iirc i used default settings)
2. connect to the server with 'vglconnect user@server'
3. run 'vglrun glxgears'

did you try turning it off and on again? (X server restart)
(ps: for sound i'm using pulseaudio, so i set the env var PULSE_SERVER first)
PudelKing Apr 10 @ 9:01am 
Originally posted by masni ♥♥♥♥ MASTER:
it works if u disable steam overlay... atleast dota 2 and cs worked for me
THANK YOU so much! That really did work :-)
ruediix Apr 19 @ 6:36pm 
If you want to get the Overlay to work you will likely need to turn off compositing.
Showing 1-10 of 10 comments
< >
Per page: 15 30 50
Date Posted: Mar 17 @ 12:28pm
Posts: 10