Jump to content
The Dark Mod Forums

Testers and reviewers wanted: BFG-style vertex cache


cabalistic

Recommended Posts

16 hours ago, lowenz said:

version 8530 (with its GLProgs)

ShadowMaps problem (not present with Stencil) on a Radeon RX 570 (Catalyst 20.1.3) with NPC ! Shadows are.....partial.

 

 

 

Maybe now that the SVN version is complete (GLProgs) it's time to create a related dedicated thread for betatesters?

Map name? Save game & .cfg download link?

I have seen md5 shadows broken for a while e.g. the bad guy in Closemouthed Shadows.

But for sanity check, I need a specific case to investigate.

Link to comment
Share on other sites

I think the problem with shadow geometry models is that

  1. material 'textures/common/shadow' is marked as translucent and
  2. translucent surfaces (e.g. glass and water) are excluded from shadow mapping

I would like to hear opinions on which point is problematic?

Link to comment
Share on other sites

On 11/14/2019 at 7:06 PM, lowenz said:

Good news guys!

 

1.91.1 OpenAL.lib -> no issue! :)

1.20.1 released if you want to use it in TDM.....the dev has solved a good number of old and new  issues !

https://github.com/kcat/openal-soft/releases/tag/openal-soft-1.20.1

Edited by lowenz
  • Like 2

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

  • 1 month later...
On 1/24/2020 at 3:58 PM, duzenko said:

I think the problem with shadow geometry models is that

  1. material 'textures/common/shadow' is marked as translucent and
  2. translucent surfaces (e.g. glass and water) are excluded from shadow mapping

I would like to hear opinions on which point is problematic?

Now they seem fixed!

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

  • 2 weeks later...

@cabalistic

  1. The last parameter here is in nanoseconds, right?
    		result = qglClientWaitSync( bufferLock[frame], GL_SYNC_FLUSH_COMMANDS_BIT, 1000000 );

    That amounts to 1 millisecond? Why so?

  2. At game start this routine gets called twice on frame 0, causing a first sync object to leak.

static void LockGeoBufferSet( int frame ) {

3. What happens on wait timeout? Is it safe to delete the sync object when it has not signaled yet?

4. Any idea why wait always times out on Intel HD 2000 (other than driver bug)?

Link to comment
Share on other sites

Hm, I don't remember the context right now, but I think the timeout should probably be longer, more like 1 second. Perhaps I made a mistake with the number, or someone accidentally changed it.

Nothing happens on wait timeout. The docs say it is safe to call glDeleteSync either way.

Try calling glFlush or even glFinish (just as an experiment, definitely don't commit that :D ) right before the wait. It may also be the case that the timeout is simply too short, as mentioned above. If it still times out even with glFinish, it is absolutely a driver bug.

Link to comment
Share on other sites

32 minutes ago, duzenko said:

1. The last parameter here is in nanoseconds, right?That amounts to 1 millisecond? Why so?

3. What happens on wait timeout? Is it safe to delete the sync object when it has not signaled yet?

1 millisecond is way tooo small! It should be something like 500 ms, or otherwise there must be some proper handling for timeout 😞

Link to comment
Share on other sites

No, wait, this is happening within a loop. So small timeout is fine:

	while ( result != GL_ALREADY_SIGNALED && result != GL_CONDITION_SATISFIED ) {
		result = qglClientWaitSync( bufferLock[frame], GL_SYNC_FLUSH_COMMANDS_BIT, 1000000 );
		if ( result == GL_CONDITION_SATISFIED )	{ 
			backEnd.pc.waitedFor = 'S'; 
		}
		if ( result == GL_WAIT_FAILED ) {
			common->Warning( "glClientWaitSync failed.\n" );
			break;
		}
	}

 

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

I think we need to allow a fixed initial buffer size, static data included

Cards with little VRAM (e.g. 1GB) tend to end up with the VBO in the system RAM because it the VRAM is already filled with textures at the time of resize

Link to comment
Share on other sites

26 minutes ago, duzenko said:

I think we need to allow a fixed initial buffer size, static data included

Cards with little VRAM (e.g. 1GB) tend to end up with the VBO in the system RAM because it the VRAM is already filled with textures at the time of resize

I believe there are cvars for that.

Also, static data is now stored in a separate VBO again: 5598

  • 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

    • snatcher

      TDM Modpack v4.5 released!
      Introducing... The Loop
      · 0 replies
    • Ansome

      Taking a break to alleviate burnout. In retrospect, I probably shouldn't have jumped into a map-making contest so quickly after just finishing another project and especially with my busy schedule, but I do believe I have something that the community will enjoy. No clue if I'll be able to finish it on time for the competition if I factor in a break, but I'd rather take my time and deliver something of quality rather than engage in development crunch or lose part of the map's soul to burnout.
      · 1 reply
    • Skaruts

      Working on an update for my mission By The Cookbook. If anyone that played it has any further bugs to report, please let me know.
      I posted more details about the update in the mission thread.
      · 1 reply
    • lucien

      being thankful for tdm is a good feeling
      · 0 replies
    • The Black Arrow

      Happy birthday to me!
      Yes, today's my birthday and as much as I want to play The Dark Mod, I won't until it's late Autumn, where it should be a bit chilly in my place and there's some wind too.
      For now, it's time to enjoy my birthday, if any of you want to play a great fan mission in my honour...Well that's asking too much, just play the mission because it's fun, not because of me, enjoy it yourself! 💪
      · 5 replies
×
×
  • Create New...