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

Shaders causing issues #55

Closed
Papermanzero opened this issue Mar 6, 2018 · 10 comments
Closed

Shaders causing issues #55

Papermanzero opened this issue Mar 6, 2018 · 10 comments

Comments

@Papermanzero
Copy link

What happens?
Use any kind of shader (opengl) in PPSSPP.
The screen becomes black and the menu becomes completely white.

What should happen?
Shader shall be applied. menu should be visible.

What hardware and operating system are you running PPSSPP on? GPU might matter if it's a graphical issue.
WIN10, GTX760

@ghost
Copy link

ghost commented Mar 8, 2018

Thanks for making this issue, seems impossible to use shaders with the ppsspp core at the moment, only a few works but only in windowed mode.

You can't seem to mix shaders either, just a black screen.

I really hope they can find out what's causing this because I don't remember the old ppsspp core based off 1.0.1 caused these shader issues.

@ghost
Copy link

ghost commented Mar 9, 2018

Well it works with hrydgard@7f30ab1 and RetroArch 1.7.1 on my end now.

@Papermanzero
Copy link
Author

Papermanzero commented Mar 9, 2018

Then someone has to merge the changes
@twinaphex
Could you merge the recent changes from ppsspp?

@ghost
Copy link

ghost commented Mar 9, 2018

I don't think that's necessary at all, just download http://buildbot.libretro.com/nightly/windows/x86_64/latest/ppsspp_libretro.dll.zip and you'll be fine.

I guess I was a little bit unclear with my previous answer, that commit is already in the core thats why it says "RetroArch PPSSPP 7f30ab1" in RetroArch.

I have gotten psp-color.glsl and motionblur-simple.glsl to work just fine, even combined.

@Papermanzero
Copy link
Author

I see. I thought the changes were made at ppsspp side due to your reference. So i will try it out :-)

@ghost
Copy link

ghost commented Mar 9, 2018

Been trying this out quite a lot now and the issue definitely seems to be completely gone at my end.

There was this minor visual glitch with Dracula X Chronicles at the title screen first, but it must have been temporary and have not came back since.

I only use psp-color and motionblur-simple anyway as you can tell from this .glslp shader preset:

shaders = "2"

shader0 = "shaders/motionblur-simple.glsl"
filter_linear0 = "true"
wrap_mode0 = "clamp_to_border"
mipmap_input0 = "false"
alias0 = ""
float_framebuffer0 = "false"
srgb_framebuffer0 = "false"
scale_type_x0 = "source"
scale_x0 = "2.000000"
scale_type_y0 = "source"
scale_y0 = "2.000000"

shader1 = "shaders/psp-color.glsl"
filter_linear1 = "true"
wrap_mode1 = "clamp_to_border"
mipmap_input1 = "false"
alias1 = ""
float_framebuffer1 = "false"
srgb_framebuffer1 = "false"
scale_type_x1 = "source"
scale_x1 = "1.000000"
scale_type_y1 = "source"
scale_y1 = "1.000000"

@Papermanzero
Copy link
Author

Only glsl is working. cg or slang still do not work.

@ghost
Copy link

ghost commented Mar 10, 2018

Apparently .cg do not support OpenGL 3.2 or higher contexts so that's probably the reason .cg shaders won't work with PPSSPP.

As for .slang shaders I have no idea why it do not work, I suppose .slang shaders is Vulcan related and I stay away from Vulcan in RetroArch.

But PPSSPP does have a Vulcan renderer so I don't know?

@Papermanzero
Copy link
Author

I close it because shaders are working with glsl

@ghost
Copy link

ghost commented Mar 12, 2018

Yeah I think that's the best thing to do at the moment and at least .glsl shaders work now.

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

No branches or pull requests

1 participant