A stable ABI (at least for GSP FW) #372
Replies: 3 comments 22 replies
-
Hey there. Yes, lack of stable ABI is a known problem with getting an upstream GSP driver - whether Nouveau or a new one. We have been thinking about this for a long time and the infrastructural groundwork is mostly in place. The major issue here is that once we start supporting a stable, versioned ABI, we need to carry all the additional baggage for a long time. And GSP development is still moving very rapidly - just this week we've updated at least 3 RPCs (that I know of). If this was all versioned we'd accumulate so much tech debt before we ever shipped a production ready geforce driver. Bottom line is, we are aware of the issues this causes for third party kernel drivers, and we do have plans on how to resolve it, we just can't execute on those plans yet or everyone will be paying the price for a long time to come. Fortunately, this shouldn't preclude the development of such drivers - yes there will be a bit of throwaway work, but getting the r515 GSP image booting is 98% of the work, and then switching it use a versioned interface later should not be much of an issue. |
Beta Was this translation helpful? Give feedback.
-
@mtijanic Nouveau aims to support all Nvidia gpus (particularly Kepler and newer). From what I understand GSP fw isn't driver code moved to fw but rather all firmwares merged into a single package. While some firmwares are provided by nvidia over at linux firmware, pmu is notably missing and it does indeed matter for reclocking maxwell and pascal using Nouveau so along with stable GSP I really hope we'll see the other firmwares published too |
Beta Was this translation helpful? Give feedback.
-
During the Linux Plumbers Conference 2022 the Nouveau devs held a presentation which mostly concerned the future of the project after NVIDIA released this open source kernel drivers which reignited the interest in Nouveau project.
One of their most important concerns is the lack of a stable ABI. What this means is that NVIDIA drivers are version locked. For example, the latest kernel module is version 515.49.15 and only userspace libraries and GSP firmware version 515.49.15 is compatible with it. Nouveau is an upstream driver and you can see why this is an issue.
I'd like to request a better design with a stable ABI
https://youtube.com/watch?v=KkOdMwZRpYY at 08:49:20
Beta Was this translation helpful? Give feedback.
All reactions