Crash in Godot Engine with GT 1030 (regression from 450.66)

Hi,

Multiple Godot Engine users have reported crashes with GT 1030 after updating to drivers 450.66.

The crash happens during GL initialization, in a call to glFramebufferTexture2D while creating cubemap framebuffers.

The issue doesn’t occur anymore after downgrading to drivers 440.xx.

Here’s the ticket in our tracker:
https://github.com/godotengine/godot/issues/41972

You can reproduce the issue by running the current stable version of Godot:
https://downloads.tuxfamily.org/godotengine/3.2.3/Godot_v3.2.3-stable_x11.64.zip

Best,
Camille

For those in need of more details here’s the logs of one of the systems with this issue:
nvidia-bug-report.sh log part (full log attached):
– Logs begin at Wed 2020-08-26 15:08:27 -03, end at Thu 2020-09-24 12:06:21 -03. –
Sep 24 12:05:48 ThinkTherforeExists systemd-coredump[1802]: Process 1767 (Godot_v3.2.3-st) of user 1000 dumped core.

                                                        Stack trace of thread 1767:
                                                        #0  0x00007f143cf49615 raise (libc.so.6 + 0x3d615)
                                                        #1  0x00007f143cf32862 abort (libc.so.6 + 0x26862)
                                                        #2  0x0000000002991113 n/a (/home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64 + 0x2591113)
                                                        #3  0x00007f143cf496a0 __restore_rt (libc.so.6 + 0x3d6a0)
                                                        #4  0x00007f143a767365 n/a (libnvidia-glcore.so.450.66 + 0xee6365)
                                                        #5  0x00007f143a7685fc n/a (libnvidia-glcore.so.450.66 + 0xee75fc)
                                                        #6  0x00007f143a387282 n/a (libnvidia-glcore.so.450.66 + 0xb06282)
                                                        #7  0x00007f143a3874fd n/a (libnvidia-glcore.so.450.66 + 0xb064fd)
                                                        #8  0x00007f143a389f2c n/a (libnvidia-glcore.so.450.66 + 0xb08f2c)
                                                        #9  0x00000000023b80de n/a (/home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64 + 0x1fb80de)
                                                        #10 0x00000000023ba75b n/a (/home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64 + 0x1fba75b)
                                                        #11 0x000000000695e4e0 n/a (n/a + 0x0)

And here’s the application’s log:

[yerba@ThinkTherforeExists Godot]$ OpenGL ES 3.0 Renderer: GeForce GT 1030/PCIe/SSE2
handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on Issues · godotengine/godot · GitHub
[1] /usr/lib/libc.so.6(+0x3d6a0) [0x7f143cf496a0] (??:0)
[2] /usr/lib/libnvidia-glcore.so.450.66(+0xee6365) [0x7f143a767365] (??:0)
[3] /usr/lib/libnvidia-glcore.so.450.66(+0xee75fc) [0x7f143a7685fc] (??:0)
[4] /usr/lib/libnvidia-glcore.so.450.66(+0xb06282) [0x7f143a387282] (??:0)
[5] /usr/lib/libnvidia-glcore.so.450.66(+0xb064fd) [0x7f143a3874fd] (??:0)
[6] /usr/lib/libnvidia-glcore.so.450.66(+0xb08f2c) [0x7f143a389f2c] (??:0)
[7] /home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64() [0x23b80de] (:?)
[8] /home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64() [0x23ba75b] (:?)
[9] /home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64() [0x10163b4] (:?)
[10] /home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64() [0x2a834fb] (:?)
[11] /home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64() [0x86029d] (??:?)
[12] /usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f143cf34152] (??:0)
[13] /home/yerba/0Programs/Godot/Godot_v3.2.3-stable_x11.64() [0x86b68e] (??:?)
– END OF BACKTRACE –

nvidia-bug-report.log.gz (283.5 KB)