Imgui: Cannot create window in Remote Desktop, works fine on home PC

Created on 11 Jan 2021  路  2Comments  路  Source: ocornut/imgui

Digging in a bit, this pixel format creation fails, and fails the rest of the process.
image

Like the title says, there is no issue whatsoever if I run the same code on my home PC, its just when running over remote desktop that window creation fails.

backenbinding

Most helpful comment

Bummer. Creating OpenGL context is not supported via Remote Desktop. There is nothing that ImGui can do with that.

As a workaround you may:

  • switch to Direct3D 11
  • drop Mesa3D software OpenGL32.dll next to your app until working on Remote Desktop
  • launch application using VNC (annoying, because close RD, launch VPN, launch app, close VPN, launch RD)

All 2 comments

Bummer. Creating OpenGL context is not supported via Remote Desktop. There is nothing that ImGui can do with that.

As a workaround you may:

  • switch to Direct3D 11
  • drop Mesa3D software OpenGL32.dll next to your app until working on Remote Desktop
  • launch application using VNC (annoying, because close RD, launch VPN, launch app, close VPN, launch RD)

Closing as answered.
Not sure there's something we can do on our side, if you think there is let us know.

Was this page helpful?
0 / 5 - 0 ratings