Project

General

Profile

Actions

Emulator Issues #6460

closed

D3D9 crash on emulation close

Added by NeoBrainX over 10 years ago.

Status:
Won't fix
Priority:
High
Assignee:
-
Category:
DX9
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?
Any.

What went wrong?
D3D9 crashes when closing the emulation window.

What did you expect to happen?
Stuff to close fine and allowing me to continue working with Dolphin without having to restart it.

What steps will reproduce the problem?

  1. Enable the D3D9 backend
  2. Start any game/fifo log
  3. Wait a few seconds
  4. Close the render window.

64 or 32 bit Dolphin?
64 Bit

What version of Dolphin used to work?
I don't know.

What Operating System were you using and what are your hardware
specifications?
Windows 7 x64.

Any other relevant information or links to logs:
Likely a duplicate of issue 6459. D3D9 loves crashing when people don't leave their place cleanly.

Actions #1

Updated by delroth over 10 years ago

  • Status changed from New to Questionable

FWIW, I've been playing games on Dolphin with the DX9 backend a few weeks ago, and this never happened to me. It's either a recent regression or something specific to your system/config.

Can anyone reproduce this?

Actions #2

Updated by tommyhl2.SS over 10 years ago

Can't repro either.

Actions #3

Updated by delroth over 10 years ago

  • Priority set to High
Actions #4

Updated by maartenpeters over 10 years ago

I can also reproduce this on one of my computers, but on the other not. So, it really seems to be something with hardware.

Actions #5

Updated by NeoBrainX over 10 years ago

For reference, I was trying on a Radeon 3850 on Windows 7 x64.

Actions #6

Updated by delroth over 10 years ago

s/hardware/drivers/ probably.

Are you using an AMD GPU?

Actions #7

Updated by maartenpeters over 10 years ago

I've installed the latest driver!

Actions #8

Updated by maartenpeters over 10 years ago

I've deleted comment 7, because I provided wrong information. This is the good one: http://speccy.piriform.com/results/hipJdMAs7SFZKIAPT7aJsMw. To be sure I will check this issue on that other better computer again.

Actions #9

Updated by rodolfoosvaldobogado over 10 years ago

trying to duplicate rigth now

Actions #10

Updated by CJodioTo over 10 years ago

With 3.5-1755 on windows 7 x64 + HD6850(driver ver 13.4) i can't reproduce this or may be is fixed by this revision. Dolphin asks if you want to stop the emulation no crash at all, just tried it all defaults but setting d3d9 backend. Maybe some option you have enabled is causing this.

Actions #11

Updated by delroth over 10 years ago

Can't reproduce on Windows 7 x64 + HD6770 + driver 13.4 either.

@neobrain: did you forget to disable the DX9 debug runtime maybe? :)

Actions #12

Updated by rodolfoosvaldobogado over 10 years ago

I can't reproduce it. any other info on the error?

Actions #13

Updated by NeoBrainX over 10 years ago

@delroth: Enabling a debug runtime shouldn't cause crashes.

That said, it's possible that I have it enabled. I'll check next time I'm booting Windows.

@CJodioTo: I'd say I know how to configure Dolphin, but thanks for the feedback!

Actions #14

Updated by delroth over 10 years ago

@neobrain: sure, just trying to track possible causes.

Any way you could provide a backtrace? Should be trivial if you're using your own builds (and almost trivial if you're using a buildbot build - see the symbol server docs that... I need to write :( ).

Actions #15

Updated by CJodioTo over 10 years ago

@NeoBrainX
OK man, but as delroth said, are you using you're own compile build or one from the buildbot?

Actions #16

Updated by NeoBrainX over 10 years ago

  • Status changed from Questionable to Invalid

Likely caused by corrupted shader cache. Clearing the contents of User/ShaderCache possibly fixed the issue for me. Might as well be that it's gone because I switched out my GPU for a new one though. I'm assuming it's the former, for now.

Actions #17

Updated by rodolfoosvaldobogado over 10 years ago

i think that the way to go for this cases will be to register the actual device descriptor and reset the chache if the device is changed

Actions #18

Updated by parlane over 10 years ago

Similar to what we do with save states.

Actions #19

Updated by ryanmk54 over 10 years ago

This is still a problem for me. I tried deleting the contents of User/ShaderCache and it didn't help. The problem also happens when fullscreening the window or resizing. Should I open a new ticket?

Actions #20

Updated by NeoBrainX over 10 years ago

  • Status changed from Invalid to Accepted

Can you try a Debug build and provide a backtrace?

Also, what GPU + driver combination are you using? What OS?

Actions #21

Updated by ryanmk54 over 10 years ago

Windows Vista 64 bit, Intel(R) G33/31 Express Chipset Family, Direct 3D9, Dolphin 3.5 64 bit.
I have done a little programming, but never built dolphin. How would I create a debug build?

Actions #22

Updated by NeoBrainX over 10 years ago

Follow the instructions on http://code.google.com/p/dolphin-emu/wiki/Windows_Build and if you have any problems, come to our IRC chan and ask for help.

Did you try the latest development release btw? If it only crashes in 3.5, then that's about zero information.

Actions #23

Updated by ryanmk54 over 10 years ago

The latest development release crashes upon opening a game

Actions #24

Updated by shinra35888 over 10 years ago

I can confirm that this. Black screen on first start too. Never used to happen before. When I quit the game and then restart it, it works like it should until I close it and then it crashes.

Noticed it on 1700 master branch and 7149 master branch.

Nvidia gtx 670m 314.22 drivers, windows 7 home premium.

Actions #25

Updated by rodolfoosvaldobogado over 10 years ago

please can you give more information on the error, so i can try to reproduce?

Actions #26

Updated by delroth over 10 years ago

  • Milestone deleted (Current)

Removing milestone from D3D9 bugs since we are deprecating this backend for 4.0.

Actions #27

Updated by Autoran1 over 10 years ago

  • Status changed from Accepted to Won't fix
Actions

Also available in: Atom PDF