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
- Developing a Video Game with Unreal Engine 5 on Linux
- NVIDIA 560 Linux driver Beta has Wayland improvements, defaults to open GPU kernel modules
- Top-down Terraria-like 'Necesse' gets a huge graphics update on August 10
- Proton Experimental gets fixes for Ubisoft Connect, Once Human, Burnout Paradise Remastered
- FlatOut 1, 2 and Ultimate Carnage now Steam Deck Verified with Steam Workshop support
- > See more over 30 days here
-
Linux Mint 22 is officially out now supported until 202…
- Marlock -
Valve gives developers some big reasons to add a demo o…
- Anza -
Vibrant Sokoban-style game Puzzledorf now available for…
- Pengling -
Vibrant Sokoban-style game Puzzledorf now available for…
- mZSq7Fq3qs -
Apple design award winner Afterplace just released on P…
- Calinou - > See more comments
- Weekend Players' Club 7/26/2024
- Pengling - The Wildlands Expansion Is Live: UO Outlands Hits New Milestones.…
- slaapliedje - New Desktop Screenshot Thread
- Hamish - The Stardew Valley Appreciation Thread!
- Pengling - Strange monitor / desktop resume problem
- kokoko3k - 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