Kodi Community Forum

Full Version: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
No in my case it has to be "kodi-standalone" in the config file.
It works now.
The problem was I installed and configured wmctrl and OpenBox as root via ssh, seems like he didn't liked that.
I loaded an backup and installed it as normal user via ssh.

If I got time the next days I will set up the sound file and the pre and post script and try to launch the addon.
I will report if everything works with Kodi as standalone, maybe it's interesting for other users with the same problem.
(2016-05-11, 02:14)teeedubb Wrote: [ -> ]@dustinarden check your log files for both steam and pulseaudio

Checked the steam crash logs in /tmp/dumps - that led me to find this bug

https://github.com/ValveSoftware/steam-f...ssues/4272

I'll leave you alone now Wink thanks for all your help!
Ok, tested everything now.
BPM works fine, sound works, streaming works and my drives are still displayed in Kodi. Big Grin

So no Problem running Kodi in standalone mode
Hey, is there any alternative to this addon? big picture mode lower my fps, and steambmc is not working
In the add-on configure the steam path to point to a empty bat/sh/etc.. file and create a pre-steam script that launches steam. I haven't tested it but I think it would work.
Sorry to ask, but how do i create a pre-steam script that launches steam? I really don't know. I am trying to search for something, but so far i didn't find anything. There is a way to make steam launchers in a "kiosk mode"(Like a fullscreen)? If there is not, it's okay. Nice addon by the way, you've done a really good job
What operating system are you using?
Windows 10.

I tried using a simple .bat command, but it can't find "steam.exe" even if i specify the path :l

I think it would be easier using the advanced launcher, but your addon close kodi and re-open it after closing steam. This way kodi don't uses my computer cpu
It would be great if the settings would allow us to choose bpm or normal mode. Anyway thanks a lot for a great add-on.
I just had to rebuild my box after my system along with my SSD died. All new hardware. Using a GT 710 instead of my old GT 430. Still using AMD for my processor. I installed Kodinuntu, then upgraded to Xenial and Jarvis. Did all the instructions here like before, but when I log in, it's not going to the OpenBox session. If I launch Steam (both from terminal using the DISPLAY=:0 steam command or via the script), it just loads a black screen but I can hear Big Screen music in the background. If I log off Kodi and choose to log into the OpenBox session, I just get a black screen with a cursor instead of Kodi. I can't seem to find a fix. Here is my notes on the basic setup that I did for my system (important info X'd out). I have other things on there like mame and mednafen emulators as well. It worked fine in this last configuration.


- Install Kodibuntu. Create a 15GB (15360MB) primary / partition at the beginning and 4GB (4096MB) primary swap partition at the end with the remaining sandwiched primary partition becoming the /home partition.
- After reboot, it is normal to see the error popup "Kodi needs hardware accelerated OpenGL rendering."

- SSH into the server and install updated Nvidia drivers. Uninstall nvidia-prime as it is not supported by my hardware.
sudo apt-get purge nvidia*
sudo apt-get install python-software-properties pkg-config
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update && sudo apt-get install nvidia-367 nvidia-settings libvdpau1
sudo apt-get remove nvidia-prime

- Update Kodi and uninstall tvheadend:
sudo apt-get install kodi
sudo apt-get remove tvheadend

- Update system to current and reboot. Install the new lsb-release configuration file. You may need to reboot and install linux-firmware update separate:
sudo apt-get dist-upgrade
sudo reboot

- Upgrade to Ubuntu to Xenial locally. Hit CTRL-ALT-F1 for terminal. Allow services to restart without asking. Install all new configuration files. For lirc, choose Windows Media Center for the remote control and none for the IR transmitter. Remove old packages then allow it to restart. It will take 1 minute before it restarts.
sudo apt-get install update-manager-core
sudo do-release-upgrade
; sudo do-release-upgrade -d # if Ubuntu cannot find Xenial.

- Re-enable Kodi and Nvidia sources by uncommenting the lines with xenial in them, then reinstall them. Also remove unsupported tvheadend source:
sudo nano /etc/apt/sources.list.d/kodi.list
sudo nano /etc/apt/sources.list.d/graphics-drivers-ppa-trusty.list
sudo rm /etc/apt/sources.list.d/tvheadend.*
sudo apt-get update && sudo apt-get install kodi nvidia-364 nvidia-settings libvdpau1

- At the login screen, choose Kodi from the menu at top right, then login and confirm Kodi is working.
- SSH in and clean up orphaned files:
sudo apt-get autoremove
sudo apt-get autoclean

- Install pulseaudio. It can later be tested after Kodi is running using "speaker-test -c6 -twav"
sudo mv /etc/apt/preferences.d/libasound2-plugins.pref /etc/apt/preferences.d/libasound2-plugins.pref.bak && sudo mv /etc/apt/preferences.d/pulseaudio.pref /etc/apt/preferences.d/pulseaudio.pref.bak
sudo apt-get install pulseaudio libasound2-plugins
sudo nano /etc/pulse/daemon.conf
# Change the following lines.
# resample-method = speex-float-5 ; default speex-float-1
# default-sample-format = float32ne ; default s16le
# default-sample-channels = 5 ; default 2
sudo nano /etc/pulse/default.pa
# Add the below just underneath "#load-module module-alsa-sink"
# load-module module-alsa-sink device=hw:0,7

- Upload /etc/X11/edid.bin and /etc/X11/xorg.conf so that it can load the desktop when even the TV is off.

- Disable core files from getting generated in the home direcry:
sudo nano /etc/security/limits.conf
# Add the following to the bottom
# * - core 0

- Install Steam, wmctrl, and powerwake for the WOL script:
sudo apt-get install steam wmctrl powerwake

- Enable Openbox and set as default session and have it run Kodi:
sudo cp /usr/share/xsessions/hidden/openbox.desktop /usr/share/xsessions/
sudo dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User.SetXSession string:openbox
mkdir -p $HOME/.config/openbox/ && echo "export DISPLAY=:0" >> $HOME/.config/openbox/autostart.sh && echo "xsetroot -solid black &" >> $HOME/.config/openbox/autostart.sh && echo "/usr/bin/kodi &" >> $HOME/.config/openbox/autostart.sh && chmod +x $HOME/.config/openbox/autostart.sh

- Install Valves X-Box controller drivers:
sudo apt-add-repository ppa:mdeslaur/steamos
sudo apt-get update && sudo apt-get install steamos-xpad-dkms

- Make sure the Valve driver loads:
sudo nano /etc/rc.local && sudo chmod +x /etc/rc.local
# Add the beloe just above "exit 0"
# (until [ "`lsmod | grep xpad`" ] ; do sleep 1 ; done ; rmmod xpad && modprobe xpad)&
Hello teeedubb,
First of all, thank you very much for your plugin and for your time.

I have Kodibuntu (Ubuntu 14.04.04) with Kodi 16.1 and just wanted to know if your original guide (http://forum.kodi.tv/showthread.php?tid=...pid1919154) still works ok with this version.
Also I would like to know if Steam Controller is supported by the plugin or if I should do something else to make it run.

Thank you!
Well, I deleted the autostart.sh and recreated it again and that got openbox working, but I am still getting a blank screen with only sound, then it crashes out and I get a very colorful, scrambled picture that looks like a blend of Kodi and BPM in off colors.

UPDATE: If I run steam in terminal with

DISPLAY=:0 steam

then click view, Big Picture Mode, it works, but if I launch it with

DISPLAY=:0 steam -bigpicture

or go into settings and have Steam launch in Big Picture Mode on start, then I just get a black screen. Does anyone know how to fix this.?
@keop afail the guide is still current for v14, driver revisions are probably old tho. This addon doesnt use the controller, it just launches steam. For the steam controller youd need to configure it at a system level, then in kodi and bpm.

@vampyrex13 have you tried a fresh install of ubuntu 16.04? Fritsch has a good intel only guide that can be used in conjunction with the guide in this thread.
(2016-06-13, 00:24)teeedubb Wrote: [ -> ]@vampyrex13 have you tried a fresh install of ubuntu 16.04? Fritsch has a good intel only guide that can be used in conjunction with the guide in this thread.

I did a fresh install of Kodibuntu with an upgrade straight to 16.04. I posted my exact steps above. It worked using the same instructions I posted above on my old server. This is killing me trying to figure out why it won't launch directly into big picture mode. I tried launching from other desktops from the default kodibuntu install with the same results. I tried updating my nvidia drivers and tried using a beta copy of Steam. I've tried digging through my logs, but I'm not sure which log I would check to find the actual info I need to troubleshoot. I'll take a look at that guide and see if I can apply the common things from it with my setup.
Problem found. The nvidia-367 drivers suck. I tried the 364 drivers and the issue went away.