Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[SOLVED] OBS screen recording and Discord not working

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
marannnn
n00b
n00b
User avatar
Posts: 4
Joined: Wed Oct 01, 2025 4:50 pm

[SOLVED] OBS screen recording and Discord not working

  • Quote

Post by marannnn » Wed Oct 01, 2025 5:11 pm

Hi,
In OBS (flatpak version however the native wasn't any different), whenever I click on the "Screen capture" button a window with a "open selector" button pops up however when I click on it it doesn't do anything. This is the ouptup:

Code: Select all

info: PipeWire initialized
warning: [pipewire] Failed to create session, denied or cancelled by user
In Discord (this is specifically Vesktop-bin, but again the official is the same) whenever I choose screensharing option, it says "Oops, Something is not working"

Code: Select all

[13959:1001/191017.591012:ERROR:third_party/webrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc:82] ScreenCastPortal failed: 3
Error during screenshare picker Failed to get sources.
(node:13959) UnhandledPromiseRejectionWarning: TypeError: Video was requested, but no video stream was provided
    at VCDMain:80:50834
(node:13959) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 16)
Pipewire:

Code: Select all

[ebuild   R    ] media-video/pipewire-1.4.8-r2:0/0.4::gentoo  USE="X dbus extra ffmpeg gstreamer lv2 pipewire-alsa readline sound-server ssl systemd v4l -bluetooth -doc -echo-cancel (-elogind) -fftw -flatpak -gsettings -ieee1394 -jack-client -jack-sdk -liblc3 -loudness -man -modemmanager -roc (-selinux) (-system-service) -test -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB
I have the xdg-desktop-portal-kde package installed.
I have even tried reinstalling the whole system (at least 2 times) but it just doesn't work. I appreciate any help

SOLUTION:
marannnn wrote: Add the screencast flag to the make.conf (or the speciffic pakcages) and rebuild everything. It says it in the wiki https://wiki.gentoo.org/wiki/PipeWire (that I have read many times but I still somehow missed it)
Last edited by marannnn on Mon Oct 06, 2025 6:44 am, edited 3 times in total.
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Thu Oct 02, 2025 1:25 am

Hmm .... Is sys-apps/xdg-desktop-portal also installed? That's the frontend for backend implementations like xdg-desktop-portal-kde. And are the settings in any relevant portals.conf file(s) on your system (cf. the 'xdg-desktop-portal' page on the wiki) all correct?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
marannnn
n00b
n00b
User avatar
Posts: 4
Joined: Wed Oct 01, 2025 4:50 pm

  • Quote

Post by marannnn » Thu Oct 02, 2025 3:13 pm

flexibeast wrote:Hmm .... Is sys-apps/xdg-desktop-portal also installed? That's the frontend for backend implementations like xdg-desktop-portal-kde. And are the settings in any relevant portals.conf file(s) on your system (cf. the 'xdg-desktop-portal' page on the wiki) all correct?
Yes, the portal is installed.

This is the portals.conf file in /usr/share,..:

Code: Select all

[preferred]
default=*
This is the kde-portals.conf:

Code: Select all

[preferred]
default=kde
org.freedesktop.impl.portal.Settings=kde;gtk;
org.freedesktop.impl.portal.Secret=kwallet
And this is the /portals/kde.portal

Code: Select all

[portal]
DBusName=org.freedesktop.impl.portal.desktop.kde
Interfaces=org.freedesktop.impl.portal.Access;org.freedesktop.impl.portal.
Account;org.freedesktop.impl.portal.AppChooser;org.freedesktop.impl.portal.
Background;org.freedesktop.impl.portal.Email;org.freedesktop.impl.portal.
FileChooser;org.freedesktop.impl.portal.Inhibit;org.freedesktop.impl.portal
.Notification;org.freedesktop.impl.portal.Print;org.freedesktop.impl.portal
.ScreenCast;org.freedesktop.impl.portal.Screenshot;org.freedesktop.impl.
portal.RemoteDesktop;org.freedesktop.impl.portal.Settings;org.freedesktop.
impl.portal.DynamicLauncher;org.freedesktop.impl.portal.GlobalShortcuts;org
.freedesktop.impl.portal.InputCapture;org.freedesktop.impl.portal.Clipboard
UseIn=KDE
I think there is nothing wrong with them

Wrapped the 'Interfaces' key/value line to make the forum layout behave. —Chiitoo
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Oct 03, 2025 1:43 am

i'm not a KDE user myself, so i don't have the relevant files installed; what are the full paths to the KDE config files you mentioned? If they're not located within your home directory, can you confirm that there are no portal config files within your home directory, e.g. under $HOME/.config/xdg-desktop-portal/, and perhaps others?

This is perhaps clutching at straws a bit, because i would expect this to be covered by the `default=kde` line, but does adding:

Code: Select all

org.freedesktop.impl.portal.ScreenCast=kde
to kde-portals.conf make any difference?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
marannnn
n00b
n00b
User avatar
Posts: 4
Joined: Wed Oct 01, 2025 4:50 pm

  • Quote

Post by marannnn » Fri Oct 03, 2025 4:53 pm

The mentioned files are these:

Code: Select all

/usr/share/xdg-desktop-portal/portals.conf

Code: Select all

/usr/share/xdg-desktop-portal/kde-portals.conf

Code: Select all

/usr/share/xdg-desktop-portal/portals/kde.portal
I did not find any other files somewhere else.

Also I think this isn't a "kde portal' problem because this was also happening on River (wlr portal) and hyprland (hyprland portal)


I tried putting the org.freedesktop.impl.portal.ScreenCast=kde into the file but it still says this:[/code]

Code: Select all

warning: [pipewire] Failed to create session, denied or cancelled by user
Top
marannnn
n00b
n00b
User avatar
Posts: 4
Joined: Wed Oct 01, 2025 4:50 pm

  • Quote

Post by marannnn » Mon Oct 06, 2025 6:09 am

I HAVE FOUND A SOLUTION:

Add the screencast flag to the make.conf (or the speciffic pakcages) and rebuild everything. It says it in the wiki https://wiki.gentoo.org/wiki/PipeWire (that I have read many times but I still somehow missed it)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic