RetroPie forum home
    • 最近
    • タグ
    • 人気
    • Home
    • Docs
    • 登録
    • ログイン
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    [SOLVED] Can't install on Raspi Bullseye 64 bit

    Scheduled ピンされた ロック 移動しました Help and Support
    install issuesbullseye64 bitraspberry pi3egl display
    19 投稿 5 Posters 8.2k 閲覧数
    もっと見る
    • 古いものから新しい順
    • 新しいものから古い順
    • 最高評価
    返信
    • スレッドとして返信する
    投稿するのにログインして下さい
    このスレッドが削除されました。スレッド管理権を持っているユーザーにしか読めません。
    • U
      unsubscribed
      最後に編集した時間unsubscribed

      Hi, I hope it's me doing something wrong otherwise the install script is a mess on this setup:
      Device: Raspberry Pi 3
      OS: Raspberry Pi OS Bullseye 11.3 64bit (Lite version)
      Install method: Raspbian on a Raspberry Pi
      boot/config.txt:

      ...
      hdmi_blanking=1
      hdmi_group=1
      hdmi_mode=16
      edid_content_type=4
      

      First setup, the Quick install option installed everything except retroarch and emulationstation in core packages (plus 2 packages in main but I don't care for now).
      Then I go in Manage packages and try to install those 2 missing.
      Sdl2 didn't compile normally, so I had to change the version according to this issue. (Please include it in the install script)
      Retroarch compiling fails, saying:

      ...
      Checking function cgCreateContext in -lCg -lCgGL ... no
      Error: EGL is disabled and forced to build with OpenGLES support.
      rm -rf obj-unix
      rm -f retroarch
      rm -f *.d
      config.mk is outdated or non-existing. Run ./configure again.
      Makefile:10: config.mk: No such file or directory
      make: *** [Makefile:193: config.mk] Error 1
      Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/sistema/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
      
      

      In raspi-config I already disabled the experimental GL driver, isn't it referring to that one? Why is forcing OpenGLES? So to fix this I edited the script and commented the --enable-opengles* conditions.
      The compiling proceeds but then fails at:

      ...
      CC gfx/drivers_context/vc_egl_ctx.c
      gfx/drivers_context/vc_egl_ctx.c:25:10: fatal error: VG/openvg.h: No such file or directory
         25 | #include <VG/openvg.h>
            |          ^~~~~~~~~~~~~
      compilation terminated.
      make: *** [Makefile:206: obj-unix/release/gfx/drivers_context/vc_egl_ctx.o] Error 1
      Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/sistema/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
      
      

      Gave up, reverted retroarch script change, re-enabled experimental driver and it compiles. Then I re-disable experimental driver and try emulationstation. It compiled but when I launch it it says:

      Jun 12 10:02:22 lvl0:   Error initializing SDL!
              No available video device
      Jun 12 10:02:22 lvl0:   Renderer failed to initialize!
      Jun 12 10:02:22 lvl0:   Window failed to initialize!
      

      I understand this is probably due to the experimental driver mess, so... my main problem is compiling retroarch.
      What can I try?

      Thanks

      EDIT: forgot to mention, like if all this wasn't enouhg... installing emulationstation, omxplayer is not available anymore in repos. Manually installing the .deb didn't work too. I had to remove the dependency.

      DarksaviorD 2 件の返信 最後の返信 返信 引用 0
      • DarksaviorD
        Darksavior @unsubscribed
        最後に編集した時間Darksavior

        @unsubscribed That's me who said to change the sdl2 installer script to 2.0.20. Install that first before attempting to install retroarch.
        I faintly remember trying it on a pi3 and I remember it working. I'll reinstall later and report back.

        1 件の返信 最後の返信 返信 引用 0
        • DarksaviorD
          Darksavior @unsubscribed
          最後に編集した時間Darksavior

          @unsubscribed
          Ok, I installed bullseye 64 lite on my pi3b. I updated to the latest stable version. Don't mess with the video driver. Leave it at default.

          Installlibsamplerate0-dev. Edit sdl2.sh so it can install version 2.0.20. Retroarch and everything else should install without issues.

          I noticed I get no audio and there's no option to choose hdmi audio. Get audiosettings.shfrom https://github.com/cmitu/RetroPie-Setup/tree/audio-ks
          and transfer it to your pi. Replace it. The option for hdmi audio should now show up in audio settings.

          I did encounter a bug in the past where the audio cuts out but that requires more extensive testing to see if the issue was fixed recently. Bullseye is not supported right now so if you can, go back to buster.

          U U 2 件の返信 最後の返信 返信 引用 0
          • U
            unsubscribed @Darksavior
            最後に編集した時間unsubscribed

            @Darksavior said in Can't install on Raspi Bullseye 64 bit:

            Don't mess with the video driver. Leave it at default.

            Do you mean to leave enabled the experimental GL on raspi-config?

            Thanks a lot for taking the time and the detailed explanation! I will be free to do it maybe next day but will update this thread asap.

            DarksaviorD 1 件の返信 最後の返信 返信 引用 0
            • DarksaviorD
              Darksavior @unsubscribed
              最後に編集した時間

              @unsubscribed Yes, leave the "experimental" driver enabled. It's an old message. It's not experimental anymore since the pi team decided to use it as the default.

              S 1 件の返信 最後の返信 返信 引用 0
              • U
                unsubscribed
                最後に編集した時間

                With your instructions it worked flawlessly, thanks a lot!

                Now I just need to understand how to activate the display when emulationstation is started via ssh, but I'll probably open another thread.

                1 件の返信 最後の返信 返信 引用 0
                • S
                  shadoom @Darksavior
                  最後に編集した時間

                  @Darksavior
                  is amiberry working with kms? I had no sound via hdmi when I tried 64 bit bullseye last... With the default SDL2 it worked fine, but the custom one from retropie gave me no audio in amiberry only. I haven't done the audiosettings.sh thing you've mentioned in the post above back then though.

                  DarksaviorD 1 件の返信 最後の返信 返信 引用 0
                  • DarksaviorD
                    Darksavior @shadoom
                    最後に編集した時間

                    @shadoom I don't use amiberry so I can't say. You can try installing sdl2 2.0.20, install the wip audiosettings from cmitu's repo (it adds the option for hdmi audio) and then install amiberry again. Retropie's default is 2.0.10. I believe .20 was causing problems with some games but I mainly use libretro cores so it doesn't affect me.

                    Checking retropie's sdl branch, you can experiment with versions .16 and .18 though I don't know which version fixed the issues with bullseye.

                    U 2 件の返信 最後の返信 返信 引用 0
                    • U
                      ustix @Darksavior
                      最後に編集した時間

                      @Darksavior omxplayer is still a problem for me, and i'm not able to install it, and emulationstation needs it. what have you done to get rid of that error?

                      DarksaviorD 1 件の返信 最後の返信 返信 引用 0
                      • DarksaviorD
                        Darksavior @ustix
                        最後に編集した時間

                        @ustix The error doesn't exist on 64bit. I only got it on 32bit. You need to comment out like 3 lines from the ES installer script which I don't remember at the moment.

                        U 1 件の返信 最後の返信 返信 引用 0
                        • U
                          ustix @Darksavior
                          最後に編集した時間

                          @Darksavior

                          compareVersions "$__os_debian_ver" gt 8 && depends+=(rapidjson-dev)
                              isPlatform "x11" && depends+=(gnome-terminal)
                             # if isPlatform "dispmanx" && ! isPlatform "osmc"; then
                             #    depends+=(omxplayer)
                             # fi
                              getDepends "${depends[@]}"
                          }
                          

                          I can only think of that three, maybe.

                          1 件の返信 最後の返信 返信 引用 0
                          • mituM
                            mitu Global Moderator
                            最後に編集した時間

                            @ustix said in [SOLVED] Can't install on Raspi Bullseye 64 bit:

                            omxplayer is still a problem for me, and i'm not able to install it, and emulationstation needs it...

                            omxplayer will not run on a 64bit system, due to the lack of support from the GPU drivers/OS (there's no 32bit OMX api in the first place). It's been completely removed from the RaspiOS 'bullseye' release, since it's not compatible with the GPU drivers and will not work.

                            EmulationStation works without omxplayer, using the vlc libraries for video.

                            U 1 件の返信 最後の返信 返信 引用 1
                            • U
                              ustix @mitu
                              最後に編集した時間

                              @mitu
                              Thanks for the answer, so am I right to comment out omxplayer dependency check from the installation script to proceed?
                              I've read somewhere that omxplayer plays ingame videos, isn't that a problem for emulationstation? (i don't really care if i can't see any ingame videos, I'm pretty good without them)
                              How can I change to vlc, or is it automatic? (I have seen that vlc is also a dependency, so it is used if there is no omxplayer?)

                              1 件の返信 最後の返信 返信 引用 0
                              • mituM
                                mitu Global Moderator
                                最後に編集した時間mitu

                                Thanks for the answer, so am I right to comment out omxplayer dependency check from the installation script to proceed?

                                No, the lines you commented will actually disable the omxplayer dependency on 'bullseye', so EmulationStation would build/install without dependency issues. I think the configuration menu would still show omxplayer as available to play videos, but it will not work (should work in emulationstation-dev).

                                I've read somewhere that omxplayer plays ingame videos, isn't that a problem for emulationstation? (i don't really care if i can't see any ingame videos, I'm pretty good without them)

                                omxplayer can be used for the videos shown in the gamelist, in EmulationStation, not by emulators.

                                How can I change to vlc, or is it automatic? (I have seen that vlc is also a dependency, so it is used if there is no omxplayer?)

                                vlc is the default video backend for EmulationStation, so you don't have to do anything. omxplayer is an alternate backend that is available only on RPI, but

                                U 1 件の返信 最後の返信 返信 引用 1
                                • U
                                  ustix @mitu
                                  最後に編集した時間

                                  @mitu
                                  Thank you for your help, I've meant that I would like to disable the omxplayer dependency, because emulationstation is not installing if it is enabled. I have done that with commenting out that three lines, and it is installed without issues, I'm looking forward to try it out, but I'm at work with SSH only, so I'm only able to look at the processes, which shows that emulationstation is running now.

                                  1 件の返信 最後の返信 返信 引用 0
                                  • U
                                    ustix @Darksavior
                                    最後に編集した時間

                                    @Darksavior
                                    Do I have to experiment changing the sdl2 version on 32bit bullseye too?

                                    1 件の返信 最後の返信 返信 引用 0
                                    • U
                                      ustix @Darksavior
                                      最後に編集した時間

                                      I noticed I get no audio and there's no option to choose hdmi audio. Get audiosettings.shfrom https://github.com/cmitu/RetroPie-Setup/tree/audio-ks
                                      and transfer it to your pi. Replace it. The option for hdmi audio should now show up in audio settings.

                                      Hi!
                                      Does it matter when I copy the audiosetting.sh? Do I have to do it before installing retropie, or i can do that after that too?

                                      DarksaviorD 1 件の返信 最後の返信 返信 引用 0
                                      • DarksaviorD
                                        Darksavior @ustix
                                        最後に編集した時間

                                        @ustix Install retropie first and then follow my instructions that I already posted.

                                        U 1 件の返信 最後の返信 返信 引用 1
                                        • U
                                          ustix @Darksavior
                                          最後に編集した時間

                                          @Darksavior
                                          Also I have experimented a problem about gpu_mem, when you set it to 256 (which i don't really think is reasonable for pi zero 2, but I have tried) then emulationstation is not loading, instead it is in a constant 104% cpu using state.

                                          1 件の返信 最後の返信 返信 引用 0
                                          • AshpoolA Ashpool referenced this topic on
                                          • First post
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.