olorin99

joined 1 year ago
 

Texture block compression is a critical component of real-time rendering. Reducing the size of textures saves download time, disk space, memory, and GPU bandwidth. With a few exceptions (pixel art, some UI elements), it’s a reasonable expectation that all textures should be compressed to maximize these benefits. It’s important, therefore, to understand how texture block compression works at a high level. What formats work best for base colors versus normal maps versus some arbitrary packed material data?

 

Adding backface and microtriangle culling cut the frame time from 17ms to 7ms. Scene has 900 stanford bunnies each with 69 thousand triangles for a total of 62 million triangles reduced to 6 million.
#graphicsprogramming #vulkan #meshshaders #stanfordbunny #GraphicsProgramming

 

Overview A hierarchical depth buffer is a multi-level depth (Z) buffer used as an acceleration structure for depth queries. As with normal texture mip chains, the dimensions of each level are generally successive power-of-2 fractions of the full-resolution buffer’s dimensions. In this article I present two techniques for generating a hierarchical depth buffer from a full-resolution one. First I show how to generate the full mip chain for a depth buffer in a way that preserves depth query accuracy in texture coordinate (or NDC) space even for non-power-of-2 depth buffer dimensions.

 

Intro

 

Intro

 

Intro

 

Intro GPUs are complex beasts - and certainly more mysterious in some ways than CPUs which come with ample amounts of documentation and manuals. Aspiring graphics programmers (too insignificant to have a devrel contact to give insight) are sometimes left to scrounge old GDC presentations on performance tips, with very little known about the inner workings of some GPUs.

 

44 million triangles drawn in ~17ms. Wow GPUs are fast. Does anyone have any good resources on meshlet optimisations to speed it up?

#GraphicsProgramming

[–] [email protected] 3 points 8 months ago

The only thing that needs to happen is for the api to be enabled on kbin.social. Interstellar should work with any kbin/mbin instance that has the api enabled.

 

The second post in this series on mesh shaders covers best practices for writing mesh and amplification shaders, as well as how to use the AMD Radeon™ Developer Tool Suite to profile and optimize mesh shaders.

 

Overall Approach Setting Up The Print Buffer The “Magic” Debug Info Buffer Dealing With The String Problem A Cursed Path Packing It All Into A Buffer Reading Back On The CPU Going Beyond Printf CR LF Unless you’re fortunate enough to to be working exclusively in Cuda, debugging GPU shaders is still very much “not great” in the year 2024. Tools like RenderDoc and PIX are amazing and do provide the ability to step through a shader and inspect variables, but they’re fundamentally tied to a “capture” workflow.

[–] [email protected] 1 points 9 months ago (1 children)

Found a bug. On mobile the menu is partly offscreen. image. Looks like the menu is aligned with the button rather than with the edge of the screen.

[–] [email protected] 5 points 9 months ago

There is a matrix space for kbin.
kbin-space:matrix.org

[–] [email protected] 2 points 9 months ago

@7u5k3n Haha happily I've managed to fix all the incorrect indices. No more unsettling shapes.

[–] [email protected] 1 points 10 months ago

I haven't really noticed much of a difference. I figured it was probably worth actually being able to wake the laptop from sleep rather than having to restart it every time.

[–] [email protected] 2 points 10 months ago (1 children)

So to check what suspend states your laptop supports run cat /sys/power/mem_sleep. It should print something like s2idle shallow [deep] with the option that is enabled having [] around it. To change the enabled option run echo "s2idle" > /sys/power/mem_sleep.
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate has more info.

[–] [email protected] 4 points 10 months ago (5 children)

Many modern laptops no longer support S3 sleep at all. It is likely to be an issue with the bios rather than a linux project. On my laptop, with Ryzen 7 5825U, I had to give up on S3 and use s2idle. Also had to pass "pcie_aspm=off" as a kernel parameter because it would take ages to wake the ssd without it. Overall works ok. Not as good as S3 but better than nothing.

[–] [email protected] 6 points 1 year ago

It is probably possible however currently I can go to kbin.social/d/9to5mac.com and see all the posts that link to 9to5mac so them hosting their own instance would be kinda redundant.

[–] [email protected] 0 points 1 year ago

Musky boi changed twitters name to x.

[–] [email protected] 13 points 1 year ago (2 children)

Yep on kbin you can subscribe/block domains so anything from that domain will show up in your feed. This works for instance domains and general websites that people link to as well. Its good if you want to block whole instances rather than asking the admin to defederate.

[–] [email protected] 5 points 1 year ago (2 children)

I think your first course of action would be to bring this up with other members of your friend group and see how they feel. Have they also noticed this behaviour? Do they have any ideas how to deal with it? It will be easier to help this person if you work together. Just make sure you don't seem like you're ganging up on them. Maybe you can approach them with your concerns and then another friend can bring it up separately some time later. If you want to help always approach with kindness and love.

[–] [email protected] 2 points 1 year ago (1 children)

I've been using neo launcher. Definitely not as feature rich as nova but it fulfills my wanta.

view more: next ›