In the past 10 years, Linux gaming came from a painful experience to a reality,
with competitive performance, smooth experience and even an ArchLinux based
handheld device, the Steam Deck.
This progress was made possible by the effort of a strong community working in
different parts of the stack, from Wine, userspace graphic drivers and finally
the kernel.
Gaming workloads have been pushing Linux development to tackle bottlenecks and
enhancements never seem before. In this talk, we are going to cover the
progress made to enhance game performance from the kernel side, current work
and next challenges.
(c) FOSDEM 2023
4 & 5 February 2023
https://fosdem.org/2023/schedule/event/kernel_fps/
1. Hacking the Linux Kernel
to get moar FPS
André Almeida @ Igalia
FOSDEM 2023
1
2. Linux kernel development model
Linux kernel development has no roadmap, people
develop as they need
Use case driven
If no developer/company cares about something, it
will never appear on Linux
People need to push new use cases
2
3. Play on Linux
People have been always playing on Linux, but
struggling at times
Some native ports along the years (with some
troubles), notably Source Engine
BioShock Infinite: Proton version way better than
native one
On and off
Slow progress, no clear financial interest
3
4. Proton Era
Announced in August 2018 by Valve
Valve paying community developers and
consultancies to enhance Linux gaming
Linux, Mesa, Wine, DirectX translation layers, etc
Big speed up
4
12. GPU driver
Numerous bugfixes, documentation, and
improvements in DRM drivers, like amdgpu
New DRM features (async page flip in atomic, better
GPU reset handling)
HDR, 3D LUT
12
15. Many bug fixes and
improvements
Split lock detector handling
HID bottleneck for VR use case
Unix sockets, TSC, PTE, timestamps
Panic refactor
Lots of documentation
15
16. Out of tree
Task schedulers (PDS, MuQSS)
A lot of work-in-progress patches
https://xanmod.org
https://liquorix.net
16