Sumel007
Topic Author
Posts: 30
Joined: 19 Mar 2020, 10:50

Issues with crashes on some AMD graphics cards and openGL

21 Jul 2023, 12:57

During playtests we have found crashes in Noesis.dll on some AMD graphics cards on Noesis version 3.2.1 (it was not found on 3.2.0 with same drivers). We ran our tests on RX 6700XT and driver version 23.7.1 (newest), but we've got reports from other 6000 series cards that they crash as well. We've also tested older drivers (22.Q3, 23.2.1) and they all crashed with Noesis 3.2.1. Noesis 3.2.0 crashed on some older drivers but seems to work fine on the newest ones (23.7.1).
We've also tested Noesis samples. They all seem to work except for the Integration GLUT sample, where we get some shader compilation error, which I believe is what is causing the crash in our product.

Image

Is this a known issue? Would it be possible to get a fix by Noesis 3.2.2? Also is there a planned release date for Noesis 3.2.2?
 
User avatar
jsantos
Site Admin
Posts: 3971
Joined: 20 Jan 2012, 17:18
Contact:

Re: Issues with crashes on some AMD graphics cards and openGL

21 Jul 2023, 13:23

We've also tested Noesis samples. They all seem to work except for the Integration GLUT sample, where we get some shader compilation error, which I believe is what is causing the crash in our product.
Could you please dump the extension list for the driver that is causing that shading compilation error? It is really weird that you are only getting the error in the Integration GLUT sample and not the others. Could you please verify this again? These are the C++ examples right?

We plan to release a 3.2.2 "soon" but we can also provide a hot-fix for you.
 
Sumel007
Topic Author
Posts: 30
Joined: 19 Mar 2020, 10:50

Re: Issues with crashes on some AMD graphics cards and openGL

21 Jul 2023, 14:22

We were initially testing it in ManagedSDK samples, but reran them now with NativeSDK. Application Tutorial works fine, GLUT has the same problem as with C#. I think this makes sense, since our game uses OpenGL and also has this problem, whereas non-GLUT samples use RenderContextD3D11, so they work fine. Could you explain what do you mean by the extension list for the driver?
To specify - all drivers we've tested on this graphics card failed for Noesis 3.2.1, so this is not a single driver issue. Although it doesn't happen on graphics cards other than RX6000 series, at least for now. The tested drivers were:
23.7.1(newest)
22.Q3
23.2.1
 
User avatar
jsantos
Site Admin
Posts: 3971
Joined: 20 Jan 2012, 17:18
Contact:

Re: Issues with crashes on some AMD graphics cards and openGL

21 Jul 2023, 15:36

I see, this is starting to making sense, because the other samples are using Direct3D.

I think I know what's happening but just to make sure I am in the right direction, could you please run the C++ IntegrationGLUT sample in debug enabling the following macros at the top of GLRenderDevice.cpp:
#undef NS_LOG_TRACE
#define NS_LOG_TRACE(...) NS_LOG_(NS_LOG_LEVEL_TRACE, __VA_ARGS__)
This will provide a list in the log of OpenGL Extensions available on the GPU. The alternative is getting that list from this OpenGL Extension Viewer or something similar.
 
Thej
Posts: 1
Joined: 24 Jul 2023, 09:31

Re: Issues with crashes on some AMD graphics cards and openGL

24 Jul 2023, 09:38

Hello, Sumel007 is on vacation days so I will try to help.
After uncommenting those two lines this is printed:
GL_extensions.png
 
User avatar
jsantos
Site Admin
Posts: 3971
Joined: 20 Jan 2012, 17:18
Contact:

Re: Issues with crashes on some AMD graphics cards and openGL

24 Jul 2023, 16:50

Thanks, this makes sense. Could you please file a ticket about this? We can provide a hot-fix.
 
Sumel007
Topic Author
Posts: 30
Joined: 19 Mar 2020, 10:50

Re: Issues with crashes on some AMD graphics cards and openGL

02 Aug 2023, 08:03

I've created a ticket for this issue here: https://www.noesisengine.com/bugs/view.php?id=2659

Who is online

Users browsing this forum: Google [Bot] and 36 guests