This commit is contained in:
Collin 2025-07-04 13:42:57 -07:00 committed by GitHub
commit 4417e66018
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -417,7 +417,10 @@ CheckVersion(const char *module, XF86ModuleVersionInfo * data,
{
int vercode[4];
long ver = data->xf86version;
/* Only ignore ABI mismatches for NVIDIA proprietary driver */
if (data->vendor && strstr(data->vendor, "NVIDIA") != NULL) {
LoaderOptions |= LDR_OPT_ABI_MISMATCH_NONFATAL;
}
LogMessage(X_INFO, "Module %s: vendor=\"%s\"\n",
data->modname ? data->modname : "UNKNOWN!",
data->vendor ? data->vendor : "UNKNOWN!");
@ -482,7 +485,6 @@ CheckVersion(const char *module, XF86ModuleVersionInfo * data,
}
}
}
/* Check against requirements that the caller has specified */
if (req) {
if (data->majorversion != req->majorversion) {