Closed nik012003 closed 1 year ago
does sway-git
work? This looks like a wlroots issue.
hey, I have the same problem. Any clues on how you fixed it, nik012003?
Turs out it was comiling against a bad version of mesa, that didn't have the asahi gl driver. So I just removed that libraries from /usr/local/lib64, recompiled and it worked. For some reason sway and other things compiled and worked fine anyway, they were probably using the working libs
Hi. A bit late to the party
Sorry, but for some reason I can not make it. Could anyone please explain me which files/packages do I need to delete/rebuild? In /usr/local/lib64
I only had old libwlroots, it stayed here from when I was using self compiled version of Hyprland. I deleted it, completely reinstalled mesa::asahi, recompiled hyprland (from gentoo package) but it still asks me to enable software rendering environment variable. With this env variable everything works of course, but slow. How do I ensure that hyprland uses correct drivers? Thank you for any response (PS everything was working till I did world update. hyprland was self compiled in /usr/local/bin so it was not even updated at first)
UPD: I resolved my issue. I needed to recompile kernel with proper support for Asahi drivers support. You need to enable RUST in kernel and some other params. Yeah, I am on gentoo.
Hi. A bit late to the party
Sorry, but for some reason I can not make it. Could anyone please explain me which files/packages do I need to delete/rebuild? In
/usr/local/lib64
I only had old libwlroots, it stayed here from when I was using self compiled version of Hyprland. I deleted it, completely reinstalled mesa::asahi, recompiled hyprland (from gentoo package) but it still asks me to enable software rendering environment variable. With this env variable everything works of course, but slow. How do I ensure that hyprland uses correct drivers? Thank you for any response (PS everything was working till I did world update. hyprland was self compiled in /usr/local/bin so it was not even updated at first)
Here's the stuff I removed to get it to compile against the right libs:
rm libEG* libGL* libOSMesa*
Facing the same issue on a fresh arch linux install on a pc with an nvidia 3060ti I think I followed the notes regarding nvidia drivers correctly. Set the environment variable in the hyprland.conf, edited the files according to the wiki.
hyprland only loaded once correctly, but after a reboot it always fails with the same error. Removing the hyprland.conf does not make a difference. log
...
[LOG] Using config: /home/fabian/.config/hypr/hyprland.conf
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 10.78µs. Estimated average calc time: 0.03µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Disabling stdout logs! Check the log for further logs.
[wlr] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
[wlr] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
After an update to the latest Hyprland v0.31.0
on Arch Hyprland didn't start, reported with the shared library error: libwlroots.so.12032 not found: file does not exist
. The libwlroots.so
existed in /usr/lib/
. Copying it under the libwlroots.so.12032
and rerunning Hyprland made it crash with a segfault and showing logs similar to @fabianmuehlberger. Reinstalling hyprland-nvidia
didn't help either (I'm on Nvidia GPU)
Tried to recompile the latest Hyprland from source - the issue is gone now.
Reading hyprland-nvidia AUR thread points out the issue too. There was a newer patch that should fix it.
@fabianmuehlberger @KirilStrezikozin this is not related to current issue. We all here use Asahi Linux on M1/M2 Apple devices.
This is other issue which needs to be opened separately, especially if this is not a single case and you both in the same time bumped into it.
I understand that, but since it was the same error message, I thought it might have a similar root cause.
I resolved the issue by adding the line env = WLR_RENDERER_ALLOW_SOFTWARE,1
as recommended here.
Should I still open a issue ?
I thought it might have a similar root cause
You can see how OP and me resolved this issue, and also what vaxerski replied.
I resolved the issue by adding the line
env = WLR_RENDERER_ALLOW_SOFTWARE,1
For me it was causing input lag, maybe glitches, very high CPU usage and other not cool stuff. See how it works for you.. I hope you understand what this parameter does and what is software rendering and how it differs from hardware rendering.
Should I still open a issue?
If you think so. I don't know anything about your problem and I didn't make any research of existing issues or other forums where nvidia+wayland may be discussed.
Chapeau, well explained, got i!
I just got the same problem today, everything was working yesterday, I don't think any update caused this. Sway seems to launch but not Hyprland
I just got the same problem today, everything was working yesterday, I don't think any update caused this. Sway seems to launch but not Hyprland
same here, did you find any solution or work around for it
I just got the same problem today, everything was working yesterday, I don't think any update caused this. Sway seems to launch but not Hyprland
same here, did you find any solution or work around for it
I ended up reinstalling asahi, and restoring my home folder from a backup
After pulling the repo, and building the latest version on Hyprland, it doesn't start anymore and it prints this error:
To start Hyprland I use:
env MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 MESA_GLES_VERSION_OVERRIDE=3.1 Hyprland
This is the crash report:sway works fine, with graphic acceleration working, with the same env variables. Older versions of hyprland (~1 month ago) worked fine too. The problem persists also when trying the legacyrenderer (without the MESA OVERRIDES ofc).
The hyrpland config is the stock config.