Steam for Linux > Limited Beta > Подробности темы
ThOR27 20 ноя, 2012 @ 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!
Показано 113 из 13 комментариев
< >
scott_test123 20 ноя, 2012 @ 19:36 
Good find, we'll take a look. Thanks.
ThOR27 28 ноя, 2012 @ 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 5 дек, 2012 @ 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 8 дек, 2012 @ 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-] 10 дек, 2012 @ 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-]; 10 дек, 2012 @ 10:57
mikeym 10 дек, 2012 @ 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 10 дек, 2012 @ 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-] 10 дек, 2012 @ 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-]; 10 дек, 2012 @ 13:54
Bubba HoTep 11 дек, 2012 @ 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 11 дек, 2012 @ 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 12 дек, 2012 @ 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-] 21 дек, 2012 @ 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 21 дек, 2012 @ 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!
Показано 113 из 13 комментариев
< >
На страницу: 15 30 50