Posts: 6
Joined: May 2016
Reputation:
0
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.
Posts: 6
Joined: May 2016
Reputation:
0
Hey, is there any alternative to this addon? big picture mode lower my fps, and steambmc is not working
Posts: 3,545
Joined: Mar 2010
Reputation:
120
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.
Posts: 6
Joined: May 2016
Reputation:
0
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
Posts: 3,545
Joined: Mar 2010
Reputation:
120
What operating system are you using?
Posts: 6
Joined: May 2016
Reputation:
0
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
Posts: 2
Joined: May 2016
Reputation:
0
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.
Posts: 32
Joined: Nov 2012
Reputation:
0
2016-06-07, 16:20
(This post was last modified: 2016-06-08, 16:56 by vampyrex13.)
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)&
Posts: 32
Joined: Nov 2012
Reputation:
0
2016-06-10, 00:40
(This post was last modified: 2016-06-10, 02:01 by vampyrex13.)
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.?
Posts: 32
Joined: Nov 2012
Reputation:
0
Problem found. The nvidia-367 drivers suck. I tried the 364 drivers and the issue went away.