Kodi Community Forum
[RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi (/showthread.php?tid=157499)



RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - Zxurian - 2014-04-09

okay, ran it from Xterm in openbox and it did the following
Code:
xbmc@xbmc2:~/.config/openbox$ ./autostart.sh
xbmc@xbmc2:~/.config/openbox$ Running DIL (3.2.2.0 Version
DTSDeviceOpen: Opening HW in mode 0
DTSDeviceOpen: Create File Failed

after a couple seconds, xbmc came up.
went to exit xbmc, and it sat there for ~ 30 seconds, then went back to openbox and the following line was added to the XTerm
Code:
Exception SystemExit in <function _remove at 0x7f1f047be6e0> ignored

but it never actually returned to the prompt, just ended with that line.


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - teeedubb - 2014-04-10

Not sure what up with that error, but xbmc sometimes takes its time exiting, that's why I forcefully kill the xbmc process in the add on.

Its strange that xbmc loads when manually running the autostart.sh script, but not when starting openbox. I don't know what could be causing it, I haven't had that problem with my non xbmcbuntu 14.04 install. I'd be looking for openbox log files to see if there's any info in there as to why the autostart.sh script isn't running.


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - teeedubb - 2014-04-10

Double post ... Damn shonky mobile data coverage... Please delete.


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - Zxurian - 2014-04-10

progress!

apparently xbmcbuntu 13 doesn't use openbox, it uses lxde. Found http://ubuntuforums.org/showthread.php?t=1666892 when trying to google why autostart wasn't running, which lead me to
Code:
/etc/lxdm/lxdm.conf
and that's when I saw startxbmcbuntu was actually running
Code:
# Start the LXDE session
exec /usr/bin/lxsession -s XBMCbuntu -e LXDE

so I edited the lxde startup file to add /usr/bin/xbmc, and xbmc is now running as it's supposed to at boot.

now this is wha thappens when I try to run the steam bpm addon (I had top running via shell to see what was happening)
it briefly shuts back to the desktop, xbmc.bin no longer shows in top
then it switches to the xbmc loading screen, xbmc.bin shows in to pwith a new pid, like it was running new again
then a couple seconds after taht, steam bpm starts up, almost like it starts over xbmc. now xbmc.bin & steam are in top
if I exit steam, steam stays in top, and the view switches immediately back to xbmc since it was already running in the background.

shouldn't the addon exit xbmc to run steam so resources aren't being halved, then once steam is exited, rerun xbmc?


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - teeedubb - 2014-04-10

Yeah thats how its supposed to run, I'll check it out this weekend. You can run the scripts within the add on from a terminal to get a better idea of what's going on

~/.xbmc/userdata/addon_data/script.steam.launcher/scripts/steam-launch.sh /usr/bin/steam /usr/bin/xbmc 0

Is the command (that's on my phone from memory, so double check the paths)


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - Zxurian - 2014-04-10

Okay, sounds good. Thanks for taking a look. Your addon worked awesome with xbmc unto 12 and hoping to achieve the same effect with 13


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - teeedubb - 2014-04-11

On my updated as of today xbmcbuntu 13 install, openbox, autostart.sh and steam-launcher are all working correctly. Not sure why youre having problems, did you perhaps upgrade over xbmcbuntu 12?


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - Zxurian - 2014-04-11

Nope. Working with a clean install this time. Downloaded the xbmcbuntu 13b2 iso and installed it directly into a wiped drive. I'll try it again tonight making Steam bpm the first thing I do just to be sure.

To note, i'm not doing any updates to existing, so the xbmcbuntu13b2 is still one version behind. If it doesn't work right away, i'll try updating xbmc once installed to v13b3 and see if that makes a difference, although I did s3 mentioned in the xbmcbuntu thread that they did switch to lxde. Weird that yours would still be using open box.


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - teeedubb - 2014-04-11

openbox is installed, but not enabled by defult, probably to keep things simple. None the less, the addon should work in any desktop environment, Ive tested it with kubuntu too. Make sure you do a dist-upgrade after installing and also upgrading your gpu drivers helps a great deal with steam too.


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - Zxurian - 2014-04-11

I did upgrade to nVidia latest, but didn't do a dist-upgrade, so maybe that's what the issue is. I'll try it again tonight at some point and post results.

Thanks for working with me on this.


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - Zxurian - 2014-04-12

okay, I went back and redid everything and everything seems functional now

If you want a reference with xbmcuntu13, since I didn't use openbox autostart.sh since 13 comes with lxde as the default, you can see the steps I took here: https://docs.google.com/document/d/1LLNvklnHvRmjH1W7ChenJskt8yvzvLQNiKoaHD9dqlw/edit?usp=sharing

thanks your your help though. Awesome addon! Few more steps to try it with steam in-home streaming and I'll be all set!


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - teeedubb - 2014-04-12

Glad you got it working. Thats the pitfall of using betas - things will break and they can act strangely.. I notice youve installed the xorg-edgers ppa - that has broken my system many times, Ive recntly been using drivers from this ppa and no dramas so far. https://launchpad.net/~mamarley/+archive/nvidia


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - Zxurian - 2014-04-12

I haven't had any issues with them, "yet", but I am having a playabck issue.
I'll swap to them and see if that fixes it


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - teeedubb - 2014-04-13

Its not so much the drivers but all the other packages that are installed, like ths one I got stung by.. https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1265570


RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC - ratzofftoya - 2014-04-14

Love the add-in but I'm having a bit of trouble. Windows 8, Aeon MQ5.

The launcher works peachy from the program add-ons menu. But for whatever reason, it doesn't work at all when I set it as a home menu item. Anyone else have this issue?