Project

General

Profile

Actions

Emulator Issues #11656

open

Dx12 Freezing Entire System

Added by shatteredlites over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
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?

[Metroid Prime + Possibly any others]

Game ID?

[GM8E01]

MD5 Hash?

[269b4eed9d00e78b88231bd92b3e9e53]

What's the problem? Describe what went wrong.

[Using DX12 ingame for a few mins will cause Dolphin along with the entire System to Freeze needing a forced restart]

What steps will reproduce the problem?

[Start Game and Run around a bit till the entire system freezes. seems to happen while shaders are compiling ingame]

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[5.0-9888]

Is the issue present in the latest stable version?

[No]

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[5.0-9878]

What are your PC specifications? (CPU, GPU, Operating System, more)

[AMD RX 480 4GB, i5 6402p 8GB, Windows 10]


Files

sf.7z (2.37 MB) sf.7z fifo log shatteredlites, 04/02/2019 06:11 AM
Dxqin8FWkAA8QtL.jpg (179 KB) Dxqin8FWkAA8QtL.jpg shatteredlites, 04/09/2019 03:54 AM
Actions #1

Updated by shatteredlites over 5 years ago

This issue is resolved when Ubdershaders are disabled

Actions #2

Updated by JMC4789 over 5 years ago

Thank you for the report, we're looking into it.

Actions #3

Updated by JMC4789 over 5 years ago

It would help a lot if you could confirm if this is happening on other games, if various settings affect it. We're not able to reproduce this issue.

Actions #4

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

It would help a lot if you could confirm if this is happening on other games, if various settings affect it. We're not able to reproduce this issue.

is there a way to record a log that will still be there upto the moment it freezes and I have to force restart?

Actions #5

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

It would help a lot if you could confirm if this is happening on other games, if various settings affect it. We're not able to reproduce this issue.

so I usually have Hybrid ubershaders on and differ EFB copies on. flipping off Differ efb copies and turning Hybrid on kept the game from crashing.

Actions #6

Updated by shatteredlites over 5 years ago

I guess you can close this now cause I cant repro anymore after Updating my Drivers

Actions #7

Updated by shatteredlites over 5 years ago

wait tried starfox adventures and it caused the GPU to crash using Ubershaders Hybrid and Differ EFB copies

Actions #8

Updated by JMC4789 over 5 years ago

Is it just with defer EFB copies? I assume it's random, but, if you can 100% confirm that's the issue, it helps a lot.

Actions #9

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

Is it just with defer EFB copies? I assume it's random, but, if you can 100% confirm that's the issue, it helps a lot.

I haven't been able to get Metroid prime to crash again regardless of settings it has long stutters but no crash. starfox adventure dx12 crashes the gpu and cant get past the title screen.

Actions #10

Updated by JMC4789 over 5 years ago

If you record a fifolog in another backend in Star Fox Adventure and play it back in D3D12, does it also crash the driver? I'll be testing this myself soon.

Actions #11

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

If you record a fifolog in another backend in Star Fox Adventure and play it back in D3D12, does it also crash the driver? I'll be testing this myself soon.

not sure ill give it a shot

Actions #12

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

If you record a fifolog in another backend in Star Fox Adventure and play it back in D3D12, does it also crash the driver? I'll be testing this myself soon.

got a log if you need it. it was recorded on dx11 and playing it back on dx12 gets as far as the Nintendo logo then goes black

PS cant attach fifo log since it exceeds 5mb

Actions #13

Updated by shatteredlites over 5 years ago

the fifo wont crash the GPU but it wont render beyond the logo. going all in on dx12 will crash it though

Actions #14

Updated by JMC4789 over 5 years ago

fifologs are meant to be short recordings of GPU commands... you'd want to record in a consistent spot it crashes.

Actions #15

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

fifologs are meant to be short recordings of GPU commands... you'd want to record in a consistent spot it crashes.
it happens as the logo transistions into the game so its a bit hard to pinpoint but somewhere the the 120frames I recorded

Actions #16

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

fifologs are meant to be short recordings of GPU commands... you'd want to record in a consistent spot it crashes.

managed to fit it into 30 frames

Actions #17

Updated by JMC4789 over 5 years ago

I noticed a gigantic delay when loading the main menu, but on single core there is no crash or driver error (NVIDIA.)

Actions #18

Updated by shatteredlites over 5 years ago

I always use single core exept on some wii games

Actions #19

Updated by shatteredlites over 5 years ago

ugh I cant repro the crash in starfox anymore even after clearing catch im just gonna say the is an amd issue

Actions #20

Updated by JMC4789 over 5 years ago

Don't worry about it. Keep letting us know if you can narrow down reproduction steps. Thank you for your reports.

Actions #21

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

Don't worry about it. Keep letting us know if you can narrow down reproduction steps. Thank you for your reports.

Idk what went wrong or why the crashes happened but I cant repro them anymore whatever it was corrected itself after running safely in another renderer and even after deleting the cache im still unable to repro. maybe my GPU keeps a cache somewhere idk

Actions #22

Updated by markwest76 over 5 years ago

I had the same problem with an RX570 and drivers 19.2.2, but now with 19.4.1 everything seems to be ok...

Actions #23

Updated by shatteredlites over 5 years ago

markwest76 wrote:

I had the same problem with an RX570 and drivers 19.2.2, but now with 19.4.1 everything seems to be ok...

yea same here. haven't had anymore crashes or errors lately

Actions #24

Updated by shatteredlites over 5 years ago

Mario Sunshine crashed the GPU today and after the GPU recovers the game continues with a black screen running very slow

Actions #25

Updated by shatteredlites over 5 years ago

when the crash doesn't happen I get this

Actions #26

Updated by markwest76 over 5 years ago

Games using the Unreal engine used to crash my entire system if I didn't set the RX570 core from 1244 to 1165 mhz, so you might want to try using the Wattman driver utility to downclock you gpu and see if DX12 still causes problems...

Actions #27

Updated by shatteredlites over 5 years ago

markwest76 wrote:

Games using the Unreal engine used to crash my entire system if I didn't set the RX570 core from 1244 to 1165 mhz, so you might want to try using the Wattman driver utility to downclock you gpu and see if DX12 still causes problems...

nah thats not the issue. oh well DX12 isnt any better then Vulkan it would be if it gave a stutter free experience like in dx11 with ubershaders but it doesnt.

Actions #28

Updated by JMC4789 over 5 years ago

It looks like a driver issue out of our control. We'd need someone to run D3D12 on a dev machine and monitor what's going on when the driver is going through it's problem.

Actions #29

Updated by shatteredlites over 5 years ago

JMC4789 wrote:

It looks like a driver issue out of our control. We'd need someone to run D3D12 on a dev machine and monitor what's going on when the driver is going through it's problem.

Mario Sunshine is your best bet it has issues every time its run. this issue isnt really about freezing the system anymore as much as its about crashing the Driver

Actions #30

Updated by Zinx over 5 years ago

Yep getting random freezes and lockups playing games like Super Mario Sunshine.

Actions

Also available in: Atom PDF