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

    Wii emulation performance using Vulkan on Pi4

    Scheduled Pinned Locked Moved General Discussion and Gaming
    pi4vulkanwii
    14 Posts 4 Posters 5.8k 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.
    • WODAKW
      WODAK @gandalth23
      last edited by

      @gandalth23 maybe check this video:


      Did you try to change the resolution to 640x480?

      1 Reply Last reply Reply Quote 1
      • G
        gandalth23
        last edited by

        The result from the video looks great, but I am not able to reproduce it.

        I call lxrandr from command line and set the resolution to 640 x 480. Then I start dolphin and change to full screen mode.
        I tried that with both vulkan and opengl. In both cases, I see stuttering and frame rates between 17 and 22 fps. My impression is that the game ran slightly better using opengl.

        Did anybody else try to reproduce the video's result?

        Best,
        gandalth

        quicksilverQ 1 Reply Last reply Reply Quote 1
        • quicksilverQ
          quicksilver @gandalth23
          last edited by

          @gandalth23 are you racing with AI racers on the track? I noticed that the person in the video is just running a time trial which means it's only one racer on the track.

          1 Reply Last reply Reply Quote 1
          • G
            gandalth23
            last edited by

            You"re right, I noticed that too and also tried a "Time Trial" race. However, I didn't see any difference to the actual race.

            The only difference I have on my system is a newer dolphin (git pull from May 8) and newer mesa drivers (git pull from May 8). I am currently assuming that doesn't hurt performance, but of course I cannot be sure. I will double check when I have time.

            WODAKW 1 Reply Last reply Reply Quote 1
            • WODAKW
              WODAK @gandalth23
              last edited by

              @gandalth23 said in Wii emulation performance using Vulkan on Pi4:

              You"re right, I noticed that too and also tried a "Time Trial" race. However, I didn't see any difference to the actual race.

              The only difference I have on my system is a newer dolphin (git pull from May 8) and newer mesa drivers (git pull from May 8). I am currently assuming that doesn't hurt performance, but of course I cannot be sure. I will double check when I have time.

              I tried to install the latest dolphin from git. I can't run any game because there is always showing an error about OpenGL support.

              I already tried with the solution

              nano ~./config/dolphin-emu/GFX.ini 
              
              Find this -> [Settings]
              
              Under it type this
              PreferGLES = True
              
              hit CTRL + X
              hit Enter
              

              but it didn't help. Seems like something's messed up :/

              1 Reply Last reply Reply Quote 1
              • G
                gandalth23
                last edited by

                @WODAK I use this setting too and it does work.
                I remember that it did not work on older version of dolphin.

                What revision do you have? Mine is 14109.

                Best,
                gandalth

                WODAKW 1 Reply Last reply Reply Quote 1
                • WODAKW
                  WODAK @gandalth23
                  last edited by WODAK

                  @gandalth23 said in Wii emulation performance using Vulkan on Pi4:

                  @WODAK I use this setting too and it does work.
                  I remember that it did not work on older version of dolphin.

                  What revision do you have? Mine is 14109.

                  Best,
                  gandalth

                  Mine is 14122...

                  How did u install Dolphin? I used this script:

                  sudo apt install git cmake pkg-config gcc libwxbase3.0-dev libwxgtk3.0-dev libgtk2.0-dev libxext-dev libreadline-dev libgl1-mesa-dev libevdev-dev libudev-dev libasound-dev libpulse-dev libao-dev libopenal-dev libavcodec-dev libavformat-dev libswscale-dev libenet-dev liblzo2-dev libminiupnpc-dev libmbedtls-dev libsoil-dev libsoundtouch-dev libsfml-dev libusb-1.0-0-dev libbluetooth-dev libxrandr-dev qtbase5-private-dev
                  git clone https://github.com/dolphin-emu/dolphin.git dolphin-emu 
                  cd dolphin-emu
                  
                  mkdir build && cd build
                  sudo cmake ..
                  sudo make install
                  

                  and my uname

                  pi@raspberrypi:~ $ uname -a
                  Linux raspberrypi 5.10.17-v8+ #1414 SMP PREEMPT Fri Apr 30 13:23:25 BST 2021 aarch64 GNU/Linux
                  
                  1 Reply Last reply Reply Quote 1
                  • G
                    gandalth23
                    last edited by

                    I think your installation is correct.

                    Can you try installing vulkan drivers from source? I used this guide:
                    https://qengineering.eu/install-vulkan-on-raspberry-pi.html

                    Best,
                    gandalth

                    WODAKW 1 Reply Last reply Reply Quote 1
                    • WODAKW
                      WODAK @gandalth23
                      last edited by WODAK

                      @gandalth23 said in Wii emulation performance using Vulkan on Pi4:

                      I think your installation is correct.

                      Can you try installing vulkan drivers from source? I used this guide:
                      https://qengineering.eu/install-vulkan-on-raspberry-pi.html

                      Best,
                      gandalth

                      I did....and most of games are lagging....some of games are running good....
                      Did you try Mario Kart - double dash? I am always getting some kind of blue screen fog...could you also try it? The game is running fine....just this blue screen is getting me mad....

                      1 Reply Last reply Reply Quote 1
                      • G
                        gandalth23
                        last edited by

                        I confirm the behavior for Mario Kart Double Dash.

                        In your other thread you seem to have found a solution for Mario Kart Double Dash. What exactly is the fix? Using that fork of dolphin or the Gecko codes you provided?

                        Best,
                        gandalth

                        WODAKW 1 Reply Last reply Reply Quote 1
                        • WODAKW
                          WODAK @gandalth23
                          last edited by WODAK

                          @gandalth23 said in Wii emulation performance using Vulkan on Pi4:

                          I confirm the behavior for Mario Kart Double Dash.

                          In your other thread you seem to have found a solution for Mario Kart Double Dash. What exactly is the fix? Using that fork of dolphin or the Gecko codes you provided?

                          Best,
                          gandalth

                          The solution to get rid of the blue fog screen is to install the Ishiiruka version of dolphin....

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