-
Notifications
You must be signed in to change notification settings - Fork 901
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
AMD RADV driver discussion #252
Comments
Witcher 3 GPU: RX 560 4GB (mesa-git , llvm-svn, dxvk-git 20180410.1fb22a6) Settings: High presets, disabled vsync. How to reproduce: In the beginning of the game, after Geralt wakes up from the dream and they are about to hit the road they smell ghouls. When either me or Vesemir hits the ghoul GPU hangs, not at the exact moment of hit, but soon after it. I've been able to reproduce it several times, every time my GPU hangs when i fight the ghouls. Logs My saves and in-game settings: The Witcher 3.tar.gz |
@rserkov : to avoid this in the log:
You can build umr debugger from here. |
@shmerl i just skimmed through the log since i don't understand much of what it says. Should i redo hang report with umr installed? |
@rserkov Not sure if umr provides all that much useful information, although it wouldn't hurt. Looks like you don't have spirv-tools installed though, getting the SPIR-V disassembly would be rather important to see if there is maybe something wrong with the shaders. |
@doitsujin redid with spirv-tools and umr installed, hang report. Please let me know if there is anything else i can do to help. |
Is it really a hang or a screen freeze, can you type blind into a console login and password then reboot (ie. ctrl+f1). I have encounter a system hand/freeze with my 1080ti but discovered it was not a hang but a unrecoverable screen freeze that which you can still type during and reboot via a terminal console. |
@jarrard on AMD, this freeze of the screen after a while goes into complete suspension of the system. |
Assassin's Creed III GPU: RX 560 4GB (mesa-git , llvm-5.0.1, dxvk-r952.adb1789). Same issue with llvm-git. Settings: Normal Settings, VSync disabled How to reproduce: I'm in Boston and if i enable the Eagle Vision, the game crash and the system hangs. Need to hard reboot. The system can hangs after to play for a long time. Logs |
Star Trek Online GPU: RX 570 8GB Settings: Defaults How to reproduce: Logs: apitrace: Unfortunately I can't get a trace with wined3d. This trace was made with dxvk+amdvlk (which does not hang here), when replayed with RADV it hangs as normal. |
Okay, straight outta #193, eh? :) Here's the hang report: hang_report.txt DXVK version used: 98b8d41 |
Overwatch hangs on llvm 6.0.0, 5.0/5.0.1/5.0.2 can be used |
Confirming Overwatch hangs on llvm 6.0.0 as well as on llvm 7.0.0-svn with mesa-git. |
Maybe will be better if we make also issues on mesa and llvm bug trackers and put links here? |
Event[0] The game hangs in the first loading screen after the intro. mesa: 18.1 (96ed371) event0_d3d11.log EDIT 7th of june: Event[0] still hangs with the hellblade mesa workaround. I've added an apitrace to reproduce the hang. |
Overwatch GPU: RX580 Hang report |
You guys having hangs should monitor your GPU temperatures while playing with either a overlay or a log to txt method. I believe some radeon cards will start to crash above 85c |
Sapphire cards are cooled pretty well, they never reach such high temperature for me, even on 100% load (and I do monitor it, you can run something like Ksysguard in parallel, it has neat hardware monitor features where you can add any sensor to show a dynamic graph). But I didn't have GPU hangs either so far with dxvk. Is there a way to test a hang with TW3? I can try some save and check if it's a temperature issue or not. |
@Enverex can you try to record an apitrace that reproduces the hang in ESO and/or WoFF? DRM-Next is known to occationally cause regressions. |
It looks like both of those are caused by DRM-Next, not just the one as I originally thought. Would you still like traces or is it just worth disregarding them for now? |
The game did work fine some time ago when it was free: https://www.youtube.com/watch?v=Vq9jZqbitbY&t=296s |
As mentioned, the issue only happens on DRM-Next, so unless you're running that, you won't have issues. |
Hi, Currently running Ubuntu 18.04.1 and trying to get AMD RADV working with my R9 280X. I got it working with a couple of games, others however simply do not start and throw me a page fault on read/write access. I've setup the games through Lutris, i.e. Origin with DVXK support and Uplay with DVXK support. The games not working are:
The games that are working are:
I tried the AMDVLK as well as the AMDGPU-PRO and the Mesa (AMD RADV) drivers. Getting the same error again and again. To my current knowledge this has to be an issue with my driver setup, since a friend using an NVIDIA can start at least one game ("A Way Out") without any problems using Lutris. Also when issuing
When enabling Do these games not working because of the same DRM-next error? But why do they work on other gpus then? Shouldn't they be blocked too, if it's a DRM related issue? Any help is highly appreciated. |
@macskay Those are probably not driver issues, AC:Origins is known not to work due to its DRM. Not sure about the other two, but A Way Out may require some tinkering with wine. |
@doitsujin Well yeah, AC:Origins I figured in the meantime, ANNO 2205 however seems to work fine with Caching disabled as stated in #686 and the wine configuration for "A Way Out" is equal to the one my friend has in Lutris. I copied his settings. // Edit: |
Another game with GPU hangs on Vega is Sunset Overdrive. They appear to be random, rather than at a particular location, and occur once an hour or so:
AMDVLK doesn't seem to work with the game so I can't test there. I should also note that the Yakuza 0 workaround isn't in mesa-git yet (because it could cause performance issues) so I'm not sure I'd consider it fixed yet, at least for Vega. |
@Enverex try building the latest amd-staging-drm-next kernel, I had a lot of hangs with dxvk, if you are on arch check this out https://aur.archlinux.org/packages/linux-amd-staging-drm-next-git/ I haven't got any issues, I built the kernel a few days ago. |
"linux-drm-next-git" was the one I originally tried (that had far, far more issues than the stock kernel). The stock kernel actually seems fine with DXVK from what I've seen (at least in everything I've tried so far or that had issues before), it was just DRM-Next that had issues. |
I have not had any issues with the stock kernel and dxvk either, but I wanted the drm-next for fixes eg. increasing the power limit. I also seem to get better performance. I had the exact same hangs a few weeks ago. But now running great . |
In that case I'll compile and switch to that kernel then report back. |
Yakuza 0 Vega hangs are now fixed in mesa git, so no need to patch now. |
Yes, and that also fixes The Evil Within. |
Anyone experiencing driver crash in Endless Space 2? RX 480 card |
Space Engineers is causing GPU hangs. It's something about the terrain that does it - playing in space works fine for hours at a time, but starting a new game on a planet hangs in a minute or two. The game's pretty unstable overall and crashes quite a bit, but it still shouldn't be able to hang the GPU. Ryzen 2700X spaceengineers-crash-2.txt with WINEDEBUG=-all |
Ace Combat: Assault Horizon reliably crashes for me after loading the first mission. It plays 5 seconds work of the cutscene and then freezes the entire system. Ryzen 2700X |
That's a pretty old version of LLVM, and I seem to remember LLVM being partially responsible for some GPU hangs. You might want to try LLVM 8 or 9 (and use a version of Mesa compiled with it). |
@thirdeyefunction @urbenlegend I've got a similar build: Threadripper 1950X And I've gotten the same error. I haven't tried in a week or two so I can see if any recent LLVM git updates corrected it, but it's definitely not just LLVM7.0 that's affected here. |
According to PCGW and the Steam Store the system requirements suggest that the game only supports D3D9. Is this correct or is there an optional D3D11 mode? If it's D3D9 only, then RADV (and DXVK) is unrelated to this issue. Or are you referring to Ace Combat 7: Skies Unknown? |
@thirdeyefunction Well, if I enable PROTON_USE_WINED3D, the game won't even launch so I am assuming it is using DXVK in some capacity. And no it is not Ace Combat 7, it is Assault Horizon. |
Can you please fill bug reports directly here https://bugs.freedesktop.org (under Drivers/Vulkan/Radeon) ? |
I posted about mine over at https://bugs.freedesktop.org/show_bug.cgi?id=110291 |
The release notes of 1.3 say that AMD RADV uses early-discards instead of discards via VK_EXT_shader_demote_to_helper_invocation, what's the difference, are early discards better? And also it says it only works with ACO instead of LLVM backend, is there a bug related to that and can I test it with LLVM somehow anyway? |
@Sur3 VK_EXT_shader_demote_to_helper_invocation is only implemented in ACO currently. Early discards are buggy (i.e. cause GPU hangs in certain games) on LLVM, but you use it anyways with |
I'm trying to debug Warframe with this, but adding
to the launch options causes the game to spam child processes
i7-5930K P.S. Happens also on older software (Mesa 19.0.8, Kernel 5.0, Proton 4.2.9, LLVM 8.0 etc..) as well as amdvlk instead of mesa-vulkan-drivers. The lock ups are completely random, can happen several hours or a couple minutes in, be it on a pause screen or in the middle of an epilepsy-inducing fight. GPU temps are below 70 when the system locks up and cycles half a second of sound through the speakers, even Magic SysRq doesn't work. Is there any other way to debug this issue? |
Hi, this looks like a powerplay issue. I also experiences the same problem with random lockup on a Vega 64. There seems to be patch being submitted to mesa to correct this. See this thread Work around is to limit memory clock to state 1,2,3
|
Some games may lock up the GPU when using the RADV Vulkan driver on AMD cards, which results in a frozen system. Unless this is caused by an obvious DXVK bug (i.e. there are Vulkan validation errors when
VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation
is set), please do not open a new issue if you encounter one of these hangs.Instead, please comment on this thread and:
Creating a hang report
In order to obtain a hang report from RADV for a specific game, set the
RADV_DEBUG
environment variable and redirectstderr
andstdout
to a file as follows:For games which launch themselves through Steam, modifying the launch options may be necessary.
Important: Please make sure that you have
spirv-tools
installed and that thespirv-dis
executable is in yourPATH
.The text was updated successfully, but these errors were encountered: