Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Correction: osu! uses OpenGL and not DirectX #8

Closed
aidswidjaja opened this issue Dec 15, 2021 · 3 comments
Closed

Correction: osu! uses OpenGL and not DirectX #8

aidswidjaja opened this issue Dec 15, 2021 · 3 comments

Comments

@aidswidjaja
Copy link
Owner

A previous version of issues/graphics incorrectly stated that:

Wine doesn’t support Compatibility Mode (aka osu!fallback) since it relies on OpenGL, whereas standard osu! uses DirectX. If you look in the logs, you may notice that osu! will be unable to find an OpenGL file.

This is incorrect. osu! actually uses OpenGL, and will only use DirectX for Compatibility Mode (probably to enable usage with the Microsoft Basic Display Adapter) - this change was made around 2015/16. OpenGL will have better performance under WINE as WINE will not need to translate OpenGL draws to DirectX draws.

image

While researching this issue online, I realised that the suggested Google answer... came from osu!mac itself. Oops~

image

@aidswidjaja aidswidjaja pinned this issue Dec 15, 2021
@aidswidjaja
Copy link
Owner Author

It probably makes sense that osu! Wineskins crash under DX since dx3dx9 winetricks aren't included.

@aidswidjaja
Copy link
Owner Author

For me to laugh at later:

> user reports issue with osu! on macOS 10.14.6
> I go to bug the upstream maintainers about it
> I start writing... "the app in question is osu!. It runs on DirectX—"
> pauses writing, then gives it a thought
> "Wait, if Wine is OpenGL based, then why does osu! compatibility mode fail if that's supposed to be OpenGL based too"
> "Wait, how is osu! running if dx3d9 isn't there... wait how come we've never had a dx3d9 issue before?"
> "Maybe Compatibility Mode isn't OpenGL based"
> googles it
> is osu! openGL
> [literally osu!mac is the response]
> uses every other website
> [osu! moved to OpenGL away from DirectX completely]
> ahhhh I messed up

@aidswidjaja
Copy link
Owner Author

Looks like I was wrong again. Compatibility Mode doesn't use DirectX which has been purged from the game entirely. It uses ANGLE / OpenGL ES. This would explain OpenGL-related errors in Compatibility Mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant