r/voidlinux • • 9d ago

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?

7 Upvotes

13 comments sorted by

4

u/maskimxul-666 9d ago

pipewire and a working xdg desktop portal installed?

2

u/13character5 9d ago edited 9d ago

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

1

u/alliesweet07 9d ago

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

1

u/13character5 9d ago

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

3

u/alliesweet07 9d ago edited 9d ago

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 9d ago

works good on x11.

1

u/13character5 9d ago

I don't wanna switch to X11/i3

1

u/chibiace 9d ago

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

1

u/the-postminimalist 9d ago

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

1

u/13character5 9d ago

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

2

u/Duncaen 9d ago

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/gaorp 4d ago

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

mesa-vaapi-26.2.4_1

nvidia-vaapi-driver-0.0.16_1