Keyboard not working on retroarch menu and games

Hi to all,

[this part was (maybe) solved, please help on mi last port here: http://www.libretro.com/forums/viewtopic.php?f=2&t=2329&p=17127#p17127]

I’m trying to compile RetroArch on my BananaPi board. It’s an ARM (armhf) based board on chip A20. (details: http://www.lemaker.org/). I’m using this line to configure, based on Lekka config files (BananaPi board) and CFLAGS on cubieboard2:


 CFLAGS="-mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math -Ofast" ./configure --disable-vg --disable-ffmpeg --disable-sdl --disable-x11 --disable-xvideo --enable-gles --disable-kms --enable-neon --enable-fbo --enable-mali_fbdev --enable-lakka --enable-freetype

And after that, here the error:


CC gfx/context/mali_fbdev_ctx.c
gfx/context/mali_fbdev_ctx.c: In function ‘gfx_ctx_set_video_mode’:
gfx/context/mali_fbdev_ctx.c:202:11: error: variable ‘window’ has initializer but incomplete type
gfx/context/mali_fbdev_ctx.c:202:11: warning: excess elements in struct initializer [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:11: warning: (near initialization for ‘window’) [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:11: warning: excess elements in struct initializer [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:11: warning: (near initialization for ‘window’) [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:24: error: storage size of ‘window’ isn’t known
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
                 from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
                 from /opt/vc/include/EGL/eglplatform.h:110,
                 from /opt/vc/include/EGL/egl.h:36,
                 from gfx/context/../gl_common.h:34,
                 from gfx/context/mali_fbdev_ctx.c:19:
gfx/context/mali_fbdev_ctx.c: At top level:
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined [enabled by default]
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
                 from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
                 from /opt/vc/include/EGL/eglplatform.h:110,
                 from /opt/vc/include/EGL/egl.h:36,
                 from gfx/context/../gl_common.h:34,
                 from gfx/context/mali_fbdev_ctx.c:19:
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affinity’ declared but never defined [enabled by default]
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
                 from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
                 from /opt/vc/include/EGL/eglplatform.h:110,
                 from /opt/vc/include/EGL/egl.h:36,
                 from gfx/context/../gl_common.h:34,
                 from gfx/context/mali_fbdev_ctx.c:19:
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined [enabled by default]
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
                 from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
                 from /opt/vc/include/EGL/eglplatform.h:110,
                 from /opt/vc/include/EGL/egl.h:36,
                 from gfx/context/../gl_common.h:34,
                 from gfx/context/mali_fbdev_ctx.c:19:
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affinity’ declared but never defined [enabled by default]
Makefile:580: recipe for target 'obj-unix/gfx/context/mali_fbdev_ctx.o' failed
make: *** [obj-unix/gfx/context/mali_fbdev_ctx.o] Error 1

Syrtem is Raspbian 3.1 (for BananaPi). I’ve installed sunxi-mali as well.

Could someone help me?

Thanks a lot!

Simon

Hello!

After some corrections, I was able to compile it. I’ve compiled imame4all-libretro as well. Now executing a rom I get an error:


retroarch -L /root/software/imame4all-libretro/libretro.so /root/.advance/rom/wboy.zip
RetroArch [WARN] :: system_directory is not set in config. Assuming system directory is same folder as game: "".
loading b-1.bin     
loading b-2.bin     
loading epr7491.96  
loading ic120_98.bin
loading epr6497.62  
loading epr7496.61  
loading epr7495.64  
loading epr7494.63  
loading epr7493.66  
loading epr7492.65  
loading epr7485.117 
loading epr7487.04  
loading epr7486.110 
loading epr7488.05  
             
used read  elements 2/64 , functions 25/64
used write elements 4/64 , functions 29/64
width 256, height 224
set visible area 0-0 0-0
gfx_width = 256 gfx_height = 224
gfx_xoffset = 120 gfx_yoffset = 111
xmin 0 ymin 0 xmax 0 ymax 0
skiplines 0 skipcolumns 0
gfx_display_lines 1 gfx_display_columns 1
xmultiply 1 ymultiply 1
set visible area 0-255 0-223
gfx_width = 256 gfx_height = 224
gfx_xoffset = 0 gfx_yoffset = 0
xmin 0 ymin 0 xmax 255 ymax 223
skiplines 0 skipcolumns 0
gfx_display_lines 224 gfx_display_columns 256
xmultiply 1 ymultiply 1
blitscreen_dirty1_color8
* failed to open vchiq device

What is this device for? On my board (banana pi) there is no such a device.

Thanks for help!

Simon

Hmm. That’s weird, but it could be a permissions issue, according to this: https://digitalchild.info/raspberry-pi- … ce-solved/

i think the problem is this device does not exist on this board… its a banana pi board and not raspberry .

i have no idea how to solve it…

any idea?

Is there someone that cound help me? I’ve tried to delete the entry ‘–lvchiq_arm’ on "GLES_LIBRS in’ the “config.mk” file as well. Same result :frowning:

Simon

It looks like that device is related to CPU>GPU communication…? Since it’s missing in this case, the bananapi drivers don’t have opengl acceleration, so you’ll probably need to use SDL for your video driver instead of gl.

SDL means via X11? This should decrease a lot the performances, seems… I get only “gl” and “sdl2” as video options. Any experience with “lima”.

yeah, that would be via X11, and it would indeed hurt performance. I unfortunately do not have any experience with the lima driver.

Have you tried running the Lakka distro on your board?

lakka I’ts a little buggy on menu navigation. It doesn’t show the first 10 menus :frowning: What I would need is an emulator but on demand… when not needed I need a board with some features like ssh server, perl to execute some background script and a web browser. I don’t think Lakka can offer this, because it’s a tiny image. Or not?

Meanwhile SEEMS i got something to work, but the keyboard is not responding. I’ve compiled imame4all-libretro as core. I’m starting in from within a terminal into X11 Desktop as root.

Here the retrarch features and the error:

retroarch --features

Features:
        SDL:
                SDL drivers: no
        SDL2:
                SDL2 drivers: yes
        X11:
                X11 drivers: no
        wayland:
                Wayland drivers: no
        Threads:
                Threading support: yes
        OpenGL:
                OpenGL driver: yes
        KMS:
                KMS/EGL context support: no
        UDEV:
                UDEV/EVDEV input driver support: yes
        EGL:
                EGL context support: yes
        OpenVG:
                OpenVG output support: no
        XVideo:
                XVideo output: no
        ALSA:
                audio driver: yes
        OSS:
                audio driver: yes
        Jack:
                audio driver: no
        RSound:
                audio driver: no
        RoarAudio:
                audio driver: no
        PulseAudio:
                audio driver: yes
        DirectSound:
                audio driver: no
        XAudio2:
                audio driver: no
        zlib:
                PNG encode/decode and .zip extraction: yes
        OpenAL:
                audio driver: no
        External:
                External filter and plugin support: yes
        Cg:
                Cg pixel shaders: no
        libxml2:
                libxml2 XML parsing: yes
        SDL_image:
                SDL_image image loading: no
        FBO:
                OpenGL render-to-texture (multi-pass shaders): yes
        Dynamic:
                Dynamic run-time loading of libretro library: yes
        FFmpeg:
                On-the-fly recording of gameplay with libavcodec: no
        FreeType:
                TTF font rendering with FreeType: yes
        Netplay:
                Peer-to-peer netplay: yes
        Python:
                Script support in shaders: no

Then what happen if I execute the retroarch menu to navigate the settings. I cannot move anything. Even if I press arrows or any key, nothing happens. On a game too. The login appears, where it says I need to move “left/right” to continue, but even if I do that, nothing appears.

retroarch --menu -c /etc/retroarch.cfg -v > retroarch.log
=== Build =======================================
Compiler: GCC (4.7.2) 32-bit
Built: Sep 11 2014
Version: 1.0.0.2
Git: 080a79d
=================================================
RetroArch: [CPUID]: NEON: 1
RetroArch: Loading config from: /etc/retroarch.cfg.
=== Config ===
RetroArch: video_driver = "sdl2"
RetroArch: input_axis_threshold = "0.500000"
RetroArch: load_dummy_on_core_shutdown = "true"
RetroArch: fps_show = "false"
RetroArch: libretro_path = "~/software/imame4all-libretro/libretro.so"
RetroArch: rewind_enable = "false"
RetroArch: audio_latency = "64"
RetroArch: audio_sync = "true"
RetroArch: audio_block_frames = "0"
RetroArch: rewind_granularity = "1"
RetroArch: video_shader_enable = "false"
RetroArch: video_aspect_ratio = "-1.000000"
RetroArch: video_windowed_fullscreen = "true"
RetroArch: video_scale = "3.000000"
RetroArch: autosave_interval = "0"
RetroArch: video_crop_overscan = "true"
RetroArch: video_scale_integer = "false"
RetroArch: video_smooth = "true"
RetroArch: video_threaded = "false"
RetroArch: video_shared_context = "false"
RetroArch: video_fullscreen = "false"
RetroArch: video_refresh_rate = "59.950001"
RetroArch: video_monitor_index = "0"
RetroArch: video_fullscreen_x = "0"
RetroArch: video_fullscreen_y = "0"
RetroArch: menu_driver = "rgui"
RetroArch: video_vsync = "true"
RetroArch: video_hard_sync = "false"
RetroArch: video_hard_sync_frames = "0"
RetroArch: video_frame_delay = "0"
RetroArch: video_black_frame_insertion = "false"
RetroArch: video_disable_composition = "false"
RetroArch: pause_nonactive = "false"
RetroArch: video_swap_interval = "1"
RetroArch: video_gpu_screenshot = "true"
RetroArch: video_rotation = "0"
RetroArch: screenshot_directory = "default"
RetroArch: aspect_ratio_index = "19"
RetroArch: camera_allow = "false"
RetroArch: audio_rate_control = "true"
RetroArch: audio_rate_control_delta = "0.005000"
RetroArch: audio_driver = "alsathread"
RetroArch: audio_enable = "true"
RetroArch: audio_out_rate = "48000"
RetroArch: location_allow = "false"
RetroArch: video_font_size = "32.000000"
RetroArch: video_font_enable = "true"
RetroArch: system_directory = "default"
RetroArch: audio_resampler = "sinc"
RetroArch: savefile_directory = "default"
RetroArch: savestate_directory = "default"
RetroArch: video_shader_dir = "default"
RetroArch: video_filter_dir = "default"
RetroArch: audio_filter_dir = "default"
RetroArch: content_directory = "default"
RetroArch: assets_directory = "default"
RetroArch: rgui_browser_directory = "default"
RetroArch: rgui_config_directory = "default"
RetroArch: rgui_show_start_screen = "false"
RetroArch: game_history_path = "/etc/retroarch-content-history.txt"
RetroArch: game_history_size = "100"
RetroArch: input_autodetect_enable = "true"
RetroArch: overlay_directory = "default"
RetroArch: input_overlay_opacity = "0.700000"
RetroArch: input_overlay_scale = "1.000000"
RetroArch: video_message_pos_x = "0.050000"
RetroArch: video_message_pos_y = "0.050000"
RetroArch: gamma_correction = "false"
RetroArch: soft_filter_enable = "false"
RetroArch: flicker_filter_enable = "false"
RetroArch: flicker_filter_index = "0"
RetroArch: soft_filter_index = "0"
RetroArch: current_resolution_id = "0"
RetroArch: custom_viewport_width = "0"
RetroArch: custom_viewport_height = "0"
RetroArch: custom_viewport_x = "0"
RetroArch: custom_viewport_y = "0"
RetroArch: block_sram_overwrite = "false"
RetroArch: savestate_auto_index = "false"
RetroArch: savestate_auto_save = "false"
RetroArch: savestate_auto_load = "true"
RetroArch: fastforward_ratio = "-1.000000"
RetroArch: slowmotion_ratio = "3.000000"
RetroArch: config_save_on_exit = "true"
RetroArch: sound_mode = "0"
RetroArch: state_slot = "0"
RetroArch: netplay_spectator_mode_enable = "false"
RetroArch: netplay_mode = "false"
RetroArch: netplay_ip_port = "0"
RetroArch: netplay_delay_frames = "0"
RetroArch: user_language = "0"
RetroArch: custom_bgm_enable = "false"
RetroArch: input_driver = "udev"
RetroArch: input_device_p1 = "0"
RetroArch: input_player1_joypad_index = "0"
RetroArch: input_libretro_device_p1 = "1"
RetroArch: input_player1_analog_dpad_mode = "0"
RetroArch: input_device_p2 = "0"
RetroArch: input_player2_joypad_index = "1"
RetroArch: input_libretro_device_p2 = "1"
RetroArch: input_player2_analog_dpad_mode = "0"
RetroArch: input_device_p3 = "0"
RetroArch: input_player3_joypad_index = "2"
RetroArch: input_libretro_device_p3 = "1"
RetroArch: input_player3_analog_dpad_mode = "0"
RetroArch: input_device_p4 = "0"
RetroArch: input_player4_joypad_index = "3"
RetroArch: input_libretro_device_p4 = "1"
RetroArch: input_player4_analog_dpad_mode = "0"
RetroArch: input_device_p5 = "0"
RetroArch: input_player5_joypad_index = "4"
RetroArch: input_libretro_device_p5 = "1"
RetroArch: input_player5_analog_dpad_mode = "0"
RetroArch: input_device_p6 = "0"
RetroArch: input_player6_joypad_index = "5"
RetroArch: input_libretro_device_p6 = "1"
RetroArch: input_player6_analog_dpad_mode = "0"
RetroArch: input_device_p7 = "0"
RetroArch: input_player7_joypad_index = "6"
RetroArch: input_libretro_device_p7 = "1"
RetroArch: input_player7_analog_dpad_mode = "0"
RetroArch: input_device_p8 = "0"
RetroArch: input_player8_joypad_index = "7"
RetroArch: input_libretro_device_p8 = "1"
RetroArch: input_player8_analog_dpad_mode = "0"
RetroArch: input_device_p9 = "0"
RetroArch: input_player9_joypad_index = "8"
RetroArch: input_libretro_device_p9 = "1"
RetroArch: input_player9_analog_dpad_mode = "0"
RetroArch: input_device_p10 = "0"
RetroArch: input_player10_joypad_index = "9"
RetroArch: input_libretro_device_p10 = "1"
RetroArch: input_player10_analog_dpad_mode = "0"
RetroArch: input_device_p11 = "0"
RetroArch: input_player11_joypad_index = "10"
RetroArch: input_libretro_device_p11 = "1"
RetroArch: input_player11_analog_dpad_mode = "0"
RetroArch: input_device_p12 = "0"
RetroArch: input_player12_joypad_index = "11"
RetroArch: input_libretro_device_p12 = "1"
RetroArch: input_player12_analog_dpad_mode = "0"
RetroArch: input_device_p13 = "0"
RetroArch: input_player13_joypad_index = "12"
RetroArch: input_libretro_device_p13 = "1"
RetroArch: input_player13_analog_dpad_mode = "0"
RetroArch: input_device_p14 = "0"
RetroArch: input_player14_joypad_index = "13"
RetroArch: input_libretro_device_p14 = "1"
RetroArch: input_player14_analog_dpad_mode = "0"
RetroArch: input_device_p15 = "0"
RetroArch: input_player15_joypad_index = "14"
RetroArch: input_libretro_device_p15 = "1"
RetroArch: input_player15_analog_dpad_mode = "0"
RetroArch: input_device_p16 = "0"
RetroArch: input_player16_joypad_index = "15"
RetroArch: input_libretro_device_p16 = "1"
RetroArch: input_player16_analog_dpad_mode = "0"
RetroArch: input_player1_b = "z"
RetroArch: input_player1_b_btn = "nul"
RetroArch: input_player1_b_axis = "nul"
RetroArch: input_player1_y = "a"
RetroArch: input_player1_y_btn = "nul"
RetroArch: input_player1_y_axis = "nul"
RetroArch: input_player1_select = "rshift"
RetroArch: input_player1_select_btn = "nul"
RetroArch: input_player1_select_axis = "nul"
RetroArch: input_player1_start = "enter"
RetroArch: input_player1_start_btn = "nul"
RetroArch: input_player1_start_axis = "nul"
RetroArch: input_player1_up = "up"
RetroArch: input_player1_up_btn = "nul"
RetroArch: input_player1_up_axis = "nul"
RetroArch: input_player1_down = "down"
RetroArch: input_player1_down_btn = "nul"
RetroArch: input_player1_down_axis = "nul"
RetroArch: input_player1_left = "left"
RetroArch: input_player1_left_btn = "nul"
RetroArch: input_player1_left_axis = "nul"
RetroArch: input_player1_right = "right"
RetroArch: input_player1_right_btn = "nul"
RetroArch: input_player1_right_axis = "nul"
RetroArch: input_player1_a = "x"
RetroArch: input_player1_a_btn = "nul"
RetroArch: input_player1_a_axis = "nul"
RetroArch: input_player1_x = "s"
RetroArch: input_player1_x_btn = "nul"
RetroArch: input_player1_x_axis = "nul"
RetroArch: input_player1_l = "q"
RetroArch: input_player1_l_btn = "nul"
RetroArch: input_player1_l_axis = "nul"
RetroArch: input_player1_r = "w"
RetroArch: input_player1_r_btn = "nul"
RetroArch: input_player1_r_axis = "nul"
RetroArch: input_player1_l2 = "nul"
RetroArch: input_player1_l2_btn = "nul"
RetroArch: input_player1_l2_axis = "nul"
RetroArch: input_player1_r2 = "nul"
RetroArch: input_player1_r2_btn = "nul"
RetroArch: input_player1_r2_axis = "nul"
RetroArch: input_player1_l3 = "nul"
RetroArch: input_player1_l3_btn = "nul"
RetroArch: input_player1_l3_axis = "nul"
RetroArch: input_player1_r3 = "nul"
RetroArch: input_player1_r3_btn = "nul"
RetroArch: input_player1_r3_axis = "nul"
RetroArch: input_player1_l_x_plus = "nul"
RetroArch: input_player1_l_x_plus_btn = "nul"
RetroArch: input_player1_l_x_plus_axis = "nul"
RetroArch: input_player1_l_x_minus = "nul"
RetroArch: input_player1_l_x_minus_btn = "nul"
RetroArch: input_player1_l_x_minus_axis = "nul"
RetroArch: input_player1_l_y_plus = "nul"
RetroArch: input_player1_l_y_plus_btn = "nul"
RetroArch: input_player1_l_y_plus_axis = "nul"
RetroArch: input_player1_l_y_minus = "nul"
RetroArch: input_player1_l_y_minus_btn = "nul"
RetroArch: input_player1_l_y_minus_axis = "nul"
RetroArch: input_player1_r_x_plus = "nul"
RetroArch: input_player1_r_x_plus_btn = "nul"
RetroArch: input_player1_r_x_plus_axis = "nul"
RetroArch: input_player1_r_x_minus = "nul"
RetroArch: input_player1_r_x_minus_btn = "nul"
RetroArch: input_player1_r_x_minus_axis = "nul"
RetroArch: input_player1_r_y_plus = "nul"
RetroArch: input_player1_r_y_plus_btn = "nul"
RetroArch: input_player1_r_y_plus_axis = "nul"
RetroArch: input_player1_r_y_minus = "nul"
RetroArch: input_player1_r_y_minus_btn = "nul"
RetroArch: input_player1_r_y_minus_axis = "nul"
RetroArch: input_player1_turbo = "nul"
RetroArch: input_player1_turbo_btn = "nul"
RetroArch: input_player1_turbo_axis = "nul"
RetroArch: input_toggle_fast_forward = "space"
RetroArch: input_toggle_fast_forward_btn = "nul"
RetroArch: input_toggle_fast_forward_axis = "nul"
RetroArch: input_hold_fast_forward = "l"
RetroArch: input_hold_fast_forward_btn = "nul"
RetroArch: input_hold_fast_forward_axis = "nul"
RetroArch: input_load_state = "f4"
RetroArch: input_load_state_btn = "nul"
RetroArch: input_load_state_axis = "nul"
RetroArch: input_save_state = "f2"
RetroArch: input_save_state_btn = "nul"
RetroArch: input_save_state_axis = "nul"
RetroArch: input_toggle_fullscreen = "f"
RetroArch: input_toggle_fullscreen_btn = "nul"
RetroArch: input_toggle_fullscreen_axis = "nul"
RetroArch: input_exit_emulator = "escape"
RetroArch: input_exit_emulator_btn = "nul"
RetroArch: input_exit_emulator_axis = "nul"
RetroArch: input_state_slot_increase = "f7"
RetroArch: input_state_slot_increase_btn = "nul"
RetroArch: input_state_slot_increase_axis = "nul"
RetroArch: input_state_slot_decrease = "f6"
RetroArch: input_state_slot_decrease_btn = "nul"
RetroArch: input_state_slot_decrease_axis = "nul"
RetroArch: input_rewind = "r"
RetroArch: input_rewind_btn = "nul"
RetroArch: input_rewind_axis = "nul"
RetroArch: input_movie_record_toggle = "o"
RetroArch: input_movie_record_toggle_btn = "nul"
RetroArch: input_movie_record_toggle_axis = "nul"
RetroArch: input_pause_toggle = "p"
RetroArch: input_pause_toggle_btn = "nul"
RetroArch: input_pause_toggle_axis = "nul"
RetroArch: input_frame_advance = "k"
RetroArch: input_frame_advance_btn = "nul"
RetroArch: input_frame_advance_axis = "nul"
RetroArch: input_reset = "h"
RetroArch: input_reset_btn = "nul"
RetroArch: input_reset_axis = "nul"
RetroArch: input_shader_next = "m"
RetroArch: input_shader_next_btn = "nul"
RetroArch: input_shader_next_axis = "nul"
RetroArch: input_shader_prev = "n"
RetroArch: input_shader_prev_btn = "nul"
RetroArch: input_shader_prev_axis = "nul"
RetroArch: input_cheat_index_plus = "y"
RetroArch: input_cheat_index_plus_btn = "nul"
RetroArch: input_cheat_index_plus_axis = "nul"
RetroArch: input_cheat_index_minus = "t"
RetroArch: input_cheat_index_minus_btn = "nul"
RetroArch: input_cheat_index_minus_axis = "nul"
RetroArch: input_cheat_toggle = "u"
RetroArch: input_cheat_toggle_btn = "nul"
RetroArch: input_cheat_toggle_axis = "nul"
RetroArch: input_screenshot = "f8"
RetroArch: input_screenshot_btn = "nul"
RetroArch: input_screenshot_axis = "nul"
RetroArch: input_audio_mute = "f9"
RetroArch: input_audio_mute_btn = "nul"
RetroArch: input_audio_mute_axis = "nul"
RetroArch: input_netplay_flip_players = "i"
RetroArch: input_netplay_flip_players_btn = "nul"
RetroArch: input_netplay_flip_players_axis = "nul"
RetroArch: input_slowmotion = "e"
RetroArch: input_slowmotion_btn = "nul"
RetroArch: input_slowmotion_axis = "nul"
RetroArch: input_enable_hotkey = "nul"
RetroArch: input_enable_hotkey_btn = "nul"
RetroArch: input_enable_hotkey_axis = "nul"
RetroArch: input_volume_up = "add"
RetroArch: input_volume_up_btn = "nul"
RetroArch: input_volume_up_axis = "nul"
RetroArch: input_volume_down = "subtract"
RetroArch: input_volume_down_btn = "nul"
RetroArch: input_volume_down_axis = "nul"
RetroArch: input_overlay_next = "nul"
RetroArch: input_overlay_next_btn = "nul"
RetroArch: input_overlay_next_axis = "nul"
RetroArch: input_disk_eject_toggle = "nul"
RetroArch: input_disk_eject_toggle_btn = "nul"
RetroArch: input_disk_eject_toggle_axis = "nul"
RetroArch: input_disk_next = "nul"
RetroArch: input_disk_next_btn = "nul"
RetroArch: input_disk_next_axis = "nul"
RetroArch: input_grab_mouse_toggle = "f11"
RetroArch: input_grab_mouse_toggle_btn = "nul"
RetroArch: input_grab_mouse_toggle_axis = "nul"
RetroArch: input_menu_toggle = "f1"
RetroArch: input_menu_toggle_btn = "nul"
RetroArch: input_menu_toggle_axis = "nul"
RetroArch: input_player2_b = "nul"
RetroArch: input_player2_b_btn = "nul"
RetroArch: input_player2_b_axis = "nul"
RetroArch: input_player2_y = "nul"
RetroArch: input_player2_y_btn = "nul"
RetroArch: input_player2_y_axis = "nul"
RetroArch: input_player2_select = "nul"
RetroArch: input_player2_select_btn = "nul"
RetroArch: input_player2_select_axis = "nul"
RetroArch: input_player2_start = "nul"
RetroArch: input_player2_start_btn = "nul"
RetroArch: input_player2_start_axis = "nul"
RetroArch: input_player2_up = "nul"
RetroArch: input_player2_up_btn = "nul"
RetroArch: input_player2_up_axis = "nul"
RetroArch: input_player2_down = "nul"
RetroArch: input_player2_down_btn = "nul"
RetroArch: input_player2_down_axis = "nul"
RetroArch: input_player2_left = "nul"
RetroArch: input_player2_left_btn = "nul"
RetroArch: input_player2_left_axis = "nul"
RetroArch: input_player2_right = "nul"
RetroArch: input_player2_right_btn = "nul"
RetroArch: input_player2_right_axis = "nul"
RetroArch: input_player2_a = "nul"
RetroArch: input_player2_a_btn = "nul"
RetroArch: input_player2_a_axis = "nul"
RetroArch: input_player2_x = "nul"
RetroArch: input_player2_x_btn = "nul"
RetroArch: input_player2_x_axis = "nul"
RetroArch: input_player2_l = "nul"
RetroArch: input_player2_l_btn = "nul"
RetroArch: input_player2_l_axis = "nul"
RetroArch: input_player2_r = "nul"
RetroArch: input_player2_r_btn = "nul"
RetroArch: input_player2_r_axis = "nul"
RetroArch: input_player2_l2 = "nul"
RetroArch: input_player2_l2_btn = "nul"
RetroArch: input_player2_l2_axis = "nul"
RetroArch: input_player2_r2 = "nul"
RetroArch: input_player2_r2_btn = "nul"
RetroArch: input_player2_r2_axis = "nul"
RetroArch: input_player2_l3 = "nul"
RetroArch: input_player2_l3_btn = "nul"
RetroArch: input_player2_l3_axis = "nul"
RetroArch: input_player2_r3 = "nul"
RetroArch: input_player2_r3_btn = "nul"
RetroArch: input_player2_r3_axis = "nul"
RetroArch: input_player2_l_x_plus = "nul"
RetroArch: input_player2_l_x_plus_btn = "nul"
RetroArch: input_player2_l_x_plus_axis = "nul"
RetroArch: input_player2_l_x_minus = "nul"
RetroArch: input_player2_l_x_minus_btn = "nul"
RetroArch: input_player2_l_x_minus_axis = "nul"
RetroArch: input_player2_l_y_plus = "nul"
RetroArch: input_player2_l_y_plus_btn = "nul"
RetroArch: input_player2_l_y_plus_axis = "nul"
RetroArch: input_player2_l_y_minus = "nul"
RetroArch: input_player2_l_y_minus_btn = "nul"
RetroArch: input_player2_l_y_minus_axis = "nul"
RetroArch: input_player2_r_x_plus = "nul"
RetroArch: input_player2_r_x_plus_btn = "nul"
RetroArch: input_player2_r_x_plus_axis = "nul"
RetroArch: input_player2_r_x_minus = "nul"
RetroArch: input_player2_r_x_minus_btn = "nul"
RetroArch: input_player2_r_x_minus_axis = "nul"
RetroArch: input_player2_r_y_plus = "nul"
RetroArch: input_player2_r_y_plus_btn = "nul"
RetroArch: input_player2_r_y_plus_axis = "nul"
RetroArch: input_player2_r_y_minus = "nul"
RetroArch: input_player2_r_y_minus_btn = "nul"
RetroArch: input_player2_r_y_minus_axis = "nul"
RetroArch: input_player2_turbo = "nul"
RetroArch: input_player2_turbo_btn = "nul"
RetroArch: input_player2_turbo_axis = "nul"


(snip)

RetroArch: input_player16_turbo_axis = "nul"
RetroArch: core_specific_config = "false"
RetroArch: libretro_log_level = "0"
RetroArch: log_verbosity = "true"
RetroArch: perfcnt_enable = "false"
=== Config end ===
RetroArch: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch: Version of libretro API: 1
RetroArch: Compiled against API: 1
RetroArch: Set audio input rate to: 29975.00 Hz.
RetroArch: Video @ 960x720
RetroArch: [SDL]: Available renderers (change with $SDL_RENDER_DRIVER):
RetroArch:      opengl
RetroArch:      software
RetroArch: [SDL]: Available displays:
RetroArch:      Display #0 mode: 1920x1080@60hz.
RetroArch: [SDL]: Creating window @ 960x720
RetroArch: Using font rendering backend: freetype.
RetroArch: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
RetroArch: [udev] Adding device /dev/input/event2 as type ID_INPUT_KEYBOARD.
RetroArch: [udev] Adding device /dev/input/event0 as type ID_INPUT_KEYBOARD.
RetroArch: [udev] Adding device /dev/input/event4 as type ID_INPUT_MOUSE.
RetroArch: [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE.
RetroArch: Found joypad driver: "udev".
RetroArch: [CPUID]: NEON: 1
RetroArch: ALSA: Using signed 16-bit format.
RetroArch: ALSA: Period size: 1024 frames
RetroArch: ALSA: Buffer size: 4096 frames
RetroArch: [CPUID]: NEON: 1
RetroArch: Sinc resampler [NEON]
RetroArch: SINC params (12 phase bits, 8 taps).
RetroArch: Opening playlist: /etc/retroarch-content-history.txt.
RetroArch: SRAM will not be saved.

Any idea?

Thanks a lot!

Simon

Maybe try changing input_driver from udev to linuxraw or sdl/sdl2 in your retroarch.cfg.

I’ll try this and let you know. Neanwhile I’ve tried to start over with a fresh new installation and getting a new error on the compilation. Maybe the git repo was updated? I’ll ask on a new thread and update this tomorrow with your suggesions.

Thanks

Simon

Hello!

Here again! Well, the input_driver set to ‘linuxraw’ doesn’t start at all. Using sdl2 it starts, the menu is displayed (I’m launching only retroarch --menu) . I can navigate the menu but it is EXTREMELY SLOW. I press arrow down and it answer me after 4-5 seconds or more…

Here the log:

# /opt/retroarch/bin/retroarch -c /etc/retroarch_old.cfg --menu -v
rarch_main_init: === Build =======================================
Compiler: GCC (4.6.3) 32-bit
Built: Sep 17 2014
rarch_main_init: Version: 1.0.0.2
rarch_main_init: Git: 3892c83
rarch_main_init: =================================================
RetroArch: rarch_get_cpu_features: [CPUID]: NEON: 1
RetroArch: parse_config_file: Loading config from: /etc/retroarch_old.cfg.
config_load_file: === Config ===
RetroArch: config_file_dump_all: video_driver = "sdl2" 
RetroArch: config_file_dump_all: input_axis_threshold = "0.500000" 
RetroArch: config_file_dump_all: load_dummy_on_core_shutdown = "true" 
RetroArch: config_file_dump_all: fps_show = "false" 
RetroArch: config_file_dump_all: //libretro_path = "~/software/imame4all-libretro/libretro.so" 
RetroArch: config_file_dump_all: rewind_enable = "false" 
RetroArch: config_file_dump_all: audio_latency = "64" 
RetroArch: config_file_dump_all: audio_sync = "true" 
RetroArch: config_file_dump_all: audio_block_frames = "0" 
RetroArch: config_file_dump_all: rewind_granularity = "1" 
RetroArch: config_file_dump_all: video_shader_enable = "false" 
RetroArch: config_file_dump_all: video_aspect_ratio = "-1.000000" 
RetroArch: config_file_dump_all: video_windowed_fullscreen = "true" 
RetroArch: config_file_dump_all: video_scale = "3.000000" 
RetroArch: config_file_dump_all: autosave_interval = "0" 
RetroArch: config_file_dump_all: video_crop_overscan = "true" 
RetroArch: config_file_dump_all: video_scale_integer = "false" 
RetroArch: config_file_dump_all: video_smooth = "true" 
RetroArch: config_file_dump_all: video_threaded = "false" 
RetroArch: config_file_dump_all: video_shared_context = "false" 
RetroArch: config_file_dump_all: video_fullscreen = "false" 
RetroArch: config_file_dump_all: video_refresh_rate = "59.950001" 
RetroArch: config_file_dump_all: video_monitor_index = "0" 
RetroArch: config_file_dump_all: video_fullscreen_x = "0" 
RetroArch: config_file_dump_all: video_fullscreen_y = "0" 
RetroArch: config_file_dump_all: menu_driver = "rgui" 
RetroArch: config_file_dump_all: video_vsync = "true" 
RetroArch: config_file_dump_all: video_hard_sync = "false" 
RetroArch: config_file_dump_all: video_hard_sync_frames = "0" 
RetroArch: config_file_dump_all: video_frame_delay = "0" 
RetroArch: config_file_dump_all: video_black_frame_insertion = "false" 
RetroArch: config_file_dump_all: video_disable_composition = "false" 
RetroArch: config_file_dump_all: pause_nonactive = "false" 
RetroArch: config_file_dump_all: video_swap_interval = "1" 
RetroArch: config_file_dump_all: video_gpu_screenshot = "true" 
RetroArch: config_file_dump_all: video_rotation = "0" 
RetroArch: config_file_dump_all: screenshot_directory = "default" 
RetroArch: config_file_dump_all: aspect_ratio_index = "19" 
RetroArch: config_file_dump_all: camera_allow = "false" 
RetroArch: config_file_dump_all: audio_rate_control = "true" 
RetroArch: config_file_dump_all: audio_rate_control_delta = "0.005000" 
RetroArch: config_file_dump_all: audio_driver = "alsathread" 
RetroArch: config_file_dump_all: audio_enable = "true" 
RetroArch: config_file_dump_all: audio_out_rate = "48000" 
RetroArch: config_file_dump_all: location_allow = "false" 
RetroArch: config_file_dump_all: video_font_size = "32.000000" 
RetroArch: config_file_dump_all: video_font_enable = "true" 
RetroArch: config_file_dump_all: system_directory = "default" 
RetroArch: config_file_dump_all: audio_resampler = "sinc" 
RetroArch: config_file_dump_all: savefile_directory = "default" 
RetroArch: config_file_dump_all: savestate_directory = "default" 
RetroArch: config_file_dump_all: video_shader_dir = "default" 
RetroArch: config_file_dump_all: video_filter_dir = "default" 
RetroArch: config_file_dump_all: audio_filter_dir = "default" 
RetroArch: config_file_dump_all: content_directory = "default" 
RetroArch: config_file_dump_all: assets_directory = "default" 
RetroArch: config_file_dump_all: rgui_browser_directory = "default" 
RetroArch: config_file_dump_all: rgui_config_directory = "default" 
RetroArch: config_file_dump_all: rgui_show_start_screen = "false" 
RetroArch: config_file_dump_all: game_history_path = "/etc/retroarch-content-history.txt" 
RetroArch: config_file_dump_all: game_history_size = "100" 
RetroArch: config_file_dump_all: input_autodetect_enable = "true" 
RetroArch: config_file_dump_all: overlay_directory = "default" 
RetroArch: config_file_dump_all: input_overlay_opacity = "0.700000" 
RetroArch: config_file_dump_all: input_overlay_scale = "1.000000" 
RetroArch: config_file_dump_all: video_message_pos_x = "0.050000" 
RetroArch: config_file_dump_all: video_message_pos_y = "0.050000" 
RetroArch: config_file_dump_all: gamma_correction = "false" 
RetroArch: config_file_dump_all: soft_filter_enable = "false" 
RetroArch: config_file_dump_all: flicker_filter_enable = "false" 
RetroArch: config_file_dump_all: flicker_filter_index = "0" 
RetroArch: config_file_dump_all: soft_filter_index = "0" 
RetroArch: config_file_dump_all: current_resolution_id = "0" 
RetroArch: config_file_dump_all: custom_viewport_width = "0" 
RetroArch: config_file_dump_all: custom_viewport_height = "0" 
RetroArch: config_file_dump_all: custom_viewport_x = "0" 
RetroArch: config_file_dump_all: custom_viewport_y = "0" 
RetroArch: config_file_dump_all: block_sram_overwrite = "false" 
RetroArch: config_file_dump_all: savestate_auto_index = "false" 
RetroArch: config_file_dump_all: savestate_auto_save = "false" 
RetroArch: config_file_dump_all: savestate_auto_load = "true" 
RetroArch: config_file_dump_all: fastforward_ratio = "-1.000000" 
RetroArch: config_file_dump_all: slowmotion_ratio = "3.000000" 
RetroArch: config_file_dump_all: config_save_on_exit = "true" 
RetroArch: config_file_dump_all: sound_mode = "0" 
RetroArch: config_file_dump_all: state_slot = "0" 
RetroArch: config_file_dump_all: netplay_spectator_mode_enable = "false" 
RetroArch: config_file_dump_all: netplay_mode = "false" 
RetroArch: config_file_dump_all: netplay_ip_port = "0" 
RetroArch: config_file_dump_all: netplay_delay_frames = "0" 
RetroArch: config_file_dump_all: user_language = "0" 
RetroArch: config_file_dump_all: custom_bgm_enable = "false" 
RetroArch: config_file_dump_all: input_driver = "sdl2" 
RetroArch: config_file_dump_all: input_device_p1 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p1 = "1" 
RetroArch: config_file_dump_all: input_device_p2 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p2 = "1" 
RetroArch: config_file_dump_all: input_device_p3 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p3 = "1" 
RetroArch: config_file_dump_all: input_device_p4 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p4 = "1" 
RetroArch: config_file_dump_all: input_device_p5 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p5 = "1" 
RetroArch: config_file_dump_all: input_device_p6 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p6 = "1" 
RetroArch: config_file_dump_all: input_device_p7 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p7 = "1" 
RetroArch: config_file_dump_all: input_device_p8 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p8 = "1" 
RetroArch: config_file_dump_all: input_device_p9 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p9 = "1" 
RetroArch: config_file_dump_all: input_device_p10 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p10 = "1" 
RetroArch: config_file_dump_all: input_device_p11 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p11 = "1" 
RetroArch: config_file_dump_all: input_device_p12 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p12 = "1" 
RetroArch: config_file_dump_all: input_device_p13 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p13 = "1" 
RetroArch: config_file_dump_all: input_device_p14 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p14 = "1" 
RetroArch: config_file_dump_all: input_device_p15 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p15 = "1" 
RetroArch: config_file_dump_all: input_device_p16 = "0" 
RetroArch: config_file_dump_all: input_libretro_device_p16 = "1" 
RetroArch: config_file_dump_all: input_toggle_fast_forward = "space" 
RetroArch: config_file_dump_all: input_toggle_fast_forward_btn = "nul" 
RetroArch: config_file_dump_all: input_toggle_fast_forward_axis = "nul" 
RetroArch: config_file_dump_all: input_hold_fast_forward = "l" 
RetroArch: config_file_dump_all: input_hold_fast_forward_btn = "nul" 
RetroArch: config_file_dump_all: input_hold_fast_forward_axis = "nul" 
RetroArch: config_file_dump_all: input_load_state = "f4" 
RetroArch: config_file_dump_all: input_load_state_btn = "nul" 
RetroArch: config_file_dump_all: input_load_state_axis = "nul" 
RetroArch: config_file_dump_all: input_save_state = "f2" 
RetroArch: config_file_dump_all: input_save_state_btn = "nul" 
RetroArch: config_file_dump_all: input_save_state_axis = "nul" 
RetroArch: config_file_dump_all: input_toggle_fullscreen = "f" 
RetroArch: config_file_dump_all: input_toggle_fullscreen_btn = "nul" 
RetroArch: config_file_dump_all: input_toggle_fullscreen_axis = "nul" 
RetroArch: config_file_dump_all: input_exit_emulator = "escape" 
RetroArch: config_file_dump_all: input_exit_emulator_btn = "nul" 
RetroArch: config_file_dump_all: input_exit_emulator_axis = "nul" 
RetroArch: config_file_dump_all: input_state_slot_increase = "f7" 
RetroArch: config_file_dump_all: input_state_slot_increase_btn = "nul" 
RetroArch: config_file_dump_all: input_state_slot_increase_axis = "nul" 
RetroArch: config_file_dump_all: input_state_slot_decrease = "f6" 
RetroArch: config_file_dump_all: input_state_slot_decrease_btn = "nul" 
RetroArch: config_file_dump_all: input_state_slot_decrease_axis = "nul" 
RetroArch: config_file_dump_all: input_rewind = "r" 
RetroArch: config_file_dump_all: input_rewind_btn = "nul" 
RetroArch: config_file_dump_all: input_rewind_axis = "nul" 
RetroArch: config_file_dump_all: input_movie_record_toggle = "o" 
RetroArch: config_file_dump_all: input_movie_record_toggle_btn = "nul" 
RetroArch: config_file_dump_all: input_movie_record_toggle_axis = "nul" 
RetroArch: config_file_dump_all: input_pause_toggle = "p" 
RetroArch: config_file_dump_all: input_pause_toggle_btn = "nul" 
RetroArch: config_file_dump_all: input_pause_toggle_axis = "nul" 
RetroArch: config_file_dump_all: input_frame_advance = "k" 
RetroArch: config_file_dump_all: input_frame_advance_btn = "nul" 
RetroArch: config_file_dump_all: input_frame_advance_axis = "nul" 
RetroArch: config_file_dump_all: input_reset = "h" 
RetroArch: config_file_dump_all: input_reset_btn = "nul" 
RetroArch: config_file_dump_all: input_reset_axis = "nul" 
RetroArch: config_file_dump_all: input_shader_next = "m" 
RetroArch: config_file_dump_all: input_shader_next_btn = "nul" 
RetroArch: config_file_dump_all: input_shader_next_axis = "nul" 
RetroArch: config_file_dump_all: input_shader_prev = "n" 
RetroArch: config_file_dump_all: input_shader_prev_btn = "nul" 
RetroArch: config_file_dump_all: input_shader_prev_axis = "nul" 
RetroArch: config_file_dump_all: input_cheat_index_plus = "y" 
RetroArch: config_file_dump_all: input_cheat_index_plus_btn = "nul" 
RetroArch: config_file_dump_all: input_cheat_index_plus_axis = "nul" 
RetroArch: config_file_dump_all: input_cheat_index_minus = "t" 
RetroArch: config_file_dump_all: input_cheat_index_minus_btn = "nul" 
RetroArch: config_file_dump_all: input_cheat_index_minus_axis = "nul" 
RetroArch: config_file_dump_all: input_cheat_toggle = "u" 
RetroArch: config_file_dump_all: input_cheat_toggle_btn = "nul" 
RetroArch: config_file_dump_all: input_cheat_toggle_axis = "nul" 
RetroArch: config_file_dump_all: input_screenshot = "f8" 
RetroArch: config_file_dump_all: input_screenshot_btn = "nul" 
RetroArch: config_file_dump_all: input_screenshot_axis = "nul" 
RetroArch: config_file_dump_all: input_audio_mute = "f9" 
RetroArch: config_file_dump_all: input_audio_mute_btn = "nul" 
RetroArch: config_file_dump_all: input_audio_mute_axis = "nul" 
RetroArch: config_file_dump_all: input_netplay_flip_players = "i" 
RetroArch: config_file_dump_all: input_netplay_flip_players_btn = "nul" 
RetroArch: config_file_dump_all: input_netplay_flip_players_axis = "nul" 
RetroArch: config_file_dump_all: input_slowmotion = "e" 
RetroArch: config_file_dump_all: input_slowmotion_btn = "nul" 
RetroArch: config_file_dump_all: input_slowmotion_axis = "nul" 
RetroArch: config_file_dump_all: input_enable_hotkey = "nul" 
RetroArch: config_file_dump_all: input_enable_hotkey_btn = "nul" 
RetroArch: config_file_dump_all: input_enable_hotkey_axis = "nul" 
RetroArch: config_file_dump_all: input_volume_up = "add" 
RetroArch: config_file_dump_all: input_volume_up_btn = "nul" 
RetroArch: config_file_dump_all: input_volume_up_axis = "nul" 
RetroArch: config_file_dump_all: input_volume_down = "subtract" 
RetroArch: config_file_dump_all: input_volume_down_btn = "nul" 
RetroArch: config_file_dump_all: input_volume_down_axis = "nul" 
RetroArch: config_file_dump_all: input_overlay_next = "nul" 
RetroArch: config_file_dump_all: input_overlay_next_btn = "nul" 
RetroArch: config_file_dump_all: input_overlay_next_axis = "nul" 
RetroArch: config_file_dump_all: input_disk_eject_toggle = "nul" 
RetroArch: config_file_dump_all: input_disk_eject_toggle_btn = "nul" 
RetroArch: config_file_dump_all: input_disk_eject_toggle_axis = "nul" 
RetroArch: config_file_dump_all: input_disk_next = "nul" 
RetroArch: config_file_dump_all: input_disk_next_btn = "nul" 
RetroArch: config_file_dump_all: input_disk_next_axis = "nul" 
RetroArch: config_file_dump_all: input_grab_mouse_toggle = "f11" 
RetroArch: config_file_dump_all: input_grab_mouse_toggle_btn = "nul" 
RetroArch: config_file_dump_all: input_grab_mouse_toggle_axis = "nul" 
RetroArch: config_file_dump_all: input_menu_toggle = "f1" 
RetroArch: config_file_dump_all: input_menu_toggle_btn = "nul" 
RetroArch: config_file_dump_all: input_menu_toggle_axis = "nul" 
RetroArch: config_file_dump_all: core_specific_config = "false" 
RetroArch: config_file_dump_all: libretro_log_level = "0" 
RetroArch: config_file_dump_all: log_verbosity = "true" 
RetroArch: config_file_dump_all: perfcnt_enable = "false" 
RetroArch: config_file_dump_all: input_device = "DragonRise Inc.   Generic   USB  Joystick  " 
RetroArch: config_file_dump_all: input_driver = "udev" 
RetroArch: config_file_dump_all: input_b_btn = "0" 
RetroArch: config_file_dump_all: input_y_btn = "1" 
RetroArch: config_file_dump_all: input_select_btn = "2" 
RetroArch: config_file_dump_all: input_start_btn = "3" 
RetroArch: config_file_dump_all: input_up_axis = "-1" 
RetroArch: config_file_dump_all: input_down_axis = "+1" 
RetroArch: config_file_dump_all: input_left_axis = "-0" 
RetroArch: config_file_dump_all: input_right_axis = "+0" 
RetroArch: config_file_dump_all: input_a_btn = "4" 
RetroArch: config_file_dump_all: input_x_btn = "5" 
RetroArch: config_file_dump_all: input_l_btn = "6" 
RetroArch: config_file_dump_all: input_r_btn = "7" 
RetroArch: config_file_dump_all: input_l2_btn = "4" 
RetroArch: config_file_dump_all: input_r2_btn = "5" 
RetroArch: config_file_dump_all: input_l3_btn = "6" 
RetroArch: config_file_dump_all: input_r3_btn = "7" 
RetroArch: config_file_dump_all: input_l_x_plus_axis = "-0" 
RetroArch: config_file_dump_all: input_l_x_minus_axis = "-0" 
RetroArch: config_file_dump_all: input_l_y_plus_axis = "-0" 
RetroArch: config_file_dump_all: input_l_y_minus_axis = "-0" 
RetroArch: config_file_dump_all: input_r_x_plus_axis = "+0" 
RetroArch: config_file_dump_all: input_r_x_minus_axis = "+0" 
RetroArch: config_file_dump_all: input_r_y_plus_axis = "+0" 
RetroArch: config_file_dump_all: input_r_y_minus_axis = "+0" 
RetroArch: config_file_dump_all: libretro_path = "/opt/retroarch/cores/imame4all_libretro.so" 
RetroArch: config_file_dump_all: playlist_directory = "default" 
config_load_file: === Config end ===
RetroArch: rarch_environment_cb: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch: verify_api_version: Version of libretro API: 1
RetroArch: verify_api_version: Compiled against API: 1
RetroArch: adjust_system_rates: Set audio input rate to: 29975.00 Hz.
RetroArch: init_video_input: Video @ 960x720
RetroArch: sdl2_gfx_init: [SDL]: Available renderers (change with $SDL_RENDER_DRIVER):
RetroArch: sdl2_gfx_init:       opengl
RetroArch: sdl2_gfx_init:       software
RetroArch: sdl2_gfx_init: [SDL]: Available displays:
RetroArch: sdl2_gfx_init:       Display #0 mode: 1280x1024@60hz.
RetroArch: sdl2_gfx_init: [SDL]: Creating window @ 960x720
RetroArch: font_renderer_create_default: Using font rendering backend: freetype.
RetroArch: init_video_input: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
RetroArch: add_pad: [udev]: Plugged pad: DragonRise Inc.   Generic   USB  Joystick   on port #0.
RetroArch: add_pad: [udev]: Pad #0 (/dev/input/event2) supports force feedback.
RetroArch: add_pad: [udev]: Pad #0 (/dev/input/event2) supports 16 force feedback effects.
RetroArch: input_joypad_init_first: Found joypad driver: "udev".
RetroArch: sdl_input_init: [SDL]: Input driver initialized.
RetroArch: rarch_get_cpu_features: [CPUID]: NEON: 1
RetroArch: alsathread_find_float_format: ALSA: Using signed 16-bit format.
RetroArch: alsa_thread_init: ALSA: Period size: 1024 frames
RetroArch: alsa_thread_init: ALSA: Buffer size: 4096 frames
RetroArch: rarch_get_cpu_features: [CPUID]: NEON: 1
RetroArch: resampler_sinc_new: Sinc resampler [NEON]
RetroArch: resampler_sinc_new: SINC params (12 phase bits, 8 taps).
RetroArch: content_playlist_init: Opening playlist: /etc/retroarch-content-history.txt.
RetroArch: init_sram: SRAM will not be saved.

Here the features with new installation:

 ~ # /opt/retroarch/bin/retroarch --features

Features:
        SDL:
                SDL drivers: no
        SDL2:
                SDL2 drivers: yes
        X11:
                X11 drivers: no
        wayland:
                Wayland drivers: no
        Threads:
                Threading support: yes
        OpenGL:
                OpenGL driver: yes
        KMS:
                KMS/EGL context support: no
        UDEV:
                UDEV/EVDEV input driver support: yes
        EGL:
                EGL context support: yes
        OpenVG:
                OpenVG output support: no
        XVideo:
                XVideo output: no
        ALSA:
                audio driver: yes
        OSS:
                audio driver: yes
        Jack:
                audio driver: no
        RSound:
                audio driver: no
        RoarAudio:
                audio driver: no
        PulseAudio:
                audio driver: yes
        DirectSound:
                audio driver: no
        XAudio2:
                audio driver: no
        zlib:
                PNG encode/decode and .zip extraction: yes
        OpenAL:
                audio driver: no
        External:
                External filter and plugin support: yes
        Cg:
                Cg pixel shaders: no
        libxml2:
                libxml2 XML parsing: yes
        SDL_image:
                SDL_image image loading: no
        FBO:
                OpenGL render-to-texture (multi-pass shaders): yes
        Dynamic:
                Dynamic run-time loading of libretro library: yes
        FFmpeg:
                On-the-fly recording of gameplay with libavcodec: no
        FreeType:
                TTF font rendering with FreeType: yes
        Netplay:
                Peer-to-peer netplay: yes
        Python:
                Script support in shaders: no

Ideas?

Thanks

Simon

Hi again…

I’m trying as many options as possibile, but cannot figure out how to improove this. Could you tell me which video_driver should I use (even with rec-compilation of the sources) to try retroarch from terminal without X11?

AFAYK seems the only solution to gain performance against SDL/SDL2 on X11.

Thanks

Simon

You’ll need to --enable-kms at compile-time, though it’ll probably have some complaints on bananapi. It works on rpi, though, so maybe not /shrug

Hello!

I’ve done a lot of steps forward. Now, reinstalling under Arch Linux seems much better. Windowed in X11 is fluid but in fullscreen is slow. I’ve compiled it with KMS support as well, but setting:

video_driver=“kms”

And starting it from terminal console (not X11)

I obtain:


RetroArch [WARN] :: config_load_file :: system_directory is not set in config. Assuming system directory is same folder as game: "".
RetroArch [ERROR] :: find_video_driver :: Couldn't find any video driver named "kms"
find_video_driver: Available video drivers are:
find_video_driver:      gl
find_video_driver:      xvideo
find_video_driver:      null
RetroArch [WARN] :: find_video_driver :: Going to default to first video driver...
loading b-1.bin     
loading b-2.bin     
loading epr7491.96  
loading ic120_98.bin
loading epr6497.62  
loading epr7496.61  
loading epr7495.64  
loading epr7494.63  
loading epr7493.66  
loading epr7492.65  
loading epr7485.117 
loading epr7487.04  
loading epr7486.110 
loading epr7488.05  
             
RetroArch [ERROR] :: find_video_driver :: Couldn't find any video driver named "kms"
find_video_driver: Available video drivers are:
find_video_driver:      gl
find_video_driver:      xvideo
find_video_driver:      null
RetroArch [WARN] :: find_video_driver :: Going to default to first video driver...
RetroArch [ERROR] :: gfx_ctx_init :: Failed to connect to Wayland server.
RetroArch [WARN] :: gfx_ctx_init :: [KMS/EGL]: Couldn't get device resources.
RetroArch [WARN] :: gfx_ctx_init :: [KMS/EGL]: Couldn't get device resources.
RetroArch [ERROR] :: gfx_ctx_init :: [KMS/EGL]: Couldn't find a suitable DRM device.
RetroArch [ERROR] :: init_video_input :: Cannot open video driver ... Exiting ...
RetroArch [ERROR] :: rarch_main_init :: Fatal error received in: "init_video_input()"
used read  elements 2/64 , functions 25/64
used write elements 4/64 , functions 29/64
width 256, height 224
set visible area 0-0 0-0
gfx_width = 256 gfx_height = 224
gfx_xoffset = 120 gfx_yoffset = 111
xmin 0 ymin 0 xmax 0 ymax 0
skiplines 0 skipcolumns 0
gfx_display_lines 1 gfx_display_columns 1
xmultiply 1 ymultiply 1
set visible area 0-255 0-223
gfx_width = 256 gfx_height = 224
gfx_xoffset = 0 gfx_yoffset = 0
xmin 0 ymin 0 xmax 255 ymax 223
skiplines 0 skipcolumns 0
gfx_display_lines 224 gfx_display_columns 256
xmultiply 1 ymultiply 1
blitscreen_dirty1_color8

What’s wrong?

Features:


./retroarch --features

Features:
        SDL:
                SDL drivers: no
        SDL2:
                SDL2 drivers: no
        X11:
                X11 drivers: yes
        wayland:
                Wayland drivers: yes
        Threads:
                Threading support: yes
        OpenGL:
                OpenGL driver: yes
        KMS:
                KMS/EGL context support: yes
        UDEV:
                UDEV/EVDEV input driver support: yes
        EGL:
                EGL context support: yes
        OpenVG:
                OpenVG output support: no
        XVideo:
                XVideo output: yes
        ALSA:
                audio driver: yes
        OSS:
                audio driver: no
        Jack:
                audio driver: yes
        RSound:
                audio driver: no
        RoarAudio:
                audio driver: no
        PulseAudio:
                audio driver: yes
        DirectSound:
                audio driver: no
        XAudio2:
                audio driver: no
        zlib:
                PNG encode/decode and .zip extraction: yes
        OpenAL:
                audio driver: no
        External:
                External filter and plugin support: yes
        Cg:
                Cg pixel shaders: no
        libxml2:
                libxml2 XML parsing: yes
        SDL_image:
                SDL_image image loading: no
        FBO:
                OpenGL render-to-texture (multi-pass shaders): yes
        Dynamic:
                Dynamic run-time loading of libretro library: yes
        FFmpeg:
                On-the-fly recording of gameplay with libavcodec: no
        FreeType:
                TTF font rendering with FreeType: yes
        Netplay:
                Peer-to-peer netplay: no
        Python:
                Script support in shaders: no

If I try “xvideo”:


RetroArch [WARN] :: config_load_file :: system_directory is not set in config. Assuming system directory is same folder as game: "".
loading b-1.bin     
loading b-2.bin     
loading epr7491.96  
loading ic120_98.bin
loading epr6497.62  
loading epr7496.61  
loading epr7495.64  
loading epr7494.63  
loading epr7493.66  
loading epr7492.65  
loading epr7485.117 
loading epr7487.04  
loading epr7486.110 
loading epr7488.05  
             
used read  elements 2/64 , functions 25/64
used write elements 4/64 , functions 29/64
width 256, height 224
set visible area 0-0 0-0
gfx_width = 256 gfx_height = 224
gfx_xoffset = 120 gfx_yoffset = 111
xmin 0 ymin 0 xmax 0 ymax 0
skiplines 0 skipcolumns 0
gfx_display_lines 1 gfx_display_columns 1
xmultiply 1 ymultiply 1
set visible area 0-255 0-223
gfx_width = 256 gfx_height = 224
gfx_xoffset = 0 gfx_yoffset = 0
xmin 0 ymin 0 xmax 255 ymax 223
skiplines 0 skipcolumns 0
gfx_display_lines 224 gfx_display_columns 256
xmultiply 1 ymultiply 1
blitscreen_dirty1_color8

Segmentation fault (core dumped)

Thanks for help!

Simon

If you set the driver to opengl and try to launch from console, it should automatically use KMS/EGL. KMS/EGL is a context rather than a driver, which explains why it’s not allowing it as an option there.

Hello hunterk

It doesn’t work, setting it to “gl”, even if I can see the KMS like you said:


error: XDG_RUNTIME_DIR not set in the environment.
RetroArch [ERROR] :: gfx_ctx_init :: Failed to connect to Wayland server.
RetroArch [WARN] :: gfx_ctx_init :: [KMS/EGL]: Couldn't get device resources.
RetroArch [WARN] :: gfx_ctx_init :: [KMS/EGL]: Couldn't get device resources.
RetroArch [ERROR] :: gfx_ctx_init :: [KMS/EGL]: Couldn't find a suitable DRM device.
RetroArch [ERROR] :: init_video_input :: Cannot open video driver ... Exiting ...
RetroArch [ERROR] :: rarch_main_init :: Fatal error received in: "init_video_input()"
used read  elements 2/64 , functions 25/64
used write elements 4/64 , functions 29/64
width 256, height 224
set visible area 0-0 0-0
gfx_width = 256 gfx_height = 224
gfx_xoffset = 120 gfx_yoffset = 111
xmin 0 ymin 0 xmax 0 ymax 0
skiplines 0 skipcolumns 0
gfx_display_lines 1 gfx_display_columns 1
xmultiply 1 ymultiply 1
set visible area 0-255 0-223
gfx_width = 256 gfx_height = 224
gfx_xoffset = 0 gfx_yoffset = 0
xmin 0 ymin 0 xmax 255 ymax 223
skiplines 0 skipcolumns 0
gfx_display_lines 224 gfx_display_columns 256
xmultiply 1 ymultiply 1
blitscreen_dirty1_color8

Any idea why?

Thanks

Simon

RetroArch [ERROR] :: gfx_ctx_init :: [KMS/EGL]: Couldn't find a suitable DRM device.

This suggests to me that your display driver doesn’t support KMS/EGL contexts.