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

[D3D12-ROV] Xenia Closes without Warning #1251

Open
escape209 opened this issue Nov 3, 2018 · 20 comments
Open

[D3D12-ROV] Xenia Closes without Warning #1251

escape209 opened this issue Nov 3, 2018 · 20 comments

Comments

@escape209
Copy link

@escape209 escape209 commented Nov 3, 2018

With ROV enabled in D3D12, Xenia may freeze for several seconds before randomly closing without any warning or error messages. I was able to produce this in Burnout Revenge by attempting to access the garage.

Xenia shouldn't just close, an error message should appear before this happens.

xenia.log

@escape209 escape209 changed the title [D3D12] X4 [D3D12-ROV] Xenia Closes without Warning Nov 3, 2018
@illusion0001
Copy link
Contributor

@illusion0001 illusion0001 commented Nov 3, 2018

Sometimes the error messages doesn't even appear it just freezes

@LuismaSP89
Copy link

@LuismaSP89 LuismaSP89 commented Nov 6, 2018

For me, if I use ROV, it shows "Graphics device lost (probably due to an internal error)" before the intro in the Eternal Sonata, the other games I tested works well, but this happens every time I choose a new game and the intro comes in. If I load a saved game it works well, and it shows a great improvement in speed. The videos also works ok, so the problem it´s only the intro video + ROV

@LuismaSP89
Copy link

@LuismaSP89 LuismaSP89 commented Nov 14, 2018

Update: Xenia ROV 8f3d5a2 Nov 14-2018 crashes immediately in eternal sonata (Graphic device lost)

@LuismaSP89
Copy link

@LuismaSP89 LuismaSP89 commented Nov 16, 2018

@Eurose209 Update: For me, in latest build c2786ee Nov 16 2018 all problems with ROV are solved, you sould retest :P

Edit: Strange thing, only works the first time, else it crashses with the "graphic device lost" you need to reset your PC in order to work again.

@escape209
Copy link
Author

@escape209 escape209 commented Nov 17, 2018

@LuismaSP89 Still experiencing the issue with that commit, unfortunately.

@tetration
Copy link

@tetration tetration commented Nov 17, 2018

@LuismaSP89 Still experiencing the issue with that commit, unfortunately.

Same here. Since this commit I have been experiencing more crashes with the "graphics device lost"

@niko1point0
Copy link

@niko1point0 niko1point0 commented Nov 19, 2018

Hey everyone, I had the same issue. Try checking your GPU Memory Usage. For me, I got that error when all of my GPU Memory was filled, and all of my CPU RAM was full. Honestly I'm not sure if the DirectX 12 ROV ever deletes memory after it is allocated

@niko1point0
Copy link

@niko1point0 niko1point0 commented Nov 19, 2018

Hey guys, this issue will be fixed very soon, I got a message from the Lead Developer of the D3D12 ROV

Triang3l says:
"Currently it never deallocates textures, but I'm planning to add least-recently-used caching."

That is why we are having memory leaks, and that is why everyone is getting the "graphics device lost" error message. As soon as the caching is done, the error message will go away

@Triang3l
Copy link
Member

@Triang3l Triang3l commented Nov 19, 2018

It's a GPU hang caused by something wrong happening in shaders, not a memory allocation failure. It often happens even when starting some games, and also the RTV/DSV renderer uses even more memory, but device losses happen more often in the ROV renderer.

@escape209
Copy link
Author

@escape209 escape209 commented Dec 21, 2018

This can be closed as it has been fixed as of Radeon Software 18.12.2.

@lif3mau5
Copy link

@lif3mau5 lif3mau5 commented Apr 18, 2019

No it's not fixed yet!

@chris-hawley
Copy link
Contributor

@chris-hawley chris-hawley commented Apr 18, 2019

No it's not fixed yet!

care to elaborate @lif3mau5 ?

@Triang3l
Copy link
Member

@Triang3l Triang3l commented Jul 4, 2019

AMD's driver has a relatively unstable shader compiler with null pointer accesses that are very hard to debug, I have lots of crashes on Vega 10.

@Margen67 Margen67 reopened this Jul 4, 2019
@byzyn4ik
Copy link

@byzyn4ik byzyn4ik commented Jul 22, 2019

Can't start many games in ROV mode with vega 64. Only Diablo 3 is running but performance is lower than without ROV. Tried different drivers. But crashes after launch

@Parovozik
Copy link

@Parovozik Parovozik commented Aug 5, 2019

Hello. On all new versions of Xenia i get crash on start any game via Dx12-ROV, but it works via Dx12-RTV and Vulkan (ROV only on old versions of Xenia). As if support for dx12 extensions is not recognized, but it worked before. I tried some versions of GPU driver until 431.60 and even reinstall Windows (my gpu is gtx1070). Any suggestions?
Crash Logs:
xenia.log
xeniaa.log
xeniae.log

@illusion0001
Copy link
Contributor

@illusion0001 illusion0001 commented Aug 5, 2019

THIS IS NOT A SUPPORT FORUM! For support go here:
Xenia Discord (#help) - https://discord.me/xenia-emulator

@sanjaysatoji
Copy link

@sanjaysatoji sanjaysatoji commented Sep 26, 2019

I'm still getting crashes with ROV enabled on 19.9.2 on an AMD Radeon VII on the latest xenia builds

@Margen67 Margen67 added the bug label Oct 29, 2019
@Salvo8110
Copy link

@Salvo8110 Salvo8110 commented Feb 14, 2020

Good morning I also have crashes after the intro with amd Radeon adrenalin Edition 20.1.4 with d3d12 rov active. my pc is ryzen 5 3500 with vega 8. Are there any news? Thank you

@Margen67
Copy link
Contributor

@Margen67 Margen67 commented Feb 14, 2020

@Salvo8110 Here is the news: Don't spam GitHub. Wait for the issue to be fixed.

@Nikhil111777
Copy link

@Nikhil111777 Nikhil111777 commented Jul 13, 2020

Disabling the d3dd12 rov also not working on my i5 amd 20.1.4

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

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.