Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dopamine closes immediately after starting (Caused by MSI Afterburner / Rivatuner) #984

Closed
CntrlAltDel45 opened this issue Jun 8, 2019 · 13 comments

Comments

@CntrlAltDel45
Copy link

After the Windows 10 1903 feature update Dopamine does not work, the latest preview version 2 even the older 1.5 version does the exact same thing.
When you launch Dopamine it closes immediately. Tried reinstalling Windows 10 but the issue persists.

@digimezzo
Copy link
Owner

Could you attach the log file?

@CntrlAltDel45
Copy link
Author

Dopamine.log

@berkeleynerd
Copy link

Latest version working for me on 1903 so doesn't seem to be a problem for everyone at least.

@CntrlAltDel45
Copy link
Author

CntrlAltDel45 commented Jun 9, 2019

Do you have any suggestions as to what I could possibly do to fix the issue? Dopamine is quite literally the best music player on the Windows platform, I'd hate to have to switch back to WMP.

@digimezzo
Copy link
Owner

Could you delete Settings.xml (it is in directory %appdata%\Dopamine. I want to make sure that the settings file didn't get corrupt. It will be re-created next time you start dopamine.

@CntrlAltDel45
Copy link
Author

CntrlAltDel45 commented Jun 9, 2019

@digimezzo Alright I just tried that and it does the same thing. Did fresh install afterwards and same thing on initial launch. Below is the fresh Dopamine log after first launch immediately crashes.

Dopamine.log

@CntrlAltDel45
Copy link
Author

Same symptoms as in this issue report: https://github.com/digimezzo/Dopamine/issues/958

@digimezzo
Copy link
Owner

The log is, unfortunately not helpful. Dopamine seems to stop, without logging anything. In case of #958 things were different. A NullReferenceException was logged due to a bug in the code.

Could you have a look in the Windows Event Viewer > Application log, if there are any notifications concerning application crashes around the time that Dopamine gets closed? If you are not familiar with Event viewer, I can give you some more instructions. Let me know.

I'll also try it today on a Windows 1903. Hopefully I'm getting the problem too.

@CntrlAltDel45
Copy link
Author

CntrlAltDel45 commented Jun 10, 2019

I've attached a screenshot on the event viewer logged event relating to Dopamine crashing
2019-06-10 12_40_52-Window

@CntrlAltDel45
Copy link
Author

CntrlAltDel45 commented Jun 10, 2019

@digimezzo Alright, I managed to fix the issue. After seeing the faulting module path in the event viewer (d3d9.dll) I did some research and found out that it's MSI Afterburner conflicting with Dopamine, once you close MSI Afterburner package (specifically Rivatuner statistics) Dopamine launches seamlessly.

[UPDATE]
I managed to fix the issue by manually installing a later version of d3d9.dll in system32 which utilizes x86 d3d9.dll modules and in Syswow64 (which is not necessary) with latest x64 d3d9.dll modules. Specifically release 10.0.17763.1 for both x86 and x64 modules.

I can now run both Afterburner suite (with Rivatuner) and Dopamine without getting crashes on startup in Dopamine.

Thank you all for your assistance. If you need any more information please dont hesitate to write to me.

@digimezzo
Copy link
Owner

@CntrlAltDel45 That is very useful info. Thanks! I did some quick research and this doesn't seem to be limited to Dopamine. Other applications can suffer from this too. There seems to be a way to add exceptions to RivaTuner, hwoever I'm not familiar with it, so I'm not sure it is 100% corrent. This is the link I found: https://www.reddit.com/r/Windows10/comments/64tsw2/some_apps_are_crashing_with_msi_afterburner_rtss/

I'm glad your issue is now resolved! :)

@CntrlAltDel45
Copy link
Author

@digimezzo That is correct. The issue has nothing to do with Dopamine and almost exclusively to do with newer d3d9.dll binaries. The same thing happened with the initial launch of the creator's update. I see this issue extends to all programs which utilizes the d3d9.dll binaries specifically the 32 bit variation in system32.

Discord, older games, hardware accelerated game launchers and some other Windows store apps are rendered useless since they cant launch. I've decided to go back to RS5 and leave 19H1 for when it's ready.

@digimezzo digimezzo changed the title Dopamine broken in 1903 build of Windows 10 Dopamine closes immediately after starting (Caused by MSI Afterburner / Rivatuner) Jul 10, 2019
@digimezzo digimezzo pinned this issue Jul 10, 2019
@madmax2
Copy link

madmax2 commented Dec 7, 2021

@CntrlAltDel45 can you share the link for the d3d9.dll you got?
i got issue with dopamine not opening

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants