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

D3D9 removal? #19949

Open
hrydgard opened this issue Feb 4, 2025 · 8 comments · May be fixed by #19951
Open

D3D9 removal? #19949

hrydgard opened this issue Feb 4, 2025 · 8 comments · May be fixed by #19951
Labels
D3D9 Direct3D 9
Milestone

Comments

@hrydgard
Copy link
Owner

hrydgard commented Feb 4, 2025

As of now, the minimum Windows version for PPSSPP is Windows 7.

This version of Windows supports DX11, and therefore, there really isn't much reason to keep around the DirectX 9 backend.

Or is there? Does anyone know something that still works better or faster on DX9?

@anr2me
Copy link
Collaborator

anr2me commented Feb 4, 2025

Btw, does old GPU that only support up to D3D9 features can works with DX11 library?

@LunaMoo
Copy link
Collaborator

LunaMoo commented Feb 5, 2025

Nope. But dx9 was always about old (discontinued?) xbox port and some really ancient integrated intel chips which had support of d3d9, but somehow failed to support open gl at all or was really slow using it.
People that use such outdated hardware (it was already outdated and rare back when d3d9 backend was added many years ago) really doesn't benefit from software updates, often stick to some oudated version that gave them most fps anyway.

Pretty sure if someone would be against removing it, it would only be for some obscure case of using d3d9.dll as the most popular injector for some weird mods or some driver hacks only viable in that outdated api, but even within modding community it's no longer used for anything new since d3d9 is pretty dead, some gpu's (intel I guess) no longer even support it natively.

@wmjb
Copy link

wmjb commented Feb 5, 2025

why remove it, why not just leave it in unmaintained?

@hrydgard
Copy link
Owner Author

hrydgard commented Feb 5, 2025

why remove it, why not just leave it in unmaintained?

Well, it adds a little extra burden when working on some types of rendering code, to have to update four backends instead of three. Plus, sometimes it needs specific workarounds.

@hrydgard hrydgard added this to the v1.19.0 milestone Feb 5, 2025
@hrydgard hrydgard linked a pull request Feb 5, 2025 that will close this issue
@hrydgard
Copy link
Owner Author

hrydgard commented Feb 5, 2025

Did it as an experiment in #19951, that's quite a lot of deleted code..

@hrydgard
Copy link
Owner Author

hrydgard commented Feb 6, 2025

Holding off until 1.19, but after that it goes in.

Post-1.19 will also drop support for the very oldest Android devices, since we need to build it with a newer SDK to support #19658 .

@jcchikikomori
Copy link
Contributor

I think OpenGL can render better than DX9, and it's more documented than that nowadays..
I have tested that renderer back then and i see no difference of using it, excepts it crashes more often than DX11.

@hrydgard hrydgard added the D3D9 Direct3D 9 label Feb 7, 2025
@NABN00B
Copy link
Contributor

NABN00B commented Feb 8, 2025

As of now, the minimum Windows version for PPSSPP is Windows 7.

Since when exactly? Would be great to document on the website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D3D9 Direct3D 9
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants