Viewport/crash artefacts with multiple materials and legacy NVIDIA drivers #71576
Closed
opened 2019-11-14 16:01:58 +01:00 by kriznee
·
80 comments
No Branch/Tag Specified
main
blender-v3.3-release
blender-v3.6-release
asset-browser-frontend-split
universal-scene-description
temp-sculpt-dyntopo
brush-assets-project
asset-shelf
anim/armature-drawing-refactor-3
temp-sculpt-dyntopo-hive-alloc
tmp-usd-python-mtl
tmp-usd-3.6
blender-v3.5-release
blender-projects-basics
blender-v2.93-release
temp-sculpt-attr-api
realtime-clock
sculpt-dev
gpencil-next
bevelv2
microfacet_hair
xr-dev
principled-v2
v3.6.3
v3.3.11
v3.6.2
v3.3.10
v3.6.1
v3.3.9
v3.6.0
v3.3.8
v3.3.7
v2.93.18
v3.5.1
v3.3.6
v2.93.17
v3.5.0
v2.93.16
v3.3.5
v3.3.4
v2.93.15
v2.93.14
v3.3.3
v2.93.13
v2.93.12
v3.4.1
v3.3.2
v3.4.0
v3.3.1
v2.93.11
v3.3.0
v3.2.2
v2.93.10
v3.2.1
v3.2.0
v2.83.20
v2.93.9
v3.1.2
v3.1.1
v3.1.0
v2.83.19
v2.93.8
v3.0.1
v2.93.7
v3.0.0
v2.93.6
v2.93.5
v2.83.18
v2.93.4
v2.93.3
v2.83.17
v2.93.2
v2.93.1
v2.83.16
v2.93.0
v2.83.15
v2.83.14
v2.83.13
v2.92.0
v2.83.12
v2.91.2
v2.83.10
v2.91.0
v2.83.9
v2.83.8
v2.83.7
v2.90.1
v2.83.6.1
v2.83.6
v2.90.0
v2.83.5
v2.83.4
v2.83.3
v2.83.2
v2.83.1
v2.83
v2.82a
v2.82
v2.81a
v2.81
v2.80
v2.80-rc3
v2.80-rc2
v2.80-rc1
v2.79b
v2.79a
v2.79
v2.79-rc2
v2.79-rc1
v2.78c
v2.78b
v2.78a
v2.78
v2.78-rc2
v2.78-rc1
v2.77a
v2.77
v2.77-rc2
v2.77-rc1
v2.76b
v2.76a
v2.76
v2.76-rc3
v2.76-rc2
v2.76-rc1
v2.75a
v2.75
v2.75-rc2
v2.75-rc1
v2.74
v2.74-rc4
v2.74-rc3
v2.74-rc2
v2.74-rc1
v2.73a
v2.73
v2.73-rc1
v2.72b
2.72b
v2.72a
v2.72
v2.72-rc1
v2.71
v2.71-rc2
v2.71-rc1
v2.70a
v2.70
v2.70-rc2
v2.70-rc
v2.69
v2.68a
v2.68
v2.67b
v2.67a
v2.67
v2.66a
v2.66
v2.65a
v2.65
v2.64a
v2.64
v2.63a
v2.63
v2.61
v2.60a
v2.60
v2.59
v2.58a
v2.58
v2.57b
v2.57a
v2.57
v2.56a
v2.56
v2.55
v2.54
v2.53
v2.52
v2.51
v2.50
v2.49b
v2.49a
v2.49
v2.48a
v2.48
v2.47
v2.46
v2.45
v2.44
v2.43
v2.42a
v2.42
v2.41
v2.40
v2.37a
v2.37
v2.36
v2.35a
v2.35
v2.34
v2.33a
v2.33
v2.32
v2.31a
v2.31
v2.30
v2.28c
v2.28a
v2.28
v2.27
v2.26
v2.25
Labels
Clear labels
This issue affects/is about backward or forward compatibility
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
Apply labels
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
This issue affects/is about backward or forward compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
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
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
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
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
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 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 & 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
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
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
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
20 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#71576
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Added subscriber: @kriznee
#82580 was marked as duplicate of this issue
#81187 was marked as duplicate of this issue
#80491 was marked as duplicate of this issue
#76128 was marked as duplicate of this issue
#75379 was marked as duplicate of this issue
#73213 was marked as duplicate of this issue
#72206 was marked as duplicate of this issue
#72219 was marked as duplicate of this issue
#72228 was marked as duplicate of this issue
#71953 was marked as duplicate of this issue
#71931 was marked as duplicate of this issue
#71841 was marked as duplicate of this issue
I tried to uninstalled and download many times but I can not click on material icon.When I clicked on material menu and the programme turn off immediately every times.How should I solved this problem.
Thank you
Added subscriber: @StephenSwaney
Missing information:
Short description of error
[Please fill out a short description of the error here]
Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]
Added subscriber: @Uroboros
Material menu has problemto Windows 7 - Viewport/Crash artefacts when multiple materials on 1 objectAdded subscribers: @RzaIbrahimov, @gaonirico, @MaciejJutrzenka
Windows 7 - Viewport/Crash artefacts when multiple materials on 1 objectto Viewport/Crash artefacts when multiple materials on 1 objectViewport/Crash artefacts when multiple materials on 1 objectto Viewport/Crash artefacts when multiple materials on 1 object [MERGED 4 Reports]Added subscriber: @fclem
@fclem Do you think your fix could also solve this?
link to fix:
https://developer.blender.org/rBc6018391765c4406f8e190cb837174ed259ac90d
There was similar bug report about this
https://developer.blender.org/T70106
but apperantly got fixed but apperantly it is still bugged? or is it just old GPU's
On Twitter I uploaded a video showing how the bug appears in Blender 2.81 and not in Blender 2.80
https://twitter.com/Gaonirico/status/1199367836440973314?s=20
so i guess it's an issue with old drivers.
@MaciejJutrzenka I think it would. if you want to test (and can compile blender) change this line
#if !defined(GPU_INTEL) && !defined(GPU_DEPRECATED_AMD_DRIVER) && !defined(OS_MAC)
to this
#if 0
@fclem sadly i don't have that kind of GPU's and i am not familiar with custom builds.. But if the issiue on MAC was exactly 1:1 the same.. so i think this should fix also those problems.. i think if we are gona do 2.81a it would be good idea toinclude this also for wind/linux
Well this fix has some issue as it cripple down the performance. So it should be limited to broken/end of life systems.
What I can see is that it only affect really old GPUs with legacy driver (correct me if i'm wrong) so we maybe need to limit this to old Nvidia drivers.
i think we can set it for nvidia 3.3.0 driver and older.
Does running with --debug-gpu-force-workarounds (or use the script
blender_debug_gpu_glitchworkaround.cmd
) fixes the issue?I've prepared D6351 to fix this issue but it does not seems 100% safe (to me) and I still don't know if it fixes the issue.
This issue was referenced by
cf77b67c45
Changed status from 'Open' to: 'Resolved'
Changed status from 'Resolved' to: 'Open'
This issue was referenced by
e2806b7429
Added subscriber: @Zeirus
Added subscriber: @jufu
Viewport/Crash artefacts when multiple materials on 1 object [MERGED 4 Reports]to Viewport/Crash artefacts when multiple materials on 1 object [MERGED 5 Reports]This comment was removed by @MaciejJutrzenka
Viewport/Crash artefacts when multiple materials on 1 object [MERGED 5 Reports]to Viewport/crash artefacts with multiple materials and legacy NVIDIA driversAdded subscriber: @Bob-Arvin
Added subscriber: @ArielEduardoGimenez
Added subscriber: @vr_sebas
@fclem I'm running Archlinux with the 340xx driver, so I'll make blender with this settup and try it out, btw where's that line I have to edit?
Added subscriber: @Wenger
Added subscriber: @GeofreyMayollo
Added subscriber: @Jeroen-Bakker
Marking this issue as known issues as we officially don't support these platforms.
Removed subscriber: @vr_sebas
Added subscriber: @amy_aimei
I've tried to apply the fixes described in cf77b67c45: Fix #71576 Mesh error on mutimaterial Meshes on legacy nvidia drivers. with my own modifications. It works.
The idea of that commit is fine but the code in source/blender/gpu/intern/gpu_extensions.c is not correct.
The version in my case doesn't start with "NVIDIA ". If the code above is used, it crashed. I changed the code to look for the version I have, which is "3.3.0" where I found it from the debug output. I changed the code to
After that I recompiled the code and it works.
Added subscriber: @cadtofu
My card info is below, perhaps same as yours. So I encountered same issue as you.
When I checked source code of 2.82, there is no such lines as you mentinoed.
Could you complile a fixed "blender.exe" binary (win10/x64, based on official 2.82 release) and post it somewhere?
Or/and submit your fix into 2.83 main branch?
Many people will benefit from your work.
Could some coders make "GG.legacy_nvidia_driver" as command line switch (or Prefrences option) to bypass the buggy code mentioned by Amy Moo (amy_aimei) ?
Added subscriber: @Eftal
Hi Dylan,
If you want to perform what I've done, follow the link to cf77b67c45 . I'm not sure if I can modify the official Blender code or not. The problem with my fixes is it covers the version "3.3.0" only. I don't know how to make it more generic, i.e., covers more unsupported versions.
In addition, the "GG.legacy_nvidia_driver" is a variable introduced in my code, they don't have it. Therefore, your request "Could some coders make "GG.legacy_nvidia_driver" as command line switch (or Prefrences option) to bypass the buggy code mentioned by Amy Moo (amy_aimei) ?" will not get anyone to take action.
The fact is simple, we are using a unsupported GPU. I'm checking a generic solution based on the question "Will Blender 2.82 work without a GPU?" If it is possible, I can see if I can make a generic solution or not.
Amy
Hi Dylan,
The quickest fixes for you is modifying just few lines in source/blender/draw/intern/shaders/common_view_lib.glsl around line 118 in Blender 2.82 code.
Comment out the line #if !defined(GPU_INTEL) && !defined(GPU_DEPRECATED_AMD_DRIVER) && !defined(OS_MAC) && !defined(INSTANCED_ATTRIB) and replace it with#if 0, which makes the following lines till the line #else / GPU_INTEL /not being executed and execute the lines between#else / GPU_INTEL /till#endif.
Again, in order to make it generic, I have to find the way to cover ALL "DEPRECATED" GPU.
Amy
Added subscriber: @Amy-4
Thank you Amy,
I struggled but failed in compiling Blender. I'm not coder, so it's not easy to complie such a large software.
I found a dev version of 2.82 can work in my laptop.
version: 2.82 (sub 6), branch: master, commit date: 2020-01-10 06:10, hash:
95200045f3
, type: Releasebuild date: 2020-01-10, 11:00:05
Perhaps this will be the last usable version on this machine.
Added subscriber: @rdrpenguin
Could you also add the AMD "Stoney Ridge" integrated graphics to this list? I seem to be having the same symptoms: Create a mesh, attach a different material to one of the faces, and the face becomes transparent.
It also seems to do this in blender-softwaregl, which makes me think that this is my problem. I'm not sure though, since, as far as I know, I'm following all of the steps correctly.
Added subscribers: @Arjun_R_7019, @Alaska
Added subscriber: @iss
There is another report with stoney ridge so it's not problem on your side probably
Removed subscriber: @Alaska
Added subscriber: @MiceAreVeryNice
I have a similar issue with Blender 2.83+ on an AMD A4-5000 with Radeon HD 8330 configuration.
Laptop purchased in 2014, driver is radeon. The latest closed-source driver for my AGP is fglrx 15.30.1025 which won't install due to my X version being "too recent" (strangely, AMD offers driver updates for said AGP on Windows 10).
Please fix the drawing issue as soon as possible.
This bug seems already fixed since 2.91alpha. Anybody could give a try.
Changed status from 'Confirmed' to: 'Needs User Info'
Thanks for update.
Is anybody still having this problem? if there are no issues anymore, I will close this report.
Hi Richard,
Is there a possibility to backport the fix to 2.83LTS?
Thanks.
Perhaps - as far as I know this was issue only on officially unsupported GPUs?
But I would like to wait for more users to check this to be pretty sure this is fixed for most cases at least, and finally we would need to know what commit fixed this. Since I wasn't able to reproduce this issue, I can't check this.
Thanks, I see now.
Hope obsolete graphics card users who suffering from this bug could help more test reports.
Added subscriber: @EAW
Changed status from 'Needs User Info' to: 'Resolved'
After my request for information I don't see anybody reporting issues so I will close this report.
Yes, I have tested 2.91, it works. Do you know how it is fixed? It is a good idea to apply the same fixes to 2.83 LTS. Noted that 2.83.7 still has that issue.
I don't know what commit fixed this. Keep in mind that LTS receives only critical fixes like crashes and this issue existed on unsupported hardware.
Added subscriber: @JC314
Is it fixed in release "2.91" or "2.90.1" ?
Just in case it is a typo, I'm getting this issue with release 2.90.1.
I am new to Blender - since last week - daily using 'legacy' hardware. Never had any reason to upgrade. So, if somebody needs to have something tested on antique stuff, just ask me. :-)
Linux Mint 20
Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
NVIDIA driver 340.108
GeForce 210
2.91, which is currently in beta. It is available as a daily build from the following link:
https://builder.blender.org/download/
For what it's worth, I confirm it works using 2.91.
I even have the impression the rendering is more robust too. Because it was easy to crash Blender using Eevee. This release doesn't crash doing a quick test.
Good stuff :-)
I'm getting these warnings:
WARNING: attempting to set nonexistent parameter: EmissionStrength
WARNING: attempting to set nonexistent parameter: EmissionStrength
Added subscribers: @Addi01, @rjg