Description
This is an issue that came up in the Hyprland repo (ref).
The recent release of Hyprland 0.42.0 introduced significant changes, with the most notable being the switch from wlroots to aquamarine.
However, this update has caused issues on Asahi Linux, where applications that use OpenGL, such as Firefox, Kitty, wpaperd or Chromium …, are no longer running properly.
It seems that a bunch of people are running into this and Hyprland's lead developer vaxerski seems to be out of options on how to solve or approach this bug.
marcan has commented on this a couple of days ago:
If you are trying to create linear buffers with arbitrary pitch, that won't work. The hardware only supports 16-byte aligned pitch. This is your bug, not a driver bug. You need to use buffer formats that are supported by the hardware.
and vaxerski thinks the bug has to do something with Asahi:
I am no marcan, I don't use or understand Apple hardware, but I fail to see where I went wrong as I feel like I report formats correctly. I mean, AMD, Intel, Nvidia work.
The comment about 16-bit aligned linear buffers, sure, but it's not hyprland that reports these things. For mesa drm, we only report formats, that's it.
Currently we report formats that EGL reports as renderable, with the patch we report formats that the KMS primary plane supports.
I feel like I am out of options?
I'm not sure if the bug originates in Hyprland or the Asahi kernel but I would love for this to get resolved so I thought some people here who have a bit more knowledge about this, could help with the investigation of the problem.
Edit: I was a bit at a loss on where to post this issue, so I hope it isn't completely out of place.