Skip to content

Conversation

@dec05eba
Copy link

@dec05eba dec05eba commented Nov 14, 2025

Use desktop portal capture option which allows capturing monitors connected to external gpus (common on laptops with dedicated gpus) and supports capturing properly when hdr is enabled.

Desktop portal capture allows selecting capture of a window, monitor or screen region.

Add -fallback-cpu-encoding yes to use cpu encoding if the system doesn't support gpu encoding. Ideally omarchy should install vaapi drivers which would fix this issue for most users, but some users have a gpu that dont support gpu encoding at all so this option is still needed.

Use pgrep with ^ as is done in waybar indicator screen-recording.sh to only grep for gpu-screen-recorder program.

Update omarchy-menu to reflect not selecting region/display capture and instead allow capturing only desktop audio or desktop + microphone audio.

Stop recording when pressing the record hotkey or navigating to the record menu instead of having to select
a recording option and then stopping the recording.

Fixes #3367, #3303 and #3118

Use desktop portal capture option which allows capturing monitors
connected to external gpus (common on laptops with dedicated gpus)
and supports capturing properly when hdr is enabled.

Desktop portal capture allows selecting capture of a window, monitor
or screen region.

Add -fallback-cpu-encoding yes to use cpu encoding if the system
doesn't support gpu encoding. Ideally omarchy should install vaapi
drivers which would fix this issue for most users, but some users
have a gpu that dont support gpu encoding at all so this option is still
needed.

Use pgrep with ^ as is done in waybar indicator screen-recording.sh
to only grep for gpu-screen-recorder program.

Update omarchy-menu to reflect not selecting region/display capture
and instead allow capturing only desktop audio or desktop + microphone
audio.

Fixes basecamp#3367 and basecamp#3303
@dec05eba
Copy link
Author

Note that I tested recording a window as well which works fine, as long as the monitor isn't rotated. This seems to be an issue in hyprland as obs studio also has the same issue and it works in other wayland compositors.

@dec05eba
Copy link
Author

@ryanrhughes

@sohro-da
Copy link

sohro-da commented Nov 17, 2025

@dec05eba, thank you for your screen capturing improvement efforts. I believe this feature is really handy and useful in any OS. Especially, when I need to quickly show my friends/coworkers how to do something and how exactly.

But do you think you can also do a small patch, so when in capturing mode, pressing the keys again would stop and save the video?

Because I can't believe, as of now, you need to press the keys, then select an item to stop the capturing. If it's already fixed in the upcoming version, please ignore this message.

@dec05eba
Copy link
Author

@sohro-da I added that now

@dhh dhh requested a review from ryanrhughes November 18, 2025 08:37
@neheb
Copy link

neheb commented Nov 18, 2025

Lovely. That CPU fallback is needed. My GPU (7750) won't get hardware acceleration until kernel 6.19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants