glsl-shaders icon indicating copy to clipboard operation
glsl-shaders copied to clipboard

crt-geom black screen

Open Tatsuya79 opened this issue 7 years ago • 7 comments

crt-geom gives a black screen by default but changing some parameters in the preview settings makes it work. Saving a new preset with some changes gives a valid glslp.

Not sure what the problem is: some default values not applied?

Tatsuya79 avatar Jan 11 '18 23:01 Tatsuya79

Works fine here. What GPU are you testing on? It's probably related to a rounding issue with the curvature code.

Does it start working when you change any setting? Or just certain setting(s)?

hizzlekizzle avatar Jan 12 '18 02:01 hizzlekizzle

Nvidia and certain settings like curvature or tilting.

Tatsuya79 avatar Jan 12 '18 10:01 Tatsuya79

I too am running into a black screen when loading the crt-geom.glsl preset on any core.

System 1: Fails I am using NVIDIA GTX 770 with 391.01 drivers (supports OpenGL 4.3), on Windows 7 x64. Utilizing the OpenGL backend driver in Retroarch (version 1.7.1) This system is hooked up to a VIZIO 50" 4K TV (running at 1080p output) HDMI connection.

System 2: Works On another system it loads just fine. Same NVIDIA driver as before, but the card is a GTX 1070 (supports OpenGL 4.5), also on Windows 7 x64. Utilizing the OpenGL backend driver in Retroarch (version 1.7.1) This system is hooked up to an Acer 21" computer monitor (1080p output) DVI connection.

Let me know if I need to provide more information.

UPDATE: Using the CG Shader works on the System 1. Will be using that in the mean time.

Zenjir0 avatar Mar 02 '18 20:03 Zenjir0

Started experimenting with shaders recently and saw the same issues. like @Zenjir0 I'm running a GTX 1070 with the gl driver on Windows 10. CG Shader is working fine. Tried the GLSL shader (crt-royale) and tried to apply the geom mode (like in the CG shader) and saw a blank screen. I messed around the the horiz tilt parameter until I got something to display which worked to a point but as you can see from the images they're distorted so it looks like a rounding issue to me?

Album - here https://imgur.com/a/wXOzQgu

Geom mode 0, 1, 2 and 3.

No tweaks apart from 'tilt angle x' and I had to use a negative value to get anything to display. @hizzlekizzle could you take another look at this? I'd much rather use the glsl shaders over the cg ones. Anything I can do to help/test just let me know.

Ebsy avatar Apr 23 '19 21:04 Ebsy

An update on my research.

The System 1 setup is now functioning properly after a driver update. It's been over a year since I reported the issue and I guess NVIDIA fixed something that was wrong at the driver level. GLSL crt-geom shader is working fine now.

@Ebsy What is odd is that your GTX 1070 is the one that is failing while mine was the opposite. 1070 worked but the 770 failed.

Zenjir0 avatar Apr 23 '19 21:04 Zenjir0

@Ebsy oh, interesting. This issue is about the crt-geom shader, not crt-royale, but I'm very surprised that you were able to get anything out of those geom modes! I thought they were just straight-up broken and had no idea where to even begin, but it seems like I was closer than I thought. I might be able to work with this!

hizzlekizzle avatar Apr 24 '19 00:04 hizzlekizzle

Sorry for the confusion guys. I searched for an existing issue and saw 'geom' and as I was having a problem with the 'geom' modes... haha. @Zenjir0 crt-geom is indeed working fine for me on the 1070 (as you yourself saw)

As hizzlekizzle says my particular issue is with the crt-royale geom modes. @hizzlekizzle that's great news, thanks

Ebsy avatar Apr 24 '19 12:04 Ebsy