RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    is it possibile to install vulkan on retropie ?

    Scheduled Pinned Locked Moved Ideas and Development
    pikissretroarchretropievulkan
    6 Posts 3 Posters 2.9k Views
    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.
    • giandeejayG
      giandeejay
      last edited by

      Hi now with pikiss and pixeldesktop launched by retropie 4.7.20 (latest) is it possibile to integrate vulkan driver on emulationstation?
      I have installed on my pi4 retropie+emulationstation+pixeldesktop+pikiss+vilkan driver +ppsspp
      On desktop ppsspp works with vulkan and all my games, on emulationstation ppsspp wont looks for vulkan driver...
      It seems like retroarch (launched by emulationstation) won't works with vulkan (but vulkan driver are installed).
      Instead if i quit emulationstation and launch pixeldesktop and next i launch ppsspp it works with vulkan driver..
      There is a method to integrate it on retroarch in emulationstation ?

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @giandeejay said in is it possibile to install vulkan on retropie ?:

        It seems like retroarch (launched by emulationstation) won't works with vulkan (but vulkan driver are installed).

        The RetroPie setup script doesn't enable Vulkan on Pi systems, since Raspi OS doesn't provide them on the version supported by RetroPie (Buster).
        If you manually installed a new Mesa version (with the Pi4 Vulkan driver) then you'll also need to modify the RetroArch install script and enable Vulkan, then re-install it from source.

        giandeejayG 1 Reply Last reply Reply Quote 0
        • giandeejayG
          giandeejay @mitu
          last edited by

          @mitu said in is it possibile to install vulkan on retropie ?:

          need to modify the RetroArch install script and enable Vulkan, then re-install it from source.

          How I can modify ?
          what piece of code i must modify on retroarch.sh ?

          Thanks

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @giandeejay
            last edited by mitu

            @giandeejay said in is it possibile to install vulkan on retropie ?:

            How I can modify ?

            You can modify your local retroarch.sh copy (the build function) and remove the --disable-vulkan configure parameter, after which you can build RetroArch again from source and check if it has Vulkan support.

            giandeejayG 1 Reply Last reply Reply Quote 0
            • giandeejayG
              giandeejay @mitu
              last edited by

              @mitu sorry but i cannot find --disable-vulkan in build function the only one is commented , maybe you mean i Must add --enable-vulkan if kms ? Or if RPI ?
              But where in the code ? What line?

              function build_retroarch() {
              local params=(--disable-sdl --enable-sdl2 --disable-oss --disable-al --disable-jack --disable-qt)
              if ! isPlatform "x11"; then
              params+=(--disable-pulse)
              ! isPlatform "mesa" && params+=(--disable-x11)
              fi
              if compareVersions "$__os_debian_ver" lt 9; then
              params+=(--disable-ffmpeg)
              fi
              isPlatform "gles" && params+=(--enable-opengles)
              if isPlatform "gles3"; then
              params+=(--enable-opengles3)
              isPlatform "gles31" && params+=(--enable-opengles3_1)
              isPlatform "gles32" && params+=(--enable-opengles3_2)
              fi
              isPlatform "rpi" && isPlatform "mesa" && params+=(--disable-videocore)
              # Temporarily block dispmanx support for fkms until upstream support is fixed
              isPlatform "dispmanx" && ! isPlatform "kms" && params+=(--enable-dispmanx --disable-opengl1)
              isPlatform "mali" && params+=(--enable-mali_fbdev)
              isPlatform "kms" && params+=(--enable-kms --enable-egl)
              isPlatform "arm" && params+=(--enable-floathard)
              isPlatform "neon" && params+=(--enable-neon)
              isPlatform "x11" && params+=(--enable-vulkan)
              ! isPlatform "x11" && params+=(--disable-vulkan --disable-wayland)
              isPlatform "vero4k" && params+=(--enable-mali_fbdev --with-opengles_libs='-L/opt/vero3/lib')
              ./configure --prefix="$md_inst" "${params[@]}"
              make clean
              make
              md_ret_require="$md_build/retroarch"
              }

              S 1 Reply Last reply Reply Quote 0
              • S
                sleve_mcdichael @giandeejay
                last edited by sleve_mcdichael

                @giandeejay said in is it possibile to install vulkan on retropie ?:

                But where in the code ? What line?

                ! isPlatform "x11" && params+=(--disable-vulkan --disable-wayland)

                1 Reply Last reply Reply Quote 0
                • 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.