10 Replies Latest reply on Aug 17, 2017 11:40 AM by Intel Corporation

    Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator

    Jacky161

      EDIT: For some reason Dolphin now just crashes instead of causing a memory leak. Read other posts for more info.

       

       

      With the latest dev build (5.0-5077) of the Dolphin Emulator (and older versions as well), when using the Vulkan Backend, memory usage spikes up till there is basically none left all within 3 seconds of launching the game in Dolphin and then locks up the system. I can't move the mouse, CTRL + Alt + Delete does nothing and even the time freezes at the time of the lockup. I'm assuming that it's probably hitting the page file, until that fills up then the system really is screwed. I have to hold the power button till it turns off then turn it back on. I left it on for around 8 minutes after it crashed, but then I ran out of patience since it was still frozen. Also other people are having this problem on the dolphin forums and they say that it's probably a driver issue. Here's a link to one from a person with a Skylake CPU. https://forums.dolphin-emu.org/Thread-massive-memory-leak-while-using-vulkan-with-intel-hd-520

      Here is a screenshot with task manager open with the memory usage.

      IMG_1988.JPG

      Sorry for the quality, I wasn't exactly able to take a screenshot for obvious reasons.\

       

       

       

       

       

      EDIT: For some reason Dolphin crashes now instead of locking up and causing a memory leak.

        • 1. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello Jacky161,
           
          I understand there is a huge memory leak when using Dolphin Emulator.
           
          Let me apologize for any inconvenience this issue may be causing to you.
           
          In order to help you better I would like to gather more information about the configuration you have in the computer.  Please attach to this thread the .txt file the Intel® System Support Utility will generate https://downloadcenter.intel.com/download/25293/Intel-System-Support-Utility
           
          To attach a file, you must click “Use Advanced Editor” on the upper right hand corner of the response box, then the “attach” option will appear on the bottom right hand corner of the response box.
           
          Regards,
          Fred D.

          • 3. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hello Jacky161,
             
            Thanks for the information you sent to me.
             
            I would like you to try older version of the graphics driver.  Please download it from this link https://downloadmirror.intel.com/26772/eng/win64_154518.4664.zip
             
            As soon as the graphics driver has been downloaded on the keyboard press WinLogo key + r, then type in devmgmt.msc, double click on Display Adapters -> Intel® HD Graphics 620 -> Driver tab -> Uninstall -> Select the check box Delete the driver software for this device -> OK, restart the computer, and then reinstall the driver with the steps that are on this YouTube video https://www.youtube.com/watch?v=S1KzoQDjMMY
             
            The content on the above site is not controlled by Intel. This information is offered for your convenience and should not be viewed as an endorsement by Intel for the merchants or services offered there.
             
            Let me know if issue persists or not.
             
            Regards,
            Fred D.

            • 5. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hello Jacky161,
               
              I am sorry to hear issue persists even with different driver.
               
              Let me do further research about this and then get back to you.  I will post more information on this forum thread as soon as I have it available.
               
              Regards,
              Fred D.

              • 6. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
                Intel Corporation
                This message was posted on behalf of Intel Corporation

                Hello Jacky161,
                 
                I would like to gather more information about the issue you are reporting to us.  Would you please fill out the form that is in the following link and post it on this thread? https://communities.intel.com/thread/77761
                 
                Please also include the DxDiag and DispDiag reports.
                 
                Regards,
                Fred D.

                • 7. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
                  Jacky161

                  Category

                  Questions

                  Answers (N/A if not applicable)

                  Description

                  Provide a detailed description of the issue

                  When using the Vulkan Backend in Dolphin, memory usage skyrockets and locks up the system rendering it unusable until the user hard resets the system by holding the power button.

                   

                   

                  EDIT: Ok something interesting happened. Now instead of a memory leak and a lockup, Dolphin just crashes now. Which is weird. I've tried the older Dolphin version that I used at the beginning but it was still crashing. Could it possibly be that my drivers weren't installed properly because I wasn't using the setup.exe before and the newer version fixed actually fixed the memory leak but Vulkan still doesn't work? BTW This happened after I did a driver reinstall normally with setup.exe

                  Please place an X to the right of the option showing how often you see this issue using specific steps. (Ex: 'Every few times a game is started it flickers.' <- This would be "Often")

                  Memory Leak:

                  Always (100%):

                  Often (51-99%):

                  Sporadic (20-50%):

                  Very Sporadic (<20%):X

                   

                   

                  The crash always happens now.

                  Always (100%): X

                  Often (51-99%):

                  Sporadic (20-50%):

                  Very Sporadic (<20%):

                   

                  Dolphin crashes now instead of what it did before which was a memory leak and a lockup.

                  Hardware (HW)

                  Brand and Model of the system.

                  Acer Aspire E 15 E5-575-5476

                  Hybrid or switchable graphics system?
                  ie Does it have AMD or NV graphics too?

                  N/A

                  Make and model of any Displays that are used to see the issue (see note2 below).
                  LFP
                  = Local Flat Panel (Laptop panel)
                  EFP = External Flat Panel (Monitor you plug in)

                  The issue seems to occur regardless of display as it occurred on my laptop screen and my TV. (Panasonic Viera TH-50PX75U)

                  How much memory [RAM] in the system (see note2 below).

                  8GB

                  Provide any other hardware needed to replicate the issue.
                  ie: Cables&brand, cable type [vga, hdmi, DP, etc], dock, dongles/adapters, etc

                  N/A no other hardware other than the laptop and it's charger is required.

                  Hardware Stepping (see note1 below).

                  Attached Below

                  Software (SW)

                  Operating System version (see note2 below).

                  Windows 10 Home Build 1703

                  VBIOS (video BIOS) version. This can be found in “information page” of CUI (right click on Desktop and select “Graphics Properties”.

                  GCP 9.0.1060

                  Graphics Driver version; for both integrated Intel and 3rd party vendors (see note2 below).

                  22.20.16.4729

                  SW or Apps version used to replicate the issue.

                  Latest Version of Dolphin

                  Version 5.0-5167

                  Configurations

                  Single display, clone, or extended (see note2 below).

                  Single Display

                  Display resolution & refresh rate setting of each display (see note2 below).

                  1366 x 768 LFP Laptop Screen

                  1920 x 1080 EFP TV Display

                  AC or DC mode, i.e. is power cable plugged in or not?

                  AC Mode (Plugged In)

                  How to repro

                  Please provide steps to replicate the issue.  These steps are very crucial to finding the root cause and fix.
                  A screenshot to illustrate the issue is a huge plus. A video of the failure is even better! Attach to the post or provide the YouTube link.

                   

                  1. Download Latest Version of Dolphin
                  2. Get a ROM of a game
                  3. Set Graphics to Vulkan (I've attached my config below in a zip)
                  4. Launch Game

                  ...

                   

                  HWS.PNG

                  • 8. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
                    Intel Corporation
                    This message was posted on behalf of Intel Corporation

                    Hello Jacky161,
                     
                    Thanks for the additional information you sent to me.
                     
                    Please let me know if the application crashes as soon as you open it or if it crashes after you load a ROM of a game.
                     
                    Does the application work fine if you do not load any ROM of a game?
                     
                    Did you reinstall latest graphics driver again?
                     
                    Regards,
                    Fred D.

                    • 9. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
                      Jacky161

                      The application crashes after I load a ROM.

                      Dolphin works fine if I don't load a ROM.

                      Yes, I reinstalled the latest graphics driver.

                       

                       

                      EDIT: Ok I‘ve done some more testing and it seems that most games that I have crash now. But some other games still cause a memory leak. One game actually made it past the opening Nintendo logos. But then memory leaked soon after.

                      • 10. Re: Huge Memory Leak + System Lockup with Vulkan on Dolphin Emulator
                        Intel Corporation
                        This message was posted on behalf of Intel Corporation

                        Hello Jacky161,
                         
                        I just sent to you a private message.  Please check your inbox.
                         
                        Regards,
                        Fred D.