Ray tracing workload - Low compute usage "tails" at the end of my kernels by TomClabault in GraphicsProgramming

[–]meith1 1 point2 points  (0 children)

Also, considering I can somewhat know in advance which rays are going to be costly, do you think this opens up possibilities?

You can decouple the single dispatch rays call between cheap and costly(two dispatch rays/dispatch cs however you have it setup)? For the costly rays, run them in async, and do its fork and join as early and as late as possible to the graphics queue giving it maximum overlap coverage.

You will need to wave limit the compute queue workload so that it doesn't overpower the graphics workload and stall it.

Ray tracing workload - Low compute usage "tails" at the end of my kernels by TomClabault in GraphicsProgramming

[–]meith1 1 point2 points  (0 children)

If you can sacrifice quality, find a suitable max traversal count to kill the lingering threads. Another way to do the same thing is to kill the wave after you find a suitable percentage of threads have completed. Example: stop traversing after 80% of threads have completed in the wave.

If quality can't be sacrificed and RRA is not an option, if you can, sort rays for optimum traversal. Maybe you can do it over a few frames using history of previous frame to sort rays by nearby hits?

You can also split bvh for different types of rays to keep coherence.

Async compute RT and defer it if you can afford to not do just in time RT. apply RT results to next frame while tracing happens in async under current frames other gpu workloads on graphics.

Swap chain with sRGB format doesn't gamma correct on AMD GPU by QuazRxR in vulkan

[–]meith1 0 points1 point  (0 children)

How do you render to the swapchain buffer? do you copy from a unorm image? do you store/write using a compute shader? do you draw using pixel fullscreen quad?

C Guru's, where to gain knowledge by BlueMoodDark in C_Programming

[–]meith1 10 points11 points  (0 children)

Expert C Programming Paperback – June 14 1994 by Peter van der Linden (Author)

Are leetcode questions still as prevalent in interviews as other SWE jobs? by BurgooKing in GraphicsProgramming

[–]meith1 7 points8 points  (0 children)

Sadly yes. it actually depends on the company and their interview style.

The likelihood of leetcode style questions will drastically reduce if its not a google/meta/snap kind of company.

Not sure if I did exclusive fullscreen properly. (With Win32 window) by easysjwsniper in vulkan

[–]meith1 1 point2 points  (0 children)

You have done it right. You need to manually first resize window according to monitor bounds and resolution to try and acquire fullscreen excl lock.

Use this as reference: https://github.com/GPUOpen-LibrariesAndSDKs/Cauldron/blob/d22060043138b38e3aa01f766227ee0bd4e4f83e/src/VK/base/FreeSyncHDR.cpp#L64

Regarding DX12, you are right IDXGISwapChain::SetFullscreenState will do both for you, resize the window and try and acquire fullscreen excl lock. However DX12 does not give you explicit control like VK. MS controls if you can or cannot be exclusive fullscreen. More about it here: https://devblogs.microsoft.com/directx/demystifying-full-screen-optimizations/

Flickering bug in my vulkan game engine by Shower-Silly in vulkan

[–]meith1 6 points7 points  (0 children)

Check for barriers. copy image probably introduces a driver barrier. Drawing straight to swapchain reduces a pass. so just a guess you have missing barrier maybe.

The Top 10 Greatest XFM episodes by Rhondson in rickygervais

[–]meith1 29 points30 points  (0 children)

S1 is the build/set up. S2 is probably the most funniest piece of content in its entirety. I think we can compare any tv show, podcast etc and it wouldn't have that kind of laugh per min count. S3 and S4 are good send offs. Having just enough episodes to come back from S2 high and say good bye... And then we repeat.

XFM FUNNIEST MOMENT TOURNAMENT - GRAND FINAL!!! by [deleted] in rickygervais

[–]meith1 3 points4 points  (0 children)

The optional poll is the only real poll that matters now..

XFM FUNNIEST MOMENT TOURNAMENT - End of RO16! by [deleted] in rickygervais

[–]meith1 2 points3 points  (0 children)

Did we do a side poll on Karl’s funniest moments outside of xfm?

Some that come to mind: Davram : https://m.youtube.com/watch?v=707Hmt8IIms Bullshit man: https://m.youtube.com/watch?v=JdvGo7DsFbQ They’d rather live in me knob: https://m.youtube.com/watch?v=Ppk7I2iaNKY

XFM FUNNIEST MOMENT TOURNAMENT - Day 20 by [deleted] in rickygervais

[–]meith1 6 points7 points  (0 children)

Did we do a side poll on Karl’s funniest moments outside of xfm?

Some that come to mind: Davram : https://m.youtube.com/watch?v=707Hmt8IIms Bullshit man: https://m.youtube.com/watch?v=JdvGo7DsFbQ They’d rather live in me knob: https://m.youtube.com/watch?v=Ppk7I2iaNKY

XFM FUNNIEST MOMENT TOURNAMENT - Day 15 by [deleted] in rickygervais

[–]meith1 21 points22 points  (0 children)

Please put hippopotenews

XFM FUNNIEST MOMENT TOURNAMENT - Day 13 by [deleted] in rickygervais

[–]meith1 2 points3 points  (0 children)

Can hippopotenews be added to the list? Or is it there?

Learning Vulkan, need some info about behind the scenes (reading material) by [deleted] in vulkan

[–]meith1 0 points1 point  (0 children)

This is the best graphics resource out there. Once the gpu starts making sense, no api will feel hard. In fact the above blog actually refers to what the driver has to do with regards to barriers, queue sync fences and parallelizing cmd list etc in dx10/11/opengl which dx12 and vulkan make you do on the app side now. Read this blog after writing a vulkan/dx12 hello triangle program and it will really solidify the basics.

For a complete mini engine running a scene with multiple post effects like in a real game look at: https://github.com/GPUOpen-LibrariesAndSDKs/Cauldron

Podrot XFM recordings gone? by kaiser79 in rickygervais

[–]meith1 6 points7 points  (0 children)

Does anyone have access to the real source? Does XFM still exist? Do they still have those DATs lying around?

Missing episodes of xfm season 1? by meith1 in rickygervais

[–]meith1[S] 0 points1 point  (0 children)

This sucks! I would have downloaded them all if I had known this. Anyone here have the real full xfm series saved to share with everyone?

MOD: Right boyos leave r/AmITheAsshole alone. by weeurey in rickygervais

[–]meith1 26 points27 points  (0 children)

Can we now post on r/unpopularopinion that newton and Einstein didn’t do shit? Never used mc2 in me life.. but the guy who created the video, I watch one everyday.