STEPS TO REPRODUCE 1. Use KDE Plasma 6.3.0 on Fedora 2. Try screen sharing or recording the hole screen 3. Notice it dosn't work OBSERVED RESULT You can't share/record the screen EXPECTED RESULT You can share/record the screen SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.3.0 (I think) Qt Version: 6.8.2
Which recording application are you using?
(In reply to Nicolas Fella from comment #1) > Which recording application are you using? I've tried in different apps, ArmCord, OBS Studio, Discord (the app) and Discord in the browser (Brave and Firefox)
The problem happend in different apps, ArmCord, OBS Studio, Discord (the app) and Discord in the browser (Brave and Firefox). I've also tried restarting the system
After making a test on VM it seems that bug only happens on Fedora 40,, but not on Fedora 41
I can reproduce in a Fedora 40 VM with Spectacle Feb 14 09:01:07 localhost-live kwin_wayland[1708]: kwin_wayland_drm: EglGbmLayerSurface::importWithCpu: failed to get a target dumb buffer Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: VA-API version 1.21.0 Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: Trying to open /usr/lib64/dri-nonfree/vmwgfx_drv_video.so Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: Trying to open /usr/lib64/dri-freeworld/vmwgfx_drv_video.so Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: Trying to open /usr/lib64/dri/vmwgfx_drv_video.so Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: va_openDriver() returns -1 Feb 14 09:01:07 localhost-live spectacle[2798]: kpipewire_record_logging: VAAPI: Failed to initialize display Feb 14 09:01:07 localhost-live spectacle[2798]: kpipewire_record_logging: DRM device not found Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: VA-API version 1.21.0 Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: Trying to open /usr/lib64/dri-nonfree/vmwgfx_drv_video.so Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: Trying to open /usr/lib64/dri-freeworld/vmwgfx_drv_video.so Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: Trying to open /usr/lib64/dri/vmwgfx_drv_video.so Feb 14 09:01:07 localhost-live spectacle[2798]: libva info: va_openDriver() returns -1 Feb 14 09:01:07 localhost-live spectacle[2798]: kpipewire_record_logging: VAAPI: Failed to initialize display Feb 14 09:01:07 localhost-live spectacle[2798]: kpipewire_record_logging: DRM device not found Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats)) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Object: size 240, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 2 (Spa:Enum:MediaType:video) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 7 (Spa:Enum:VideoFormat:RGBx) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle 1x1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle 1x1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle -1x-1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 0/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 1/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000008 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Long 72057594037927935 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Object: size 216, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 2 (Spa:Enum:MediaType:video) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 7 (Spa:Enum:VideoFormat:RGBx) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle 1x1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle 1x1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle -1x-1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 0/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 1/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats)) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Object: size 272, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 2 (Spa:Enum:MediaType:video) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle 1280x728 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 0/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 1/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Enum, flags 00000000 28 4 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 12 (Spa:Enum:VideoFormat:BGRA) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 12 (Spa:Enum:VideoFormat:BGRA) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 8 (Spa:Enum:VideoFormat:BGRx) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Enum, flags 00000000 48 8 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Long 72057594037927935 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Long 72057594037927935 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Long 0 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Long 72057594037927935 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Object: size 208, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 2 (Spa:Enum:MediaType:video) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Rectangle 1280x728 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 0/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 1/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Fraction 60/1 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Choice: type Spa:Enum:Choice:Enum, flags 00000000 28 4 Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 12 (Spa:Enum:VideoFormat:BGRA) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 12 (Spa:Enum:VideoFormat:BGRA) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.context: Id 8 (Spa:Enum:VideoFormat:BGRx) Feb 14 09:01:07 localhost-live pipewire[1718]: pw.link: (68.0.0 -> 40.0.0) negotiating -> error (no more input formats) (configure-configure)
That was testing with a live 40 system, which has a very old Plasma. On an up-to-date 40 it still does not work, but there Spectacle doesnt even offer recording. Trying to record with OBS Studio prints Feb 14 15:40:07 vbox xdg-desktop-portal-kde[1658]: xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available
This is caused by Fedora 40 having too old Pipewire for KWin 6.3. It should be fixed in Fedora soon
https://invent.kde.org/plasma/kwin/-/merge_requests/7155