shell icon indicating copy to clipboard operation
shell copied to clipboard

[BUG] Screen recorder won't record

Open Shay0Plays opened this issue 1 year ago • 41 comments

Step 1. Before you submit

  • [x] I have read the above instructions and am sure that this is supposed to be posted here.
  • [x] I've successfully updated to the latest versions following the updating guide.
  • [x] I've successfully updated the system packages to the latest.
  • [ ] I've ticked the checkboxes without reading their contents

Step 2. Version info

Version info

<img width="1150" height="347" alt="Image" src="https://github.com/user-attachments/assets/ad2fcf6a-016a-4282-9edc-26e113b0b0ff" />

Step 3. Describe the issue

Every time i try use the screen recorder, it throws an error, error 11

Image
Logs
<!-- Put your log content here!-->

Reminder

  • [x] I agree that it's usually impossible for others to help me without my logs.

Shay0Plays avatar Sep 19 '25 19:09 Shay0Plays

Try running the commamd in the terminal and show the output. Do you use NixOs?

Markus328 avatar Sep 19 '25 21:09 Markus328

Image

No, I am not on NixOs

Shay0Plays avatar Sep 19 '25 23:09 Shay0Plays

You need to setup vaapi in your system. Read this

Markus328 avatar Sep 19 '25 23:09 Markus328

Now I get a different error

Image Image

Shay0Plays avatar Sep 20 '25 12:09 Shay0Plays

Try installing the correct drivers and setting up vaapi, if that doesnt work you can add record.extraArgs: ["--cpu"] to the cli config to force it to use software encoding

soramanew avatar Sep 20 '25 13:09 soramanew

Sorry, where do I find the cli config?

Shay0Plays avatar Sep 20 '25 14:09 Shay0Plays

Sorry, where do I find the cli config?

Run

touch ~/.config/caelestia/cli.json

Then from caelestia-dots/cli bring the example config and paste it in ~/.config/caelestia/cli.json Or just paste this

{
    "record": {
        "extraArgs": []
    },
    "theme": {
        "enableTerm": true,
        "enableHypr": true,
        "enableDiscord": true,
        "enableSpicetify": true,
        "enableFuzzel": true,
        "enableBtop": true,
        "enableGtk": true,
        "enableQt": true
    },
    "toggles": {
        "communication": {
            "discord": {
                "enable": true,
                "match": [{ "class": "discord" }],
                "command": ["discord"],
                "move": true
            },
            "whatsapp": {
                "enable": true,
                "match": [{ "class": "whatsapp" }],
                "move": true
            }
        },
        "music": {
            "spotify": {
                "enable": true,
                "match": [{ "class": "Spotify" }, { "initialTitle": "Spotify" }, { "initialTitle": "Spotify Free" }],
                "command": ["spicetify", "watch", "-s"],
                "move": true
            },
            "feishin": {
                "enable": true,
                "match": [{ "class": "feishin" }],
                "move": true
            }
        },
        "sysmon": {
            "btop": {
                "enable": true,
                "match": [{ "class": "btop", "title": "btop", "workspace": { "name": "special:sysmon" } }],
                "command": ["foot", "-a", "btop", "-T", "btop", "fish", "-C", "exec btop"]
            }
        },
        "todo": {
            "todoist": {
                "enable": true,
                "match": [{ "class": "Todoist" }],
                "command": ["todoist"],
                "move": true
            }
        }
    }
}

ghost avatar Sep 20 '25 14:09 ghost

Now I get exit code 1, after attempting to use software encoding.

Image Image

Shay0Plays avatar Sep 20 '25 14:09 Shay0Plays

You didn't run it with the --cpu flag

soramanew avatar Sep 20 '25 15:09 soramanew

I'm not sure what you meant by missing the --cpu flag, I'm assuming you meant when I tried to manually run the command, so here it is, but it didn't work.

Image

i tried -encoder cpu, and it did start recording, however the video can't be played, [Edit 1] I'm thinking this is leading me astray because if I put this into the cli config, I get the same error. [Edit 2] nvm

Image Image

Shay0Plays avatar Sep 20 '25 15:09 Shay0Plays

Tried running it with -gl-debug yes, if there was info you needed.

Image Image

Shay0Plays avatar Sep 20 '25 15:09 Shay0Plays

Ah ok it's -encoder cpu mb

soramanew avatar Sep 20 '25 15:09 soramanew

Try playing the video in mpv

soramanew avatar Sep 20 '25 15:09 soramanew

wdym mpv

Shay0Plays avatar Sep 20 '25 15:09 Shay0Plays

mpv media player

Markus328 avatar Sep 20 '25 16:09 Markus328

Nope, mpv does not work, well the file opens, but the whole video is black.

Image

Shay0Plays avatar Sep 20 '25 16:09 Shay0Plays

Nope, mpv does not work, well the file opens, but the whole video is black.

Image

Try using -w portal instead of -w HDMI-A-2. It should open a window to select your monitor

Markus328 avatar Sep 20 '25 16:09 Markus328

I tried -w portal before, but I get this, and after clicking Screen 0, I get the the same thing.

Image Image

Shay0Plays avatar Sep 20 '25 16:09 Shay0Plays

Your gpu (igpu) might be too old and unsupported, it's failing both gpu encoding and opengl es 3.0 calls. Which cpu and gpu do you have? the system info you provided links to an invalid image.

dec05eba avatar Sep 20 '25 21:09 dec05eba

CPU: i5-3470s GPU: Integrated, not sure which Intel HD Graphics it is

Shay0Plays avatar Sep 20 '25 21:09 Shay0Plays