Recently switched to Hyprland, launched the homemade game engine I'm working on, and for some reason I saw the Hyprland mascot looming over the mountains...

3 years ago by Sonotsugipaa to c/linuxmasterrace

Notice the actual desktop background, ignore my attempt to kill -9 DIscord after the first of 6 crashes

bh64 5 points 3 years ago

have you tried in a different Wayland compositor?

By the way, I think it's very cool that you're writing your own engine. UE, Unity and even Godot are quite bloated.

path: 0 5405497, hotness: undefined, score: 5, children: 1
Sonotsugipaa 2 points 3 years ago

Sway (wlroots, same compositor) did window transparency correctly, Hyprland just seems to replace the Hyprpaper background with the default one - if I float the window then other windows in the background are rendered correctly.

Game engine programming is certainly an interesting endeavour, although I'm not confident I'll get anywhere anytime soon unfortunately. At this point I'm more confident about my (still tiny) Vulkan knowledge than actual game dev.

I'm currently trying to implement a UI framework (grids of elements n' stuff), but it's just so damn complicated...

path: 0 5405497 5408356, hotness: undefined, score: 2, children: 0
GustavoM 3 points 3 years ago

A "lame" fix for this is to go to /usr/share/hyprland/ and delete all png files stored there. "It's not stupid if it works". :^)

path: 0 5405653, hotness: undefined, score: 3, children: 0
florb 2 points 3 years ago

hmmm i had this very same issue with stardew valley. try the forcergbx rule

path: 0 5403646, hotness: undefined, score: 2, children: 1
Sonotsugipaa 1 point 3 years ago

This issue seems more like something I did wrong: the only thing I did for window transparency was using the VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR flag, and alacritty seems to handle it just fine.

I'm still learning to properly configure hyprland though, thanks for the suggestion - it may help me test and implement window transparency better in the future.

path: 0 5403646 5403771, hotness: undefined, score: 1, children: 0
linuxmasterrace
linuxmasterrace

@feddit.de

login for more options
518
52
3

A community for Linux enthusiasts.

May your htop stats be low and your beard grow long

Welcome to !linuxmasterrace@feddit.de former r/linuxmasterrace members and existing Lemmyverse citizens: Feel free to join the newly created !linuxmasterrace@feddit.de community.

Let’s make the full transition to the decentralized Fediverse!

go to feed...