StepMania


4 posts
by wojwo » Tue Aug 14, 2012 4:42 pm
So I'm trying to get StepMania running on my raspberry pi. I followed the instructions and got ver 5 compiled on the default Raspian install. (I did have to edit src/libtomcrypt/src/headers/tomcrypt_cfg.h to explicitly declare little endian and 32 bit)

When I try to run the binary in lxde this is the output I get.

Code: Select all
StepMania v5.0 alpha 3
Compiled 20120813 @ 17:48:15 UTC (UTC+00:00) (build 2)
Log starting 2012-08-14 15:51:23
Loading window: gtk
OS: Linux ver 030109
Runtime library: glibc 2.13
Threads library: NPTL 2.13
libavcodec: 0x352300 (3482368)
TLS is available
/////////////////////////////////////////
WARNING: ReadFile(Save/ThemePrefs.ini): No such file or directory
/////////////////////////////////////////
ALSA: Advanced Linux Sound Architecture Driver Version 1.0.24.
ALSA Driver: 0: bcm2835 ALSA [ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA], 8/8 subdevices avail
ALSA: Mixing at 44100hz
ALSA: chunksize adjusted from 64 to 256
Sound driver: ALSA-sw
Lights driver: SystemMessage
Lights driver: Export
Video renderers: 'opengl'
Display: :0.0 (screen 0)
X server vendor: The X.Org Foundation [1.12.1.902]
Server GLX vendor: (null) [(null)]
Client GLX vendor: Mesa Project and SGI [1.4]
/////////////////////////////////////////
WARNING: X11 Protocol error BadWindow (invalid Window parameter) (3) has occurred, caused by request 4,0, resource ID 0
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: X11 Protocol error BadWindow (invalid Window parameter) (3) has occurred, caused by request 4,0, resource ID 0
/////////////////////////////////////////
Mixing 372.947357 ahead in 152 Mix() calls
Language: en
Current renderer: OpenGL
Theme: default
Error: There was an error while initializing your video card.

Please do not file this error as a bug!  Use the web page below to troubleshoot this problem.

http://www.stepmania.com/stepmaniawiki.php?title=Video_Driver_Troubleshooting

Video Driver: OpenGL

Initializing opengl...
SetVideoMode failed: No visual available for that depth.;No visual available for that depth.;No visual available for that depth.;No visual available for that depth.


I'm a Mono/.Net guy and have no experience with SDL or openGL so I'm a bit over my head anyone have any ideas?

Thanks
Posts: 2
Joined: Tue Aug 14, 2012 4:41 pm
by SSilver2k2 » Tue Aug 14, 2012 6:47 pm
That's funny. I was compiling stepmania last night and ran into the tomcrypt error. Glad you were bale to fix that.

The errors seem to be that it's using Standard OpenGL, but the Pi can only render OpenGL ES natively.

The next course of action is to convert all the OpenGL calls to ES.
My blog of various geeky things - http://blog.sheasilverman.com
DeskCade.com - Mini Raspberry Pi Arcade Cabinet
PiMAME - http://pimame.org
Posts: 177
Joined: Wed Jun 06, 2012 1:51 am
Location: United States
by wojwo » Tue Aug 14, 2012 9:36 pm
I posted this same question over at the StepMania forums (to get more exposure) and the response from another chap was:
"SM is absolutely not going to run on the RPi right now. There are plans to support it however we need to add EGL and GLES2 support among other things."

So it's a little beyond me at the moment. :(
Posts: 2
Joined: Tue Aug 14, 2012 4:41 pm
by willrandship » Sat Nov 10, 2012 9:33 pm
Something I wonder about is Stepmania 3.9. Sure, it's not the latest and greatest, but it works smoothly on a regular PC, and the dancing is perfect. Didn't they majorly restructure the rendering engine to add OGL support after that release?
Posts: 51
Joined: Tue Sep 13, 2011 5:08 pm