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

Direct3D 9 does not display images of 3D games on Nvidia GPU #11638

Closed
teorex3 opened this issue Dec 4, 2018 · 13 comments
Closed

Direct3D 9 does not display images of 3D games on Nvidia GPU #11638

teorex3 opened this issue Dec 4, 2018 · 13 comments
Labels
D3D9 Direct3D 9
Milestone

Comments

@teorex3
Copy link

teorex3 commented Dec 4, 2018

I have a graphical issues after implementing vertex range culling #11393

Tested on:
ppsspp-v1.6.3-472 - working OK
ppsspp-v1.6.3-478 - NOT working
ppsspp-v1.7.4 - NOT working

GPU: Nvidia 7600 GT

ppsspp v1-7-4 - npuh10125 - final fantasy iii

maybe this is help too?..
#11477 (comment)

@hrydgard
Copy link
Owner

hrydgard commented Dec 4, 2018

Strange. I guess we'll have to turn it off on older NVIDIAs as well indeed..

@hrydgard hrydgard added the D3D9 Direct3D 9 label Dec 4, 2018
@hrydgard hrydgard added this to the v1.8.0 milestone Dec 4, 2018
@hrydgard
Copy link
Owner

hrydgard commented Dec 6, 2018

@teorex3 But the menus work, right? If you go into Settings/Tools/System Information and look at the Vendor line, what does it say exactly? Would need to look there to detect old NVIDIAs in D3D9 I think...

@teorex3
Copy link
Author

teorex3 commented Dec 7, 2018

ppsspp v1-7-4 - npuh10125 - final fantasy iii
This report from OpenGL Extensions Viewer, also contains information about D3D:
report.txt

@hrydgard
Copy link
Owner

hrydgard commented Dec 7, 2018

Thanks, I'm gonna try to make something to detect old Geforces, working around this problem.

Anyway, any particular reason you're using D3D9? D3D11 should work better for you.

@teorex3
Copy link
Author

teorex3 commented Dec 7, 2018

One reason is no support D3D11 on NVIDIA 6xx, 7xx, if i run with D3D11 plugin, I get APPCRASH PPSSPPWindows.exe error.

@hrydgard
Copy link
Owner

hrydgard commented Dec 7, 2018

You mean 6xxx, 7xxx. But crashing is unexpected... Darn.

@unknownbrackets
Copy link
Collaborator

It probably means we're doing something that isn't supported on feature level 9? Could be npot textures or separate alpha blend at 9_1, even...?

Unfortunately, I don't have anything older than 8xxx.

Try turning off settings: hardware transform, hardware tessellation, anisotropic, maybe even skip buffer effects. If any of these help, it'll help us narrow down the cause.

-[Unknown]

@unknownbrackets
Copy link
Collaborator

It seems like we use ps_4_0_level_9_1 on D3D11 with < 9.3 support, but then try to use some higher level features anyway (like bitwise shader ops.) This appears to affect UWP.

-[Unknown]

@hrydgard
Copy link
Owner

@unknownbrackets We don't expose D3D11-feature-level-9 except on UWP, this is an issue about real D3D9 problems, so not related. But yes, we probably have a few cases like that...

@unknownbrackets
Copy link
Collaborator

I was referring to "if i run with D3D11 plugin, I get APPCRASH PPSSPPWindows.exe error."

I wonder though if setting w to 0 would more likely work. That it breaks rendering even that shouldn't be culled implies to me that it just has trouble because a nan is involved in the conditional.

-[Unknown]

@unknownbrackets
Copy link
Collaborator

Has this improved?

-[Unknown]

@teorex3
Copy link
Author

teorex3 commented Feb 8, 2019

yes it helped
ppsspp-v1.7.5-430 - working OK
GPU: Nvidia 7600 GT

@hrydgard
Copy link
Owner

hrydgard commented Feb 8, 2019

Thanks for testing!

@hrydgard hrydgard closed this as completed Feb 8, 2019
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

No branches or pull requests

3 participants