Steam for Linux > Limited Beta > トピックの詳細
ThOR27 2012年11月20日 16時10分
Issue Report: STEAM process doesn't close after quiting on BigPictureMode
Hi!

I'm developing here the steam-login and I've noticed that after you execute "steam -bigpicture" and you click on EXIT the window closes but steam process keep running.

ctrl+c and kill doesn't finish it's process. You need to do a kill -9 on steam process to finish it.

The ideal would be that after executing steam with -bigpicture argument and you exit it's window, steam should close completely.


Thanks!
1-13 / 13 のコメントを表示
< >
scott_test123 2012年11月20日 19時36分 
Good find, we'll take a look. Thanks.
ThOR27 2012年11月28日 14時13分 
Received update today and no changes on that. Since I couldn't find any changelog saying if you worked on this or not, I decided to post here to let you know.

thanks!
Bubba HoTep 2012年12月5日 13時58分 
This isn't fixed just yet. As a workaround for not being able to get back to Steam, you can issue something like this:

~/.steam/root/steam.sh steam://store

and you'll see Steam come back up.
ThOR27 2012年12月8日 3時52分 
Thanks for the answer but it is not a workaround for me, since I'm developing the steam-login project (more info at: https://github.com/thor27/steam-login/) and if steam doesn't quit itself after is closed, is pretty hard to know when we can go back to login screen.

In latest version (version 5) I've done a huge hack to make everything work, as now I'm monitoring all windows and counting how much windows are open, to know if I can exit or not.

It's a huge hack, that I had to make pooling 1 time per second, is nothing really huge as most computers will not get any performance penalty with that, but it's not something we can say it's perfect.

This bug, and the other one that steam doesn't get fullscreen after gameplay are the major one impacting my project.

Anyway, doesn't get me wrong, I love what you guys are doing and how you are improving it, this is just to let you know how this problems are impacting on me.


thanks!
ebnozal [-UkR-] 2012年12月10日 10時31分 
i am running in to the same problem but my is for a script to launch from xbmc to steam big picture and then back to xbmc. And with steam not full exiting i am running in to a problem getting xbmc to restart

my script
#!/bin/bash
killall -9 steam
killall -9 steam.sh
killall -9 MainThrd
killall -9 xbmc.bin
steam -bigpicture "$1"
killall -9 steam
killall -9 steam.sh
killall -9 MainThrd
xbmc -fs

I Think the killall does not work becuse steam big picture is still trying to close so it will not run the next command
最近の変更はebnozal [-UkR-]が行いました; 2012年12月10日 10時57分
mikeym 2012年12月10日 10時56分 
Just a thought, you could have a look to see if this is happening for you: http://steamcommunity.com/app/221410/discussions/1/846939071352931778/

I was getting unkillable "defunct" steam processes when running it from Openbox, but I've not been able to reproduce it since reporting it.
ThOR27 2012年12月10日 11時27分 
Hi, the workaround I'm using is to monitor windows to see if any are running... not sure if it will work for xbmc, but the code is here: https://github.com/thor27/steam-login/blob/master/steam-login/usr/local/bin/steam-de
ebnozal [-UkR-] 2012年12月10日 13時09分 
thanks for the help but i can't get it to run right
i am using openbox would that make a difference on your script

i am giving up i will just have to wait for valve to fix that

i can get thing work on a full install of ubuntu with your login script and then run xbmc on top
With my xbmcbuntu i can launch xbmc from big picture but with no audiopassthought to my receiver
i think that is becuse i do not have pulseaudio installed so
if i install pulseaudio and login with your script i do not get audio in big picture :(

On xbmcbuntu with your login script i am having problems with steam, not having internet

What i would love to beable to do is run xbmcbuntu, login to a openbox session, autolaunch xbmc, and then from there run big picture, back to xbmc

xbmc has all the commons to reboot and shutdown and even with a timer
i am just going to have to wait
最近の変更はebnozal [-UkR-]が行いました; 2012年12月10日 13時54分
Bubba HoTep 2012年12月11日 9時40分 
We have future plans to allow BigPicture to exit completely instead of exiting back to regular Steam. However, for this release we won't be enabling that to work that way.

Steam requires pulseaudio and BigPicure uses Miles, which also supports pulseaudio. We're using Miles 9 on Linux, so confirm that you've got the latest Miles installed on your box.

Upon exiting you can bring Steam back to the foreground by sending a steam url (i.e. steam://games) to it. In the UI, you can right-click on the app indicator icon for Steam or in the Dash board icon for Steam and choose whatever you want to bring back up steam (i.e. Library, Store, etc).
ThOR27 2012年12月11日 13時22分 
Bubba HoTep の投稿を引用:
We have future plans to allow BigPicture to exit completely instead of exiting back to regular Steam. However, for this release we won't be enabling that to work that way.

Steam requires pulseaudio and BigPicure uses Miles, which also supports pulseaudio. We're using Miles 9 on Linux, so confirm that you've got the latest Miles installed on your box.

Upon exiting you can bring Steam back to the foreground by sending a steam url (i.e. steam://games) to it. In the UI, you can right-click on the app indicator icon for Steam or in the Dash board icon for Steam and choose whatever you want to bring back up steam (i.e. Library, Store, etc).

There is any way I could close steam gracefully without a kill? If there isn't, how hard would be to implement this? That way we could easily close steam when we detect there is no steam window opened.

something like: steam steam://shutdown/
RussianNeuroMancer 2012年12月12日 5時57分 
Bubba HoTep の投稿を引用:
However, for this release we won't be enabling that to work that way.
Maybe enable this behaviour only if Steam launched with "-bigpicture" or "steam://open/bigpicture" argument? In this way it's shouldn't hurt anybody.
ebnozal [-UkR-] 2012年12月21日 13時25分 
thanks ThOR27 with your update script i can do what is wanted

#!/bin/bash
function stop(){
#Stop all running steam process
killall steam.sh
killall steam
killall MainThrd
#If it doesn't stop, force it
killall -9 steam
killall -9 steam.sh
killall -9 MainThrd

}

function check_steam_window(){
wmctrl -l | tr -s " " | cut -f4- -d" " | grep '^Steam$'
}

stop #call stop function

# kill xbmc
killall -9 xbmc.bin

#Reset variables
unset prefix
unset parameters
unset program

parameters='-bigpicture'

#Set optirun as prefix if available
which optirun && prefix=optirun

#Set primusrun as prefix if available
which primusrun && prefix=primusrun

#Get full path of steam executable
program=`which steam`

#Execute STEAM
old_date=`date +%s`
count=0

$prefix $program $parameters &

while ! check_steam_window
do
sleep 0.5
done

while check_steam_window
do
sleep 5
done

stop

xbmc
ThOR27 2012年12月21日 13時45分 
ebnozal.-UkR-.RIP Porkins の投稿を引用:
thanks ThOR27 with your update script i can do what is wanted

Good! :) You're welcome :) nice to see your project evolving!
1-13 / 13 のコメントを表示
< >
ページ毎: 15 30 50