Forums » General Questions » Error with Sm5 PIU Theme

1
When i open the theme, and press "F1" the game closed and open this crash text
NOTE: In windows version, its works perfect.

Linux/Sm5 beta 3 (copy)/stepmania'
StepMania v5.0 beta 3
Compiled 20140909 @ 02:13:58 PM CLST (UTC-03:00) (build 0)
Log starting 2014-09-09 23:11:01
Loading window: gtk
OS: Linux ver 030200
Crash backtrace component: x86 custom backtrace
Crash lookup component: dladdr
Crash demangle component: cxa_demangle
Runtime library: glibc 2.15
Threads library: NPTL 2.15
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: HDA Intel PCH [PCH], device 0: ALC269VB Analog [ALC269VB Analog], 1/1 subdevices avail
ALSA Driver: 0: HDA Intel PCH [PCH], device 3: HDMI 0 [HDMI 0], 1/1 subdevices avail
ALSA: dsnd_pcm_hw_params_set_access: Invalid argument
Couldn't load driver ALSA-sw: SetHWParams failed
Couldn't load driver OSS: RageSoundDriver_OSS: Couldn't open /dev/dsp: No such file or directory
Sound driver: Pulse
Lights driver: SystemMessage
Lights driver: Export
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////

(stepmania:2299): Gtk-CRITICAL **: IA__gtk_style_detach: assertion `style->attach_count > 0' failed
Video renderers: 'opengl'
Display: :0 (screen 0)
X server vendor: The X.Org Foundation [1.11.3.0]
Server GLX vendor: SGI [1.4]
Client GLX vendor: Mesa Project and SGI [1.4]
Paletted textures disabled: GL_EXT_paletted_texture missing.
Direct rendering: yes
OGL Vendor: Tungsten Graphics, Inc
OGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
OGL Version: 3.0 Mesa 8.0.4
OGL Max texture size: 8192
OGL Texture units: 8
GLU Version: 1.3
OGL Extensions:
GL_3DFX_texture_compression_FXT1
GL_APPLE: object_purgeable, packed_pixels, vertex_array_object
GL_ARB: ES2_compatibility, color_buffer_float, copy_buffer, depth_buffer_float, depth_clamp, depth_texture,
draw_buffers, draw_elements_base_vertex, explicit_attrib_location, fragment_coord_conventions,
fragment_program, fragment_program_shadow, fragment_shader, framebuffer_object, framebuffer_sRGB,
half_float_pixel, half_float_vertex, map_buffer_range, multisample, multitexture, occlusion_query,
pixel_buffer_object, point_parameters, point_sprite, provoking_vertex, robustness, sampler_objects,
seamless_cube_map, shader_objects, shader_texture_lod, shading_language_100, shadow, sync,
texture_border_clamp, texture_compression, texture_compression_rgtc, texture_cube_map, texture_env_add,
texture_env_combine, texture_env_crossbar, texture_env_dot3, texture_float, texture_mirrored_repeat,
texture_non_power_of_two, texture_rectangle, texture_rg, texture_swizzle, transpose_matrix, vertex_array_bgra,
vertex_array_object, vertex_buffer_object, vertex_program, vertex_shader, window_pos
GL_ATI: blend_equation_separate, draw_buffers, envmap_bumpmap, separate_stencil, texture_env_combine3,
texture_float
GL_EXT: abgr, bgra, blend_color, blend_equation_separate, blend_func_separate, blend_minmax, blend_subtract,
compiled_vertex_array, copy_texture, draw_buffers2, draw_range_elements, fog_coord, framebuffer_blit,
framebuffer_multisample, framebuffer_object, framebuffer_sRGB, gpu_program_parameters, multi_draw_arrays,
packed_depth_stencil, packed_float, packed_pixels, pixel_buffer_object, point_parameters, polygon_offset,
provoking_vertex, rescale_normal, secondary_color, separate_shader_objects, separate_specular_color,
shadow_funcs, stencil_two_side, stencil_wrap, subtexture, texture, texture3D, texture_array,
texture_compression_rgtc, texture_cube_map, texture_edge_clamp, texture_env_add, texture_env_combine,
texture_env_dot3, texture_filter_anisotropic, texture_integer, texture_lod_bias, texture_object,
texture_rectangle, texture_sRGB, texture_sRGB_decode, texture_shared_exponent, texture_snorm, texture_swizzle,
timer_query, transform_feedback, vertex_array, vertex_array_bgra
GL_IBM: multimode_draw_arrays, rasterpos_clip, texture_mirrored_repeat
GL_INGR_blend_func_separate
GL_MESA: pack_invert, texture_array, texture_signed_rgba, window_pos, ycbcr_texture
GL_NV: blend_square, conditional_render, depth_clamp, light_max_exponent, packed_depth_stencil,
texgen_reflection, texture_env_combine4, texture_rectangle, vertex_program, vertex_program1_1
GL_OES: EGL_image, read_format
GL_SGIS: generate_mipmap, texture_border_clamp, texture_edge_clamp, texture_lod
GL_SUN_multi_draw_arrays
OpenGL Windowed 640x480 16 color 16 texture 60Hz NoVsync SmoothLines
Event driver: v1.0.1
Input device: /dev/input/event0: unknown bus 19 device, ID 0000:0005, version 0: Lid Switch
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event0: Resource temporarily unavailable.
Input device: /dev/input/event1: unknown bus 19 device, ID 0000:0001, version 0: Power Button
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event1: Resource temporarily unavailable.
Input device: /dev/input/event2: unknown bus 19 device, ID 0000:0001, version 0: Power Button
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event2: Resource temporarily unavailable.
Input device: /dev/input/event3: keyboard device, ID 0001:0001, version ab41: AT Translated Set 2 keyboard
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event3: Resource temporarily unavailable.
Input device: /dev/input/event4: USB device, ID 1d57:0001, version 110: 2.4G KB 2.4G Mouse
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event4: Resource temporarily unavailable.
Input device: /dev/input/event5: USB device, ID 1d57:0001, version 110: 2.4G KB 2.4G Mouse
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event5: Resource temporarily unavailable.
Input device: /dev/input/event6: USB device, ID 2232:1008, version 19: WebCam SCB-1100N
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event6: Resource temporarily unavailable.
Input device: /dev/input/event7: keyboard device, ID 0002:000e, version 0: ETPS/2 Elantech Touchpad
Event types: syn, key, abs
Total keys: 6; total axes: 8
Input device: /dev/input/event8: unknown bus 19 device, ID 0000:0006, version 0: Video Bus
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event8: Resource temporarily unavailable.
Input device: /dev/input/event9: unknown bus 19 device, ID 0000:0006, version 0: Video Bus
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event9: Resource temporarily unavailable.
Input device: /dev/input/event10: unknown bus 0 device, ID 0000:0000, version 0: HDA Intel PCH HDMI/DP,pcm=3
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event10: Resource temporarily unavailable.
Input device: /dev/input/event11: unknown bus 0 device, ID 0000:0000, version 0: HDA Intel PCH Mic
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event11: Resource temporarily unavailable.
Input device: /dev/input/event12: unknown bus 0 device, ID 0000:0000, version 0: HDA Intel PCH Headphone
Not a joystick; ignored
LinuxEvent: Couldn't open /dev/input/event12: Resource temporarily unavailable.
Connected: ETPS/2 Elantech Touchpad
Auto-mapping all joysticks.
/////////////////////////////////////////
WARNING: Error playing command: /Themes/fiestahans/BGAnimations/Coin.lua:63: attempt to perform arithmetic on local 'Coins' (a nil value)
WARNING: /Themes/fiestahans/BGAnimations/Coin.lua:63: unknown(self = (null),Coins = (null),CoinForCredit = 1,(*temporary) = (null),(*temporary) = (null),(*temporary) = 1,(*temporary) = (null),(*temporary) = (null),(*temporary) = (null),(*temporary) = 0,(*temporary) = 0,(*temporary) = 0,(*temporary) = attempt to perform arithmetic on local 'Coins' (a nil value))
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Error playing command: /Themes/fiestahans/BGAnimations/Coin.lua:63: attempt to perform arithmetic on local 'Coins' (a nil value)
WARNING: /Themes/fiestahans/BGAnimations/Coin.lua:63: unknown(self = (null),Coins = (null),CoinForCredit = 1,(*temporary) = (null),(*temporary) = (null),(*temporary) = 1,(*temporary) = (null),(*temporary) = (null),(*temporary) = (null),(*temporary) = 0,(*temporary) = 0,(*temporary) = 0,(*temporary) = attempt to perform arithmetic on local 'Coins' (a nil value))
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Error playing command: /Themes/fiestahans/BGAnimations/Coin.lua:63: attempt to perform arithmetic on local 'Coins' (a nil value)
WARNING: /Themes/fiestahans/BGAnimations/Coin.lua:63: unknown(self = (null),Coins = (null),CoinForCredit = 1,(*temporary) = (null),(*temporary) = (null),(*temporary) = 1,(*temporary) = (null),(*temporary) = (null),(*temporary) = (null),(*temporary) = 0,(*temporary) = 0,(*temporary) = 0,(*temporary) = attempt to perform arithmetic on local 'Coins' (a nil value))
/////////////////////////////////////////
[avi @ 0xdab2340] max_analyze_duration reached
/////////////////////////////////////////
WARNING: SetPositionFrames: 0 samples is beyond EOF in /Themes/fiestahans/Sounds/Common Coin.ogg
/////////////////////////////////////////
[avi @ 0xe267080] non-interleaved AVI
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted

StepMania 5 has crashed. Debug information has been output to

/tmp/crashinfo.txt

Please report a bug at:

https://github.com/stepmania/stepmania/issues
Reply
Do you have a link for this theme? I'd like to see if it shows the same error in my linux box with the nightly build.

Part of the debug output isn't happening because of the kernel hardening in linux mint. Could you run this command before running stepmania and see if you get more output?

 sudo -S sh -c 'echo 0 > /proc/sys/kernel/yama/ptrace_scope'


Reply
I delete the stepmania , now reinstall and this massage show the terminal:
sebastian-300V3A-300V4A-300V5A-200A4B-200A5B sebastian # sudo -S sh -c 'echo 0 > /proc/sys/kernel/yama/ptrace_scope'
sebastian-300V3A-300V4A-300V5A-200A4B-200A5B sebastian # '/home/sebastian/Documents/Linux/sm5v3 (copy)/stepmania'
StepMania v5.0 beta 3
Compiled 20140910 @ 11:17:09 PM CLST (UTC-03:00) (build 0)
Log starting 2014-09-11 00:23:25
Loading window: gtk
OS: Linux ver 030200
Crash backtrace component: x86 custom backtrace
Crash lookup component: dladdr
Crash demangle component: cxa_demangle
Runtime library: glibc 2.15
Threads library: NPTL 2.15
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: HDA Intel PCH [PCH], device 0: ALC269VB Analog [ALC269VB Analog], 1/1 subdevices avail
ALSA Driver: 0: HDA Intel PCH [PCH], device 3: HDMI 0 [HDMI 0], 1/1 subdevices avail
ALSA: dsnd_pcm_hw_params_set_access: Invalid argument
Couldn't load driver ALSA-sw: SetHWParams failed
Couldn't load driver OSS: RageSoundDriver_OSS: Couldn't open /dev/dsp: No such file or directory
Sound driver: Pulse
Lights driver: SystemMessage
Lights driver: Export
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: Profile.cpp:1496: Error parsing file.
/////////////////////////////////////////
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted

StepMania 5 has crashed. Debug information has been output to

/tmp/crashinfo.txt

Please report a bug at:

https://github.com/stepmania/stepmania/issues

I try another theme Delta and Fiesta 2 by pumpster.
The first work fine
The second main screen perfect but selecting screen, doesn't display nothing
PD: this crash its with me same theme at first but reinstalled :/
Reply
It doesn't look like that helped as you're still getting the ptrace failures. I'm not completely familiar with mint so I'm not sure where to proceed from there. Sorry.

In my experience pumpster's themes are kind of a pain to troubleshoot since it takes over the default and fallback theme. Honestly you'll probably get told to choose a different theme that's more actively supported and doesn't take over the default and fallback themes.

I've been trying to cleanup the old piu delta V3 int 7 theme but it's slow going due to the large amount of errors in it.
Reply
I make it work :D , and now, im try to make PIUIO Driver works jaja
Reply
PIUIO is pretty simple.

If you want the lights to work with stepmania you need to use the legacy version at the moment as far as I know.

After you load the piuio module in the kernel, edit your preferences.ini in your stepmania directory and add PIUIO to the lightsdriver= and InputDrivers= lines.

Once you've done that go into the configuration page and you'll need to assign each button in the button assignments section.
Reply
If you want the lights to work with stepmania you need to use the legacy version at the moment as far as I know.

I believe this is inaccurate. As of this writing, the kernel driver has three branches (master, legacy0.3.1, legacy). My understanding is that master expects an up-to-date Linux kernel, whereas the legacy0.3.1 branch supports back to the 2.6 Linux kernel, which is what Debian 6 uses.

Regardless of which one you install, you can change your Preferences.ini file like so:

InputDrivers=LinuxEvent,x11

LightsDriver=Linux_PIUIO_Leds


I believe what you were referring to (listing "PIUIO" as the driver) was only used with v0.1 of the kernel driver (the current version is 0.3.1). Hope this helps.

Last edited: 15 September 2014 8:07pm

Reply
If you want the lights to work with stepmania you need to use the legacy version at the moment as far as I know.

I believe this is inaccurate. As of this writing, the kernel driver has three branches (master, legacy0.3.1, legacy). My understanding is that master expects an up-to-date Linux kernel, whereas the legacy0.3.1 branch supports back to the 2.6 Linux kernel, which is what Debian 6 uses.

Regardless of which one you install, you can change your Preferences.ini file like so:

InputDrivers=LinuxEvent,x11

LightsDriver=Linux_PIUIO_Leds


I believe what you were referring to (listing "PIUIO" as the driver) was only used with v0.1 of the kernel driver (the current version is 0.3.1). Hope this helps.



That's why I tacked the "as far as I know" part into that. :)

Toying around with my MK6 in a GX cabinet this morning I found that it was actually autodetecting the piuio as a joystick instead of libevent as /dev/event/* was 700. But it was working fine. the LED driver option does work. I've confirmed that my machine at least works with the following settings in Preferences.ini and the latest piuio driver from github.



InputDrivers=
LastSeenVideoDriver=OpenGL
LightsDriver=PIUIO_Leds
MovieDrivers=
SoundDrivers=


using the joystick driver here are the settings mine has in the Keymaps.ini under the pump section


[pump]
1_Back=
1_Center=Joy1_B3
1_Coin=Joy1_B11
1_DownLeft=Joy1_B4
1_DownRight=Joy1_B5
1_EffectDown=
1_EffectUp=
1_MenuDown=
1_MenuLeft=
1_MenuRight=
1_MenuUp=
1_Operator=Joy1_B10
1_Select=
1_Start=
1_UpLeft=Joy1_B1
1_UpRight=Joy1_B2
2_Back=Key_escape
2_Center=Joy1_B19
2_Coin=
2_DownLeft=Joy1_B20
2_DownRight=Joy1_B21
2_EffectDown=
2_EffectUp=
2_MenuDown=
2_MenuLeft=
2_MenuRight=
2_MenuUp=
2_Operator=
2_Select=
2_Start=
2_UpLeft=Joy1_B17
2_UpRight=Joy1_B18


If you have a MK6 in a GX cabinet with the external USB box you may need to run this command to enable those ports:


echo 1 > /sys/class/leds/piuio\:\:output27/brightness

Reply