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 4.0 Crash if i use the dedicated gpu on a laptop #56164

Closed
Mikadini opened this issue Dec 22, 2021 · 13 comments
Closed

Godot 4.0 Crash if i use the dedicated gpu on a laptop #56164

Mikadini opened this issue Dec 22, 2021 · 13 comments

Comments

@Mikadini
Copy link

Godot version

v4.0.dev.20211210.official.21b81998b

System information

Winwos 10, Ryzen 9 5900hx, 32gb ram, 1tb m2 3.0, 3080 max-q 115w

Issue description

If i connect an external monitor or if i use the 3080 on my laptop, godot doesn't start and crash with this error: "vkEnumeratePhysicalDevices reported zero accessible devices.".

The only way to use godot 4.0 on my laptop is when i use it only with the internal monitor and with the integrated gpu (vega).

Steps to reproduce

Simply start godot 4.0 on a notebook without using the integrated gpu.

Minimal reproduction project

No response

@Calinou
Copy link
Member

Calinou commented Dec 22, 2021

Related to #54962. This may be fixed by #55020 – could you build https://github.com/bruvzg/godot/tree/vlk_device_surface_check from source to test it? See compiling instructions here: https://docs.godotengine.org/en/latest/development/compiling/index.html

@Mikadini
Copy link
Author

Mikadini commented Dec 24, 2021

Related to #54962. This may be fixed by #55020 – could you build https://github.com/bruvzg/godot/tree/vlk_device_surface_check from source to test it? See compiling instructions here: https://docs.godotengine.org/en/latest/development/compiling/index.html

sry at this moment, i have only the office pc and i can't install too many things on it ):

@Mikadini
Copy link
Author

Mikadini commented Dec 25, 2021

Related to #54962. This may be fixed by #55020 – could you build https://github.com/bruvzg/godot/tree/vlk_device_surface_check from source to test it? See compiling instructions here: https://docs.godotengine.org/en/latest/development/compiling/index.html

sry at this moment, i have only the office pc and i can't install too many things on it ):

in any case i will try every new godot 4.0 version i will found on this link: https://downloads.tuxfamily.org/godotengine/testing/4.0/ and if sometime the bug will fix i will close and update this issue

@nabfrew
Copy link
Contributor

nabfrew commented Jan 16, 2022

I'm having the same issue, but it doesn't work on the laptop's internal monitor either. I don't know how to set what GPU it should use, but I can try to tinker with that if it helps.

It worked yesterday fine. Looks like there were some automatic updates today, probably has something to do with it?

RecentUpdates

Godot version v4.0.dev.20220105.official.8f6cba3a4
Windows 10, AMD Ryzen 7 4800H with Radeon Graphics, 16,0 GB (15,4 GB usable)

@nabfrew
Copy link
Contributor

nabfrew commented Jan 22, 2022

Update: Building from source, or the latest build, Godot_v4.0-dev.20220118_win64, I get this:
Capture

I can't find any GPU setting that makes it work. I don't know what I'm doing with this, but these are the options I've tinkered with, I've tried everything...

image

Also, if it's relevant, when I go back to earlier 4.0 versions (e.g. from December) I get the same result.

@nabfrew
Copy link
Contributor

nabfrew commented Jan 22, 2022

...and another update:

This workaround worked for me: #45104 (comment)

@Mikadini
Copy link
Author

Mikadini commented Feb 9, 2022

I try the last alpha 2 of godot 4 and the issue is still here

@bruvzg
Copy link
Member

bruvzg commented Feb 16, 2022

Are integrated GPU drivers up to date? It might be related to this driver bug: GPUOpen-Drivers/AMDVLK#195, KhronosGroup/Vulkan-Loader#552

@Mikadini
Copy link
Author

Mikadini commented Apr 4, 2022

I have try to update all driver, i always set the dedicated gpu to be the use for godot, and i always have the same error. i try all the alpha version. i will continue to try all new versions and if the problem will be solved i will instantly update this tread.

@Calinou
Copy link
Member

Calinou commented Apr 4, 2022

@Mikadini Try switching the default graphics adapter (or the graphics adapter for the Godot executable) in the Windows control panel, not the NVIDIA Control Panel. Apparently, the NVIDIA Control Panel's graphics adapter switch is ignored on recent Windows 10 versions and Windows 11.

@Mikadini
Copy link
Author

Mikadini commented Apr 6, 2022

@Mikadini Try switching the default graphics adapter (or the graphics adapter for the Godot executable) in the Windows control panel, not the NVIDIA Control Panel. Apparently, the NVIDIA Control Panel's graphics adapter switch is ignored on recent Windows 10 versions and Windows 11.

every version i tryed (today i try the alpha6 i always do both nvidia and windows gpu setting. i always try both 32 and 64bit of the exe. For now godot 4.0 has never work on my machine exept if i go only on the laptop monitor and use the nvidia optimus integrated output.

@ChristianB84
Copy link

This looks very similar to issue #57708.

@Calinou
Copy link
Member

Calinou commented Apr 11, 2022

Looking at OP's hardware configuration (AMD CPU + NVIDIA GPU), this is surely a duplicate of #57708. #57708 is newer, but I'll leave it open as it's more detailed.

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

6 participants