View Issue Details

IDProjectCategoryView StatusLast Update
0001370channel: elrepo/el8nvidia-detectpublic2024-02-23 13:11
Reporterddragos Assigned Topperry  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001370: nvidia-detect prints ABI compatibility warnings regardless of "x" flag
Descriptionnvidia-detect prints ABI compatibility warnings regardless of "x" flag.
Checking the code, it looks like "opt_xorg" is not taken into consideration:
nvidia-detect.c: 467
case 'x':
    opt_xorg = true;
    break;
......
nvidia-detect.c: 534
if (opt_xorg)
    printf("\nChecking ABI compatibility with Xorg Server...\n");

abi_compat = check_xorg_abi_compat(ret);

if (!abi_compat)
    fprintf(stderr, "WARNING: The driver for this device "
    "does not support the current Xorg version\n");
else
    if (opt_xorg)
        printf("ABI compatibility check passed\n");
Steps To ReproduceRunning "nvidia-detect" (without "x" parameter) on a headless server will result in the following warnings:
WARNING: Xorg log file /var/log/Xorg.0.log does not exist
WARNING: Unable to determine Xorg ABI compatibility
WARNING: The driver for this device does not support the current Xorg version
Tagsnvidia-detect

Activities

pperry

2023-07-17 13:04

administrator   ~0009287

Hi,

They are warnings only, and can be ignored on headless systems (caused by the absence of /var/log/Xorg.0.log), but I should be able to fix for the next release.

pperry

2023-07-17 13:27

administrator   ~0009288

Fix queued for next release:

https://github.com/elrepo/packages/commit/d962f20bcf1f093edfbcc709d3fa98862f73f19d

tqhoang

2024-02-23 13:11

manager   ~0009577

The following packages have been built and are syncing to our mirrors.

nvidia-detect-535.154.05-1.el8_9.elrepo.src.rpm
nvidia-detect-535.154.05-1.el8_9.elrepo.x86_64.rpm

They include the fix mentioned above. Closing this ticket.

Issue History

Date Modified Username Field Change
2023-07-17 08:10 ddragos New Issue
2023-07-17 08:10 ddragos Status new => assigned
2023-07-17 08:10 ddragos Assigned To => pperry
2023-07-17 08:10 ddragos Tag Attached: nvidia-detect
2023-07-17 13:04 pperry Note Added: 0009287
2023-07-17 13:27 pperry Note Added: 0009288
2024-02-23 13:11 tqhoang Status assigned => closed
2024-02-23 13:11 tqhoang Resolution open => fixed
2024-02-23 13:11 tqhoang Note Added: 0009577