Author Topic: PC Build (X86) Attract Mode with SFML  (Read 4348 times)

Dal1980

  • Full Member
  • ***
  • Posts: 54
    • View Profile
PC Build (X86) Attract Mode with SFML
« on: May 29, 2018, 02:34:02 AM »
Can you hear the splashing of me drowning  :D

I need help (and I'm not talking mentally... that can wait  ;)) I'm currently building a Debian image and after going around the houses for some time I think I've come to terms with the fact that the XOrg/XServer way of doing things is squeezing life out of me and my PC. I've had a few issues which seem to be related to using X.

I have AM on Pi and love it, well big fan of AM anyway  8) but when it comes to standard PC hardware, generally support is limited in this topic.

Anyone got any clues for how I might compile an image of AM with SFML so I don't have to use X?

Debian GNU/Linux 9.4 (Stretch)
Attract Mode V2.3.0-44 (Linux SFML 2.4 +FrontConfig +SWF)
avcodec 57.64.101 / avformat 57.56.101
swscale 4.2.100 / swresample 2.3.100
Xserver 1.19.2
Retroarch 1.3.6
ultimarc Minipac (1313?) <- this PC is actually a Arcade Cab

Stupid questions but I couldn't just use this package could I? https://github.com/mickelson/sfml-pi

Cheers
Dal1980

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile

Dal1980

  • Full Member
  • ***
  • Posts: 54
    • View Profile
Re: PC Build (X86) Attract Mode with SFML
« Reply #2 on: May 29, 2018, 12:03:53 PM »
Thanks kent79

Just wondering if you dumped that link in a way to say it was obvious or in a way to tell me that I can use that link to solve my problem?  ???

Cheers
Dal1980

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Re: PC Build (X86) Attract Mode with SFML
« Reply #3 on: May 30, 2018, 08:28:03 PM »
Sorry, may be I misunderstanding your idea. The link is how to install AM in rpi, but should be ok on Debian system

Dal1980

  • Full Member
  • ***
  • Posts: 54
    • View Profile
Re: PC Build (X86) Attract Mode with SFML
« Reply #4 on: May 31, 2018, 02:24:01 AM »
I wasn't sure about your link so held off running down that route. Thanks for confirming kent79.

I used the same link for AM but it feels a little weird to use it for PC hardware. Fingers crossed.  :)

Many thanks
Dal1980

Dal1980

  • Full Member
  • ***
  • Posts: 54
    • View Profile
Re: PC Build (X86) Attract Mode with SFML
« Reply #5 on: May 31, 2018, 02:59:23 AM »
Hmm that didn't work.

Seems there's a ton of things that need fixing. Kinda went 10 steps backwards

For full bash terminal history:
https://pastebin.com/La8XcVjm

Starting to lose hope  :'(

johnodon

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: PC Build (X86) Attract Mode with SFML
« Reply #6 on: May 04, 2019, 10:53:39 AM »
I apologize for bringing a 1+ year old thread back from the dead, but...

I would love to know:

1.  Is it possible to compile AM for use on x86/x86 without the need of an xserver?
2.  If yes, how?  :)

I tried compiling with SFML via the link above but it fails on opengl.

I am currently running AM on a minimal install of Ubuntu 18.04 x64 via X.  If I can ditch X, I would die a happy man!  :D

John

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: PC Build (X86) Attract Mode with SFML
« Reply #7 on: May 05, 2019, 05:06:40 AM »
https://github.com/mickelson/attract/wiki/Compiling-on-the-Raspberry-Pi-(Raspbian-Jessie)
https://github.com/mickelson/sfml-pi/blob/master/readme.md

Not sure wether these libraries work outside the raspberry pi. But it is possible. My pi runs raspbian lite (linux) with attract and no x.