• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.7k 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.
  • A
    acidtech
    last edited by acidtech 5 Jun 2021, 20:32 6 May 2021, 19:32

    And the video is displaying properly? Last time I checked vulkan was glitching the screen badly with Dolphin(eg mostly black with some graphics randomly). Only opengl was working properly but at 7 to 9 fps. If you have working video AND 17 to 19 fps you are doing pretty good. Your overclock can go higher(both gpu and cpu). Have you tried playing with that to see if there is any noticeable improvement?

    1 Reply Last reply Reply Quote 1
    • G
      gandalth23
      last edited by 7 May 2021, 16:57

      I know what you mean by the glitches. About half a year ago, I saw heavy flickering and distortion. But that is not present any more, the video is now smooth.

      I have made a few updates in between (both on dolphin and the mesa drivers, but no improvement so far. I haven't tried more heavy overclocking yet.

      Best,
      gandalth

      1 Reply Last reply Reply Quote 1
      • W
        WODAK @gandalth23
        last edited by 7 May 2021, 18:38

        @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 8 May 2021, 17:33

          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

          Q 1 Reply Last reply 8 May 2021, 20:06 Reply Quote 1
          • Q
            quicksilver @gandalth23
            last edited by 8 May 2021, 20:06

            @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 9 May 2021, 06:45

              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.

              W 1 Reply Last reply 9 May 2021, 21:46 Reply Quote 1
              • W
                WODAK @gandalth23
                last edited by 9 May 2021, 21:46

                @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 11 May 2021, 19:27

                  @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

                  W 1 Reply Last reply 12 May 2021, 13:39 Reply Quote 1
                  • W
                    WODAK @gandalth23
                    last edited by WODAK 5 Dec 2021, 19:19 12 May 2021, 13:39

                    @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 13 May 2021, 06:27

                      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

                      W 1 Reply Last reply 13 May 2021, 06:30 Reply Quote 1
                      • W
                        WODAK @gandalth23
                        last edited by WODAK 13 May 2021, 06:30

                        @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 14 May 2021, 16:12

                          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

                          W 1 Reply Last reply 14 May 2021, 20:44 Reply Quote 1
                          • W
                            WODAK @gandalth23
                            last edited by WODAK 14 May 2021, 20:44

                            @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
                            14 out of 14
                            • First post
                              14/14
                              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.

                              This community forum collects and processes your personal information.
                              consent.not_received