I am having an issue with getting a VM to load and display a graphics package.
The VM is running RHEL 7 VM that is using PCI Pass-through
I created a Linux RHEL x64 VM.
I was able to activate the M5000 GPU for the VM via PCI.
When the VM boots, a modified XORG RHEL OS is loaded via a PXE menu.
I can see the OS load as there are several messages being displayed on the VM screen.
It continues and then it stops at the message:
“Started OpenSSH server daemon”
Looking at the Xorg.log, I see messages such as:
NVIDIA GLX Module 390.25 …
Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
NVIDIA Unified Driver for all Supported NVIDIA GPUs
Using VT number 1
No device detected
Fatal Server Error
No screens found
I am not sure what this specialized OS runs, but it loaded on physical server and works.
Any ideas on what i need to add or modify to get the OS to load and run the graphics to the VM screen?
±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
I modified the Xorg.conf, adding BusID as in below
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:11:0:0"
EndSection
I restarted the VM, but it still hangs and I get a different error…
[20.913] (–) NVIDIA(GPU-0)
[20.913] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[20.913] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server
[20.913] (EE) NVIDIA(0): to start anyway
[20.913] (EE) NVIDIA(0): Failing initialization of X screen 0
[20.913] (II) UnloadModule: "nvidia"
[20.913] (II) UnloadSubModule: "wfb"
[20.913] (II) UnloadSubModule: "fb"
[20.913] (EE) Screen(s) found, but none have a usable configuration.
[20.913] (EE)
Fatal server error:
[20.913] (EE) no screens found(EE)
[20.913] (EE)
Please consult the The X.Org Foundation support at http://wiki.x.org for help.
i typed the log file and may have transposed the incorrect driver and date
Below is from the old Xorg.
[ 19.154] (II) NVIDIA GLX Module 390.25 Wed Jan 24 19:23:51 PST 2018
[ 19.154] (II) NVIDIA dlloader X Driver 390.25 Wed Jan 24 18:57:05 PST 2018
[ 19.154] (++) using VT number 1
[ 19.157] (EE) No devices detected.
[ 19.157] (EE)
Fatal server error
I did the commands,
### device visible:
lspci -vvv -d 10de:*
---- no match
### driver loaded:
lsmod | grep nvidia
---- comes back with a list of nvidia files (nvidia-drm, nvidia-modset,nvidis,etc)
### no errors in driver:
dmesg | egrep ‘nvidia|NVRM’
---- comes back with a listing showing irq info, Allocated GPU, Freed GPU (nvidia 0000:0b:00:0 irq 69 for MSI/MI-X, nvidia-modeset: Freed GPU:0 (GPU-25aa9821-…………………)
### driver responding to basic command (try two times):
nvidia-smi
---- comes back with a page shwong info for the M5000 both times