BIT.TRIP Presents... Runner2: Future Legend of Rhythm Alien
Jose[PhantomBubbles][Linux] 9. aug 2013 kl. 5:57am
Linux - X-Box compatible gamepad (Logitech F-510) not being recognised
Hi, everybody.

I have been using this game with the Logitech F-510 gamepad (as an X-input device) on Ubuntu 13.04 with the xpad kernel module. The gamepad has always been correctly recognised as a X-Box gamepad and I have been able to play Runner2 with it.

However, after not having played the game for like 4 weeks approx. I find that now the gamepad is not working. I have checked the log of the game and it seems as if the game is a bit picky (I know the game ONLY supports the X-Box controller, but there are many X-Box compatible controllers):

Log with xpad module:
jose@amdfx:~/.local/share/gaijin_games/runner2$ cat log.txt
file: saving data to /home/jose/.local/share/gaijin_games/runner2
file: config directory is /home/jose/.config/gaijin_games/runner2
build 8232, Jul 31 2013 09:24:08
resource: base dir /home/jose/.local/share/Steam/SteamApps/common/bittriprunner2
SDL: setting fullscreen video mode 1920x1080
GL vendor: X.Org, renderer Gallium 0.4 on AMD PITCAIRN, version 2.1 Mesa 9.3.0-devel (git-7568a89 raring-oibaf-ppa), GLSL 1.30
render: supported GL extensions:
GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture
GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object
GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3
GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements
GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal
GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipma
GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB
GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat
GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix
GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays
GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square
GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4
GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp
GL_ARB_texture_compression GL_EXT_framebuffer_object
GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil
GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query
GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos
GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp
GL_NV_fog_distance GL_APPLE_packed_pixels GL_APPLE_vertex_array_object
GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader
GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader
GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float
GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert
GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow
GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite
GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two
GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate
GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float
GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float
GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float
GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp
GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent
GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil
GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once
GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters
GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer
GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image
GL_MESA_texture_array GL_ARB_copy_buffer GL_ARB_depth_buffer_float
GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays
GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle
GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra
GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend
GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export
GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output
GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex
GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions
GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map
GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_rgb10_a2u
GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba
GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness
GL_ARB_shader_bit_encoding GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_conservative_dept
GL_ARB_internalformat_query GL_ARB_map_buffer_alignment
GL_ARB_shading_language_420pack GL_ARB_shading_language_packing
GL_ARB_texture_storage GL_ARB_invalidate_subdata
- non-2^n textures
- FBOs
- shaders
- floating point depth buffers
- packed depth/stencil
- depth textures
- S3TC
render: GL is hardware accelerated
finished initializing renderer
starting game initialization
ResourcePackage: loading dlc1
loading sound project...
...done
input: unknown controller 'Generic X-Box pad'; ignoring
finished initializing game
starting game
ReadSaveGameData: 11, 49624

Log with xboxdrv:
jose@amdfx:~/.local/share/gaijin_games/runner2$ cat log.txt
file: saving data to /home/jose/.local/share/gaijin_games/runner2
file: config directory is /home/jose/.config/gaijin_games/runner2
build 8232, Jul 31 2013 09:24:08
resource: base dir /home/jose/.local/share/Steam/SteamApps/common/bittriprunner2
SDL: setting fullscreen video mode 1920x1080
GL vendor: X.Org, renderer Gallium 0.4 on AMD PITCAIRN, version 2.1 Mesa 9.3.0-devel (git-7568a89 raring-oibaf-ppa), GLSL 1.30
render: supported GL extensions:
GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture
GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object
GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3
GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements
GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal
GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipma
GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB
GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat
GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix
GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays
GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square
GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4
GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp
GL_ARB_texture_compression GL_EXT_framebuffer_object
GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil
GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query
GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos
GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp
GL_NV_fog_distance GL_APPLE_packed_pixels GL_APPLE_vertex_array_object
GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader
GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader
GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float
GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert
GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow
GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite
GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two
GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate
GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float
GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float
GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float
GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp
GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent
GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil
GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once
GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters
GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer
GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image
GL_MESA_texture_array GL_ARB_copy_buffer GL_ARB_depth_buffer_float
GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays
GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle
GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra
GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend
GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export
GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output
GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex
GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions
GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map
GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_rgb10_a2u
GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba
GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness
GL_ARB_shader_bit_encoding GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_conservative_dept
GL_ARB_internalformat_query GL_ARB_map_buffer_alignment
GL_ARB_shading_language_420pack GL_ARB_shading_language_packing
GL_ARB_texture_storage GL_ARB_invalidate_subdata
- non-2^n textures
- FBOs
- shaders
- floating point depth buffers
- packed depth/stencil
- depth textures
- S3TC
render: GL is hardware accelerated
finished initializing renderer
starting game initialization
ResourcePackage: loading dlc1
loading sound project...
...done
input: unknown controller 'Xbox Gamepad (userspace driver)'; ignoring
finished initializing game
starting game
ReadSaveGameData: 11, 49624

System info is as follows:
Información sobre el procesador:
Fabricante: AuthenticAMD
CPU Family: 0x15
CPU Model: 0x1
CPU Stepping: 0x2
CPU Type: 0x0
Velocidad: 3600 Mhz
Procesadores lógicos 8
Procesadores físicos 8
HyperThreading: No compatible
FCMOV: Compatible
SSE2: Compatible
SSE3: Compatible
SSSE3: Compatible
SSE4a: Compatible
SSE41: Compatible
SSE42: Compatible

Información sobre la red:
Velocidad de la red:

Versión del sistema operativo:
Ubuntu 13.04 (64 bits)
Nombre de kernel: Linux
Versión de kernel: 3.11.0-031100rc4-generic
Editor de X Server: The X.Org Foundation
Versión de X Server: 11303000
Gestor X Window: KWin
Versión del runtime de Steam: steam-runtime-release-i386_2013-06-28

Tarjeta de vídeo:
Controlador: X.Org Gallium 0.4 on AMD PITCAIRN

Versión de controlador: 2.1 Mesa 9.3.0-devel (git-7568a89 raring-oibaf-ppa)
OpenGL Version: 2.1
Densidad de color del escritorio: 24 bits por píxel
Frecuencia de actualización del monitor: 60 Hz
Identificador del fabricante: 0x1002
Identificador del dispositivo: 0x6818
Número de monitores: 1
Número de tarjetas de vídeo lógicas: 1
Resolución de pantalla principal: 1920 x 1080
Resolución de escritorio: 1920 x 1080
Tamaño de pantalla principal: 18,78" x 10,55" (21,54" diag)
47,7cm x 26,8cm (54,7cm diag)
No se ha detectado la memoria VRAM principal

Tarjeta de sonido:
Dispositivo de sonido: Realtek ALC889

Memoria:
RAM: 15993 Mb

Varios:
Idioma de la IU: Español
LANG: es_ES.UTF-8
Micrófono: Not set
Espacio total en disco disponible: 469324 MB
Bloque libre más grande en el disco: 213053 MB

Software Instalado:

Informes de fallos recientes:

To me it seems as if the lastest build (the update launched at the same time as the last DLC) restricted the valid recognisable gamepad identification to only "X-Box" and nothing else.

Does anyone know any workaround/solution?

Thanks in advance
Viser 1-15 af 23 kommentarer
< >
Jose[PhantomBubbles][Linux] 9. aug 2013 kl. 6:17am 
Hmmm... Seems like this problem has also been spotted by other programs such as XBMC. Seems like the solution they have given to is allowing the gamepad identifications contained in this link:

https://raw.github.com/xbmc/xbmc/master/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml/generic
crazymonito 17. aug 2013 kl. 7:38pm 
Have you had any luck getting this to work? I'm having the exact same issue with a Logitech F710 gamepad. I took a look at the link in your last comment, but I'm not sure what to do with that...
karmik 18. aug 2013 kl. 12:51am 
There is one workaround. Install xboxdrv and then run this command in terminal:
sudo xboxdrv --silent --type xbox360 --device-by-id 046d:c21d --mimic-xpad --detach-kernel-driver

where 046d:c21d is your gamepad id (it can be seen via lsusb command)

After this command your logitech controller will be seen as Xbox controller.
crazymonito 18. aug 2013 kl. 7:56am 
Awesome! Thanks! Hopefully they fix the issue, but this works for now.
Jose[PhantomBubbles][Linux] 18. aug 2013 kl. 10:16am 
@karmik Oh, I'll try that one when I get the chance. Thanks for the trick.

@crazymonito That was mostly for developers. In any case I dropped them a line at their support e-mail address. It looks like they have hardcoded the name of the device and that disables any other controllers whose name is not plain XBox controller. I hope they can fix it in their code.
anamorfis 19. aug 2013 kl. 2:53am 
Have a same problem with cheap chines gamepads, before update at the end of July all work fine.
input: unknown controller 'DragonRise Inc. Generic USB Joystick '; ignoring

I wrote about this problem in support(a)gaijingames.com, but have no answer.
I will try to play how say @karmik with xboxdrv.
ryukusu_luminarius 30. sep 2013 kl. 7:26am 
thanks for info. i tried that, but it didn't helped :(
the worse is that thing that other game works very good with that gamepad and only runner2 refuses to recognize it. at first i thought that was because played with joystick once, but now its game issue :(
Jose[PhantomBubbles][Linux] 30. sep 2013 kl. 8:10am 
I still have not got any reply from the support guys. I am not sure if they will be looking into this...
ryukusu_luminarius 30. sep 2013 kl. 8:39am 
oh! i did that again and it works! thanks for tips!
i used that command and it says press control+c to quit. i didn't press that key combination and its works in that game!!!
once again thanks!!!
5.1 Sound 2. okt 2013 kl. 2:36pm 
change input on X
Sidst redigeret af 5.1 Sound; 2. okt 2013 kl. 2:36pm
TechmelteR 3. okt 2013 kl. 11:24am 
For any linux users with a non microsoft pad, have you tried QjoyPad[www.playdeb.net]?

Same sort of thing as xpadder on windoze if you're familiar with that.

For windows users, just use Xpadder[www.majorgeeks.com] :)
Sidst redigeret af TechmelteR; 3. okt 2013 kl. 11:26am
TreeFort 8. okt 2013 kl. 3:58pm 
The tip from karmik works for me. The game recognizes my F710, otherwise it never responds to the pad regardless of being set to xinput mode. Steam Big Picture however responds without a problem and will even report the configuration as xinput or dinput depending on the toggle setting. What's up with this, why do some people report F710 compatibility out of the box? A manual workaround isn't ideal for Big Picture mode.
Sidst redigeret af TreeFort; 8. okt 2013 kl. 4:00pm
trustin 15. okt 2013 kl. 11:47pm 
The xboxdrv trick didn't work for me. I just patched the runner2 binary using the following commands:

cd ~/.local/share/Steam/SteamApps/common/bittriprunner2
perl -pi -e 's/Xbox 360 Wireless /Generic X-Box pad\0/' < runner2 > runner2.new
chmod 755 runner2.new
mv runner2 runner2.orig
mv runner2.new runner2

It now recognizes my F710 successfully. Using this technique, you can use whatever XB360 compatible pad as long as the name of the device isn't too long.

But, why don't they just fix the problem!? Mind-boggling!
Jose[PhantomBubbles][Linux] 16. okt 2013 kl. 2:17am 
Wow. such a simple fix... Thanks for the tip and bad for their support. I still haven't got any reply from them after 2 months
Mega-X 3. jan kl. 2:22am 
Oprindeligt skrevet af FrEaK:
For any linux users with a non microsoft pad, have you tried QjoyPad[www.playdeb.net]?

Same sort of thing as xpadder on windoze if you're familiar with that.

For windows users, just use Xpadder[www.majorgeeks.com] :)

THANK YOU SO MUCH. I've managed to configure my random chinese gamepad controller (the same as @anamorfis) by using QJoyPad and now I can play SMB one thousand times more comfortably. :)
Sidst redigeret af Mega-X; 3. jan kl. 2:23am
Viser 1-15 af 23 kommentarer
< >
Per side: 15 30 50