Author Topic: Bindless Texturing test builds  (Read 13240 times)

0 Members and 1 Guest are viewing this topic.

Offline m!m

  • 211
Bindless Texturing test builds
I have been experimenting with a few ways of optimizing the graphics performance of FSO in the past few weeks and one of those optimizations uses a rather new way of addressing textures in our shaders. This should improve the CPU overhead while rendering the scene so these changes should be especially useful for people with less powerful CPUs.

Here are the builds for all platforms: http://swc.fs2downloads.com/builds/test/bindlessTextures/

I would like to know if these changes work at all (it should be enabled on recent AMD and Nvidia GPUs) and if you see any performance improvements. As far as I know, Intel does not support this extension but a few tests with those GPUs certainly wouldn't hurt to make sure that FSO still works even if the extension is not available.

 
Re: Bindless Texturing test builds
Works ok in game on Nvidia and Intel. But it crash (on both GPUs) in F3 Lab when I choose debris for any ship.

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
Thank you for the report. I found the issue and fixed it. The builds above should be fixed relatively soon.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Bindless Texturing test builds
Is this something that would be enabled on an AMD 5770 GPU?
The Trivial Psychic Strikes Again!

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Bindless Texturing test builds
Is this something that would be enabled on an AMD 5770 GPU?

The 5770 should support the necessary extensions, but you should definitely test it!
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
The current builds do not indicate in an obvious way if bindless texturing is used so I updated the branch so that it prints that information on launch. The test builds above should be updated soon.

 
Re: Bindless Texturing test builds
Code: [Select]
Checking graphics capabilities:
  Bindless texturing: Disabled

Well, atleast I tested it on usupported hardware :P

edit:
I found some issues.
Cutscenes doesn't scale up.
And other is visible on screenshot. First is from normal build, second is from bindless.

[attachment stolen by Russian hackers]
« Last Edit: September 28, 2017, 05:22:18 pm by tomimaki »

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
That's weird since the changes do not change how the briefing window is drawn but some of the other changes may have broken that. Just to confirm, are you using the newest nightly build as the "normal" build?

 
Re: Bindless Texturing test builds
Yes, it was 17 september build.

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
I cannot reproduce your issue with retail FS2 data. Were you using any mods or special command line options? A log file would probably also help.

 
Re: Bindless Texturing test builds
No mods and I tried without commandline flags but still the same.

[attachment stolen by Russian hackers]

 
Re: Bindless Texturing test builds
So I got bindless-enabled hardware and could test this build.
But it crash on both gpus (intel and nvidia) when I load some model in Tech Room or F3 Lab.

[attachment stolen by Russian hackers]

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
Looks like I committed some debug code to the test build by accident. I'll update the changes to the latest master revision and will let you know when that is done. Unfortunately, driver support for bindless texturing is still a bit buggy so these changes may not be ready for the real world yet.

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
These builds should fix the shader compilation issue: http://swc.fs2downloads.com/builds/test/bindlessTextures/

 
Re: Bindless Texturing test builds
Bindless texturing? So you'll be removing binds from the engine? When do you think you'll be able to release this bind culling?
The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell.

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
This just affect model textures since that is the most CPU intensive part of the rendering pipeline. Since I can't even test this code on my current machine since the drivers crash if I try to use bindless textures it will probably be some time until I can open a pull request for this.

 
Re: Bindless Texturing test builds
No more crash on nvidia.

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
That's great! Thanks for testing.

 
Re: Bindless Texturing test builds
That's weird since the changes do not change how the briefing window is drawn but some of the other changes may have broken that. Just to confirm, are you using the newest nightly build as the "normal" build?
Interesting thing. New build fixed issue with briefing window on unsupported hardware. ;)

 

Offline m!m

  • 211
Re: Bindless Texturing test builds
Maybe it was something unrelated to the bindless texturing then. I updated the changes to the newest source version so there may have been a fix for that issue.