While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
-
Ubuntu 24.04 LTS (Noble Numbat) is now available
- mrdeathjr -
Proton Hotfix update fixes Fallout 4 frame pacing issue…
- Mountain Man -
Ubuntu 24.04 LTS (Noble Numbat) is now available
- rustigsmed -
Proton 9.0 Beta updated and nearing release for Linux /…
- rustigsmed -
Lefties unite! Counter-Strike 2 now lets you swap hands…
- g000h - > See more comments
Latest Forum Posts
- Weekend Players' Club 4/26/2024
- StoneColdSpider - Nintendo-style gaming, without Nintendo!
- Pengling - Free Steam Keys!
- robvv - Company of Heroes 2 Benchmark
- Vortex_Acherontic - New Desktop Screenshot Thread
- Owltech - See more posts
View PC info
ffmpeg -device /dev/dri/card0 -f kmsgrab -framerate 60 -i - -vaapi_device /dev/dri/renderD128 -vf 'hwmap=derive_device=vaapi,crop=1434:650:974:774,scale_vaapi=w=1435:h=650:format=nv12' -c:v hevc_vaapi -qp 18 -y output-file.mkv
But it's downright messy. You need to figure out the window co-ordinates and the drivers seem very picky. Notice that the scale width is 1 pixel wider than the crop. I get a ton of errors and video full of noise without it...
View PC info
KDE developers say to avoid kmsgrab, it's just completely not suitable for the task and will get even more broken as they explain. Too bad ffmpeg doesn't yet implement pipewire screen capture.
I tried it and it didn't even work in the first place. Too many issues to dig into the method that's wrong anyway.
Last edited by Shmerl on 27 February 2024 at 5:33 pm UTC