Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot crashes on Linux with Nvidia GT 1030 [regression from drivers 450.66] #41972

Closed
ottolulau opened this issue Sep 11, 2020 · 16 comments
Closed

Comments

@ottolulau
Copy link

I was told to post this here on the godot forums.

Godot version:
3.2.2 64bit (the official release, both standard and mono version)

OS/device including version:
Manjaro linux
nvidia geforce gt 1030 with the nvidia 450.66-6 drivers

Issue description:
On loading any project, godot crashes, with the following terminal output.

Godot Engine v3.2.2.stable.official - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce GT 1030/PCIe/SSE2

Editing project: /home/my username/Godot-games/B
(::home::my username::Godot-games::B)
Godot Engine v3.2.2.stable.official - https://godotengine.org

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 https://github.com/godotengine/godot/issues
[1] /usr/lib/libc.so.6(+0x3d6a0) [0x7fabb38716a0] (??:0)
[2] /usr/lib/libnvidia-glcore.so.450.66(+0xee6365) [0x7fabb103a365] (??:0)
[3] /usr/lib/libnvidia-glcore.so.450.66(+0xee75fc) [0x7fabb103b5fc] (??:0)
[4] /usr/lib/libnvidia-glcore.so.450.66(+0xb06282) [0x7fabb0c5a282] (??:0)
[5] /usr/lib/libnvidia-glcore.so.450.66(+0xb064fd) [0x7fabb0c5a4fd] (??:0)
[6] /usr/lib/libnvidia-glcore.so.450.66(+0xb08f2c) [0x7fabb0c5cf2c] (??:0)
[7] /home/my username/Godot_v3.2.2-stable_x11.64() [0x239ee5e] (:?)
[8] /home/my username/Godot_v3.2.2-stable_x11.64() [0x23a14db] (:?)
[9] /home/my username/Godot_v3.2.2-stable_x11.64() [0x100f2c4] (:?)
[10] /home/my username/Godot_v3.2.2-stable_x11.64() [0x2a6ad9d] (:?)
[11] /home/my username/Godot_v3.2.2-stable_x11.64() [0x85b675] (??:?)
[12] /usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7fabb385c152] (??:0)
[13] /home/my username/Godot_v3.2.2-stable_x11.64() [0x86695e] (??:?)
-- END OF BACKTRACE --

Steps to reproduce:
/

Minimal reproduction project:
/

@akien-mga
Copy link
Member

akien-mga commented Sep 11, 2020

Likely the same Nvidia driver bug as #41742.
Edit: Or maybe not, as in #41742 the user writes a custom shader that triggers that bug.

@akien-mga
Copy link
Member

Does it work if you start with godot --video-driver GLES (or create a new project using GLES2, if the project manager is working for you)?

Can you try to build the 3.2 branch from source with a target=debug build? That should give a better backtrace (for the Godot code at least).

@akien-mga
Copy link
Member

Nvidia 450.66 seems to be the most up-to-date driver currently, but it was still in Beta a few weeks back. Does Manjaro still provide the previous 440 long-lived branch, and if so does Godot work if you roll back to 440?

@ottolulau
Copy link
Author

ottolulau commented Sep 11, 2020

neither "godot --video-driver GLES3" nor "godot --video-driver GLES2" changes the behaviour at all.
I'll try it with 440.

Edit:
Rolling back to 440 eliminates the problem.
I can still try building from source with target=debug if you want me to, I'll see if I can do it tomorrow.

@Riteo
Copy link
Contributor

Riteo commented Sep 12, 2020

Welp, I really hope that we do not have another bug in 450.66.
@ottolulau could you give the backtrace from a debug build as @akien-mga said? That would be very useful to know what makes the editor crash, and if it's the same reason of another issue.

@Calinou
Copy link
Member

Calinou commented Sep 12, 2020

See also #41614, which is about a NVIDIA driver regression as well.

@ottolulau
Copy link
Author

Okay. Should I do this with the up-to-date build, or the 3.2.2 release?

@Riteo
Copy link
Contributor

Riteo commented Sep 12, 2020

@akien-mga refers to the 3.2 branch, so I guess the latest 3.2 version from git

@ottolulau
Copy link
Author

ottolulau commented Sep 12, 2020

Alright, here you go. Bug persists. (with the 450 driver)
Same thing with --video-driver GLES2.

~/.../godot-3.2/bin >>> ./godot.x11.tools.64

Godot Engine v3.2.3.rc.custom_build - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce GT 1030/PCIe/SSE2

Editing project: /home/myusername/Godot-games/A (::home::myusername::Godot-games::A)
Godot Engine v3.2.3.rc.custom_build - https://godotengine.org
~/.../godot-3.2/bin >>> 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 https://github.com/godotengine/godot/issues
[1] /usr/lib/libc.so.6(+0x3d6a0) [0x7f154af0c6a0] (??:0)
[2] /usr/lib/libnvidia-glcore.so.450.66(+0xee6365) [0x7f154311d365] (??:0)
[3] /usr/lib/libnvidia-glcore.so.450.66(+0xee75fc) [0x7f154311e5fc] (??:0)
[4] /usr/lib/libnvidia-glcore.so.450.66(+0xb06282) [0x7f1542d3d282] (??:0)
[5] /usr/lib/libnvidia-glcore.so.450.66(+0xb064fd) [0x7f1542d3d4fd] (??:0)
[6] /usr/lib/libnvidia-glcore.so.450.66(+0xb08f2c) [0x7f1542d3ff2c] (??:0)
[7] RasterizerSceneGLES3::initialize() (/home/myusername/godot-3.2/drivers/gles3/rasterizer_scene_gles3.cpp:5092)
[8] RasterizerGLES3::initialize() (/home/myusername/godot-3.2/drivers/gles3/rasterizer_gles3.cpp:193 (discriminator 4))
[9] VisualServerRaster::init() (/home/myusername/godot-3.2/servers/visual/visual_server_raster.cpp:139)
[10] VisualServerWrapMT::init() (/home/myusername/godot-3.2/servers/visual/visual_server_wrap_mt.cpp:124)
[11] OS_X11::initialize(OS::VideoMode const&, int, int) (/home/myusername/godot-3.2/platform/x11/os_x11.cpp:594)
[12] Main::setup2(unsigned long) (/home/myusername/godot-3.2/main/main.cpp:1263)
[13] Main::setup(char const*, int, char**, bool) (/home/myusername/godot-3.2/main/main.cpp:1207)
[14] /home/myusername/godot-3.2/bin/godot.x11.tools.64(main+0xe1) [0x14226c7] (/home/myusername/godot-3.2/platform/x11/godot_x11.cpp:49)
[15] /usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f154aef7152] (??:0)
[16] /home/myusername/godot-3.2/bin/godot.x11.tools.64(_start+0x2e) [0x142252e] (??:?)
-- END OF BACKTRACE --

@cassioraposa
Copy link

Same issue here, exactly the same setup (GT 1030), no idea how to deal with it. Reverting to the version 440 of the driver is easy and for now it's my workaround.

@Calinou Calinou added the crash label Sep 23, 2020
@akien-mga akien-mga changed the title Godot crashes on loading any project - manjaro linux Godot crashes on Linux with Nvidia GT 1030 [regression from drivers 450.66] Sep 24, 2020
@akien-mga akien-mga added this to the 3.2 milestone Sep 24, 2020
@pouleyKetchoupp
Copy link
Contributor

pouleyKetchoupp commented Sep 24, 2020

Could you please try and run nvidia-bug-report.sh with 450.66 drivers enabled and provide me with the generated nvidia-bug-report.log.gz file?
Instructions are here: https://forums.developer.nvidia.com/t/if-you-have-a-problem-please-read-this-first/27131

It will help with reporting the issue to nvidia.
edit: Ticket upstream: https://forums.developer.nvidia.com/t/crash-in-godot-engine-with-gt-1030-regression-from-450-66/155217

@cassioraposa
Copy link

cassioraposa commented Sep 24, 2020

@pouleyKetchoupp Sure, my pleasure. I just submitted the data to the nvidia ticketed you linked to =]

@SoapSpangledGames
Copy link

I had the exact same problem, but letting Kubuntu's Driver Manager install version 455 solved it.

@akien-mga akien-mga modified the milestones: 3.2, 3.3 Mar 17, 2021
@akien-mga akien-mga modified the milestones: 3.3, 3.5 Oct 25, 2021
@akien-mga
Copy link
Member

Is this still reproducible with latest Nvidia drivers?

@Calinou
Copy link
Member

Calinou commented Dec 14, 2021

I'll close this as nobody else has been able to reproduce this recently. Please comment (with the issue template filled) if you can still reproduce this.

@Calinou Calinou removed this from the 3.5 milestone Dec 14, 2021
@Riteo
Copy link
Contributor

Riteo commented Dec 14, 2021

@Calinou I think you forgot to close the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants