Recalbox Forum

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

    Recalbox 8.0: (ERROR) : [SDL2] Fatal error initializing SDL2

    Recalbox General
    recalbox 8.0 [sdl2] fatal initializing sdl2
    4
    26
    3784
    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.
    • fh1105
      fh1105 @davidb2111 last edited by

      @davidb2111 said in Recalbox 8.0: (ERROR) : [SDL2] Fatal error initializing SDL2:

      @fh1105
      And to force boot without detecting case, you may:

      1. set case=none:1 in /boot/recalbox-boot.conf
      2. execute rm -rf /overlay/upper/*

      and reboot

      I tried this, but still the screen remains black.

      fh1105 davidb2111 2 Replies Last reply Reply Quote 0
      • fh1105
        fh1105 @fh1105 last edited by

        Before the modified tester, the output was:

        CRC error
        198
        
        davidb2111 1 Reply Last reply Reply Quote 0
        • davidb2111
          davidb2111 Staff @fh1105 last edited by

          Hi @fh1105

          Great news, that helps me a lot. I will include a fixed piboy-tester that will not wrongly detect a PiBoy when something is connected to GPIO.

          At the moment, you can cleanup overlay and set case=none:1 to disable autodection.
          The fix will be included in the next release a few days (weeks)

          David

          1 Reply Last reply Reply Quote 0
          • davidb2111
            davidb2111 Staff @fh1105 last edited by

            @fh1105

            Hum, what type of screen do you have ?
            Could you please execute cat /sys/class/drm/card*/modes and put result here ?

            fh1105 2 Replies Last reply Reply Quote 0
            • fh1105
              fh1105 @davidb2111 last edited by

              @davidb2111 said in Recalbox 8.0: (ERROR) : [SDL2] Fatal error initializing SDL2:

              cat /sys/class/drm/card*/modes

              It's a HDMI-connected HD screen – normal 'office type'.

              cat /sys/class/drm/card*/modes
              

              returns nothing at all.

              ba74fe43-45e1-4356-9900-eef841019ed4-image.png

              fh1105 1 Reply Last reply Reply Quote 0
              • fh1105
                fh1105 @fh1105 last edited by

                But here's me exploring that directory:

                # pwd
                /sys/class/drm
                # ls
                card0           card0-HDMI-A-1  renderD128      version
                # cd card0-HDMI-A-1
                # ls
                device     edid       modes      status     uevent
                dpms       enabled    power      subsystem
                # cd modes
                -bash: cd: modes: Not a directory
                # ls
                device     edid       modes      status     uevent
                dpms       enabled    power      subsystem
                # cat modes
                # cd ..
                # ls
                card0           card0-HDMI-A-1  renderD128      version
                # cd card0
                # ls
                card0-HDMI-A-1  device          subsystem
                dev             power           uevent
                #
                
                
                (modes in card0-HDMI1-A-1 is empty)
                
                davidb2111 1 Reply Last reply Reply Quote 0
                • fh1105
                  fh1105 @davidb2111 last edited by

                  By the way: amazing support, @davidb2111! Thank you very much!!

                  davidb2111 1 Reply Last reply Reply Quote 1
                  • davidb2111
                    davidb2111 Staff @fh1105 last edited by

                    Hi @fh1105

                    Seems edid does not report modes. Could you force the mode within /boot/recalbox-user-config.txt.

                    hdmi_group=1
                    hdmi_mode=X
                    

                    where X should be:

                    • 16 for 1080p
                    • 4 for 720p
                    • 1 for VGA mode (640x480, as a fallback)

                    Once started, if still no display, try adding this setting:

                    hdmi_ignore_edid=0xa5000080
                    

                    Hope this help.

                    1 Reply Last reply Reply Quote 0
                    • davidb2111
                      davidb2111 Staff @fh1105 last edited by davidb2111

                      @fh1105
                      Also, do you know the resolution of your TV?

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

                        Hello!

                        Just a brief update, as I solved it by simply removing everything from my GPIO ports, and wiring my arcade buttons to a

                        Zero Delay Arcade USB Encoder

                        – which then connects to the RPi's USB ports.

                        All good now! Thank you, and keep it up!
                        Fabian

                        1 Reply Last reply Reply Quote 1
                        • Locked by  admin admin 
                        • First post
                          Last post

                        Want to support us ?

                        65
                        Online

                        99.6k
                        Users

                        28.1k
                        Topics

                        187.1k
                        Posts

                        Copyright © 2021 recalbox.com