Bug 1225279 - Screen recording does not work
Summary: Screen recording does not work
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 22:19 UTC by Antonio Romano
Modified: 2024-06-12 09:51 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
This issue is fixed. (4.78 MB, video/mp4)
2024-06-05 02:58 UTC, Archer Allstars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Romano 2024-05-24 22:19:07 UTC
I'm using openSUSE Tumbleweed w/ snapshot 20240523 and GNOME 46.1. 

GNOME's built-in screen recording does not work. Steps to reproduce the bugs are the following:

- Press Prtsc key
- Select "Screen recording"
- Select either region or whole screen
- Press the record red button
- Wait ~23 seconds
- You will receive a notification "Screencast failed to start"

On GNOME's GitLab there's already a bug covering this issue, although it has been closed despite some users (Using Tumbleweed like me) are still experiencing this problem.

Following the issue post i just linked, I noticed that I get the same error as the author: 


```
pw.context: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
pw.context: Object: size 296, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
pw.context:     Id 2        (Spa:Enum:MediaType:video)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
pw.context:     Id 1        (Spa:Enum:MediaSubtype:raw)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
pw.context:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 40 8
pw.context:       Long 72057594037927935
pw.context:       Long 72057594037927935
pw.context:       Long 0
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:None, flags 00000000 16 0
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
pw.context:       Rectangle 16x16
pw.context:       Rectangle 16x16
pw.context:       Rectangle 2147483647x2147483647
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
pw.context:       Fraction 0/1
pw.context:       Fraction 0/1
pw.context:       Fraction 2147483647/1
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:None, flags 00000000 24 8
pw.context:       Fraction 30/1
pw.context: Object: size 296, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
pw.context:     Id 2        (Spa:Enum:MediaType:video)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
pw.context:     Id 1        (Spa:Enum:MediaSubtype:raw)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
pw.context:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 40 8
pw.context:       Long 72057594037927935
pw.context:       Long 72057594037927935
pw.context:       Long 0
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:None, flags 00000000 16 0
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
pw.context:       Rectangle 16x16
pw.context:       Rectangle 16x16
pw.context:       Rectangle 2147483647x2147483647
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
pw.context:       Fraction 0/1
pw.context:       Fraction 0/1
pw.context:       Fraction 2147483647/1
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:None, flags 00000000 24 8
pw.context:       Fraction 30/1
pw.context: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats))
pw.context: Object: size 296, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
pw.context:     Id 2        (Spa:Enum:MediaType:video)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
pw.context:     Id 1        (Spa:Enum:MediaSubtype:raw)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
pw.context:     Id 8        (Spa:Enum:VideoFormat:BGRx)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
pw.context:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
pw.context:       Long 0
pw.context:       Long 0
pw.context:       Long 72057594037927937
pw.context:       Long 72057594037927938
pw.context:       Long 72057594037927940
pw.context:       Long 72057594037927935
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
pw.context:       Rectangle 778x1162
pw.context:       Rectangle 778x1162
pw.context:       Rectangle 778x1162
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
pw.context:     Fraction 0/1
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
pw.context:       Fraction 60/1
pw.context:       Fraction 1/1
pw.context:       Fraction 60/1
pw.context: Object: size 296, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
pw.context:     Id 2        (Spa:Enum:MediaType:video)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
pw.context:     Id 1        (Spa:Enum:MediaSubtype:raw)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
pw.context:     Id 12       (Spa:Enum:VideoFormat:BGRA)
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
pw.context:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 64 8
pw.context:       Long 0
pw.context:       Long 0
pw.context:       Long 72057594037927937
pw.context:       Long 72057594037927938
pw.context:       Long 72057594037927940
pw.context:       Long 72057594037927935
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
pw.context:       Rectangle 778x1162
pw.context:       Rectangle 778x1162
pw.context:       Rectangle 778x1162
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
pw.context:     Fraction 0/1
pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8

```
Comment 1 Antonio Romano 2024-05-24 22:20:23 UTC
Forgot to include the issue post link. Oops.

https://gitlab.gnome.org/GNOME/mutter/-/issues/3428
Comment 2 Archer Allstars 2024-06-05 02:58:33 UTC
Created attachment 875313 [details]
This issue is fixed.

As of Tumbleweed snapshot 20240531, this issue is fixed. 

IDK if it's related, I have gstreamer-plugins-bad-codecs and gstreamer-plugins-ugly-codecs from PackMan installed, as shown in the screen recording from the screencast itself.
Comment 3 Antonio Larrosa 2024-06-11 06:09:44 UTC
Antonio Romano, can you confirm if updating to a recent Tumbleweed snapshot fixes the issue? if not, can you try installing the gstreamer packages mentioned by Archer?
Comment 4 Antonio Romano 2024-06-12 08:24:01 UTC
(In reply to Antonio Larrosa from comment #3)
> Antonio Romano, can you confirm if updating to a recent Tumbleweed snapshot
> fixes the issue? if not, can you try installing the gstreamer packages
> mentioned by Archer?

Updating to the latest snapshot fixed the bug. 

Thank you all
Comment 5 Antonio Larrosa 2024-06-12 09:51:59 UTC
Thank you for the quick confirmation!