Crash closing file browsers with AMD GPUs #76113
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
21 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#76113
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Blender Version
Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-04-25 17:40, hash:
f418eddf8e
Worked: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash:
77d23b0bd7
Short description of error
Blender crashes upon closing the file browser
blender_debug_output.txt
system-info.txt
A similar problem is also seen on Linux:
blender.crash.txt
blender.crash.txt
blender.crash.txt
Exact steps for others to reproduce the error
Added subscriber: @Tony_PJs
#76640 was marked as duplicate of this issue
#76307 was marked as duplicate of this issue
#76193 was marked as duplicate of this issue
#76142 was marked as duplicate of this issue
#76252 was marked as duplicate of this issue
#76186 was marked as duplicate of this issue
Added subscriber: @Alumx
Cannot replicate
Added subscriber: @ankitm
Changed status from 'Needs Triage' to: 'Needs User Info'
Retry after moving the C:\Users\Lucas\AppData\Roaming\Blender Foundation folder somewhere else.
Problem persists after folder was moved. Also tried to run Blender is administrator with no luck.
Changed status from 'Needs User Info' to: 'Needs Triage'
#75657 (Blender 2.82 crashes on Save As and export) a bit similar report
Attempted to replicate on another machine and it worked just fine, could be an issue with the hardware/software on the first machine as it is older than the other one.
Added subscriber: @mano-wii
Strange, the
blender_debug_output.txt
provided does not show any information about the crash.Added subscriber: @brecht
This graphics card is below Blender minimum requirements, and so is unsupported. Driver version 15.201.1151.1008 is also from 2015 and quite old.
Installing the "Crimson Edition Beta" driver version may help.
https://www.amd.com/en/support/graphics/amd-radeon-hd/ati-radeon-hd-5000-series/ati-radeon-hd-5770
Added subscriber: @Nelfie
2.83.15 Crashing on file browser closeto Crash closing file browsers with AMD Radeon HD 5xxx and driver version 15.xAdded subscriber: @LazyDodo
not sure if it's this exact issue but when you open the file browser it shows an empty list for a short moment, when it opens in a substantially large folder, it sometimes takes a few seconds for the files to get listed, if during that time you close the window blender will crash, issue is, second time you try to catch it with the debugger, all fileio is cached and the crash becomes hard to trigger. I know this exists, but a stack trace has yet been hard to come by.
That should be flushed after a restart ?
Or in the safe mode like concept: https://en.wikipedia.org/wiki/Safe_mode#macOS
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
There is no mention of crash in
blender_debug_output.txt
so I would like to hear if updating driver will help.Otherwise without stack trace especially on unsupported GPU I would normally close report. So if you want to investigate this regardless, leave a comment.
Added subscriber: @Dillen
Added subscriber: @kissmecomix
Added subscribers: @dustinwilson, @Nekto_Roboto, @EricChirnside
There are three linux logs in #76193.
Crash closing file browsers with AMD Radeon HD 5xxx and driver version 15.xto Crash closing file browsers with AMD GPUsI was unable to reproduce the crash, but I had a freeze testing on
Windows
+AMD Radeon HD 7570M
.The problem is very deep in the driver and apparently involves multithread.
I couldn't find another workaround other than changing
GL_DYNAMIC_DRAW
toGL_STATIC_DRAW
:I also don't know if that would solve the reported cases.
May I ask if you use an HP model? maybe it has something to do with things
Changed status from 'Needs User Info' to: 'Confirmed'
(status change) (added UI for window management)
Added subscriber: @Memento
@mano-wii, did you check if the freeze you found is due to the change in
5d9d246851
or other commit? If it's related to a specific commit it could help us understand the problem.@kissmecomix, tested on a DELL
@brecht, yes i checked. That commit introduced the issue.
This's because glBufferData is called much more often than before.
I submitted a possible fix to master.
Please test as soon as the build is available in https://builder.blender.org/download/
Actually, scratch that. It worked the once and then crashed again but I just realized the new build wasn't available yet anyway. Will try again when it is. Sorry for the confusion.
This comment was removed by @EricChirnside
Continues to crash with version: 2.83 (sub 15), branch: master, commit date: 2020-05-02 11:33, hash:
1623fdb3bc
System Information
Operating system: Linux-5.6.8-300.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.6.8-300.fc32.x86_64, LLVM 10.0.0) X.Org 3.3 (Core Profile) Mesa 20.0.5
Confirm, continues to crash with new build.
System Information
Operating system: Linux-5.6.8-arch1-1-x86_64-with-arch-Arch-Linux 64 Bits
Graphics card: Radeon RX 570 Series (POLARIS10, DRM 3.36.0, 5.6.8-arch1-1, LLVM 10.0.0) X.Org 4.6 (Core Profile) Mesa 20.0.6
Blender Version
Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-05-02 11:33, hash:
1623fdb3bc
Added subscriber: @Bearcat
@Nekto_Roboto @Memento @EricChirnside test 2.90 with hash >
7df51ca
1623fd doesn't even have the fix.
2.90: 6408cd is now available at https://builder.blender.org/download/
Test that.
System Information
Operating system: Linux-5.6.8-300.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.6.8-300.fc32.x86_64, LLVM 10.0.0) X.Org 3.3 (Core Profile) Mesa 20.0.5
Blender Version
Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-05-02 16:01, hash:
6408cd00c5
Unfortunately crashes just as well...
Added subscriber: @dark999
@Memento you have one not meeting minimum requirement GPU (Radeon HD 57xx/terascale2) with not supported GPU driver (Mesa), Blender support only (Amd and Nvidia propietary linux driver
Worked fine before I went from Fedora 31 to Fedora 32... And the crashes only occur when closing an extra Blender window, like Preferences or the File Browser, nothing exciting there...
System Information
Operating system: Linux-5.6.8-arch1-1-x86_64-with-arch-Arch-Linux 64 Bits
Graphics card: Radeon RX 570 Series (POLARIS10, DRM 3.36.0, 5.6.8-arch1-1, LLVM 10.0.0) X.Org 4.6 (Core Profile) Mesa 20.0.6
Blender Version
Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-05-02 16:01, hash:
6408cd00c5
The problem still persists on new build...crashes when working with file browser
I also wanted to mention that problem occurred after some system updates, maybe one week ago
@Nekto_Roboto check if you meet ALL Blender requirement www.blender.org/download/requirements/
Well, I have a supported GPU and can confirm that the crash continues in the latest nightly of 2.83.
version: 2.83 (sub 15), branch: master, commit date: 2020-05-03 18:42, hash:
331bf04fad
, type: Releasebuild date: 2020-05-03, 22:59:36
platform: Linux
Basically 2.80 is the last version that doesn't crash on my current setup for this issue, so pre- new file browser, I guess. I feel like I was using 2.81 without issue at one point, but I'm not entirely sure how extensively I used that version at the time.
I just installed the latest Manjaro updates, which included a new version of Mesa, but no luck.
OpenGL renderer string: AMD RAVEN (DRM 3.36.0, 5.5.19-1-MANJARO, LLVM 10.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.6
And by the way @dark999, Mesa drivers ARE the driver stack recommended by AMD for all their non-Pro consumer products. Their own Software for Linux site says so. https://www.amd.com/en/support/kb/faq/amdgpu-installation. Unlike Nvidia, they actually do contribute to Mesa.
Also, sorry @ankitm, I didn't see your earlier tag. I just tried with the following build and encountered the same crash. If you need any particular logs, let me know.
version: 2.90 (sub 0), branch: master, commit date: 2020-05-03 22:25, hash:
33bdd91fb8
, type: Releasebuild date: 2020-05-03, 23:06:18
platform: Linux
That fix was for a performance issue on Intel cards. The simple & safe solution would be to only use the two buffers on Intel cards and leave the old code for AMD.
I believe this is supposed to be fixed by
37182c3
.Can anyone confirm if this bug still exists in the latest 2.83 build?
https://builder.blender.org/download/
@brecht It's still happening in this version:
version: 2.83 (sub 15), branch: master, commit date: 2020-05-06 16:18, hash:
9605c26166
, type: Releasebuild date: 2020-05-06, 23:02:36
I concur with Eric, still crashing with hash
9605c2616696
hereI can confirm as of 2.83 #9605c2616696 and 2.90 #05da8132d8f7 opening filebrowser or preferences in new window and closing is fixed. Thank you for your hard work.
Thanks, so perhaps it's fixed on Windows but not on Linux.
Removed subscriber: @Bearcat
Version: 2.90 (sub 0), branch: master, commit date: 2020-05-06 23:00, hash:
05da8132d8
Unfortunately still crashing on arch linux
I am still having the same crash when closing the file dialog for selecting an image texture on Manjaro on the latest alpha build as well.
Wait, is this only cropping up on Manjaro/Arch Linux systems at this point? This is probably totally unrelated but I recently helped troubleshoot a problem in another project (the Qodot plugin for Godot Engine) which only affected Arch and Manjaro, maybe because they're rolling releases and tend to have more recent libraries installed. The developer reported it had something to do with initializing a dynamic memory check and talked about it in a blog post after fixing it:
Like I said, probably unrelated, but it seems most (all?) of the Linux users reporting this here and on the issue I got merged in from are on Arch or Manjaro as well, so I thought I'd mention it. shrug emoji
Fedora 32 here... Semi rolling release...
Removed subscriber: @Alumx
I have a setup a little bit similar here, but I can't reproduce the problem:
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon HD 7570M ATI Technologies Inc. 4.5.13399 Core Profile Context 0
@mano-wii from the comments this seems to be a Linux only issue, so testing on Windows would not work.
In addition to what I outlined about my issue in #76193 I've been tinkering around with Blender to see if I can discover anything about the crash myself. I've discovered I can successfully apply a texture by using the material properties, clicking on the circle next to Base Color, applying an image texture, and opening an image. However, if I use nodes via the Shading tab like I did in my original report I get the crash when opening the texture image.
Added subscriber: @jshlxx
Added subscriber: @ZedDB
Just a heads up. I do remember having issues with this. (So random crashes when closing this file browser).
But I can't reproduce this anymore it seems.
I'm running Gentoo and using Mesa 20.2.0 (git master version, AMD RX 5700 XT).
Added subscriber: @MartinLouette
Added subscriber: @andersmmg
I'm using Manjaro, and I recently started getting a buffer overflow when opening most image textures from the shader editor, and Blender crashes when I load fonts as well. The crash log doesn't seem to have any useful information.
Added subscriber: @fclem
I can reproduce the bug with AMD + Mesa drivers when selecting an image to open.
Looking into it now.
Removed subscriber: @jshlxx
The crash I can reproduce is NOT comming from
5d9d246851
and I can reproduce the crash up to 2.81 when we introduce the popup window for file open. So it is not really coming from us.I'll be commenting the file explorer code until I find the culprit area of the code.
The crash seems to come from the closing of the window and not from the drawing happening inside it. But it never happens with other tmp window (like driver or render).
I tried to see if something was out of place in
wm_handler_fileselect_do
but nothing is standing out. Note that the error still trigger if closing the window using the OS button (GHOST_kEventWindowClose
).Only avoiding the closing of the windows avoid the crash.
It has nothing to do with child window, it happens even when forcing normal window.
The crash can happen in different circumstances:
The crash don't seem to be related to EEVEE as it also happens even if shading workspace use a solid viewport.
BUT, I found that it is related to the UV image editor area that is present in the shading workspace. The crash also happens in the Texturing and UV editing workspace.
I still not sure where it comes from as removing all the drawing inside the UV image editor does not solve the issue.
Clément,
It also happens with:
However, switching to the main Blender window again will not cause a crash, just when closing any additional window it will, leaving the additional window in the background Blender continues to remain operable.
Added subscriber: @Jeroen-Bakker
I wasn't able to reproduce it on a blender 2.83 release build on the next system. It uses Mesa 19.2.8
system-info.txt
Which should be similar as what @fclem has.
This issue was referenced by
ac1a6565df
Changed status from 'Confirmed' to: 'Resolved'
Blender 2.90 Alpha
f9d0f59bed4d
works now, did the patch make it into Blender 2.83 Beta yet? For the buildbot version50ef801a79b5
still crashes unfortunately...Edit: Unfortunately Blender 2.90 Alpha
f9d0f59bed4d
also continues to crash, it just took longer before it did so.@Memento At this point I would turn to Mesa to fix the driver. I cannot reproduce the crash even with the same version of the lib. This might be because of a specific driver path for your GPU family. But given we don't support your GPU familly (terascale2) anymore, I can't spend more time on this.
I was able to test this out today, and I am no longer getting the crash on my system in 2.83. Thanks a bunch!
Same, it seems fixed in 2.83, for both loading image textures and fonts!
Well it's better than it was as it no longer happens instantly after opening and closing the file browser just once, but I can unfortunately still get it to crash reliably.
Open Blender, switch to Shading tab. Create image texture node and load any image, connect to Metallic input. Create second image texture node and connect to Base Color input. Open file browser from this node and then close it. Open and close it around 3-6 more times. It reliably crashes for me every single time I follow these steps.
Blender 2.83 (sub 16), Commit date: 2020-05-13 20:48, Hash
71298a1da9
blender_2_83_sub_16_2020-05-13_error.log
blender_2_83_sub_16_2020-05-13_blender.crash.txt
AMD Ryzen 5 2500U / Vega 8
Unfortunately still crashes here too, but right now I need to open and close file browser more times to provoke the crash
System Information
Operating system: Linux-5.6.11-arch1-1-x86_64-with-arch 64 Bits
Graphics card: Radeon RX 570 Series (POLARIS10, DRM 3.36.0, 5.6.11-arch1-1, LLVM 10.0.0) X.Org 4.6 (Core Profile) Mesa 20.0.6
Blender Version
Broken: version: 2.90 (sub 1), branch: master, commit date: 2020-05-13 22:51, hash:
c8060a78fd
Changed status from 'Resolved' to: 'Needs Developer To Reproduce'
I cannot reproduce with any of the described procedures. Note that I'm using mesa 20.0.5.
I was able to get it to crash by opening usually 4-5 external files. Fonts and images. Much better than it was before, but still a problem
I'm very glad to say that after today mesa update problem was solved for me and blender does not crashing anymore. Thank you very much
System Information
Operating system: Linux-5.6.13-arch1-1-x86_64-with-arch 64 Bits
Graphics card: Radeon RX 570 Series (POLARIS10, DRM 3.36.0, 5.6.13-arch1-1, LLVM 10.0.0) X.Org 4.6 (Core Profile) Mesa 20.0.7
Blender Version
version: 2.90 (sub 2), branch: master, commit date: 2020-05-15 19:12, hash:
eaf7d36d66
I just tried old Steam version and it works fine too, so it was probably mesa related problem all that time.
With the overnight update of the Fedora 32 Mesa drivers to version 20.0.7 Blender
50ef801a79b5
no longer crashes and also the current nightly builde5ace51295b9
does not crash upon closing the Preference and File Browser windows! Many thanks Clément (and others!) for your attention, time and patience!Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Only @andersmmg , @EricChirnside need to update their status now. Looking at the similarities & their mesa versions, it should be fixed for them too.
So closing.
Seems to be working fully for me now, I tried a lot of different image and font files and it never crashed!
@ankitm Though my distro hasn't updated to Mesa 20.0.7 (still on 20.0.6), I haven't been able to reproduce the bug on version: 2.83 (sub 17), branch: master, commit date: 2020-05-18 08:49, hash:
008e964940
so it seems to be fixed. Thanks for everyone's hard work, as always!LOL, never mind. As I was writing this I had Blender opened in the background and it crashed when I switched back to it. Then I opened it back up and tried my steps as before and it crashed in the same way. I guess I'll wait until Mesa 20.0.7 and try again at that time.
Removed subscriber: @Tony_PJs
Added subscriber: @dfelinto
Without this being in the BF Blender project it doesn't show in most of the tags.
@fclem FYI instead of removing 2.93 tag you could have just added "BF Blender" tag that would have automatically removed the 2.93 tag AND kept any BF related tag.