570 release feedback & discussion

Hi metux,

We rely on RTLD_LAZY evaluation of function symbols in order to have a single nvidia_drv.so driver that works on a wide range of X server versions. To take one example, dixLookupPrivate was a real function in video driver ABIs 5 through 7, so it shows up in the unresolved symbol list for the driver. But the driver doesn’t try to call it unless the server indicates that it uses one of those ABI versions.

I recently updated the feature deprecation schedule post to note that I’m raising the minimum supported server version from 1.7 to 1.17 in the next driver release branch. That will remove a whole bunch of these really old symbols but we will continue to use the dynamic ABI support approach for the foreseeable future.

I should also note that the headers we build against are the output of make install and then using a snapshot of the /usr/include/xorg directory as our SDK headers. I don’t hand-write headers to access symbols that were never part of the driver SDK.

2 Likes