-
-
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
Finally AMD delivered the fix to support separate shader object !!! #1508
Conversation
@@ -276,9 +276,9 @@ namespace GLLoader { | |||
mesa_amd_buggy_driver = intel_buggy_driver = true; | |||
|
|||
#ifdef _WIN32 | |||
buggy_sso_dual_src = intel_buggy_driver || fglrx_buggy_driver || legacy_fglrx_buggy_driver; | |||
buggy_sso_dual_src = intel_buggy_driver || legacy_fglrx_buggy_driver; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Finally |
So.. I can confirm 16.7.3 and newer works. Core profile version is reported to be 16.300.2311.0. Sure, GCN hardware was at least in the pcsx2 cases I could spot fixed since 16.5.2... But I don't see how those people couldn't update drivers. |
57e80e0
to
501fd56
Compare
… driver Legacy GPU: Older driver will be broken. Still supported GPU: Please upgrade to the latest AMD driver 16.5.2 or 16.5.3 (and prey that future driver will still work)
Test app works but I think this driver require more tests because of this issue: hrydgard/ppsspp#8698 (nice screenshot after TDR: http://imgur.com/8TuK2Us) This crash is present in 16.8.2, and it can also affects PCSX2. PS: Crash free are only pre-dual blending fix drivers. |
That's another problem I think, if you have to rollback to 15.7 and if |
@Nucleoprotein what means TDR? So they did 6 months of QA to deliver a bad driver. Well done guys. Feel free to report an AMD bug. On my side, I won't bother to work on it. It would be as fast as to wait the next month driver. |
TDR is Timeout Detection and Recovery: https://msdn.microsoft.com/en-us/library/windows/hardware/ff570087(v=vs.85).aspx ie. display driver hang/crash. PS: I noticed many other bugs in Crimson drivers from first 16 version like tessellation bug in DX11 in Max Payne 3, I think they changed compiler and are using more aggressive optimizations and have some regressions. Vulkan driver seems to be stablest one but cannot test it much because lack of software using it - only Dolphin PR that runs about 25% faster than DX12 :p |
I don't think it has anything to do with SSO. Besides, it has been _7_ months d:
There's a "tesselation optimization" setting in Control Panel. You could try experimenting with that.
Don't know for opengl, but at least for DX12 they did. |
Only switching to older usermode DX11 driver (atidxx32.dll) fixes Max Payne 3 problem.
SSE4.1/POPCNT topic on AMD forums is my topic they seems to ignore ... |
I wonder if now that Inspector is FOSS, one day we couldn't get a similar tool to play with AMD blb bits. EDIT: A nice thing that could be checked is whatever AMD might have done here. |
@mirh EDIT: Upps, it seems you already knows that. |
Oh I see, so we don't say anymore
May I suggest to advice AMD to install AMD's GPU in the driver team workstation ;) Honestly I won't bother, if they manage to reproduce/fix it, you will need to wait 6 months to have the bug fix released. If an AAA game reports the issue, you will get the fix next week. |
But I do not think this affect AAA games, most OpenGL programs works well, only PPSSPP crashes. |
Well my last win OS was win2000 (not milineum). |
Is it still valid to test this extension support by override_GL_ARB_separate_shader_objects=1 in actual git version? I wanna test nongc gpu without need to compile. |
You can use test app from here: https://community.amd.com/thread/194895 If it's green - it works correctly. |
i see yellow, so legacy gpus not supported :/ |
You can try to use latest OGL by extracting this file: http://www21.zippyshare.com/v/VjXvA48K/file.html to test or PCSX2 directory. |
I already tested on my VLIW laptop, it just crash. |
Is this PR waiting for something? |
Are you in some sort of rush? |
@FlatOutPS2, nah. Just wondering. |
Well it can be merged. It would still be very interesting to have feedback on it from AMD users. On both performance and rendering quality. |
Quality is good but performance seems to be worse than before so better for AMD users is to port all OGL fixes to DX11 ... |
Let's me correct you, I think what you mean is "better for AMD users to buy an Nvidia GPU next time". By slower, you mean this PR. Or globally GSdx is too slow on AMD. |
@FlatOutPS2 And? Your arguments are irrelevant, it seem like you are missing the point. @gregory38 has suggested all AMD users to buy Nvidia GPU. I'm just debating with that statement. What "laptop users this" and "hardcore gamers that" has to do with this? If anything, most of this arguments serve in the favour of staying with AMD, since they usually provide much better value per |
Soo.. Let's forget about this semantic flame Can appveyor build be triggered again? |
501fd56
to
268d8f5
Compare
@mirh
It isn't nice. Do you know if Nvidia/Intel users get this issue too ? I'm not sure we can reproduce it with a gsdump. But we could try. |
I guess my Core 2 Duo does reverse-miracles then 😃
Well, I surely could try. But first of all, I don't know where to look for the gsdump "reproducer". |
perf impact: native or upscaled resolution ? (in short CPU or GPU?) Well try to do a long gsdump with blending enabled. Start before "press start". Then we can replay it without blending. |
Native. And in short, definitively CPU. Gs dump is here. |
@FlatOutPS2 could you try to reproduce the issue on your side with the dump. Thanks you. |
No thanks, not looking for a BSOD right now. :p I'll give it a try tomorrow. I don't need a dump btw, I've got all the AC games. ;) |
sure, but this way I can try to spend time on my side. If I don't manage to reproduce the issue, I won't know why (nvidia, linux). |
Tbh that happened only after the sixth time I tried to reproduce the issue. But don't want to try further. |
I didn't manage to reproduce the issue. I've tried both the game and the dump with AMD GPU and Intel iGPU. |
I'm using 16.7.3 and w10 build 10586.545 if it can help. |
@mirh could you look at the perf without geometry shader Edit: if option is correct set, this message will be printed on the log |
Image is fucked up beyond all reason. |
Recent regression. I have a fix but I don't have any internet connection to push it... |
I mean geometry shader on/off doesn't make any speed difference. |
@mirh |
v2: blacklist AMD driver from the start of 2016 Please note that it is highly recommended to upgrade to a stable&working driver
268d8f5
to
b546d09
Compare
Ok business is back. I fixed the issue with geometry shader. @mirh this PR really enable SSO. I would see if I can do a couple of test on Nvidia. It used to be faster with SSO. Code has evolved since my latest benchmark. So it could be different now. Or much likely, AMD implementation is rather basic. |
New master seems a little little slower (20 FPS rather than 21) but I guess it's within margin of error. |
I need to profile again the geometry shader. Unlike Dx, it is only used to convert 2 vertices sprites to 6 vertices triangles. Potentially the gain are small for few primitives draw calls. However, several driver operations (like a texture upload) touch the geometry shader which trigger a new revalidation on the next draw call.
|
Well, as I said I have CodeXL port always listening to any your call 💟 |
16.9.1 drivers are out but nothing changed (OpenGL crashes in PPSSPP and DX12 has SSE 4.2) |
@Nucleoprotein irrelevant to this PR. |
After a lenghtly discussion with mirh, I concluded that we can merge the PR. |
You need latest AMD driver 16.7.3 or 16.8...