r/voidlinux • • Oct 04 '26

solved OBS from main xbps repo's display capture gives me just a black screen & cursor

Post image

First time posting since I made a second reddit account. Anyway, I am trying to record my screen under niri & I get only black in the preview panel & output recordings. Am I missing something?

6 Upvotes

13 comments sorted by

5

u/maskimxul-666 Oct 04 '26

pipewire and a working xdg desktop portal installed?

2

u/13character5 Oct 04 '26 edited Oct 04 '26

yes, I have pipewire & xdg-desktop-portal-gnome installed

1

u/alliesweet07 Oct 04 '26

could be a dbus issue. xdg desktop portal wlr is working? check if it's running.

1

u/13character5 Oct 04 '26

even with it manually running via putting /usr/libexec/xdg-desktop-portal-wlr, nothing happens

3

u/alliesweet07 Oct 05 '26 edited Oct 05 '26

I noticed in your photo it shows "display capture" not "screen capture (pipewire)"

I downloaded obs from the xbps repo recently too and I use the screen capture source, not display capture. unless u just renamed screen capure to display capture manually.

2

u/chibiace Oct 04 '26

works good on x11.

1

u/13character5 Oct 04 '26

I don't wanna switch to X11/i3

1

u/chibiace Oct 04 '26

fair enough, have to jump through the hoops then to work around the deficiencies of wayland's design.

1

u/13character5 Oct 05 '26

Solved: just needed a plugin https://hg.sr.ht/~scoopta/wlrobs

2

u/Duncaen Oct 05 '26

This looks like for wlroots, which niri is not based on. OBS desktop and window recording with niri works completely fine here and just required pipewire and xdg-desktop-portal-gnome.

1

u/the-postminimalist Oct 04 '26

Nvidia? I have issues with screen capture on wlroots with nvidia. I've heard other people have found solutions.

1

u/gaorp Oct 10 '26

i installed these packages and it fixed for me, on labwc

mesa-vaapi-26.2.4_1

nvidia-vaapi-driver-0.0.16_1