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

[Bug]: OpenGL #289

Open
nevespt opened this issue Feb 7, 2025 · 6 comments
Open

[Bug]: OpenGL #289

nevespt opened this issue Feb 7, 2025 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@nevespt
Copy link

nevespt commented Feb 7, 2025

Which OS?

Win11 Pro

Which release?

24H2

Describe the bug

When running balatro it shows me this when the vdd Beta is the only active on on Win11:

Image

Im on a AMD Radeon™ RX 6950 XT

Steps to reproduce

  1. Just enable the Vdd as the only display.
  2. Run balatro or any OpenGL app

Expected behavior

No response

Log File

No response

Contact Details

No response

@nevespt nevespt added the bug Something isn't working label Feb 7, 2025
@zjoasan
Copy link
Member

zjoasan commented Feb 7, 2025

In short there is only support for DirectX as of now, there has been talks about openGL/vulcan. But's it's still on the drawing table.

@JonSnow88
Copy link

so no opengl/vulkan games will work?

@zjoasan
Copy link
Member

zjoasan commented Feb 10, 2025

There is no dedicated support for OpenGL or Vulcan, but a lot of that "just works". And if I remember correctly, in dx12 there are some translation layers to make it work even better "seamlessly". But things like demand OpenGL or Vulcan unique stuff wont work.

Like checking if the display adapter has OpenGL, well it doesn't right now, Or if the game ask for supports some Vulcan DRM protocol from the display adapter, it doesn't support that either. We have a display adapter in VDD to connect the virtual display to, but it just have that function. The displays are then said to mirror the actual display of you real Display adapter (rtx2080 for example), which has support for most of these nice opengl/vulcan functions.

Guess what windows does when Display Adapter says, I got now screens? Do you think it tries put the games output to that adapter or a to an adapter that says I got 2 screens connected? I'm guessing you get a working game if you don't turn of the actual display?

@nevespt
Copy link
Author

nevespt commented Feb 13, 2025

I manage to get both OpenGL and Vulkan to work with the DirectX12.

We just need the OpenCL™, OpenGL®, and Vulkan® Compatibility Pack from microsoft itself.

@zjoasan can u update the Readme with this new information?

@zjoasan
Copy link
Member

zjoasan commented Feb 13, 2025

That information will be put there in a bit

@kinland
Copy link

kinland commented Feb 14, 2025

I manage to get both OpenGL and Vulkan to work with the DirectX12.

We just need the OpenCL™, OpenGL®, and Vulkan® Compatibility Pack from microsoft itself.

@zjoasan can u update the Readme with this new information?

Unfortunately, while this made the two games I was having issues with boot up, there's some weird graphical corruption, especially in the menus. So it is an imperfect workaround.

My best guess is it's converting coordinates incorrectly, since I'm seeing diagonal bands/lines of solid colors on part (not all) of the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants