Jump to content
The Dark Mod Forums

Green shadows bug


teddybear

Recommended Posts

  • 4 weeks later...

I just started a new installation of TDM on Windows 10 with AMD Vega 56 (drivers 2021.04 or thereabouts) and got the green textures problem.

I recommend that r_useBindlessTextures is not enabled out of the box, since it's clearly causing problems for many people.

  • Like 1
Link to comment
Share on other sites

I totally agree with OrbWeaver. Today I fired TDM up after a long hiatus, only too see this problem and I also have a AMD GPU a RX 570X, tried two different driver versions same problem, so I assume is not a driver problem but seems to be a case of bindless textures not working correctly on AMD GPU's.

IMO it should be a option for Nvidia users on the menu, perhaps with a warning/hint that it may or may not work on AMD/Intel hardware. 

Btw the more I read about this particular feature the more I see Nvidia mentioned on it, making me think that this is a case of Nvidia tech not playing well in their competitors hardware. 

I think so, because of the following two things, is a old discussion so maybe very outdated but on the khronos forum someone says, that BT is a Nvidia patented feature and on the khronos OpenGL wiki it says "This is not a core feature of any OpenGL version; at present, it only exists as an extension." a NV_ extension plus a ARB_ one, if true that is a extension to OpenGL and one by Nvidia, no surprise it has problems on AMD, afaik both it and Intel are known for only optimizing for OpenGL core features and their own extensions, it also says "both AMD and NVIDIA have a lot of hardware that can handle it" but based on what is happening here, I don't think that is entirely true, at lest on the AMD side and perhaps Intel.

Edited by HMart
Link to comment
Share on other sites

19 minutes ago, HMart said:

IMO it should be a option for Nvidia users on the menu, perhaps with a warning/hint that it may or may not work on AMD/Intel hardware.

Well, the last resort option would be to disable it if OpenGL reports something with "amd" in vendor name 😞

Quote

a NV_ extension plus a ARB_ one, if true that is a extension to OpenGL and one by Nvidia, no surprise it has problems on AMD, afaik both it and Intel are known for only optimizing for OpenGL core features and their own extensions, it also says "both AMD and NVIDIA have a lot of hardware that can handle it" but based on what is happening here, I don't think that is entirely true, at lest on the AMD side and perhaps Intel.

We use ARB extension: it is an officially approved extension by OpenGL standard writers, as far as I understand.

As far as I remember, the policy is that if extension is restricted by patents, then it cannot be made "ARB" extension. That's how it was with anisotropic filtering extension. So I seriously doubt the "patented" part.

I think most vendors optimize and debug ARB extentions most, because they know that developers will use them. Vendor extensions are mostly for early adoption of some feature which vendor thinks is cool but nobody has yet implemented it in OpenGL. Developers won't use them unless they provide huge boost to them and there is no alternative... which is quite rare.

If AMD did not care about this extension, they wouldn't have implemented it. The previous GPUs did not report this feature as available, so there is no problem there. But for new GPU, AMD spent some effort to implement it, and new GPU now reports this feature as available. However, it is buggy.
And yes, nobody cares to fix it. Probably AMD does not have too much people to fix everything, so they prioritize. Whoever uses cool modern GL features would prefer Vulkan and DirectX over OpenGL.

 

Link to comment
Share on other sites

1 hour ago, stgatilov said:

And yes, nobody cares to fix it. Probably AMD does not have too much people to fix everything, so they prioritize. Whoever uses cool modern GL features would prefer Vulkan and DirectX over OpenGL.

Regardless of who is ultimately responsible, if it doesn't work correctly for a significant number of players, I suggest it isn't the default (but can still be available as an option). If the game doesn't work out of the box people will ultimately blame the mod developers for releasing a buggy game, and may not even look at the forums to learn whether it is actually a case of AMD drivers not implementing an extension correctly (they'll probably just rage quit and delete the mod entirely).

Are we absolutely 100% sure that it is actually a case of a broken driver? Could it be that we are not using the extension exactly as the specification demands, or are exercising some edge case that AMD aren't expecting most games to use?

  • Like 1
Link to comment
Share on other sites

13 minutes ago, OrbWeaver said:

Are we absolutely 100% sure that it is actually a case of a broken driver? Could it be that we are not using the extension exactly as the specification demands, or are exercising some edge case that AMD aren't expecting most games to use?

I'm 95% sure. It works fine on NVIDIA and Intel (recent ones that actually support the extension), and it works on some AMD cards, too. In fact, I remember at least one report where it only broke after a driver update. Which is also the reason why we chose to enable it by default - reports of broken behaviour on AMD only came later and never materialised in internal tests :(

  • Thanks 1
Link to comment
Share on other sites

7 hours ago, cabalistic said:

Which is also the reason why we chose to enable it by default - reports of broken behaviour on AMD only came later and never materialised in internal tests :(

I think the first ones were happening very early.
But it surely did not look so bad as it looks now 😐

Link to comment
Share on other sites

Does anyone know on what AMD driver this feature worked? I tested on 21.3.2 and 21.4.1 both displayed the problem, would like to try one that works but would also like to avoid installing drivers at random and see what works or not.

Btw if anyone with a AMD GPU haven't done it yet, I recommend using the bug report available in the driver GUI at the top right corner, I did it, don't know if they will care for a free game like TDM but there's no harm in trying to report it and imo the more people that do it the chance of them taken notice is higher. 

There's also Terry Makedon or something in twitter, afaik he is the driver department manager, he posts about the AMD drivers in his tweeter account, so could be a nice place for a bunch of us to report this to him, visibility could make them prioritize a fix. 

Link to comment
Share on other sites

On 5/3/2021 at 11:53 AM, HMart said:

Does anyone know on what AMD driver this feature worked? I tested on 21.3.2 and 21.4.1 both displayed the problem, would like to try one that works but would also like to avoid installing drivers at random and see what works or not.

I have a Vega 56, running a 20.35.10.02 driver, and I don't get this issue.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...