Run OpenGL on AWS GPU instances with CentOS

后端 未结 2 1362
死守一世寂寞
死守一世寂寞 2021-01-30 07:11

I need to execute some off-screen rendering program on AWS EC2 GPU instance with CentOS. However, while I found that Ubuntu is very easy to setup, I cannot let CentOS work prope

2条回答
  •  死守一世寂寞
    2021-01-30 08:08

    lspci | grep VGA

    You should see the busID is 0:3:0.

    Using sudo, add this into your xorg.conf like so:

    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GRID K520"
        BusID           "0:3:0"
    EndSection
    

    This should fix GLX failures.

提交回复
热议问题