Forum

Author Topic: Tesla P100 and virtualgl  (Read 7211 times)

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Tesla P100 and virtualgl
« on: January 02, 2018, 06:50:33 PM »
Hello
I try to use virtualgl on Tesla P100 GPU card, Did not work。
lspci
Code: [Select]
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
……
00:08.0 3D controller: NVIDIA Corporation Device 15f8 (rev a1)

 nvidia-smi
Code: [Select]
Tue Jan  2 23:50:54 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.34                 Driver Version: 387.34                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla P100-PCIE...  Off  | 00000000:00:08.0 Off |                    0 |
| N/A   28C    P0    25W / 250W |      0MiB / 16276MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

I found that M60 and M40 are VGA compatible controller,but P100 it's 3D controller。

Who knows how to configure P100? Or, not yet supported?
Real Scene Model Professional Contractor

Collect、Process、Publish

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: Tesla P100 and virtualgl
« Reply #1 on: January 06, 2018, 11:18:11 PM »
Do it!
P100 is not good!
OpenGL is too slow!
Real Scene Model Professional Contractor

Collect、Process、Publish

PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: Tesla P100 and virtualgl
« Reply #2 on: January 09, 2018, 02:02:40 PM »
https://github.com/agisoft-llc/cloud-scripts were updated with p2 and p3 EC2 instances support (Tesla K80 and Tesla V100) - OpenGL works well (works for any application).

These scripts supposed to be used on clean Ubuntu 16.04, but you can try to manually execute only required commands in script one by one.
« Last Edit: January 09, 2018, 02:15:01 PM by PolarNick »

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: Tesla P100 and virtualgl
« Reply #3 on: January 09, 2018, 06:29:08 PM »
Thank you for your work

P100 requires a special driver that fully supports OpenGL, however, it is too slow. M40 faster than it.

K80 hardware specifications worse than M40, so, V100 worth trying.
Real Scene Model Professional Contractor

Collect、Process、Publish

PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: Tesla P100 and virtualgl
« Reply #4 on: January 09, 2018, 07:42:08 PM »
What is a special driver for P100? And how do you measure OpenGL performance?

I tested K80 and V100 with driver downloaded like this (note that driver version variable was configured above: NVIDIA_DRIVER=384.59).

Have you tried this driver?

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: Tesla P100 and virtualgl
« Reply #5 on: January 10, 2018, 06:29:34 AM »
M40/M60/K80/V100 driver version is: 387.34,it's FREE.

P100 requires special drivers included with NV Grid 5.1. This driver needs to pay. Free drivers do not have OpenGL features.


AND

If you are using a Windows system, the free driver does not support OpenGL-desktop mode, usually working in OpenGL-angle or OpenGL-software mode.

Measure the performance of OpenGL, I use the most stupid way.
Download doll.zip to generate a model to compare the time consumed by different GPUs.
« Last Edit: January 10, 2018, 06:40:48 AM by ruyi7952 »
Real Scene Model Professional Contractor

Collect、Process、Publish

PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: Tesla P100 and virtualgl
« Reply #6 on: January 10, 2018, 02:33:29 PM »
Quote
M40/M60/K80/V100 driver version is: 387.34,it's FREE.

P100 requires special drivers included with NV Grid 5.1. This driver needs to pay. Free drivers do not have OpenGL features.
Interesting. I didn't know that. I was thinking that V100 is a successor of P100, and so I expected driver politics to be the same.

Quote
Measure the performance of OpenGL, I use the most stupid way.
Download doll.zip to generate a model to compare the time consumed by different GPUs.
For the sake of clarity:
Such measurements are useful to represent total performance of computer: both CPU and GPU computations. And GPU computations are using OpenCL/CUDA. OpenGL is used only for GUI rendering.

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: Tesla P100 and virtualgl
« Reply #7 on: January 10, 2018, 05:14:22 PM »
I test the machine using the same hardware configuration, only GPU different, I am more interested in the performance of different GPU. I have a feeling that Linux will be faster.
Real Scene Model Professional Contractor

Collect、Process、Publish

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: Tesla P100 and virtualgl
« Reply #8 on: January 10, 2018, 05:52:57 PM »
 :D
I test the machine using the same hardware configuration, only GPU different, I am more interested in the performance of different GPU. I have a feeling that Linux will be faster.
Real Scene Model Professional Contractor

Collect、Process、Publish

PolarNick

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: Tesla P100 and virtualgl
« Reply #9 on: February 14, 2018, 01:39:29 PM »
Quote
M40/M60/K80/V100 driver version is: 387.34,it's FREE.

P100 requires special drivers included with NV Grid 5.1. This driver needs to pay. Free drivers do not have OpenGL features.
Interesting. I didn't know that. I was thinking that V100 is a successor of P100, and so I expected driver politics to be the same.
cloud-scripts were updated and tested on P100 PCIE. So if you will install clean Ubuntu 16.04 and follow instructions as is - everything should just work. If it will not work - it will be interesting to look at your cloud-scripts/configure.log, cloud-scripts/start_vnc_server.log, /etc/X11/xorg.conf, /var/log/Xorg.0.log and output of nvidia-smi execution.