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
Crash on startup when second monitor is connected to a USB dock #44778
Comments
Can you get a backtrace from a debug build? You can find precompiled debug builds here. To get the backtrace, run the Godot binary from a terminal and look at the output when it crashes. |
Here it is:
|
@DCamoz Does it work better if you force Godot to run on the IGP (right-click the executable and choose Run with graphics processor > Integrated graphics)? Or force it to run on the NVIDIA graphics card? |
I didn't have the context menu option, but I set the GPU through Settings > Display > Graphics Settings, selecting the executable and choosing the Integrated card. With the Intel card it worked fine, it started up successfully and I was able to create a new project and go into the editor. Forcing to run on the NVIDIA card, it still crashes. |
Can you reproduce this issue with other 3D applications such as Blender or games? |
I have not had any issues except for one game (Battle Brothers). I just tested with Unity (it works) and Blender (it crashes). When I check the display adapter assigned to each screen, I get "Intel UHD Graphics 630" on the laptop screen and on a monitor connected to the HDMI port on the laptop itself, and "DisplayLink USB Device" on a monitor connected to the USB dock. Doing some more digging / testing, I found a work-around. I can launch Godot with a monitor connected to the dock if I set the "main display" to either the main laptop screen, or to a monitor connected to the HDMI on the laptop itself. To change the main display: Settings > System > Display, select the monitor, check "Make this my main display". After that, I can move Godot (with the editor open) to any screen without any issues. This also allows me to launch Blender and Battle Brothers. This solves my immediate issue, but it would be interesting to find out why it crashes if the main display is connected to the dock, if for no other reason than to point to this work-around. |
I'm wondering if it might be related to: #20566 Is there reliance somewhere on always correct results from the OS polling of USB devices? |
When starting Godot when my USB-HDMI Adapter (JUA350) is plugged in, Godot instantly crashes. Only "Godot Engine v3.4.2.stable.official.45eaa2daf - https://godotengine.org" is printed in the console. Windows 10 Pro |
Godot version:
v3.2.3 (Godot_v3.2.3-stable_win64.exe)
OS/device including version:
Windows 10 Version 2004
Intel UHD Graphics 630 / GeForce GTX 1650 (on a laptop)
Dell Universal Dock D6000
Issue description:
Godot crashes on startup when a second monitor is connected through a Dell USB-C dock. Running Godot from the command prompt, it crashes without any errors.
Other things I have tried:
Steps to reproduce:
Have a monitor connected through the USB dock, start Godot.
The text was updated successfully, but these errors were encountered: