AWS GPU SERVER SetUp

I am setting up gpu server in aws, by below link:
Platform setup with Amazon Linux — HOOPS Communicator 2024.2.0 Documentation (techsoft3d.com)

lspci -nn | grep VGA
00:01.3 Non-VGA unclassified device [0000]: Intel Corporation 82371AB/EB … (rev 08)
00:03.0 VGA compatible controller [0300]: Amazon.com, Inc. Device [1d0f:1111]

The above command doesn’t show NVIDIA.

So, I run below command:
lspci -nn | egrep ‘VGA | 3D’
00:1e.0 3D controller [0302]: NVIDIA Corporation TU104GL [Tesla T4] [10de:1eb8] (rev 01)

Your document said to me:

Get bus id of the GPU device. and confirm that it is “0:3:0”

string will be something similar to: 00:03.0 VGA compatible controller [0300]: NVIDIA Corporation GK104GL [GRID K520] [10de:118a] (rev a1)

lspci -nn | grep VGA

locate a “Device” Section with BoardName set to “GRID K520”

add the BusId parameter to it eg:

BusID “0:3:0”

sudo nano /etc/X11/xorg.conf

In my case, what is the proper BusID, “0:3:0” or “0:1E:0” or “0:3:2”?

Hello @hskwon,

For your NVIDIA Tesla T4, I believe your BusID is “PCI:00:30:00” which is basically converting the hexadecimal “0:1E:0” to decimal. As a quick test, if you just run sudo nvidia-xconfig WITHOUT any options, the resulting xorg.conf file will show the correct BusID.

Provided that you’ve installed the NVIDIA drivers and necessary packages, you also don’t have to run sudo nvidia-xconfig -a --use-display-device=None --virtual=1280x1024 and instead, just run sudo nvidia-xconfig. The X server might not run if there is no display device specified in the xorg.conf.

Lastly, the T4 shows up as a 3D Controller because it is really optimized for 3D rendering and computational tasks rather than driving a display.

Hope this helps,
Tino

1 Like