Bug 1964069 - nouveau driver crashes when running blender 2.92.0
Summary: nouveau driver crashes when running blender 2.92.0
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-24 16:23 UTC by christianbueno
Modified: 2022-06-08 06:22 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-08 06:22:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
blender fails (158.57 KB, video/webm)
2021-05-24 16:23 UTC, christianbueno
no flags Details
error in text after trying to run blender (440 bytes, text/plain)
2021-05-24 16:24 UTC, christianbueno
no flags Details
pc system, screenfetch (1.06 KB, text/plain)
2021-05-24 16:28 UTC, christianbueno
no flags Details
blender in a vm fedora 34 gnome-boxes, runs ok (1.91 MB, video/webm)
2021-05-24 20:16 UTC, christianbueno
no flags Details
running blender from terminal (4.71 MB, video/webm)
2021-05-25 02:49 UTC, christianbueno
no flags Details

Description christianbueno 2021-05-24 16:23:59 UTC
Created attachment 1786567 [details]
blender fails

Created attachment 1786567 [details]
blender fails

Description of problem:
when trying to run blender, it fails, crash.


Version-Release number of selected component (if applicable):

fedora 34

blender 2.92.0 rpm fedora reository
[chris@f34 ~]$ dnf list blender
Last metadata expiration check: 2:01:32 ago on Mon 24 May 2021 09:44:26 AM -05.
Installed Packages
blender.x86_64                                                                    1:2.92.0-8.fc34                                                                    @updates
[chris@f34 ~]$ 


How reproducible:
always

Steps to Reproduce:
1.install blender by,
sudo dnf install blender
2.trying to run blender by terminal
> blender
3.blender fails, crash

Actual results:
blender fails

Expected results:
we can run blender and use the software

Additional info:

terminal error,
[chris@f34 ~]$ blender
/usr/include/c++/11/bits/stl_deque.h:1328: std::deque<_Tp, _Alloc>::reference std::deque<_Tp, _Alloc>::operator[](std::deque<_Tp, _Alloc>::size_type) [with _Tp = nv50_ir::ValueRef; _Alloc = std::allocator<nv50_ir::ValueRef>; std::deque<_Tp, _Alloc>::reference = nv50_ir::ValueRef&; std::deque<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)
[chris@f34 ~]$

Comment 1 christianbueno 2021-05-24 16:24:58 UTC
Created attachment 1786570 [details]
error in text after trying to run blender

Comment 2 christianbueno 2021-05-24 16:28:17 UTC
Created attachment 1786571 [details]
pc system, screenfetch

Comment 3 christianbueno 2021-05-24 16:31:27 UTC
i have installed a fresh fedora 34 virtual machine in gnome-boxes and there blender runs fine.
Host: fedora 34 workstation where blender fails.

Comment 4 Luya Tshimbalanga 2021-05-24 16:43:43 UTC
Hello @christianbueno.1 ,
Could you list which packaged blender do you install? I failed to reproduce the problem on my HP Envy x360 Ryzen 5 2500u system.
Back up the old configuration before delete it, then start again to see if the issue somehow gets resolved.

Comment 5 christianbueno 2021-05-24 16:47:26 UTC
(In reply to Luya Tshimbalanga from comment #4)
> Hello @christianbueno.1 ,
> Could you list which packaged blender do you install? I failed to reproduce
> the problem on my HP Envy x360 Ryzen 5 2500u system.
> Back up the old configuration before delete it, then start again to see if
> the issue somehow gets resolved.

Thanks.
[chris@f34 ~]$ dnf list blender
Last metadata expiration check: 2:01:32 ago on Mon 24 May 2021 09:44:26 AM -05.
Installed Packages
blender.x86_64                                                                    1:2.92.0-8.fc34                                                                    @updates
[chris@f34 ~]$

Comment 6 christianbueno 2021-05-24 16:59:21 UTC
(In reply to Luya Tshimbalanga from comment #4)
> Hello @christianbueno.1 ,
> Could you list which packaged blender do you install? I failed to reproduce
> the problem on my HP Envy x360 Ryzen 5 2500u system.
> Back up the old configuration before delete it, then start again to see if
> the issue somehow gets resolved.

There no configuration file of blender to delete, or what are you refering to?
[chris@f34 ~]$ ll -A
total 36
drwxr-xr-x. 1 chris chris   214 May 24 00:24 application-resource-software
-rw-------. 1 chris chris 12239 May 24 10:53 .bash_history
-rw-r--r--. 1 chris chris    18 Jan 25 20:42 .bash_logout
-rw-r--r--. 1 chris chris   141 Jan 25 20:42 .bash_profile
-rw-r--r--. 1 chris chris   492 Jan 25 20:42 .bashrc
drwx------. 1 chris chris   620 May 22 16:36 .cache
drwxr-xr-x. 1 chris chris   510 May 24 11:22 .config
drwxr-xr-x. 1 chris chris     0 May 13 20:56 Desktop
drwxr-xr-x. 1 chris chris   112 May 17 18:19 .dia
drwxr-xr-x. 1 chris chris   116 May 24 11:18 Documents
drwxr-xr-x. 1 chris chris  1110 May 24 00:35 Downloads
drwxr-xr-x. 1 chris chris   172 May 18 21:23 .eclipse
-rw-rw-r--. 1 chris chris    29 May 21 00:19 .gitconfig
-rw-------. 1 chris chris    20 May 17 15:47 .lesshst
drwx------. 1 chris chris    10 May 13 20:56 .local
drwxr-xr-x. 1 chris chris    86 May 13 21:01 .mozilla
drwxr-xr-x. 1 chris chris     0 May 13 20:56 Music
drwxr-xr-x. 1 chris chris  5004 May 24 09:40 Pictures
drwx------. 1 chris chris    10 May 13 21:22 .pki
drwxr-xr-x. 1 chris chris     0 May 13 20:56 Public
-rw-------. 1 chris chris    20 May 20 17:28 .python_history
drwx------. 1 chris chris    70 May 13 23:28 .ssh
drwxr-xr-x. 1 chris chris    22 May 19 01:19 .swt
drwxr-xr-x. 1 chris chris     0 May 13 20:56 Templates
drwxr-xr-x. 1 chris chris     6 May 13 23:01 .var
drwxr-xr-x. 1 chris chris   172 May 24 11:22 Videos
drwxr-xr-x. 1 chris chris    38 May 17 23:19 .vscode
[chris@f34 ~]$

Comment 7 Luya Tshimbalanga 2021-05-24 19:41:12 UTC
More like:

 blender
Read prefs: /home/luya/.config/blender/2.92/config/userpref.blend

I have the same packaging version  1:2.92.0-8.fc34 which runs fine other than the known bug related to Cycles Renderlibsing. 

I noticed this line:

> /usr/include/c++/11/bits/stl_deque.h:1328

suggesting libstdc++-devel was installed according to dnf:

> dnf provides "/usr/include/c++/11/bits/stl_deque.h"
> Matched from:
> Filename    : /usr/include/c++/11/bits/stl_deque.h

> libstdc++-devel-11.0.1-0.3.fc34.x86_64 : Header files and libraries for C++
>                                        : development
> Repo        : fedora



Can you update libstdc++ package and see if that fixes the issue?

Comment 8 christianbueno 2021-05-24 20:05:59 UTC
Thanks.
I have tested in a virtual machine gnome boxes fedora 34 worksattion there run ok. None of those packages is installed there.

from vm-fedora-34

[chris@fedora ~]$ dnf list libstdc++-devel --showduplicates 
Last metadata expiration check: 4:55:28 ago on Mon 24 May 2021 10:01:02 AM -05.
Available Packages
libstdc++-devel.i686                                                                  11.0.1-0.3.fc34                                                                 fedora 
libstdc++-devel.x86_64                                                                11.0.1-0.3.fc34                                                                 fedora 
libstdc++-devel.i686                                                                  11.1.1-1.fc34                                                                   updates
libstdc++-devel.x86_64                                                                11.1.1-1.fc34                                                                   updates
[chris@fedora ~]$ 

My host f34 

[chris@f34 ~]$ dnf provides /usr/include/c++/11/bits/stl_deque.h
Last metadata expiration check: 5:05:40 ago on Mon 24 May 2021 09:44:26 AM -05.
libstdc++-devel-11.0.1-0.3.fc34.i686 : Header files and libraries for C++ development
Repo        : fedora
Matched from:
Filename    : /usr/include/c++/11/bits/stl_deque.h

libstdc++-devel-11.0.1-0.3.fc34.x86_64 : Header files and libraries for C++ development
Repo        : fedora
Matched from:
Filename    : /usr/include/c++/11/bits/stl_deque.h

libstdc++-devel-11.1.1-1.fc34.i686 : Header files and libraries for C++ development
Repo        : updates
Matched from:
Filename    : /usr/include/c++/11/bits/stl_deque.h

libstdc++-devel-11.1.1-1.fc34.x86_64 : Header files and libraries for C++ development
Repo        : updates
Matched from:
Filename    : /usr/include/c++/11/bits/stl_deque.h

[chris@f34 ~]$ 

packages host f34

[chris@f34 ~]$ dnf list libstdc++-devel --showduplicates
Last metadata expiration check: 5:19:11 ago on Mon 24 May 2021 09:44:26 AM -05.
Available Packages
libstdc++-devel.i686                                                                  11.0.1-0.3.fc34                                                                 fedora 
libstdc++-devel.x86_64                                                                11.0.1-0.3.fc34                                                                 fedora 
libstdc++-devel.i686                                                                  11.1.1-1.fc34                                                                   updates
libstdc++-devel.x86_64                                                                11.1.1-1.fc34                                                                   updates
[chris@f34 ~]$ 

Practically is a fresh installation, only i have added rpm fusion in my host , but no in the vm

Comment 9 christianbueno 2021-05-24 20:08:50 UTC
from my host f34

[chris@f34 ~]$ dnf list libstdc++ --showduplicates 
Last metadata expiration check: 5:22:55 ago on Mon 24 May 2021 09:44:26 AM -05.
Installed Packages
libstdc++.x86_64                                                                   11.1.1-1.fc34                                                                     @updates
Available Packages
libstdc++.i686                                                                     11.0.1-0.3.fc34                                                                   fedora  
libstdc++.x86_64                                                                   11.0.1-0.3.fc34                                                                   fedora  
libstdc++.i686                                                                     11.1.1-1.fc34                                                                     updates 
libstdc++.x86_64                                                                   11.1.1-1.fc34                                                                     updates 
[chris@f34 ~]$ 

from vm-fedora-34

[chris@fedora ~]$ dnf list libstdc++ --showduplicates 
Last metadata expiration check: 5:07:14 ago on Mon 24 May 2021 10:01:02 AM -05.
Installed Packages
libstdc++.x86_64                                                                   11.1.1-1.fc34                                                                     @updates
Available Packages
libstdc++.i686                                                                     11.0.1-0.3.fc34                                                                   fedora  
libstdc++.x86_64                                                                   11.0.1-0.3.fc34                                                                   fedora  
libstdc++.i686                                                                     11.1.1-1.fc34                                                                     updates 
libstdc++.x86_64                                                                   11.1.1-1.fc34                                                                     updates 
[chris@fedora ~]$

Comment 10 christianbueno 2021-05-24 20:11:47 UTC
There no exists ~/.config/blender directory in my host pc

Comment 11 christianbueno 2021-05-24 20:16:23 UTC
Created attachment 1786648 [details]
blender in a vm fedora 34 gnome-boxes, runs ok

Comment 12 Luya Tshimbalanga 2021-05-24 22:05:41 UTC
(In reply to christianbueno from comment #9)
> from my host f34
> 
> [chris@f34 ~]$ dnf list libstdc++ --showduplicates 
> Last metadata expiration check: 5:22:55 ago on Mon 24 May 2021 09:44:26 AM
> -05.
> Installed Packages
> libstdc++.x86_64                                                            
> 11.1.1-1.fc34                                                               
> @updates
> Available Packages
> libstdc++.i686                                                              
> 11.0.1-0.3.fc34                                                             
> fedora  
> libstdc++.x86_64                                                            
> 11.0.1-0.3.fc34                                                             
> fedora  
> libstdc++.i686                                                              
> 11.1.1-1.fc34                                                               
> updates 
> libstdc++.x86_64                                                            
> 11.1.1-1.fc34                                                               
> updates 
> [chris@f34 ~]$ 
> 

I can see you have the latest libstdc++ installed. As Blender runs fine on VM, it appears the issue seems unrelated to Blender as seen on the terminal. I suggest to 
"dnf autoremove blender" and then install again.

Comment 13 christianbueno 2021-05-25 02:45:03 UTC
Thanks.
I have switched the driver from nouveau to nvidia of RPM Fusion. Crossing fingers that the rebuild of nvidia kmod with the kernel 5.12.5 be successful.
Graphic card: GeForce GT610
steps:
>sudo dnf remove blender
>sudo dnf up
>sudo dnf install xorg-x11-drv-nvidia-390xx akmod-nvidia-390xx
>sudo systemctl reboot

And reinstall blender and run it
>sudo dnf install blender
>blender
Now blender runs perfect.

Comment 14 christianbueno 2021-05-25 02:49:23 UTC
Created attachment 1786692 [details]
running blender from terminal

The rebuild was successful.
The pc is using nvidia drivers from RPM Fusion.

[chris@f34 ~]$ glxinfo |grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 610/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.143
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 390.143
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.143
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
[chris@f34 ~]$

Comment 15 Luya Tshimbalanga 2021-05-25 06:26:00 UTC
Glad to read Blender is working fine on your hardware. I realized I missed the nouveau driver which explains the libstc++. 
In that case, either assign the bug to Nouveau driver team, open a separate bug or close it as WORKSFORME.

Comment 16 Luya Tshimbalanga 2021-05-26 02:26:36 UTC
Assigning this report to Nouveau team so they can address the driver issue.

Comment 17 christianbueno 2021-06-09 22:53:49 UTC
Hello pals problem persist.
xorg-x11-drv-nouveau.x86_64 , version 1:1.0.17-1.fc34
graphic card: GeForce GT 610
kernel version 5.12.9-300.fc34.x86_64
fedora 34 workstation

Error in terminal
[chris@fedora ~]$ blender
/usr/include/c++/11/bits/stl_deque.h:1328: std::deque<_Tp, _Alloc>::reference std::deque<_Tp, _Alloc>::operator[](std::deque<_Tp, _Alloc>::size_type) [with _Tp = nv50_ir::ValueRef; _Alloc = std::allocator<nv50_ir::ValueRef>; std::deque<_Tp, _Alloc>::reference = nv50_ir::ValueRef&; std::deque<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)
[chris@fedora ~]$

Comment 18 Luya Tshimbalanga 2021-06-09 23:57:45 UTC
Could you test "sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-95e340dc3d" and see if the issue gets resolved?

Comment 19 christianbueno 2021-06-14 20:36:54 UTC
ok, I read this post. 
https://www.reddit.com/r/Fedora/comments/7muszm/three_questions_about_fedora_updatestesting/

Now i am feel more secure about what i will do.
I will write about if the issue is resolved with that updates.

Comment 20 christianbueno 2021-06-14 20:46:52 UTC
I realized that the post is about a 
install a package 
not about
install an upgrade of the system.
Then , can we use a f34 bootable usb ?  and to be able to test there.

Comment 21 christianbueno 2021-06-15 05:32:46 UTC
I read this for more information on how to test updates.
https://fedoraproject.org/wiki/QA:Updates_Testing

Comment 22 christianbueno 2021-06-15 05:40:13 UTC
Hello the problem persist.
Using nouveau.
I do ran the commands
sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-95e340dc3d
then installed blender
sudo dnf install blender

message in terminal
[chris@f34 ~]$ blender
Color management: using fallback mode for management
Color management: Error could not find role data role.
Color management: scene view "Filmic" not found, setting default "Standard".
/usr/include/c++/11/bits/stl_deque.h:1328: std::deque<_Tp, _Alloc>::reference std::deque<_Tp, _Alloc>::operator[](std::deque<_Tp, _Alloc>::size_type) [with _Tp = nv50_ir::ValueRef; _Alloc = std::allocator<nv50_ir::ValueRef>; std::deque<_Tp, _Alloc>::reference = nv50_ir::ValueRef&; std::deque<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)
[chris@f34 ~]$

I do work using rpmfusion nvidia drivers.

Comment 23 christianbueno 2021-06-15 05:41:53 UTC
I means blender do works using rpmfusion nvidia driver

Comment 24 Ben Cotton 2022-05-12 16:51:18 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 25 Ben Cotton 2022-06-08 06:22:29 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.