Bug 2237821
Summary: | blender core dumps at execution instead of giving sane feedback about unsupported hardware | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | havealoha+fedoraproject | ||||||
Component: | blender | Assignee: | Luya Tshimbalanga <luya_tfz> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 38 | CC: | code, design-devel, epel-packagers-sig, luya_tfz, marcan, negativo17 | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | aarch64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | blender-3.3.14-1.el9 blender-3.6.7-1.fc38 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2024-01-17 00:36:49 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
havealoha+fedoraproject
2023-09-07 05:23:13 UTC
Can you report the glxinfo or eglinfo on the device ? Also which kernel do you use ? a fedora kernel built for My guess is that mesa advertise the support based on assumption to use a downstream kernel (with Asahi patches). So the crash is because mesa "lies" on the GL support. (now it's just a wild guess). uname -a (generic asahi kernel) glxinfo eglinfo pasted into below: https://pastebin.com/hxZAiACe Created attachment 1988053 [details]
output from commands as requested
output from commands as requested
Created attachment 1988054 [details]
more output from commands
Our Mesa advertises the correct GL version support (3.1 at this time) when the kernel/etc is correct (if the kernel is wrong it falls back to llvmpipe which *can* run blender in software, very slowly). Blender is *not* supposed to work because it needs a higher GL version. The problem is that I guess it requests a higher version, and when it doesn't get a GL context since it's not supported, it just aborts/asserts and core dumps. That's confusing several users who think our drivers are broken because it looks like a crash, not simply the GL version support not being sufficient. Apps shouldn't crash just because the GPU doesn't meet their minimum requirements. For comparison, OBS also needs a higher version, but when it doesn't get it it shows a user-friendly dialog box telling the user that their GPU is not supported. That is what I expect Blender to do. At the very least it should print out a friendlier message to stderr and exit with a normal error, instead of outright crashing. Note that this shouldn't be unique to Asahi in any way, e.g. upstream Fedora kernel/Mesa should have the same exact result on Panfrost (ARM Mali) platforms, which are also advertising OpenGL 3.1 at this time fully upstream. @Hector Thanks for getting in touch. My understanding is that for testing the appropriate GL context, you have to actually create one. That's why you have a failure (not specific to blender). Actually I was able to reproduce the error with intel using MESA_GL_VERSION_OVERRIDE=2.1 (or 3.1). But not with 3.3 that only have the EGL_BAD_MATCH and not the core dump (despite current blender claims to only support GL 4.3 at https://www.blender.org/download/requirements/). You might need to report the issue to blender upstream (or even with epoxy that seems like the component involved). FEDORA-EPEL-2024-deb88a9bfa has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-deb88a9bfa FEDORA-2024-a97561b46e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-a97561b46e FEDORA-EPEL-2024-deb88a9bfa has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-deb88a9bfa See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-a97561b46e has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a97561b46e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a97561b46e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2024-deb88a9bfa has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-a97561b46e has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |