Damus

Recent Notes

slembcke · 10w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt It does seem like the core Wayland folks have no intention of changing that. :( IIRC t...
Amini Allight profile picture
@nprofile1q... Hmm, not a great position for them to take
I did actually add logic to my game to decouple them for this reason but most won't ever test on Wayland
I wonder if an API layer could be built that wraps VkSwapchainKHR and offers the application "fake" frames up to a minimum rate? Almost everything goes via Vulkan now with DXVK and VKD3D
2
Daniel Gibson · 10w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqz9myc59yadhemq6s3mpsugrdzzfqr55c582tedltugukfwhgtn5se7valu do you at least get an event for "window is now hidden"? the pragmatic ...
eukara · 10w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqy264dyqrezq8wggnxj62mdywngjlqpszm2w0lzxsxadq0dr0aaqs3v2l7r has battle scars with this stuff.
Amini Allight profile picture
Is there a way to stop wlroots compositors from dropping the frame rate of hidden windows (e.g. on other virtual desktops) down to 1?
Most/all game developers don't test what their game does under these conditions and often the audio system just loses its mind
#wayland #linux
1
slembcke · 10w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt It does seem like the core Wayland folks have no intention of changing that. :( IIRC the โ€œfixโ€ is that (all) games should be rewritten to decouple rendering from everything else sinc...
Amini Allight profile picture
Realized that rather than searching through my in-world UIs for the widgets I want to test I can just embed them anywhere in the editor UI, like the audio settings page

The result is an ugly style clash, but it works!

#gamedev #indiedev #opensource #freesoftware



Amini Allight profile picture
Every time I try to use my game's tools I get frustrated by how unpolished they are so I've been touching up the UI, here's the old vs. new node editor style

It's amazing what a difference a few borders, different bezier control points and thinner lines makes!

#gamedev #indiedev #opensource #freesoftware


1
Amini Allight · 14w
Now I can delete that reference image of a nice-looking node editor I saved to my downloads folder six months ago
Amini Allight profile picture
Avoiding the nightmare of my broken netcode by adding a new shape primitive, here's some in-development screenshots of "packet", useful for depicting packaged food, sacks of grain, packaged medical supplies, shrink-wrapped items, etc.

#gamedev #indiedev #opensource #freesoftware #vr #virtualreality




Amini Allight profile picture
Oh you're kidding me, an inverted Vulkan viewport also inverts the triangle winding??

It makes sense, but how did it take me this long to notice ๐Ÿ˜…

#gpu #graphics #vulkan #programming #gamedev
1
Amini Allight · 20w
"Every renderer that works contains an even number of sign mistakes"
demofox · 21w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt what was the bug?
Amini Allight profile picture
@nprofile1q... A non-uniform texture array index

Different fragments within the same wave could diverge on which tile they chose to read from, but this divergence was ignored somehow and they all ended up reading from the same image

So when a wave straddled a tile boundary some fragments would read from tile 0 with a UV intended for image 1 or vice versa

Wrapping the index usage in nonuniformEXT from GL_EXT_nonuniform_qualifier fixed it
1
demofox · 21w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt thanks for sharing!
demofox · 21w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt what was the bug?