View previous topic :: View next topic |
Author |
Message |
sigra Tux's lil' helper
Joined: 03 Feb 2006 Posts: 137
|
Posted: Sat Sep 14, 2024 7:14 pm Post subject: [SOLVED] kwin_screencast: Failed to connect PipeWire context |
|
|
Trying to get KDE6 working. The first thing to fix is obviously what spews enless lines of text to the log. Here is the last half minute:
Code: | sep 14 21:06:00 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:00 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:00 tor plasmashell[606]: error creating screencast "Misslyckades ansluta PipeWire-sammanhang"
sep 14 21:06:00 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:00 tor plasmashell[606]: error creating screencast "Misslyckades ansluta PipeWire-sammanhang"
sep 14 21:06:01 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:01 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:01 tor plasmashell[606]: error creating screencast "Misslyckades ansluta PipeWire-sammanhang"
sep 14 21:06:01 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:01 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:01 tor plasmashell[606]: error creating screencast "Misslyckades ansluta PipeWire-sammanhang"
sep 14 21:06:01 tor kwin_wayland_wrapper[512]: kwin_screencast: Failed to connect PipeWire context
sep 14 21:06:01 tor plasmashell[606]: error creating screencast "Misslyckades ansluta PipeWire-sammanhang"
sep 14 21:06:03 tor plasmashell[606]: kpipewire_logging: error: "Misslyckades ansluta till PipeWire-sammanhang" 0
sep 14 21:06:03 tor plasmashell[606]: received error while creating the stream "Misslyckades ansluta till PipeWire-sammanhang" Media monitor will not work.
sep 14 21:06:08 tor plasmashell[606]: kpipewire_logging: error: "Misslyckades ansluta till PipeWire-sammanhang" 0
sep 14 21:06:08 tor plasmashell[606]: received error while creating the stream "Misslyckades ansluta till PipeWire-sammanhang" Media monitor will not work.
sep 14 21:06:13 tor plasmashell[606]: kpipewire_logging: error: "Misslyckades ansluta till PipeWire-sammanhang" 0
sep 14 21:06:13 tor plasmashell[606]: received error while creating the stream "Misslyckades ansluta till PipeWire-sammanhang" Media monitor will not work.
sep 14 21:06:18 tor plasmashell[606]: kpipewire_logging: error: "Misslyckades ansluta till PipeWire-sammanhang" 0
sep 14 21:06:18 tor plasmashell[606]: received error while creating the stream "Misslyckades ansluta till PipeWire-sammanhang" Media monitor will not work.
sep 14 21:06:23 tor plasmashell[606]: kpipewire_logging: error: "Misslyckades ansluta till PipeWire-sammanhang" 0
sep 14 21:06:23 tor plasmashell[606]: received error while creating the stream "Misslyckades ansluta till PipeWire-sammanhang" Media monitor will not work.
sep 14 21:06:28 tor plasmashell[606]: kpipewire_logging: error: "Misslyckades ansluta till PipeWire-sammanhang" 0
sep 14 21:06:28 tor plasmashell[606]: received error while creating the stream "Misslyckades ansluta till PipeWire-sammanhang" Media monitor will not work.
|
Last edited by sigra on Sun Sep 15, 2024 10:44 am; edited 1 time in total |
|
Back to top |
|
|
sigra Tux's lil' helper
Joined: 03 Feb 2006 Posts: 137
|
Posted: Sun Sep 15, 2024 9:02 am Post subject: |
|
|
The error message does not say how it tried to connect PipeWire. The following command did not work:
Code: | systemctl start PipeWire |
emerge -s pipewire shows that acct-group/pipewire-0-r2, kde-plasma/kpipewire-6.1.4-r1 and media-video/pipewire-1.2.3 are installed. But it also shows that acct-user/pipewire is not installed. Should it be installed, and if so, why was it not installed as a dependency?
Searching for pipewire in systemsettings does not find anything (such as an option to disable it). |
|
Back to top |
|
|
sigra Tux's lil' helper
Joined: 03 Feb 2006 Posts: 137
|
Posted: Sun Sep 15, 2024 9:26 am Post subject: |
|
|
Quote: | [ebuild R ~] media-video/pipewire-1.2.3:0/0.4::gentoo USE="X dbus doc extra ffmpeg readline ssl systemd v4l zeroconf -bluetooth -echo-cancel -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -pipewire-alsa -roc (-selinux) -sound-server (-system-service) -test" 0 KiB |
Should the use flag system-service be enabled? If so, why was it not enabled as a dependency of plasmashell? |
|
Back to top |
|
|
sigra Tux's lil' helper
Joined: 03 Feb 2006 Posts: 137
|
Posted: Sun Sep 15, 2024 10:24 am Post subject: |
|
|
While emerging pipewire separately, I noticed this message:
Code: | >>> Completed (1 of 1) media-video/pipewire-1.2.3::gentoo
* Messages for package media-video/pipewire-1.2.3:
* Please restart KWin/Mutter after upgrading PipeWire.
* Screencasting may not work until you do.
*
* When switching from PulseAudio, you may need to disable PulseAudio:
*
* systemctl --user disable pulseaudio.service pulseaudio.socket
*
* To use PipeWire, the user units must be manually enabled
* by running this command as each user you use for desktop activities:
*
* systemctl --user enable pipewire.socket pipewire-pulse.socket
*
* A reboot is recommended to avoid interferences from still running
* PulseAudio daemon.
*
* Both new users and those upgrading need to enable WirePlumber
* for relevant users:
*
* systemctl --user disable pipewire-media-session.service
* systemctl --user --force enable wireplumber.service
*
* Root user may replace --user with --global to change system default
* configuration for all of the above commands.
*
* For latest tips and tricks, troubleshooting information, and documentation
* in general, please refer to https://wiki.gentoo.org/wiki/PipeWire
*
* The following can be installed for optional runtime features:
* sys-auth/rtkit for restricted realtime capabilities via D-Bus
* media-plugins/alsa-plugins[pulseaudio] for ALSA plugin to use PulseAudio interface for output
* GNU info directory index is up-to-date.
|
I also read at https://wiki.gentoo.org/wiki/PipeWire about CONFIG_VERBOSE_PROCFS. But in my kernels, it is called SND_VERBOSE_PROCFS. I enable it, reinstall the kernel, run the systemctl commands suggested above and reboot now. |
|
Back to top |
|
|
sigra Tux's lil' helper
Joined: 03 Feb 2006 Posts: 137
|
Posted: Sun Sep 15, 2024 10:43 am Post subject: [SOLVED] kwin_screencast: Failed to connect PipeWire context |
|
|
No more log spam after reboot (tried both 6.1.110-gentoo and 6.6.47-gentoo)! |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5090 Location: Bavaria
|
|
Back to top |
|
|
|