Nvidia noob. Linux Mint k5000 what drivers needed to code in CUDA?

Hi all
I am new to Nvidia cuda. I have a HP z840 with a Nvidia quattro K5000 card. I want to code in CUDA using the Julia programming language BUT I don’t know if I have to load the Nvidia official drivers. Right now the drivers loaded are the opensource drivers because they support 3840x2160@30hz but the Nvidia drivers only go to 1920x1080~60Hz ( see below).

So my question is can I code to CUDA using the opensource drivers or do I have to code using the Nvidia and use the lower resolution?

This is the OFFICIAL nvidia driver spec BUT the one I have loaded is the OPENSOURCE

Graphics:  Device-1: NVIDIA GK104GL [Quadro K5000] vendor: Hewlett-Packard driver: nvidia v: 470.74 bus ID: 04:00.0 
           chip ID: 10de:11ba 
           Display: server: X.Org 1.20.11 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Quadro K5000/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74 direct render: Yes 

I have the K5000 connected via the DP to the HDMI 1 (arc) port of a Hisense TV

https://www.displaydb.com/tv/hisense-50h8g

Hisense 55h8G
Brand 	Hisense
Type 	TV
Size 	50" (inches)
Panel 	VA
Refresh Rate 	60 Hz
Screen Aspect Ratio 	16:9
Screen Resolution 	3840 x 2160

the OPENSOURCE drivers go to 3840 * 2160 @30hz

dave@deepthought:~$  inxi -Fxxxrz -G --display
System:    Kernel: 5.4.0-89-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.6 
           dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Hewlett-Packard product: HP Z840 Workstation v: N/A serial: <filter> 
           Chassis: type: 6 serial: <filter> 
           Mobo: Hewlett-Packard model: 2129 v: 1.01 serial: <filter> UEFI: Hewlett-Packard v: M60 v02.32 
           date: 05/02/2017 
CPU:       Topology: 2x 18-Core model: Intel Xeon E5-2699 v3 bits: 64 type: MCP SMP arch: Haswell rev: 2 
           L2 cache: 90.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 165248 
           Speed: 1198 MHz min/max: 1200/3600 MHz Core speeds (MHz): 1: 1198 2: 1197 3: 1198 4: 1197 
           5: 1197 6: 1198 7: 1198 8: 1197 9: 1197 10: 1198 11: 1197 12: 1198 13: 1198 14: 1197 15: 1197 
           16: 1198 17: 1198 18: 1198 19: 1198 20: 1198 21: 1198 22: 1198 23: 1198 24: 1197 25: 1198 
           26: 1198 27: 1198 28: 1197 29: 1197 30: 1198 31: 1198 32: 1198 33: 1397 34: 1198 35: 1198 
           36: 1198 
Graphics:  Device-1: NVIDIA GK104GL [Quadro K5000] vendor: Hewlett-Packard driver: nouveau v: kernel 
           bus ID: 04:00.0 chip ID: 10de:11ba 
           Display: server: X.Org 1.20.11 driver: modesetting unloaded: fbdev,vesa 
           resolution: 3840x2160~30Hz 
           OpenGL: renderer: NVE4 v: 4.3 Mesa 21.0.3 direct render: Yes 
Audio:     Device-1: Intel C610/X99 series HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 chip ID: 8086:8d20 
           Device-2: NVIDIA GK104 HDMI Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 04:00.1 chip ID: 10de:0e0a 
           Sound Server: ALSA v: k5.4.0-89-generic 


Please remember I am new to all of this.
sand

This is going to be a bit of a problem. This GPU has compute capability 3.0. No longer supported by the latest NVIDIA drivers, no longer supported by the latest CUDA versions. I notice that you have driver 470.74 installed, that could well be the last with support for CC 3.0. I think CUDA 10.2 is the last CUDA version with support for CC 3.0

This may or may not be a problem. I do not see Linux Mint on the list of supported distros. But you may be able to get it work if it is largely identical to a supported distro such as Ubuntu.

1 Like

thank you so much @njuffa

linux mint is based on Ubuntu which is based on debian so that “should” be ok.

I understand it’s an old card and I’ll update it but I just want to start coding in julia in CUDA. I’ve no problem in using prior versions of Cuda so will look for the last version to support CC 3.0

I’ll check the 470 drivers BUT I can only get 1920* 1080 out of the displayport, using the opensource drivers I get 3840 * 2160 @30hz. That’s hooking the k5000 to the tv hdmi port with a DP cable.

thanks again for such a wonderful introduction to the nvidia community

Given the Installation Guide gives explicit instructions for disabling the open source driver, it may be that Cuda is not fully compliant with it. They don’t seem to explicitly say not to use it, but if you want a qualified setup, the Nvidia one is required.

It seems odd that the Nividia driver does not support the resolution you’re after.

thanks for pointing that out @rs277 GREAT spot. I suspect the issue with the resolution is Displayport related. I’ve got a displayport cable plugged into the hisense hdmi1 (arc) port. thanks again for helping

https://www.displaydb.com/tv/hisense-50h8g

Hisense 55h8G
Brand 	Hisense
Type 	TV
Size 	50" (inches)
Panel 	VA
Refresh Rate 	60 Hz
Screen Aspect Ratio 	16:9
Screen Resolution 	3840 x 2160

I wonder if you’d get 3840 x 2160 out of the DVI port (DVI to HDMI cable), but you’re probably already using both those outputs.

The official Nvidia PDF for the card does explicitly state that 3840 x 2160 @ 60Hz is supported on the Display ports… Perhaps the nvidia-settings utility does not fully cover the range and maybe the xorg.conf needs some manual adjustment.

hi there @rs277
I “was” going to look into that but in the k5000 spec it says nope on the DVI.

ADVANCED DISPLAY FEATURES
 > 30-bit color (10-bit per each 
red, green, blue channel)
 > Support for any combination of 
four connected displays
 > Dual DisplayPort 1.2 (supporting 
resolutions such as 3840x2160 @60 Hz)
 > Dual-link DVI-I/DVI-D outputs (up to 2560 
x1600 @ 60 Hz and 1920x1200 @ 120 Hz) 
Internal 400 MHz DAC DVI-I output 
(analog display up to 2048x1536 @ 85 Hz

I’ll go back and check my cabling but I’m not seeing what the pdf says with nvidia 470. Thanks for going the extra mile though. I’ll look at changing the xorg.conf file and see if that helps. thanks again

hi @rs277
problem solved. Here’s what I did replace the displayport to hdmi cable with a dp to hdmi active adapter and BINGO 4k :-)

use the nvidia 470 drivers.
Shut down. Take out DP to Hdmi cable.
replace with Plugable displayport to hdmi 2.0 active adapter (model DP-HDMI), HDMI cable to HDMI1 (arc) on Hisense.
Reboot.


tave@deepthought:~$ inxi -Gx
Graphics:
  Device-1: NVIDIA GK104GL [Quadro K5000] vendor: Hewlett-Packard
  driver: nvidia v: 470.74 bus ID: 04:00.0
  Display: x11 server: X.Org 1.20.11 driver: nvidia
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 3840x2160~30Hz
  OpenGL: renderer: Quadro K5000/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74
  direct render: Yes

Thank you so much for your help and guidance.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.