-
-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with OpenGL applications crashing when using Hyprland 0.42.0 on Asahi linux. #7364
Comments
For reference #7161 (comment) |
patch.txt |
I applied the patch and built the project, but it still does not work properly, just like before.
|
can you post a trace log https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-trace-log 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 just opened up an issue over at the Asahi's kernel repo, so we may get some people who can help with this. |
thanks :) |
the trace log of Hyprland with HYPRLAND_TRACE=1 and AQ_TRACE=1 enabled. The log contains the process of running Hyprland (patched with patch.txt), followed by launching the foot terminal and then running kitty. |
I'm gonna relay the message I got at the Asahi's Git for good measure:
Pretty disappointed with this one tbh. Childish would probably describe it even more but whatever. |
Interestingly not all software is broken. Zed editor seems to work (you can also get a terminal there and start other processes within Hyprland like this and get the logs) |
at least now you can see who actually cares about you, the user, having a good experience over their own political beliefs. I'll try to see what I can do. Currently on holiday. |
can someone precisely bisect this? If it's for sure 6608? |
Yeah that's the pr that breaks opengl stuff for me, up to the commit before that, everything works as it's supposed to |
alr, thanks |
I don't have much time but I will dig a bit into it and post stuff that could be of interest. |
no worries, I'm looking into this and @gulafaran is too from what I can tell |
I feel like there are two separate issues here. Can someone try to get a trace log with hardware cursors disabled? |
it looks like the M1 renderer on asahi has no cursor plane exposed. Aquamarine expects a hw plane for a cursor to be present. Hang on. (at any rate, for now, disable hw cursors and that one should be gone) |
ok, that one should be fixed. Pull aq-git. |
Doesn't seem to work. |
can I get a trace log? :) |
On it Edit: never mind. Having some problems with my nix :/ |
I open kitty and it instantly crash too latest hyprland with the patch and latest aquamarine |
split render nodes are funky somewhere I assume. Can I get a log from 0.41.2 with |
this might also improve stuff |
yes, kitty and firefox dosn't crash anymore |
vkcube-wayland might though :P Although that's an issue on amd too and has been before AQ iirc |
anyways if this is fixed I'd consider this done |
both vkcube works 😛 |
fair enough lol, can someone else verify so I can close this? |
Chromium, firefox, kitty, wpaperd.. all... works well... |
coolio |
@vaxerski could u tag a release for this, so repos can update. |
not really, not able to atm thats one and two there are no RCs atm. We're aiming for 0.43.0 in some time. If a repo wants asahi fixed, considering its usually a specific distro, they can cherry-pick this one commit and use aquamarine 0.3.2/0.3.3 and it will work |
Asahi is not really a specific distro. Fedora is the "original" but there are a ton of distros with asahi changes. For example this issue was hit on nixos first afaik not on fedora. Anyway it's not too hard to patch it yourself, just clearing up the misconception that asahi is a single distro. |
Yeah I meant the repos of distros that have the Asahi kernel and the rest, meaning they work on apple silicon macs. |
asahi is not a distro but asahi on a distro is a specific "bundle" (e.g. asahi arch) where the maintainers can cherry-pick a patch |
Regression?
Yes
System Info and Version
System/Version info
Description
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. The current workaround involves disabling GPU acceleration by running “export LIBGL_ALWAYS_SOFTWARE=1” and only launch app in terminal(foot terminal),
How to reproduce
Applications related to OpenGL do not run properly when launched from Rofi or a terminal, while non-OpenGL applications work without issues.
Crash reports, logs, images, videos
❯ WAYLAND_DEBUG=1 kitty
The text was updated successfully, but these errors were encountered: