Re: No gun? No sprites? READ THIS!

Fri Sep 21, 2018 10:41 am

Still nothing on 18.9.2 ...

Re: No gun? No sprites? READ THIS!

Fri Sep 21, 2018 12:56 pm

Molly Mungerfoot wrote:Still nothing on 18.9.2 ...

As this rate, I think we'd have quicker results of seeing this fixed if someone from this forum got hired at AMD's driver department. :?

Re: No gun? No sprites? READ THIS!

Fri Sep 21, 2018 7:23 pm

Curious what are you guys using at the moment zdoom? I like the lighting effects gzdoom this just sucks I haven't played doom in months because of this AMD issue.

Re: No gun? No sprites? READ THIS!

Sat Sep 22, 2018 2:58 am

Does GZDoom 3.3.2 run correctly?
For now you can launch 3.5.1 with the -glversion 3 parameter.

Re: No gun? No sprites? READ THIS!

Sat Sep 22, 2018 3:16 am

That will disable a lot more than the stuff that gets miscompiled, though.

Re: No gun? No sprites? READ THIS!

Sun Sep 23, 2018 7:57 am

I'm using 18.7.1 latest GZDoom modern version and having the same issue

Re: No gun? No sprites? READ THIS!

Sat Sep 29, 2018 6:43 pm

Unfortunately 18.9.3 Beta is still having this issue. Luckily the "glversion -3" works for the time being. I am guessing this isn't a super top priority fix for AMD...

Re: No gun? No sprites? READ THIS!

Sun Sep 30, 2018 2:35 am

We really need someone playing around with the shader and trying to find a workaround. But that requires someone with an AMD card...

Re: No gun? No sprites? READ THIS!

Sun Sep 30, 2018 3:11 am

Thanks to Blzut3 i've got a Radeon R2 integrated on an E2-9010 APU (Lenovo V110 laptop) and a Geforce GT 710 for ZDoom development. I installed the latest Lenovo driver (17.7) and everything is fine, Windows 10 previously downloaded an even older driver.

Re: No gun? No sprites? READ THIS!

Wed Oct 03, 2018 11:56 am

Just wanted to chime in I'm getting the same problem with my AMD R9 280x (Desktop GPU) on the latest 18.9.3 Beta Driver. The problem is at its worst on the OpenGL driver (any and all items and enemies are invisible). The problem also exists on the other renderers but to a lesser extent. For example, on the Doom 2 Integrated (typing the name from memory) renderer it works best but some walls become invisible.

If you need me to try something then let me know. I've fiddled with the in-game OpenGL settings but it doesn't do anything to restore the sprites unfortunately. The problem's a recent one for me so perhaps a rollback to a certain version would be a temporary fix.

EDIT: The aforementioned -glversion 3 launch param does seem like a perfect fix for now. Played through 2 maps of Ashes 2063 without any issues! Thanks for that!

Re: No gun? No sprites? READ THIS!

Thu Oct 04, 2018 3:34 am

So I continued looking to see why the AMD compiler considers uClipSplit to be unused, and I figured that it erroneously considers shanges to gl_ClipDistance not to affect the final render.

By adding this (pointless) line to the main vertex shader:

if(uClipSplit.x < -1000000.0 || uClipSplit.y > 1000000) { eyeCoordPos.w += 0.01; }

And now sprites (actors and pickups) appear again.

The compiler considers the uniform to affect rendering output, and makes it active. I think uClipLine and uClipHeightDirection are also affected in a similar manner, since they too are not in the list of active uniforms.

Re: No gun? No sprites? READ THIS!

Thu Oct 04, 2018 10:43 am

Thanks for that info. It should help adding a workaround. I still have to wonder what those guys have been smoking, considering that it's not the first time they broke the clip planes.

Re: No gun? No sprites? READ THIS!

Fri Oct 05, 2018 10:02 am

I poted a minimal repro on the AMD dev forums (https://community.amd.com/thread/232720), hoping the right person sees it and confirms it's a driver bug...

Re: No gun? No sprites? READ THIS!

Thu Oct 11, 2018 10:48 pm

Seems to be fixed in 18.10.1.

Re: No gun? No sprites? READ THIS!

Fri Oct 12, 2018 12:28 am

I guess once someone posted a concrete cause of the problem it was relatively easy to add a fix.