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

[RC2] Godot 4 is stopped when compatibility render is used in secondary Monitor #73434

Open
arisvaldez opened this issue Feb 16, 2023 · 6 comments

Comments

@arisvaldez
Copy link

arisvaldez commented Feb 16, 2023

Godot version

4.0 rc2 (Compatibility Render)

System information

Windows 10, RTX 2060 (526.98), i7 10th, Laptop
Laptop with hybrid graphics

Issue description

The issue happens when I use a secondary monitor and compatibility Render is used, others renders works fine in secondary monitor, in the main monitor all renders works fine.

when I push the button for new project at the project list then Godot is stopped.

the same behavior happens when I run the game.

note: the same thing happens in the 3.5.x editor, with OpenGL 2 and 3, but I don't know if I need to open a new issue for this

Project List Seconday Monitor

rc2- compatibility mode, push play button

Steps to reproduce

At Project List

  1. Open the Godot engine rc2
  2. put the project list at secondary monitor
  3. push new project button

Inside Game Editor

  1. with game open in editor, move the window to secondary monitor
  2. inside editor change the render to compatibility option
  3. push run game button / run escene button

Minimal reproduction project

compatility issue.zip

@arisvaldez arisvaldez changed the title Godot RC2 is stopped when compatibility renderis used in secondary Monitor Godot RC2 is stopped when compatibility render is used in secondary Monitor Feb 16, 2023
@arisvaldez arisvaldez changed the title Godot RC2 is stopped when compatibility render is used in secondary Monitor [RC2] Godot 4 is stopped when compatibility render is used in secondary Monitor Feb 16, 2023
@Calinou
Copy link
Member

Calinou commented Feb 16, 2023

Are you using a laptop with hybrid graphics, or is this a desktop machine?

@clayjohn
Copy link
Member

Also, is the secondary monitor connected directly to your computer, or are you using a dock?

@arisvaldez
Copy link
Author

Are you using a laptop with hybrid graphics, or is this a desktop machine?

Laptop With Hybrid graphics

@arisvaldez
Copy link
Author

Also, is the secondary monitor connected directly to your computer, or are you using a dock?

I have 2 secondary monitors, connected directly to my computer, and is the same for each monitor.

but this only happens when i use compatibility mode, mobile and foward works fine

@clayjohn
Copy link
Member

Also, is the secondary monitor connected directly to your computer, or are you using a dock?

I have 2 secondary monitors, connected directly to my computer, and is the same for each monitor.

but this only happens when i use compatibility mode, mobile and foward works fine

The difference between gl_compatibility mode and Mobile/Forward+ is that with Mobile/Forward+ Godot gets to choose what GPU to use while with the gl_compatibility mode Godot just gets whatever GPU it is given.

For some reason your GPU drivers are assigning the wrong GPU when using the secondary monitors. Have you tried updating the GPU drivers for both your integrated GPU and your dedicated GPU?

If that doesn't work, can you also try forcing your computer to run Godot using the dedicated GPU?

@arisvaldez
Copy link
Author

Also, is the secondary monitor connected directly to your computer, or are you using a dock?

I have 2 secondary monitors, connected directly to my computer, and is the same for each monitor.
but this only happens when i use compatibility mode, mobile and foward works fine

The difference between gl_compatibility mode and Mobile/Forward+ is that with Mobile/Forward+ Godot gets to choose what GPU to use while with the gl_compatibility mode Godot just gets whatever GPU it is given.

For some reason your GPU drivers are assigning the wrong GPU when using the secondary monitors. Have you tried updating the GPU drivers for both your integrated GPU and your dedicated GPU?

If that doesn't work, can you also try forcing your computer to run Godot using the dedicated GPU?

I updated both drivers, and configure the NVidia Control panel For run Godot With the Dedicated Graphics Card,

but happens the same.

no-error-showing

nvidiaControlPanel

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

3 participants