mdgunn Posted October 20 Share Posted October 20 In brief: If I am on Ultra Engine 0.98 and Radeon driver 24.8.1 then things are OK but moving either forwards (either to hot beta branch) or later Radeon (24.9 or 24.10.1) drivers leads to instant crash trying to do anything which would cause the viewport (or viewers) to render in 3D. In a bit more detail: This is probably something in my setup but I have it on 2 different machines. Both machines are AMD based GPU + CPU + Windows 11. One is Ryzen 3600X with Radeon 6600 other is Ryzen 5800X3D with Radeon 6800 XT. When on latest Radeon drivers the edtor will crash with no particular error at the point where I add something that must be rendered on the screen. By this I mean I can add icon types things such as cameras, lights, probes etc to either perspective or 2d viewport with no problem. I can also add brushes to 2D viewports but if I switch to 4 viewports then the editor crashes and I suspect it is because it has to render the brush in 3D not 2D. It is not limited to brushes though, I think adding terrain will do it and clicking on a model file in the asset browser to make it render a 3D version in the viewer will make it crash. Josh has already said he can run a Radeon 6600 (same as one of my cards) on latest hot branch of Ultra Engine and Radeon 24.10.1 so there is something about both of my machines that is causing the issue but I do not know how to gather more information on what the cause would be. Can anyone help? For example is there a crash log somewhere or are there any suggestions to turn anything off to rule things out and narrow down the cause? 1 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted October 21 Share Posted October 21 Currently I am on driver 24.7.1. Updating now... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted October 21 Share Posted October 21 Installed 24.10.1 and I get the same result you described. Testing further... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted October 21 Share Posted October 21 Same result if I revert the engine to 0.9.7... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted October 21 Share Posted October 21 PBR shader family crashes, but unlit shader family seems to work correctly. The error is in the driver, no OpenGL errors occur. Commenting out RenderLighting in Shaders/PBR/Fragment.glsl prevents the crash... #include "UltraEngine.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { auto displays = GetDisplays(); auto window = CreateWindow("Ultra Engine", 0, 0, 1280 * displays[0]->scale, 720 * displays[0]->scale, displays[0], WINDOW_CENTER | WINDOW_TITLEBAR); auto framebuffer = CreateFramebuffer(window); auto world = CreateWorld(); auto cam = CreateCamera(world); cam->Move(0, 0, -2); cam->SetClearColor(0.125); auto box = CreateBox(world); auto mtl = CreateMaterial(); auto fam = LoadShaderFamily("Shaders/Unlit.fam"); //auto fam = LoadShaderFamily("Shaders/PBR.fam"); mtl->SetShaderFamily(fam); mtl->SetColor(0, 0, 1, 1); box->SetMaterial(mtl); //Main loop while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { box->Turn(0, 1, 0); world->Update(); world->Render(framebuffer, true); } return 0; } Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted October 21 Share Posted October 21 Okay, it looks like in the latest drivers these commands cause problems if they are used on samplers that come from bindless texture handles: textureSize textureQueryLevels I think I just need to encode this information in the light entity data and remove these calls... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted October 22 Share Posted October 22 Reported to AMD: https://community.amd.com/t5/general-discussions/opengl-bindless-texture-crash-in-driver-24-10-1/td-p/719064 https://github.com/GPUOpen-Drivers/AMD-Gfx-Drivers/issues/27 In the meantime I recommend reverting to driver 24.7.1. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
mdgunn Posted October 22 Author Share Posted October 22 Can confirm 24.7.1 OK with with latest beta 0.98c. Thanks. Quote Link to comment Share on other sites More sharing options...
Josh Posted October 22 Share Posted October 22 Glad to hear that works for you. I will keep this "unsolved" until AMD puts out a new driver. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted October 24 Share Posted October 24 Also reported here: https://community.amd.com/t5/pc-drivers-software/opengl-bindless-texture-crash-in-driver-24-10-1/m-p/719662#M198972 I find their forum structure incredibly confusing and I don't know where I am supposed to report bugs. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted October 29 Share Posted October 29 AMD has responded here: https://github.com/GPUOpen-Drivers/AMD-Gfx-Drivers/issues/27#issuecomment-2443034119 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted November 12 Share Posted November 12 Response from AMD: Quote This issue is understood and fixed internally. The future Adrenalin driver releases will include the complete fix. https://github.com/GPUOpen-Drivers/AMD-Gfx-Drivers/issues/27#issuecomment-2469514182 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
mdgunn Posted November 12 Author Share Posted November 12 Great news. I suppose we wait till the fix is released before closing this off. Thanks. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 20 Share Posted November 20 I am using driver this driver on an AMD 6600 and it seems to work fine. Even my example in the bug report to AMD works correctly. AMDBindlessTexturesBug.zip Adrenalin 24.10.1 (WHQL Recommended) File Size 772 MB Release Date 2024-10-18 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
mdgunn Posted November 21 Author Share Posted November 21 I'm away for at least a week (or 2) so unable to personally confirm it is OK on my AMD machines at the moment. Quote Link to comment Share on other sites More sharing options...
mdgunn Posted December 5 Author Share Posted December 5 Tried moving from 24.7.1 to 24.10.1 but crashing for me still. Moved back to 24.7.1 and all OK again. Waiting on next AMD driver. 1 Quote Link to comment Share on other sites More sharing options...
mdgunn Posted December 6 Author Share Posted December 6 New Radeon drivers version 24.12.1 released. I thought it fixed it but it felt like the driver was not fully installed and it had first installed motherboard drivers or something so I ran it again and it seemed more complete. After doing second install of 4.12.1 drivers Ultra Engine is still crashing for me so perhaps the fix is not yet in the driver. 1 Quote Link to comment Share on other sites More sharing options...
trashcanuseful Posted December 7 Share Posted December 7 7532 year from the creation of the world, the game engine of the Master of arithmetic crashes when creating a primitive object Quote My job is to make you see useful things in trash. Link to comment Share on other sites More sharing options...
trashcanuseful Posted December 7 Share Posted December 7 Even with the latest update, nothing has changed.How have we wronged God, how have we deserved to be humiliated in his eyes by the torments of wandering the same actions that do not lead to success?! Quote My job is to make you see useful things in trash. Link to comment Share on other sites More sharing options...
trashcanuseful Posted December 7 Share Posted December 7 @JoshDo not remain in the shadow of our problems, which we cannot find answers to, because we do not create tools like God's. Quote My job is to make you see useful things in trash. Link to comment Share on other sites More sharing options...
trashcanuseful Posted December 13 Share Posted December 13 nice i rolled back amd driver for call of duty Quote My job is to make you see useful things in trash. Link to comment Share on other sites More sharing options...
Josh Posted Monday at 09:53 PM Share Posted Monday at 09:53 PM The issue does not seem to be resolved when testing my application in the report on Github linked to above with this configuration: GPU: RX 6600 Driver: 24.12.1 OS: Windows 10 64-bit 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
trashcanuseful Posted Tuesday at 09:43 AM Share Posted Tuesday at 09:43 AM Quote My job is to make you see useful things in trash. Link to comment Share on other sites More sharing options...
htharker1 Posted Wednesday at 02:52 AM Share Posted Wednesday at 02:52 AM Issue definitely not resolved. Latest driver and nothing has changed. What a shame! 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted Wednesday at 03:14 AM Share Posted Wednesday at 03:14 AM AMD replied in the bug report: Quote This fixed not yet included into the latest 24.12.1 Adrenalin driver. Appreciate your patience for the moment, thanks. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.