-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
software renderer #218
Comments
There's no software rendering support at the moment. I'm also not sure Smithay fully supports pixman for regular rendering at the moment (cc @cmeissl); but even if it does, this would require somewhat awkward refactors in niri, since we currently store GL textures directly in a few places which simplifies the logic. |
It does, see: Smithay/smithay#1228 |
+1 Debian arm64 CPU
GPU Mali G31
Error msg:
|
as far as i know ur cpu has open source drivers in mesa for opengl 3.1 so your issue might not be related to lack of software renderer in niri |
I get the same error as mia0x75 on a Raspberry Pi Compute Module 4 with current RaspberryPi OS (Bookworm). But if I try to start niri from gdm3 it fails: GLXInfo suggests my GPU drivers are there: Can someone enlighten me please? Should I run a minimal WM around niri as a workaround? |
@nougatbyte you're hitting #151 |
@LukIsHere could you please check if 092420e fixes it for you? |
https://github.com/YaLTeR/niri/assets/92756992/d272c8f7-c9b2-4089-8e28-e7fbe346e548 |
Okay, I think this means that the relaxed check worked as intended (instead of a panic, it tried to proceed, but the node was wrong). To exit the black screen, you could try Super+Shift+E followed by Enter. Could you paste the output of |
adding
to
|
For me its fixed on main branch on Raspberry Pi Compute module 4 |
@LukIsHere thank you for testing. I'm assuming that in your case, the problem is indeed that there's no OpenGL support, and a software renderer would be needed. I see a part of the error message about EGL extensions on the photo, which usually comes up in this case. @nougatbyte cool! Do you still need to set |
i run linux (debian trixie) on old chromebook with no gpu drivers since there are no availble atm and probably never will
that's why for rendering graphics on it i use software renderer
most wayland window menagers (sawy or gnome/mutter) work on it without any issue
but niri doesn't really want to
when i try to run it says
2024-02-2016:56:57.0833562
INFO niri: starting version 0.1.2 (unknown commit)
2024-02-2016:56:57.1500902 DEBUG niri _config: loaded config from "/home/linux/.config/niri/config-kd1"
thread
'main'
panicked at src/main.rs: 162:6:
called
Result:: unwrap()
value: error initializing the TTY backend
Caused by:
error getting the render node for the primary GPU
stack backtrace:
0: rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
1: core:: panicking:: panic_fmt
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking-rs:72:14
2: core: result::unwrap_failed
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
3: unwrap‹niri::niri::State, alloc:: boxed: :Box‹dyn core::error::Error, alloc::alloc::Global>
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1073:23
at /home/linux/Pobrane/niri-0.1.2/src/main.rs: 156:21
5: call_once<fn()
→> core::result: :Result‹(), alloc: :boxed: :Box‹dyn core::error::Error, alloc::alloc::Global», (› at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with 'RUST_BACKTRACE=full for a verbose backtrace.
my guess is that it either doesn't have software rendering support
or it is not enabled. i tried going through options and couldn't find anything. So my question is is there an option to enable it or there is no support yet or not planned at all (something like pixman)?
System Information
The text was updated successfully, but these errors were encountered: