-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Meta: AMD Issues/Workarounds #1552
Comments
There is a way to dump blending setup
Replace this line with Normally tracing can be enabled with the However, I'm not sure tracing work on windows, @FlatOutPS2 @ssakash @turtleli did one of you manage to make openGL tracing usable on windows? |
I fixed it last year (cbd2417), I haven't used the tracing stuff since January/February though so I'm not aware of the current state (I assume it still works). |
@mirh |
There is a similar issue with GT4. HW OpenGL , Blending Unit Accuracy set to none. I didn't get a bsod but the display driver stops working. There's all kinds of artifacts on the screen. The screen flickers and the display driver is restarted. |
@lightningterror EDIT: Can you check this by unpacking this file to PCSX2 directory and testing again ? (this is old AMD OpenGL driver from 15.7 driver package) |
So they fixed the SSO/dual blending issue. Spent 6 months of tests. Finally release it, and boom first test explodes the computer. Did someone open a report to AMD. Saying that using the dual blending unit crash the whole systems. @mirh By the way the commit that you found just disable accurate blending on some equations. Initially |
I first wanted to have a trace they could use to reproduce the issue before opening a report, but I have no time atm. |
Might not be easy to have a trace. Did you try to replay your gs dump ? Anyway, they will need 6 months to release a fix (potentially it is already fixed......). |
I don't know how I can do it :p |
@gregory38 |
I agree with you the bug is related to dual-souce blending. However they fix their codes to support dual-source blending with SSO. There is a huge probability that they introduce another bug/regression in the meantime. Actually, with the bisected commit of mirh, you can be sure the issue is dual-source blending. Because the commit replaces some blending operation with single-source blending (old code) by dual-source blending (new code) when you disable accurate blending. The goal was to reduce the load on the GPU. |
If only I could have a testcase.. 😝 |
Player is only an exe that load GSdx.so file. So no bios. Technically the gs dump contains game textures & vertex. But I think a couple of frames can be seen as a fair-use. Honestly, I'm not even sure you need a testcase, you can reports that several projects are broken. Maybe someone will be clever enough to detect that test quality on dual source is bad. @FlatOutPS2 how do you replay on windows ? How do you update the ini option, is it possible actually ? |
Yes, yes, I just tested it. I guess it it will be quite fine.
It's just I was thinking that if we needed 7 months for something with sources and all, a dumb "closed" test would have been even less useful. |
I can't really open the thread to check the report. Says access is restricted. Guess I can't see the staff comments on this. |
They still have to approve it prolly. |
hey i was testing it with looney tunes space race and , butin my case with a R9 290X and driver version 16.7.3 beta and i don't have this bug |
Try my testcase, then report back. |
@mirh I tried it and the issues are the same as with GT4. Now we wait 6-7 months for a fix. |
No 6-7 month delay is only to deliver the fix. They first need to find the bug and then a solution. |
OT, but w/e: just for the records, since a month CodeXL support cross-platform frame analysis (aka see which functions are spending the most CPU or GPU time) |
@mirh |
"I can confirm we determined this to be a driver issue. Our GL driver team is now working on a fix." At least they are working on a fix. |
Amd fixed this. It will be available in the newest drivers. |
Great, now all we have to do is wait 3 months. :p |
@dwitczak from AMD:
Seems so, or even longer... |
Technically, you are at least sure that it will be integrated in the last release of an AMD driver (because none will follow) 😛 |
@mirh On OpenGL extensions viewer the only missing extension is GLSL 4.60 |
The issue isn't about missing extension. AMD povides plenty of them. However the driver is broken period. Crash or render random colours... Drivers have been broken for 5 years (if it isn't more), but still people dream that an angel will magically fix the next driver release... |
AMD fixed GL_ARB_separate_shader_objects extension |
Great - they fixed it when I just bought new PC with GTX1060 🙄 |
Seems like your time estimation was on point gregory... |
@Nucleoprotein |
We are all following that bug, and it means nothing until they have released a fixed driver - crash-free too. |
@mirh The crash only happens if blending is disabled? |
https://community.amd.com/thread/194895#comment-2881932 |
I have low expectations. They probably wouldn't include any bsod/crash fixes. |
And instead... |
Seems they fixed the issue with SSO and TDR but not yet public. |
WTF AFAICT 18.10.1 was |
Seems that both SSO and Dual Source Blending crashes have been fixed. I haven't been able to reproduce the crash yet (I'm still not fully convinced but we'll see). |
Also account for latest release bug fixes (see PCSX2#1552 for details on the used values) Legacy_driver variable was left there, because technically speaking that'd be supposed to be yet another case to remotely care
Also account for latest release bug fixes (see PCSX2#1552 for details on the used values) Legacy_driver variable was left there, because technically speaking that'd be supposed to be yet another case to remotely care
@mirh @Nucleoprotein |
That's really not related to our project, nor is it our issue. You'd be better off Asking on the AMD forums or searching Google. |
Issue is titled Issues and Workarounds, step off MrCK1. |
You are asking about a PC game in a meta thread about AMD driver problems for PCSX2, a PS2 emulator. It is as CK stated, a separate issue for a different place. Please stay on topic and refrain from attempting to tell, of all people, a community moderator, to step off. Thanks. |
I'm also one of the community moderators (Facebook) My question was to the OpenGL experts, AMD is not one of them. Also i know who MrCK1 is and if i was being anything more than sarcastic in my tone i'd have used stronger language and he knows it. @MrCK1 I'll get mirh on irc or Nucleo on Steam. |
Closing as the issues are on the driver, plus we already have a wiki page documenting AMD GPU driver issues and workarounds. |
Ladies and gents, after countless time of performance sucking hard, the latest drivers seem to have finally addressed it.
I also feel like d3d11 may have benefited of some optimization in-between my two tested releases, but I don't have hard numbers. |
The latest AMD drivers aren't really relevant for us. Vulkan is still significantly faster, and didn't change at all with them (I actually saw a very slight regression). |
Looks like AMD has finally taken care of OpenGL performance. But some games are still crippled with performance. |
As sten said above, Vulkan is still faster and you should use that or DX. Why AMD still lag behind Nvidia for speed I don't know, but it's not anything we're doing, it's driver issues. |
Follows #1508 and hrydgard/ppsspp#8698
Gs dump is here.
Bissected up to either 16c2baa or 29c97a9
Happens in Ace Combat 5 after "press start" screen only after Blending Unit Accuracy has been set to none in OGL hw.
I'd just complain over at AMD but I'd like to get a more straightforward testcase for them.
Wouldn't be bad if somebody added "Upstream | External" label
List of AMD issues:
SSO is broken. SSO is partially disabled in GSdx due to this issue.Disabling blending causes a BSOD. This is related to SSO as the issue does not happen on v1.4 where SSO isn't mandatory and is disabled on AMD GPUs.Links to AMD forum issue threads:
https://community.amd.com/message/2748362
https://community.amd.com/message/2756964
Possible BSOD Citra Workaround
Merged from issue #2362
As Gregory requested so we don't forget about it.
Currently Citra added a workaround for the amdfail driver that fixes the crashing caused by SSO.
The commit is located here https://github.com/citra-emu/citra/pull/3499/commits/0cf6793622b01f3941fbc77fe04c3b68476004ca
Reddit post:
https://www.reddit.com/r/emulation/comments/88vva4/citra_on_twitter_new_update_to_the_hardware/
Idea would be for this to be checked out and maybe implemented.
Some useful info
The text was updated successfully, but these errors were encountered: