AMD has announced background shader compilation for its Windows driver. Does a feature like that usually arrive on Linux too, and would it come through a kernel or Mesa update?
How do new AMD driver features make it to Linux?
Answers
There isn't a general rule that a Windows driver feature gets ported to Linux on a matching schedule. The drivers have different code and release processes, so someone needs to implement the equivalent behavior in the relevant Linux component. Sometimes Linux already has a different solution to the same problem, and sometimes there isn't an equivalent at all.
For background shader compilation specifically, the announcement alone doesn't tell us whether an equivalent exists on Linux or when one might arrive.
Reply to this answer
The kernel and Mesa are separate pieces of the graphics stack. The kernel's AMD driver handles things like communicating with the GPU and managing resources. Mesa contains user-space drivers, including Radeon Vulkan and OpenGL implementations, where much of the graphics API work happens.
Which update matters depends on the feature. Some need changes in Mesa, some need kernel support, and others involve both or additional components. A kernel update by itself won't necessarily update Mesa.
Reply to this answer
Shader compilation is a tricky example because more than the GPU driver can be involved. A game, its graphics API, a compatibility layer, or the driver may all affect when shaders get compiled and cached.
For a particular game, it helps to check which API and driver it uses, then look for details about that implementation rather than assuming the Windows feature name maps directly to one Linux setting.
Reply to this answer
Linux does have GPU drivers, just not always as one downloadable package like the Windows driver. Mesa and the kernel driver are common parts of the AMD stack, but there are other driver options too. The exact setup matters when checking whether a feature is available.
Reply to this answer
Add your answer
Answers are reviewed before publication.
GBArewindEnjoyer:
So a distribution could get a new kernel without getting the corresponding Mesa changes at the same time?
P4wakeUpCall:
Right. They're packaged separately, and a distribution's release schedule determines when it ships each update.