Resolving GPU Allocation Issues for Xorg in Multi-GPU Systems

Resolving GPU Allocation Issues for Xorg in Multi-GPU Systems

Environment

RAID Model: SR1000 or SR1010 etc

Host Hardware: AMD/Intel/Supermicro model etc

Operating System: Linux


Issue

Xorg is defaulting to SupremeRAID card instead of user's GPU for display output.
Example:

Users may find that the Xorg server prioritizes the A2000 GPU for display instead of the desired A5000 GPU.



Resolution

1. Environment Preparation:
 - 
Verify system resources using tools like nvidia-smi.

2.Update Xorg Configuration:
 -Create or edit the file:
  1.    $sudo vim /usr/share/X11/xorg.conf.d/20-gpu.conf
- Edit 
  1. Section "ServerLayout"
  2.     Identifier "layout"
  3.     Screen 0 "nvidia_1"
  4. EndSection

  5. Section "Device"
  6.     Identifier "nvidia_0"
  7.     Driver "nvidia"
  8.     BusID "PCI:65:0:0"  
  9.     Option "Ignore" "true"
  10. EndSection

  11. Section "Device"
  12.     Identifier "nvidia_1"
  13.     Driver "nvidia"
  14.     BusID "PCI:129:0:0"  
  15. EndSection

  16. Section "Screen"
  17.     Identifier "nvidia_1"
  18.     Device "nvidia_1"
  19. EndSection
# The BusID correctly identifies the A2000 using the format PCI:<Domain>:<Bus>:<Device>. In this example, A2000's BusID is PCI:65:0:0, which matches the example value of 00000000:41:00.0.

3. Verify Configuration

  • Use nvidia-smi to check if  Xorg is using primary display.
  • Check logs if further debugging is  required:
    1. cat /var/log/Xorg.0.log | grep NVIDIA

    • Related Articles

    • [Linux] OS booting got the error message after GPU DMA allocated

      Environment RAID Model: All Supreme RAID models Host Hardware: AMD/Intel Operating System: Linux SupremeRAID Driver: 1.3.x and later versions Description A known issue exists with the NVIDIA driver in older kernel versions, such as Ubuntu 20.04. ...
    • Resolving Graid Service Startup Issue on Systems with NVSwitch/NVLink GPUs#

      Environment RAID Model: SR1000 or SR1010 etc Host Hardware: AMD/Intel Operating System: Linux (Ubuntu/RHEL based/Suse) Issue On systems equipped with NVIDIA NVSwitch or NVLink GPUs, the Graid service (graid) fails to initialize and start properly. ...
    • Graid Performance Benchmarking 2025 - Linux

      Environment RAID Model: All Host Hardware: AMD/Intel Operating System: Linux Storage Performance Testing on Linux This document provides quick and straightforward instructions for performing storage performance testing using the FIO benchmarking tool ...
    • How to get basic information from Graid log collection tool(Linux)?#

      Environment RAID Model: All Host Hardware: All Operating System: Linux Issue This script collects config and logs information that graid support requires to troubleshoot issues effectively. Resolution 1. Download the log collection script and make it ...
    • Enabling Secure Boot with SupremeRAID™ on Ubuntu

      Environment RAID Model: SR1000 or SR1010 etc Host Hardware: AMD/Intel/Supermicro model etc Operating System: Linux Ubuntu etc Issue Setting up Secure Boot with SupremeRAID™ requires proper key enrollment for loading both the SupremeRAID and NVIDIA ...