Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: bionictoothpick on March 10, 2016, 08:01:44 PM

Title: OSMC (Raspberry Pi2)
Post by: bionictoothpick 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?

Title: Re: OSMC (Raspberry Pi2)
Post by: ZarathustraDK 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.
Title: Re: OSMC (Raspberry Pi2)
Post by: bionictoothpick 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.
Title: Re: OSMC (Raspberry Pi2)
Post by: omegaman 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
Title: Re: OSMC (Raspberry Pi2)
Post by: bionictoothpick 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()'
Title: Re: OSMC (Raspberry Pi2)
Post by: verion 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?
Title: Re: OSMC (Raspberry Pi2)
Post by: bionictoothpick 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.
Title: Re: OSMC (Raspberry Pi2)
Post by: Floob 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/
Title: Re: OSMC (Raspberry Pi2)
Post by: bionictoothpick 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
Title: Re: OSMC (Raspberry Pi2)
Post by: Floob 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*"
Title: Re: OSMC (Raspberry Pi2)
Post by: bionictoothpick 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.

Title: Re: OSMC (Raspberry Pi2)
Post by: Floob 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?
Title: Re: OSMC (Raspberry Pi2)
Post by: bionictoothpick 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.