Author Topic: OSMC (Raspberry Pi2)  (Read 12786 times)

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 325
  • He who laughs lasts.
    • View Profile
OSMC (Raspberry Pi2)
« on: March 10, 2016, 08:01:44 PM »
I successfully compiled using the Debian Jessie Wiki...

However when I am in the console I get a segmentation fault upon launch. This is AM2.0rc4.

Don't have much to go on...does attractmode need to be run in X?


ZarathustraDK

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #1 on: March 11, 2016, 07:41:28 AM »
Yes, it does.

Right now I'm trying with a retropie-image, disabling emulationstation and then installing lxde for X. Then I'll compile Attract Mode.

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 325
  • He who laughs lasts.
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #2 on: March 11, 2016, 08:02:02 AM »
Excellent. I'll try to add X to my OSMC image...although I have a busy weekend, so might not get to it until next week.  Maybe I should order a PI3 and just wait for that to arrive...I hate to see the pi2 get dusty though.

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #3 on: March 11, 2016, 09:21:37 AM »
This is straight from the wiki...

Attract mode needs an X environment to run (which RetroPie does not ship with)

to get it to work you can do

sudo apt-get install xinit
then to start attract mode you type xinit attract in the terminal

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 325
  • He who laughs lasts.
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #4 on: March 11, 2016, 06:35:11 PM »
Getting closer:

When trying to compile:
main.cpp:(.text.startup+0x92a): undefined reference to `sf::Image::~Image()'

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: OSMC (Raspberry Pi2)
« Reply #5 on: March 12, 2016, 10:33:24 AM »
I'm so glad you are working on this.
Are you going to share your DEB for AM when it will be ready?

I'm planning to replace my XBOX (1st gen with XBMC) with RPi2 running KODI.
OSMC is my first choice and of course would like to be able to fire up AM from KODI.

What version of mame are you planning to use?

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 325
  • He who laughs lasts.
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #6 on: April 17, 2016, 05:22:30 AM »
I mentioned OSMC to Floob, because while a "newbie" here, his skills are far beyond mine with the Pi and such. Hopefully we'll have the best of both worlds in the near future.

Floob

  • Full Member
  • ***
  • Posts: 84
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #7 on: April 17, 2016, 08:25:14 AM »
Thanks for the comments, although my "skills" are largely involving a sellotape and glue approach! :)

I'm afraid I havent tried an OSMC image in a while, so I would need to check the paths in that.
I have Kodi pre-configured in the Pi image I built, although you would need to install Kodi from the experimental section of the RetroPie menu first. I'll make sure its already installed in the next build.

To confirm, are you using an image from here? Or a different one?
https://osmc.tv/download/
RetroPie Help Guides: https://goo.gl/3gcNsT

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 325
  • He who laughs lasts.
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #8 on: April 17, 2016, 09:05:08 AM »
Yes, that is where I got the image.

This is where I added emulation station to it (although I am sure you don't need that part.)
https://discourse.osmc.tv/t/howto-retrosmc-retrogaming-on-osmc/6671

Floob

  • Full Member
  • ***
  • Posts: 84
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #9 on: April 17, 2016, 10:38:00 AM »
Does your build boot straight into ES, or straight into Kodi?

Whats the output of the following?
"ls /home/pi/RetroPie/roms/ports"
"ls /usr/bin/kodi*"
RetroPie Help Guides: https://goo.gl/3gcNsT

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 325
  • He who laughs lasts.
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #10 on: April 17, 2016, 11:07:57 AM »
ls /usr/bin/kodi*

/usr/bin/kodi /usr/bin/kodi-send /usr/bin/kodi-standalone

ls /home/osmc/RetroPie/roms/ports

Cave Story.sh
Doom.sh
Duke Nukem 3D.sh
Quake III Arena.sh
Quake.sh
Super Mario War.sh
doom
duke3d
quake

____
The user is osmc, not pi on the osmc build.


Floob

  • Full Member
  • ***
  • Posts: 84
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #11 on: April 17, 2016, 11:42:05 AM »
What happens if you set as a new emulator
/usr/bin/kodi-standalone as your executable
and no arguments?
RetroPie Help Guides: https://goo.gl/3gcNsT

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 325
  • He who laughs lasts.
    • View Profile
Re: OSMC (Raspberry Pi2)
« Reply #12 on: April 17, 2016, 01:35:05 PM »
Floob,

Thanks!

Kodi launches, and when I exit it returns to AttractMode. This is perfect. I'm going to google how to launch attractmode instead of OSMC on the initial boot, and I should be good to go.
« Last Edit: April 17, 2016, 02:20:23 PM by bionictoothpick »