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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 5 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...