Closed JojiiOfficial closed 1 year ago
are you on Hyprland? what ver? Nvidia? 10 bit?
Yes hyprland on latest git commit with Nvidia. No 10 bit
looks like that one issue with nvidia that requires a patch or something to me.
At any rate, nvidia is not supported.
Maybe here is a workaround?
git clone --recursive https://github.com/hyprwm/Hyprland.git
wlr_output_preferred_read_format
in wlroots/types/output/render.c
like this:uint32_t wlr_output_preferred_read_format(struct wlr_output *output) {
return DRM_FORMAT_XRGB8888;
}
Then sudo make install
and start Hyprland, both grim and obs works, though not fully tested.
Maybe here is a workaround?
1. `git clone --recursive https://github.com/hyprwm/Hyprland.git` 2. Replace function `wlr_output_preferred_read_format` in `wlroots/types/output/render.c` like this:
uint32_t wlr_output_preferred_read_format(struct wlr_output *output) { return DRM_FORMAT_XRGB8888; }
Then
sudo make install
and start Hyprland, both grim and obs works, though not fully tested.
This fixed the issue with obs and grim for me. Thank you.
Installing xdg desktop portal hyprland as described on the website results in following crash when obs studio is opened. grim isn't working either (screenshot is black).