Closed jeancf closed 5 months ago
Could you post the niri output?
Sure. How do I do that? Running niri --session
in a shell switches the screen to black with Display output is not active
so I do not see what the output is.
You can redirect it to file with niri --session >niri.log 2>&1
Ah, yes, of course... Here it is:
2024-04-30T09:28:18.969089Z INFO niri: starting version 0.1.5 (v0.1.5-21-gc0d5001)
2024-04-30T09:28:18.997712Z DEBUG niri_config: loaded config from "/home/jeancf/.config/niri/config.kdl"
2024-04-30T09:28:19.168409Z INFO niri::backend::tty: using as the render node: "/dev/dri/renderD128"
2024-04-30T09:28:19.236731Z DEBUG niri::backend::tty: device added: 57857 "/dev/dri/card1"
2024-04-30T09:28:19.344539Z DEBUG niri::backend::tty: this is the primary node
2024-04-30T09:28:19.363189Z DEBUG niri::backend::tty: device changed: 57857
2024-04-30T09:28:19.363566Z DEBUG niri::backend::tty: connecting connector: Virtual-1
2024-04-30T09:28:19.363594Z DEBUG niri::backend::tty: picking mode: Mode { name: "1280x800", clock: 234720, size: (1280, 800), hsync: (1600, 1638, 1728), vsync: (804, 808, 828), hskew: 0, vscan: 0, vrefresh: 164, mode_type: ModeTypeFlags(PREFERRED | DRIVER) }
2024-04-30T09:28:19.363621Z DEBUG niri::backend::tty: error setting max bpc: couldn't find max bpc property
2024-04-30T09:28:19.363662Z DEBUG niri::backend::tty: error getting gamma properties: missing GAMMA_LUT property
2024-04-30T09:28:19.363669Z DEBUG niri::backend::tty: error resetting gamma: setting gamma is not supported
2024-04-30T09:28:19.365022Z WARN niri::backend::tty: error connecting connector: No supported plane buffer format found
2024-04-30T09:28:19.365100Z INFO niri: listening on Wayland socket: wayland-1
2024-04-30T09:28:19.365107Z INFO niri: IPC listening on: /run/user/1000/niri.wayland-1.468.sock
No supported plane buffer format found
Huh, not sure about this, maybe some QEMU setting needs to be set.
The internet does not seem to have ever seen this error message... Do you know which code / crate is emitting this message?
This is a Smithay-specific message, but it means that the QEMU framebuffer primary plane did not support any of the formats that Smithay tried.
Could you try again? There's been some potentially related fix in Smithay.
It's working! Nice, thanks.
FYI: I reported the issue on the Smithay tracker after you said that it may be related to them: https://github.com/Smithay/smithay/issues/1415
Great!
When trying to run niri in a QEMU virtual machine the virtual screen goes black and displays the message
Display output is not active
.System Information
niri version: niri 0.1.5 (v0.1.5-21-gc0d5001)
Virtual machine configuration:
inxi graphics report from inside the VM:
host graphics
I am using the ly display manager in the VM for simplicity. Running
niri --session
from a shell has the same result.Hyprland is installed alongside on the same machine and the hyprland session works fine when selected from ly.