Hi,
I need a Linux VM with NVIDIA OpenGL 4.x support, so after having read about vDGA I have purchased an NVIDIA K600 and put it in our Dell PowerEdge r720, configured it for passthrough and assigned it to a VM running Red Hat Enterprise Linux 6. I have also configured the VM with pciHole.start=2048, without really knowing why, other than documentation states that I should do this, if the VM has more than 2GiB, which it does - it has 8GiB. After rebooting the VM I can see the card with lspci:
[root ~]# lspci |grep NVIDIA
13:00.0 VGA compatible controller: NVIDIA Corporation GK107GL [Quadro K600] (rev a1)
13:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
I have installed the NVIDIA recommended driver 340.24 for the NVIDIA Quadro K600 and the driver installation proceeds without any incidents. After this I can also see the driver is loaded:
[root ~]# lsmod |grep -i nvidia
nvidia 10533126 0
i2c_core 31084 6 nvidia,i2c_piix4,nouveau,drm_kms_helper,drm,i2c_algo_bit
However, when I try to start X at first it fails to find the device, after helping it by setting the BusID in /etc/X11/xorg.conf I get the following error when starting X:
[ | 63.729] (II) Module "ramdac" already built-in |
[ | 63.731] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 |
[ | 63.731] (==) NVIDIA(0): RGB weight 888 |
[ | 63.731] (==) NVIDIA(0): Default visual is TrueColor |
[ | 63.731] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) |
[ | 63.731] (**) NVIDIA(0): Enabling 2D acceleration |
[ | 63.759] (EE) NVIDIA(GPU-0): The NVIDIA GPU at PCI:19:0:0 is not supported by the 340.24 |
[ | 63.759] (EE) NVIDIA(GPU-0): | NVIDIA driver. |
[ | 63.759] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device! |
[ | 63.759] (EE) NVIDIA(0): Failing initialization of X screen 0 |
After this I found the following in the dmesg log:
[root ~]# dmesg | tail -4
nvidia 0000:13:00.0: irq 68 for MSI/MSI-X
NVRM: RmInitAdapter failed! (0x23:0x2f:566)
NVRM: rm_init_adapter failed for device bearing minor number 0
NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
So, the GPU is there, the driver can load, but things don't quite work.
I have attached the vmx file for my VM.
I desperately need your help to get this working :-)
Best regards,
Thomas