Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    [RB7.0.1 + OdroidXU4 + AdvanceMame]

    Emulateurs Arcade/PC/Console
    [rb7.0.1 odroidxu4 advancemame]
    6
    64
    6957
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Garden Dwarf
      Garden Dwarf last edited by

      @acris @Pitch64 j'ai rapporté le problème (https://gitlab.com/recalbox/recalbox-configgen/-/issues/355). Comme j'ai expliqué plus haut, j'ai bidouillé pour avoir un paramètre qui fonctionne mais ça ne tient pas compte des valeurs autorisées, ni de la logique qui tourne autour (et qui est probablement expliquée dans de la documentation côté AdvanceMame).

      Il me reste donc mon souci d'upscale pour que le jeu prenne tout l'écran. Je vais voir si je trouve quelques pistes, mais je risque d'avoir besoin de vos lumières 😉

      1 Reply Last reply Reply Quote 0
      • olivierdroid92
        olivierdroid92 Global moderator last edited by olivierdroid92

        @Garden-Dwarf
        Merci pour ton retour
        je viens de tester sur XU4 et Pi3B plus
        J'ai attaché les logs à l'issue

        1 Reply Last reply Reply Quote 0
        • Garden Dwarf
          Garden Dwarf last edited by Garden Dwarf

          @olivierdroid92, l'erreur que tu as est la création du fichier log il me semble ... quel est le rapport avec mon problème ?

          Par contre si tu as un OdroidXU4 et que tu arrives à lancer un jeu, je suis curieux de voir si celui-ci va être étiré pour occuper tout l'écran ou bien si, comme moi, tu vas avoir une minuscule fenêtre avec le jeu. J'ai testé pas mal de choses (et comparé avec mon RPI3b avec lequel je n'ai pas de problème), et je commence à être à court d'idées ...

          1 Reply Last reply Reply Quote 0
          • olivierdroid92
            olivierdroid92 Global moderator last edited by

            retour à ES immédiatement après avoir lance un jeu.
            J'ai attaché le fichier complets de tous les logs

            Garden Dwarf 1 Reply Last reply Reply Quote 0
            • Garden Dwarf
              Garden Dwarf @olivierdroid92 last edited by Garden Dwarf

              @olivierdroid92, dans ce cas il faut que tu essayes de lancer le jeu via terminal en SSH.

              Dans ton log tu as la commande qui est lancée, et on voit qu'il y a un problème à la création du log (je ne parle pas du log es_launch, mais bien du log advmame.log). Si tu enlèves le paramètre "-log" de la commande et que tu la lances en ligne de commande, tu devrais voir une indication du problème. En ssh, essayes ça :

              LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
              

              Note: j'ai juste enlevé le paramètre "-log". Ta commande d'origine (si tu veux re-tester) est celle-ci :

              LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -log -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
              
              1 Reply Last reply Reply Quote 0
              • olivierdroid92
                olivierdroid92 Global moderator last edited by olivierdroid92

                @Garden-Dwarf said in [RB7.0.1 + OdroidXU4 + AdvanceMame]:

                LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki

                Nope

                login as: root
                root@192.168.1.121's password:
                # LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                Invalid argument 'no' for option 'display_resize' in file '/recalbox/share/system/configs/advancemame/advmame.rc'
                Valid values are 'none', 'integer', 'fractional', 'mixed'
                #
                
                
                Garden Dwarf 1 Reply Last reply Reply Quote 0
                • olivierdroid92
                  olivierdroid92 Global moderator last edited by

                  @olivierdroid92 said in [RB7.0.1 + OdroidXU4 + AdvanceMame]:

                  display_resize

                  et avec none pour display_resize

                  Ca donne ca :

                  
                  # LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                  Creating AdvanceMAME standard configuration file...
                  Configuration file `/recalbox/share/system/.advance/advmame.rc' created with all the default options.
                  
                  The default rom search path is `/recalbox/share/roms/mame/Mame0.106'.
                  You can change it using the `dir_rom' option in the configuration file.
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • olivierdroid92
                    olivierdroid92 Global moderator last edited by

                    ce qui est rigolo c'est que j'entends le son du jeu TOKI mais que l'image reste sur ES

                    1 Reply Last reply Reply Quote 0
                    • Garden Dwarf
                      Garden Dwarf @olivierdroid92 last edited by Garden Dwarf

                      @olivierdroid92, voilà, ça c'est le problème que j'ai eu avec configgen ! Il crée le paramètre avec "no" et ce n'est pas une valeur correcte. Le message d'erreur donne même la liste des valeurs permises.

                      Et dans ton avant-dernier post, tu as bien le jeu qui se lance.

                      Maintenant, fais ctrl-c pour killer le jeu que tu as lancé via le terminal. Et ensuite, essaye de le lancer via l'interface d'ES.

                      olivierdroid92 1 Reply Last reply Reply Quote 0
                      • olivierdroid92
                        olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                        @Garden-Dwarf
                        Le Jeux se lance, j'arrive sur les menu deepswict de toki durant 10 secondes environs, puis crash et retour à ES. Je regarde les logs de ES

                        [2020/10/21 13:53:08.132] (WARN!) : ...launch terminated with nonzero exit code 1!
                        
                        1 Reply Last reply Reply Quote 0
                        • Garden Dwarf
                          Garden Dwarf last edited by Garden Dwarf

                          @olivierdroid92, arf, tu arrives à avoir le jeu qui s'affiche ? Même si ça plante après ... est-ce que le jeu se lance en plein écran ou bien tu as un petit carré avec le jeu qui tourne dedans sur l'écran ?

                          Et ton écran, c'est un LCD branché en HDMI ou bien autre chose ?

                          Je n'ai pas ce jeu ... peut-être essayer avec un autre sinon ?

                          1 Reply Last reply Reply Quote 0
                          • olivierdroid92
                            olivierdroid92 Global moderator last edited by

                            oui ca s'affiche à l'ecran.
                            C'est presque un 4/3 classique.
                            Peu etre un peu étiré vers le bas

                            Ecran LCD, branché HDMI

                            1 Reply Last reply Reply Quote 0
                            • Garden Dwarf
                              Garden Dwarf last edited by

                              @olivierdroid92, est-ce que tu peux mettre le contenu de ton fichier advmame.rc ici stp ? J'aimerais comparer avec le mien. Merci.

                              olivierdroid92 1 Reply Last reply Reply Quote 0
                              • olivierdroid92
                                olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                                @Garden-Dwarf

                                Pi3 B Plus Image 7.0.1

                                device_joystick sdl
                                device_keyboard none
                                device_mouse raw
                                device_video auto
                                dir_artwork /recalbox/share/overlays/advmame
                                dir_hi /recalbox/share/bios/advance
                                dir_image /recalbox/share/roms/mame/Mame0.106/media/images
                                dir_memcard /recalbox/share/saves/advance/memcard
                                dir_nvram /recalbox/share/saves/advance/nvram
                                dir_rom /recalbox/share/roms/mame/Mame0.106
                                dir_sample /recalbox/share/bios/advance/samples
                                dir_snap /recalbox/share/screenshots/
                                display_artwork_backdrop yes
                                display_artwork_bezel yes
                                display_artwork_crop no
                                display_artwork_overlay yes
                                display_expand 1.0
                                display_magnify 1
                                display_resize no
                                display_vsync no
                                input_map[coin1] joystick_button[0,8]
                                input_map[p1_button10] joystick_button[0,11]
                                input_map[p1_button1] joystick_button[0,1]
                                input_map[p1_button2] joystick_button[0,2]
                                input_map[p1_button3] joystick_button[0,0]
                                input_map[p1_button4] joystick_button[0,3]
                                input_map[p1_button5] joystick_button[0,4]
                                input_map[p1_button6] joystick_button[0,5]
                                input_map[p1_button7] joystick_button[0,6]
                                input_map[p1_button9] joystick_button[0,10]
                                input_map[p1_doubleleft_down] joystick_digital[0,0,1,0]
                                input_map[p1_doubleleft_left] joystick_digital[0,0,0,1]
                                input_map[p1_doubleleft_right] joystick_digital[0,0,0,0]
                                input_map[p1_doubleleft_up] joystick_digital[0,0,1,1]
                                input_map[p1_doubleright_down] joystick_digital[0,0,5,0]
                                input_map[p1_doubleright_left] joystick_digital[0,0,2,1]
                                input_map[p1_doubleright_right] joystick_digital[0,0,2,0]
                                input_map[p1_doubleright_up] joystick_digital[0,0,5,1]
                                input_map[p1_down] joystick_digital[0,1,1,0] or joystick_digital[0,0,1,0]
                                input_map[p1_left] joystick_digital[0,0,0,1] or joystick_digital[0,1,0,1]
                                input_map[p1_right] joystick_digital[0,1,0,0] or joystick_digital[0,0,0,0]
                                input_map[p1_up] joystick_digital[0,1,1,1] or joystick_digital[0,0,1,1]
                                input_map[start1] joystick_button[0,9]
                                input_map[ui_cancel] keyboard[0,esc] or joystick_button[0,12] joystick_button[0,9]
                                input_map[ui_configure] keyboard[0,tab] or joystick_button[0,7]
                                input_map[ui_down] keyboard[0,down] or joystick_digital[0,1,1,0] or joystick_digital[0,0,1,0]
                                input_map[ui_left] keyboard[0,left] or joystick_digital[0,0,0,1] or joystick_digital[0,1,0,1]
                                input_map[ui_load_state] keyboard[0,f7] not keyboard[0,lshift] or joystick_button[0,12] joystick_button[0,3]
                                input_map[ui_mode_pred] joystick_button[0,12] joystick_button[0,6]
                                input_map[ui_right] keyboard[0,right] or joystick_digital[0,1,0,0] or joystick_digital[0,0,0,0]
                                input_map[ui_save_state] keyboard[0,lshift] keyboard[0,f7] or joystick_button[0,12] joystick_button[0,0]
                                input_map[ui_select] keyboard[0,enter] or joystick_button[0,1]
                                input_map[ui_soft_reset] joystick_button[0,12] joystick_button[0,2]
                                input_map[ui_turbo] joystick_button[0,12] joystick_digital[0,1,0,0]
                                input_map[ui_up] keyboard[0,up] or joystick_digital[0,1,1,1] or joystick_digital[0,0,1,1]
                                misc_quiet yes
                                misc_safequit no
                                sync_resample emulation
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • Garden Dwarf
                                  Garden Dwarf last edited by Garden Dwarf

                                  @olivierdroid92

                                  Arf, avec ton pseudo "droid" j'ai pensé que tu étais sous Odroid ... Merci pour le fichier, je vais regarder mais si ce n'est pas le même matos ... -_-'

                                  olivierdroid92 1 Reply Last reply Reply Quote 0
                                  • olivierdroid92
                                    olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                                    @Garden-Dwarf
                                    J'ai aussi un Odroid xu4.
                                    Je te donnerai ce soir

                                    Ca permettrait aussi de comparer avec ton pi3

                                    1 Reply Last reply Reply Quote 0
                                    • Garden Dwarf
                                      Garden Dwarf last edited by

                                      @olivierdroid92, voilà une bonne nouvelle !

                                      Effectivement, si tu peux tester sur ton Odroid XU4 on pourra voir si on a tous les deux le problème. Merci !

                                      olivierdroid92 1 Reply Last reply Reply Quote 0
                                      • olivierdroid92
                                        olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                                        @Garden-Dwarf
                                        Sur XU4
                                        apres avoir fait un rize sur none.

                                        Crash si lancé depuis ES.

                                        Et en SSH:

                                        # LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                                        Creating AdvanceMAME standard configuration file...
                                        Configuration file `/recalbox/share/system/.advance/advmame.rc' created with all the default options.
                                        
                                        The default rom search path is `/recalbox/share/roms/mame/Mame0.106'.
                                        You can change it using the `dir_rom' option in the configuration file.
                                        
                                        No video modes available for the current game.
                                        Failed to initialize the video
                                        
                                        
                                        Running command: LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console vout=hdmi SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 PREVLEVEL=N label=RECALBOX PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so governor=performance HPD=false RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -log -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                                        Process exitcode: 1
                                        
                                        [2020/10/21 14:31:26.536] (INFO ) : Configgen Errors:
                                        Error opening the log file 'advmame.log'.
                                        
                                        [2020/10/21 14:31:26.536] (WARN!) : ...launch terminated with nonzero exit code 1!
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • olivierdroid92
                                          olivierdroid92 Global moderator last edited by

                                          @Garden-Dwarf
                                          Image 701 XU4

                                          fichier

                                          device_joystick sdl
                                          device_keyboard none
                                          device_mouse raw
                                          device_video auto
                                          dir_artwork /recalbox/share/overlays/advmame
                                          dir_hi /recalbox/share/bios/advance
                                          dir_image /recalbox/share/roms/mame/Mame0.106/media/images
                                          dir_memcard /recalbox/share/saves/advance/memcard
                                          dir_nvram /recalbox/share/saves/advance/nvram
                                          dir_rom /recalbox/share/roms/mame/Mame0.106
                                          dir_sample /recalbox/share/bios/advance/samples
                                          dir_snap /recalbox/share/screenshots/
                                          display_artwork_backdrop yes
                                          display_artwork_bezel yes
                                          display_artwork_crop no
                                          display_artwork_overlay yes
                                          display_expand 1.0
                                          display_magnify 1
                                          display_resize no
                                          display_vsync no
                                          input_map[coin1] joystick_button[0,8]
                                          input_map[p1_button10] joystick_button[0,11]
                                          input_map[p1_button1] joystick_button[0,1]
                                          input_map[p1_button2] joystick_button[0,2]
                                          input_map[p1_button3] joystick_button[0,0]
                                          input_map[p1_button4] joystick_button[0,3]
                                          input_map[p1_button5] joystick_button[0,4]
                                          input_map[p1_button6] joystick_button[0,5]
                                          input_map[p1_button7] joystick_button[0,6]
                                          input_map[p1_button9] joystick_button[0,10]
                                          input_map[p1_doubleleft_down] joystick_digital[0,0,1,0]
                                          input_map[p1_doubleleft_left] joystick_digital[0,0,0,1]
                                          input_map[p1_doubleleft_right] joystick_digital[0,0,0,0]
                                          input_map[p1_doubleleft_up] joystick_digital[0,0,1,1]
                                          input_map[p1_doubleright_down] joystick_digital[0,0,5,0]
                                          input_map[p1_doubleright_left] joystick_digital[0,0,2,1]
                                          input_map[p1_doubleright_right] joystick_digital[0,0,2,0]
                                          input_map[p1_doubleright_up] joystick_digital[0,0,5,1]
                                          input_map[p1_down] joystick_digital[0,1,1,0] or joystick_digital[0,0,1,0]
                                          input_map[p1_left] joystick_digital[0,0,0,1] or joystick_digital[0,1,0,1]
                                          input_map[p1_right] joystick_digital[0,1,0,0] or joystick_digital[0,0,0,0]
                                          input_map[p1_up] joystick_digital[0,1,1,1] or joystick_digital[0,0,1,1]
                                          input_map[start1] joystick_button[0,9]
                                          input_map[ui_cancel] keyboard[0,esc] or joystick_button[0,12] joystick_button[0,9]
                                          input_map[ui_configure] keyboard[0,tab] or joystick_button[0,7]
                                          input_map[ui_down] keyboard[0,down] or joystick_digital[0,1,1,0] or joystick_digital[0,0,1,0]
                                          input_map[ui_left] keyboard[0,left] or joystick_digital[0,0,0,1] or joystick_digital[0,1,0,1]
                                          input_map[ui_load_state] keyboard[0,f7] not keyboard[0,lshift] or joystick_button[0,12] joystick_button[0,3]
                                          input_map[ui_mode_pred] joystick_button[0,12] joystick_button[0,6]
                                          input_map[ui_right] keyboard[0,right] or joystick_digital[0,1,0,0] or joystick_digital[0,0,0,0]
                                          input_map[ui_save_state] keyboard[0,lshift] keyboard[0,f7] or joystick_button[0,12] joystick_button[0,0]
                                          input_map[ui_select] keyboard[0,enter] or joystick_button[0,1]
                                          input_map[ui_soft_reset] joystick_button[0,12] joystick_button[0,2]
                                          input_map[ui_turbo] joystick_button[0,12] joystick_digital[0,1,0,0]
                                          input_map[ui_up] keyboard[0,up] or joystick_digital[0,1,1,1] or joystick_digital[0,0,1,1]
                                          misc_quiet yes
                                          misc_safequit no
                                          sync_resample emulation
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Garden Dwarf
                                            Garden Dwarf last edited by

                                            @olivierdroid92, ok donc tu as la même chose que moi. AdvanceMame ne trouve pas de configuration vidéo.

                                            Si - en ssh - tu lances

                                            advv -rc /recalbox/share/system/configs/advancemame/advmame.rc
                                            

                                            Tu auras la liste des modes vidéo (le bleu indique ceux qui sont supportés, le rouge indique ceux qui ne le sont pas).
                                            Tu peux utiliser les flèches haut/bas (la liste ne se termine pas en bas de l'écran, tu verras si tu fais défiler avec la flèche bas). La barre d'espace pour sélectionner un mode (tu peux en sélectionner plusieurs), la touche retour pour tester un mode, F2 pour sauver et la touche Echap pour sortir (si tu as changé la sélection, il te demandera d'appuyer sur y/n pour sauvegarder ou non).

                                            Une fois que tu auras sélectionné des modes et sauvegardé les changements, tu pourras regarder dans ton fichier advmame.rc. Il y aura des lignes de ce style :

                                            device_video_modeline pal_256x224 4.875 256 264 288 312 224 259 262 312 -hsync -vsync
                                            

                                            La ligne que j'indique ci-dessus permet d'avoir un mode vidéo qui fonctionne. Le hic, c'est que ça m'affiche le jeu dans une toute petite fenêtre (de 256x224 pixels je suppose, puisque c'est ce qui est indiqué dans le paramètre device_video_modeline).

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            59
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com