Recalbox Forum

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

    Odroid XU4 issues with 4.1 Stable

    Recalbox General
    odroid xu4 4.1 stable
    9
    32
    11289
    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.
    • Substring
      Substring @aze last edited by

      @aze i'm a little very busy right now, i'll look into it asap. Do not hesitate to notify me if i'm taking too much time to answer 🙂

      Former dev - Please reply with @substring so that i am notified when you answer me
      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

      aze 1 Reply Last reply Reply Quote 0
      • aze
        aze @Substring last edited by aze

        @substring I took a couple videos of the issues, as well as pulled a couple log files. Hopefully this will help when you have time

        Video showing startup graphic glitches, ScummVM launch issue, and N64 glitches: https://www.youtube.com/watch?v=EeQA_oKaCuk
        Video showing more startup glitches: https://www.youtube.com/watch?v=zTSuKfh5aII

        This is a fresh install of 4.1 Stable on a Odroid Xu4

        When logged into the console and I try to launch Scummvm via command line I see the following error: WARNING: SDL_SetVideoMode says we can't switch to that mode (Couldn't set console screen info)!

        Here is more log file output: lvl2: Attempting to launch game...
        lvl2: Shutting down SDL AUDIO
        lvl2: Available and configurated : Logitech Logitech Cordless RumblePad 2
        lvl2: No config for player 0
        lvl2: So i set Logitech Logitech Cordless RumblePad 2 for player 0
        lvl2: No config for player 1
        lvl2: No config for player 2
        lvl2: No config for player 3
        lvl2: No config for player 4
        lvl2: Configure emulators command : -p1index 1 -p1guid 030000006d04000019c2000010010000 -p1name "Logitech Logitech Cordless RumblePad 2" -p1nbaxes 4 -p1devicepath /dev/input/event3
        lvl2: Controllers config : -p1index 1 -p1guid 030000006d04000019c2000010010000 -p1name "Logitech Logitech Cordless RumblePad 2" -p1nbaxes 4 -p1devicepath /dev/input/event3
        lvl2: python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.pyc -p1index 1 -p1guid 030000006d04000019c2000010010000 -p1name "Logitech Logitech Cordless RumblePad 2" -p1nbaxes 4 -p1devicepath /dev/input/event3 -system scummvm -rom /recalbox/share/roms/scummvm/IHNM/ihnm.scummvm -emulator default -core default -ratio auto
        lvl2: Creating surface...
        lvl2: Created window successfully.
        lvl2: Added unconfigured joystick Microsoft Microsoft® Nano Transceiver v2.0 (GUID: 030000005e0400000008000011010000, instance ID: 0, device index: 0).
        lvl2: Added known joystick Logitech Logitech Cordless RumblePad 2 (instance ID: 1, device index: 1)
        lvl0: VolumeControl::init() - Failed to find mixer elements!
        lvl2: SDL AUDIO Initialized
        lvl2: Attempting to launch game...
        lvl2: Shutting down SDL AUDIO
        lvl2: Available and configurated : Logitech Logitech Cordless RumblePad 2
        lvl2: No config for player 0
        lvl2: So i set Logitech Logitech Cordless RumblePad 2 for player 0
        lvl2: No config for player 1
        lvl2: No config for player 2
        lvl2: No config for player 3
        lvl2: No config for player 4
        lvl2: Configure emulators command : -p1index 1 -p1guid 030000006d04000019c2000010010000 -p1name "Logitech Logitech Cordless RumblePad 2" -p1nbaxes 4 -p1devicepath /dev/input/event3
        lvl2: Controllers config : -p1index 1 -p1guid 030000006d04000019c2000010010000 -p1name "Logitech Logitech Cordless RumblePad 2" -p1nbaxes 4 -p1devicepath /dev/input/event3
        lvl2: python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.pyc -p1index 1 -p1guid 030000006d04000019c2000010010000 -p1name "Logitech Logitech Cordless RumblePad 2" -p1nbaxes 4 -p1devicepath /dev/input/event3 -system scummvm -rom /recalbox/share/roms/scummvm/Monkey/monkey.scummvm -emulator default -core default -ratio auto
        lvl2: Creating surface...
        lvl2: Created window successfully.
        lvl2: Added unconfigured joystick Microsoft Microsoft® Nano Transceiver v2.0 (GUID: 030000005e0400000008000011010000, instance ID: 0, device index: 0).
        lvl2: Added known joystick Logitech Logitech Cordless RumblePad 2 (instance ID: 1, device index: 1)
        lvl0: VolumeControl::init() - Failed to find mixer elements!
        lvl2: SDL AUDIO Initialized

        Thanks!

        Substring 1 Reply Last reply Reply Quote 0
        • Substring
          Substring @aze last edited by

          @aze so regarding the glitches and logs :

          • splash video : yeah i know. I can't stop it earlier to avaid the glitch, but the video would last just a few secs ... The glithch is mainly on ES start, so i think we can cope with it
          • N64: emulator problem, can't do much for that unless there are some parameters in the video config
          • scummvm : better check the es logs in ~/logs

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          aze 1 Reply Last reply Reply Quote 0
          • aze
            aze @Substring last edited by

            @substring Here is what I found in the es logs:

            Es out: SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so /usr/bin/scummvm --fullscreen --joystick=0 --screenshotspath=/recalbo$
            Using joystick: Logitech Logitech Cordless RumblePad 2

            Es Error: WARNING: SDL_SetVideoMode says we can't switch to that mode (Couldn't set console screen info)!

            As far as n64 goes not sure about the config files, all I know is the glitches do not occur on the raspi using earlier 4.0 releases.

            Thanks for the response!

            Substring 1 Reply Last reply Reply Quote 0
            • Substring
              Substring @aze last edited by

              @aze the pi and odroid are different boards, you can't compare them.

              alright for scummvm, i'll try to check by myself once home during the week

              Former dev - Please reply with @substring so that i am notified when you answer me
              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

              aze 1 Reply Last reply Reply Quote 0
              • grgohr
                grgohr last edited by

                hello, I face the same error with Scummvm (and glitch on video fading)

                also I saw the following in the changelogs but I still need to force usbhid.quirks=0x16c0:0x05e1:0x040 in the boot.ini file, otherwise only player 1 is recognized for the Xinmo dual arcade

                • Add xin-mo 18pin, mayflash N64 and correction usbhid
                grgohr 1 Reply Last reply Reply Quote 0
                • aze
                  aze @Substring last edited by

                  @substring I figured out the N64 graphical glitching issue, the XU4 needs to have an polygon offset factor set for glide64mk2 to function properly.

                  I played around with it a bit and the following seems like the best settings:

                  If true, use polygon offset values specified below

                  force_polygon_offset = True

                  Specifies a scale factor that is used to create a variable depth offset for e$

                  polygon_offset_factor = -2

                  Is multiplied by an implementation-specific value to create a constant depth $

                  polygon_offset_units = -2

                  This XU4 is pretty sweet, it even runs Conkers Bad Fur Day with minimal slowdowns.

                  For the ScummVM issue as a last ditch effort I copied over the ScummVM executable from my Raspi3 (running 4.01 and replaced the version on the XU4 and surprisingly it worked! So there does appear to be something wrong with the version shipping on the 4.1 XU4 image (and the version on the 4.01 image is probably an older version as well I would suspect?).

                  Jul'S 1 Reply Last reply Reply Quote 1
                  • Substring
                    Substring last edited by

                    @aze must be sure your settings give no regression on other roms
                    Regarding scummvm, i'll have to check if we have different flag compilations for XU4, or anything else. Thank you for the clue

                    @rockaddicted can we consider adding these gliden64mk2 config parameters

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • rockaddicted
                      rockaddicted last edited by

                      Hello @Substring this plugin is used too on x86, so I'll have to check on these platforms before.
                      @aze does these settings are necessary for all the games or it is game specific ?

                      about scummvm I'll check this point, I added it to odroids but I don't have this board... so can't test by myself...

                      Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
                      Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
                      Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

                      Don't forget to upvote messages if it has been useful ;)

                      Substring aze 2 Replies Last reply Reply Quote 0
                      • Substring
                        Substring @rockaddicted last edited by

                        @rockaddicted said in Odroid XU4 issues with 4.1 Stable:

                        about scummvm I'll check this point, I added it to odroids but I don't have this board... so can't test by myself...

                        I'll check dude 😘

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                        1 Reply Last reply Reply Quote 0
                        • Jul'S
                          Jul'S @aze last edited by Jul'S

                          @aze said in Odroid XU4 issues with 4.1 Stable:

                          If true, use polygon offset values specified below
                          force_polygon_offset = True
                          Specifies a scale factor that is used to create a variable depth offset for e$
                          polygon_offset_factor = -2
                          Is multiplied by an implementation-specific value to create a constant depth $
                          polygon_offset_units = -2

                          Thank you very much for the settings! much better than that!
                          Do you have to run the dreamcast in 16/9? I block...

                          Merci beaucoup pour les reglages ! bien mieu comme ca !
                          Arrive tu a faire tourner la dreamcast en 16/9? je bloque...

                          Recalbox 4.1: Rpi 3 stock et Odroid XU4.
                          Eee PC Ubuntu
                          PC win10 I7 4770K, 16Go, Maximus VII hero, GTX 1070

                          1 Reply Last reply Reply Quote 0
                          • aze
                            aze @rockaddicted last edited by

                            @rockaddicted @Substring Should apply to all games. I don't have a full list of games this fixes, but two notable games are Mario 64 and Zelda Ocarina of Time. I have tested a number of N64 games and have not found any adverse impact from this setting on the XU4, I cant speak to x86.

                            @Jul-S Glad it worked for you! I have not tried any Dreamcast games yet...

                            rockaddicted 1 Reply Last reply Reply Quote 0
                            • Substring
                              Substring last edited by

                              ok, i found the scumvm problem : it won't compile with opengl support. Should solve this sooner and later, thank you for the feedback

                              Former dev - Please reply with @substring so that i am notified when you answer me
                              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                              1 Reply Last reply Reply Quote 0
                              • rockaddicted
                                rockaddicted @aze last edited by

                                @aze ok so I'll have to test that on X86 first, and if no regression I'll add these settings by default.
                                If regressions, that will be platform specifics settings.

                                I you try other games and find problem with these settings enabled, notify me please.
                                We should do a game specific settings system.

                                Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
                                Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
                                Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

                                Don't forget to upvote messages if it has been useful ;)

                                1 Reply Last reply Reply Quote 0
                                • MarcDK
                                  MarcDK last edited by

                                  @aze said in Odroid XU4 issues with 4.1 Stable:

                                  This XU4 is pretty sweet, it even runs Conkers Bad Fur Day with minimal slowdowns.

                                  Does it run Soul Calibur with solid 60 FPS on the Dreamcast? If this is the case I'll hit the order button right away.

                                  https://marc.tv

                                  Substring 1 Reply Last reply Reply Quote 0
                                  • Substring
                                    Substring @MarcDK last edited by

                                    @marcdk we can't measure the FPS in reicast 😕 Only a general feeling

                                    Former dev - Please reply with @substring so that i am notified when you answer me
                                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                    1 Reply Last reply Reply Quote 0
                                    • Substring
                                      Substring last edited by

                                      @aze Regarding scummvm on XU4, can you download http://dl.free.fr/sAoGeUMcs and uncompress it to /usr/bin (don't forget to remount / as RW before), also do chmod u+x /usr/bin/scummvm and try from ES a scummvm game ?

                                      Former dev - Please reply with @substring so that i am notified when you answer me
                                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                      jkno23 aze 2 Replies Last reply Reply Quote 0
                                      • jkno23
                                        jkno23 @Substring last edited by jkno23

                                        @substring Can Recalbox somehow profit from compiling against DRM/KMS + GBM?

                                        Please see the post from memeka from 11th Octobter.

                                        https://forum.odroid.com/viewtopic.php?f=98&t=28436

                                        What version of Kodi is implemented in the 4.1 build?

                                        Substring 1 Reply Last reply Reply Quote 0
                                        • aze
                                          aze @Substring last edited by

                                          @substring Yes, that launches just fine for me. I did notice that I had to go into the ScummVM GUI and force it to maintain the aspect ratio (by default it was stretching it). Also not a big deal but for some reason if you press any F keys on the attached keyboard you get a string of ^@^@^ at the top left of the screen..like the terminal background is showing through or something.

                                          Substring 1 Reply Last reply Reply Quote 0
                                          • Substring
                                            Substring @jkno23 last edited by

                                            @jkno23 I've talked with memeka, that's something i'll dig later, though i don't see any benefits yet. Could you tell me why GBM is better than FBDEV ?

                                            Former dev - Please reply with @substring so that i am notified when you answer me
                                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                                            Want to support us ?

                                            88
                                            Online

                                            99.7k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com