Unbale to Render Display with Moboxterm or VNC with NvidiaRTX 6000 on rhel 8.3

Our application requires opengl 4.6 and our server RHEL 8.3 having NVidia RTX6000 , but we unable render display with NVIDIA .

NVIDIA-SMI 510.39.01 Driver Version: 510.39.01 CUDA Version: 11.6

If you want to access the nvidia gpu over vnc, you’ll have to connect it to a real Xserver running on the nvidia gpu, e.g. using x11vnc. Running vncserver just creates a virtual xserver running on software rendering.

Dear Team,

we installled tight vnc in rhel 8.3 , please share any guide for connecting to X server in nvidia gpu

Please don’t print this e-mail unless you really need to. Disclaimer: The information in Indian Register Of Shipping’s email and any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to legal,professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you may not copy, distribute or disclose its content to any person or entity, use it for any purpose or store or copy the information in any medium. If you have received it in error, please notify the sender immediately and delete the message from your systems. Personal messages and/or opinions in a message are solely those of the author. IRS will accept no responsibility for such messages. You are advised to check the message for computer viruses using your own software before opening any attachments.

A rough outline would be

  • make sure the desktop is running on the nvidia gpu and not the on-board server graphics
  • switch login manager from GDM to sddm/lxdm/xdm
  • install tigervnc-server
  • configure and run x0vncserver

Dear Team,

Please clear on this query.

We Installed the Nvidia Quadro RTX6000 in the master Node HPC cluster and let me know whether the card is compatible for rendering In Physical Host or it rendering works only for Virtualization.

attached is the card which we installed.

Please don’t print this e-mail unless you really need to. Disclaimer: The information in Indian Register Of Shipping’s email and any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to legal,professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you may not copy, distribute or disclose its content to any person or entity, use it for any purpose or store or copy the information in any medium. If you have received it in error, please notify the sender immediately and delete the message from your systems. Personal messages and/or opinions in a message are solely those of the author. IRS will accept no responsibility for such messages. You are advised to check the message for computer viruses using your own software before opening any attachments.

99ad868b-e829-468d-8f11-dfe402053184.pdf (199 KB)

While it’s mainly built to be used in vGPU setups, it can also be used for host graphics, it will then create a virtual monitor.

Dear Team

Please let us know any additional Software required for creating virtual Monitor or installing the driver will be enough.

We are Using RHEL8.3

root@~]# nvidia-smi
Fri Jan 28 15:02:10 2022

Installing the driver and creating an xorg.conf (so the Xserver doesn’t use the on-board graphics) should be sufficient.

Please find the xorg, but still facing issue with OPENGL application.

[r# cat xorg.conf

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 510.39.01

Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0” 0 0
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection

Section “Files”
EndSection

Section “InputDevice”

generated from default

Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/input/mice”
Option “Emulate3Buttons” “no”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”

generated from default

Identifier “Keyboard0”
Driver “kbd”
EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
Option “DPMS”
EndSection

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BusID “PCI:47:0:0”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
SubSection “Display”
Depth 24
EndSubSection
EndSection

And the configuration.

XXXX@xorg.conf.d]# cat nvidia.conf

This xorg.conf.d configuration snippet configures the X server to

automatically load the nvidia X driver when it detects a device driven by the

nvidia-drm.ko kernel module. Please note that this only works on Linux kernels

version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko

kernel module is loaded before the X server is started.

Section “OutputClass”
Identifier “nvidia”
MatchDriver “nvidia-drm”
Driver “nvidia”
Option “PrimaryGPU” "yes

And the

[XXXX @xorg.conf.d]# cat nvidia.conf

This xorg.conf.d configuration snippet configures the X server to

automatically load the nvidia X driver when it detects a device driven by the

nvidia-drm.ko kernel module. Please note that this only works on Linux kernels

version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko

kernel module is loaded before the X server is started.

Section “OutputClass”
Identifier “nvidia”
MatchDriver “nvidia-drm”
Driver “nvidia”
Option “PrimaryGPU” “yes”
EndSection
[root@navik xorg.conf.d]# cat 10-nvidia.conf
Section “OutputClass”
Identifier “nvidia”
MatchDriver “nvidia-drm”
Driver “nvidia”
Option “AllowEmptyInitialConfiguration”
Option “PrimaryGPU” “yes”
Option “SLI” “Auto”
Option “BaseMosaic” “on”
EndSection

Section “OutputClass”
Identifier “intel”
MatchDriver “i915”
Driver “modesetting”
EndSection

Please don’t print this e-mail unless you really need to. Disclaimer: The information in Indian Register Of Shipping’s email and any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to legal,professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you may not copy, distribute or disclose its content to any person or entity, use it for any purpose or store or copy the information in any medium. If you have received it in error, please notify the sender immediately and delete the message from your systems. Personal messages and/or opinions in a message are solely those of the author. IRS will accept no responsibility for such messages. You are advised to check the message for computer viruses using your own software before opening any attachments.

Did you install, configure and run vnc0server?

Since I still have no idea what you’re trying to achieve, please check this howto:
https://thelinuxcluster.com/2010/07/25/using-turbovnc-0-6-and-virtualgl-2-1-4-to-run-opengl-application-remotely-on-centos/