[1.1.87] Crash in AMD graphics driver (MR)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
FuryoftheStars
Smart Inserter
Smart Inserter
Posts: 2768
Joined: Tue Apr 25, 2017 2:01 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by FuryoftheStars »

BehemothFondler wrote: Sun Feb 04, 2024 12:39 pm Hey All,

Tldr at bottom.

So, I was having a similar problem on my computer for a while and I was getting sick of it so I decided to send AMD an email myself, and this was their response:

[...]

Based on this, it doesn't seem like they are even working on a fix or think its a fault with their drivers in the first place.
This is all just their standard/canned response. The CS agent that received your message, etc probably isn't even aware of a wider issue, and even if you mentioned it in your message with a link to this thread, they likely didn't read it, or AMD has some kind of policy in place for CS that requires them sending that canned message anyway. The only way you're really going to get them to proceed further and escalate the issue is by emailing them back and saying "nope, that didn't work". :P
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
EmileSonneveld
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun May 05, 2024 6:02 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by EmileSonneveld »

I got this error sometimes when I disconnect from my docking station where my secondary display is connected.
factorio-current.log in attachment
Attachments
factorio-current.log
(43.22 KiB) Downloaded 53 times
craftingk1
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jul 29, 2024 7:34 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by craftingk1 »

I think I have the same crash [1.1.109] also running AMD I created the dump right after factorio crashed but I had to restart the game to do it as it was not in task manager anymore but do I have to create it when the error pops up and I haven't pressed anything? I also play with mods. Let me know if you need anything and as soon as i get the error again I'll create the dump. It's very weird as I can not reproduce it easily it just happens sometimes when you close or open the game? Also the dump is 3 GB so I'll create a google drive link if you need it. (First time on the forum btw)

System:
Processor AMD Ryzen 7 7700X 8-Core Processor 4.50 GHz
GPU AMD Radeon RX 7900 XT
Installed RAM 32,0 GB (31,1 GB usable)
System type 64-bit operating system, x64-based processor
Attachments
factorio-current.log
(87.99 KiB) Downloaded 32 times
Pho-Enix
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jul 30, 2024 5:11 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Pho-Enix »

Same crash probably.
Version 1.1.109
But it only happens when i click [ Quit game ] in main menu, never elsewhere.
Also it happens only in Factorio, i play a lot of games and no crashes. I also have monitor attached to laptop.
GPU: AMD Radeon 780M
Attachments
factorio-current.log
(17.83 KiB) Downloaded 30 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Rseding91 »

At this point, I don't think this will ever be fixed. AMD's graphics driver appears to be broken, and they have no idea how/why it's broken, and so have no plans to fix it.

At best maybe we could detect this specific crash happening and simply not show the crashed dialog, instead exiting the game silently.
If you want to get ahold of me I'm almost always on Discord.
Enderdraak
Inserter
Inserter
Posts: 36
Joined: Mon Jan 14, 2019 2:39 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Enderdraak »

10-06-2024, 00-53-09.png
10-06-2024, 00-53-09.png (327.83 KiB) Viewed 829 times
A screen shot of my current settings. As I think I got this crash as well.

As well as the normal Factorio dump As I could not reproduce the crash.

A few things I remember from playing:
* I played for a long while (2 to 3 hours)
* it became midnight
* it crashed when I pressed exit.
I did lost the file (while attempting to reproduce) of the `factorio-previous.log`
But I do recall it seeing the `Quitting: user-quit.` and crashing after. But it not having `Steam API shutdown.`
Attachments
factorio-dump-previous.dmp
(689.77 KiB) Downloaded 15 times
Heinermann
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jul 21, 2021 11:01 am
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Heinermann »

Hello, I was about to post a new topic but since all the other "AMD crash on exit" topics redirect here, I will post it here:

Just started a multiplayer save with a friend on 2.0.8 today. After we finished our session, saving, and quitting the game were fine, but Exit from the main menu led to a crash (SIGSEGV). I was not able to reproduce. I will see if it happens again following our next session.

Seems driver related given the stack trace, but I haven't ever had a crash popup when closing other games. I realized that the graphics drivers are outdated (but still as recent as earlier this year), I have updated them and will post back if it happens again. Please let me know if there is anything else I can provide.

Mods enabled:
  • Base mod 2.0.8
  • Elevated Rails 2.0.8
  • Quality 2.0.8
  • Space Age 2.0.8

AMD Software: Adrenalin Edition Version
24.8.1
Driver Version
24.10.37.04-240823a-407010C-AMD-Software-Adrenalin-Edition
AMD Windows Driver Version
32.0.11037.4004
factorio-crash-on-exit.log
(21.45 KiB) Downloaded 12 times
to the moon.zip
(7.97 MiB) Downloaded 6 times

EDIT: I just randomly got it to happen again with updated driver, I did not really do anything besides load the most recent save, walk up and down to test changed video settings, and quit.

AMD Software: Adrenalin Edition Version
24.10.1
Driver Version
24.20.19.01-241011a-408380C-AMD-Software-Adrenalin-Edition
AMD Windows Driver Version
32.0.12019.1028
factorio-current.log
(18.07 KiB) Downloaded 6 times
factorio-dump-current.dmp
(570.23 KiB) Downloaded 8 times
posila
Factorio Staff
Factorio Staff
Posts: 5346
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by posila »

Ref: 116676

Since this is still happening, we are gonna leak D3D swap chain, device and some other core engine graphics resources when closing the game in 2.0.10 as an attempt to avoid the crash during game shutdown. I don't know how to try to workaround the crash when just playing the game (which I see is also happening from reports in this thread)
Drackmore
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Oct 23, 2024 1:16 am
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Drackmore »

Unless I'm misreading my log I think mine is also an AMD related crash if you need more of those.
It crashed on exit, nothing odd happened ingame or anything else. No mods except for Quality, Elevated Rails, and Space Age.
factorio-current.log
(19.35 KiB) Downloaded 14 times
factorio-dump-current.dmp
(619.94 KiB) Downloaded 5 times
dunno which one you want so there's both the files it generated.

Its funny though, my friend was hosting the game last night and played it just fine and exited just fine. And I don't think he's had any issues either and I believe he's running a similar rig with AMD as I am.

Maybe playing 8+ hours in one session is probably a bit to much.
Last edited by Drackmore on Wed Oct 23, 2024 1:27 am, edited 1 time in total.
User avatar
Dimava
Inserter
Inserter
Posts: 37
Joined: Mon Jan 15, 2018 11:29 am
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Dimava »

I can more or less reliably reproduce crashes by ALT+F4 (that's how I generally close the game, I get popups every time)

I'll post here if it works on experimental
johnLate
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Feb 26, 2019 10:17 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by johnLate »

I'm doing game dev as well and had issues with AMD drivers before. Maybe it is not related at all, maybe it can be a hint:

In my case it was OpenGL code and the game crashed during startup. When I tried to narrow it down I noticed the crash happened in a driver thread, so the crashes were async to the thread doing the GL calls. I was able to disable different parts of the game to stop the issue (but the game was not playable in that state). It looked like it was not releated to what the game was doing but to how much it was doing. In the end I assumed that the driver had trouble to correctly schedule some combinations of work. I was able to work around it by forcing it to complete some steps on my schedule (I placed a few calls to glFinish at strategic places in the games initialization code, when textures and meshes were prepared).

So, if I had to debug this issue, I would try to place the equivalent of glFinish for D3D at a few strategic places in the startup and shutdown code of the game.
Eiermann
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Tue Jan 08, 2019 7:27 am
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Eiermann »

No crashes since 2.0.10
User avatar
Dimava
Inserter
Inserter
Posts: 37
Joined: Mon Jan 15, 2018 11:29 am
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Dimava »

Same, no crashes anymore
Zorgovskiy
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Apr 26, 2022 8:43 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by Zorgovskiy »

Hello!

Crash in 2.0.19 during gameplay
AMD Integrated video in Ryzen 9 7900x

No mods, first crash since updating to 2.x + Space Age ( quite some hours )

Not sure if related to the posted AMD crash

10860.142 D3D11_ERROR: IDXGISwapChain::Present failed in swapBuffers on line 1949. Error [0x887a0005] - DXGI_ERROR_DEVICE_REMOVED
10860.142 GetDeviceRemovedReason(): [0x887a0007] DXGI_ERROR_DEVICE_RESET

10860.957 Info GlobalContext.cpp:757: Deleting active scenario.
10861.227 Info SDLWindow.cpp:331: Leaking D3D GraphicsInterface to prevent AMD graphics driver crash.
10861.240 Goodbye
Attachments
factorio-previous.log
(182.54 KiB) Downloaded 4 times
factorio-dump-previous.dmp
(1.05 MiB) Downloaded 4 times
davvblack
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Nov 18, 2024 2:36 pm
Contact:

Re: [1.1.87] Crash in AMD graphics driver (MR)

Post by davvblack »

I had this crash as well (roughly once an hour at random intervals, not related to any specific action), factorio would crash frequently with my AMD card, but i confirm the bios update fixed it. I was using an X570-PRO mobo with the stock bios from forever ago, and a 6900 xt with fully updated drivers, on windows 11 pro. It crashed frequently (i can post a log if it's valuable, but i don't think it's a factorio issue). After updating the bios to the newest version, the crashing immediately stopped. I expect the newest AMD graphics card drivers aren't compatible with some old bios.
Post Reply

Return to “Technical Help”