Old PC upgrade suggestions - Updated to RTX2060

A forum for discussing FAH-related hardware choices and info on actual products (not speculation).

Moderator: Site Moderators

Forum rules
Please read the forum rules before posting.

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby PantherX » Fri May 22, 2020 9:04 pm

For some reason, CUDA isn't being detected which isn't ideal:
14:58:42: CUDA: Not detected: cuInit() returned 101

From what I have read, this is caused by missing OpenCL package:
14:58:42: OpenCL: Not detected: clGetPlatformIDs() returned -1001
and the solution is:
sudo apt-get install ocl-icd-opencl-dev
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
User avatar
PantherX
Site Moderator
 
Posts: 6173
Joined: Wed Dec 23, 2009 10:33 am
Location: Land Of The Long White Cloud

Re: Old PC upgrade suggestions

Postby MeeLee » Fri May 22, 2020 10:22 pm

foldy wrote:Power supply Pure Power L8 530W has max 340 watts on 12V1 and max 240 watts on 12V2. So if you substract 130 watts for CPU and MB it is 400 watts left for GPU. So it can drive one big GPU but not two big GPUs.

Unless you lower power consumption on the new big GPUs.
Like, it would run 2x RTX 2080 Super just fine at 145W per GPU.
For 2080Ti, you need about 200Watts per card minimum, or else performance drops too much.
Those you probably won't be able to pair on that PSU.
MeeLee
 
Posts: 714
Joined: Tue Feb 19, 2019 11:16 pm

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby agent71 » Fri May 22, 2020 11:18 pm

Yes I have that package already. My gut feeling is this is something to do with it being a VM and that I need to set a flag somewhere to spoof the OS into believing it's not a VM.

nvidia-smi errors with
Code: Select all
reports Unable to determine the device handle for GPU


and clinfo returns 0.

Although host OS fully recognises the GPU as RTX2060 I can't get the cuda or Nvidia drivers to work.

In ESXi that appears to be setting hypervisor.cpuid.v0 = "FALSE" but cannot see how to do this in Proxmox. I reckon if you do that your home and dry.

But I'm throwing in the towel! :lol:

To be honest this became an interesting, but ultimately pointless, exercise to see if I could get it working rather than it being the solution I really required. Had this of worked it would still have been overly complex for my original requirement. Still slightly disappointed I couldn't use my time to document how to do this for everyone. None the less will document what I did in the event others with a need can pick up and run with it.

Have learnt a few things though....

VMWare ESXi is so easy to use. Absolute childs play but very strict on it's hardware support so a real pain in a mixed environment. But it's meant for enterprise so not an issue as fit for purpose.
Proxmox supports wider hardware out the box but my god the UI is poor and management is a strange mix of basic UI and full command line Linux - very odd. The UI is definitely designed by a programmer!

If I had a requirement to build a virtualised environment with GPU pass through I'd go VMWare ESXi but would base hardware decisions on ESXi support. Even then you are into custom ISOs so not for beginners. But if your hardware is supported it looks pretty simple.
Mint has video support issues in its install ISO with proxmox. Fixed by forcing the VM to use VMWare console rather than default for proxmox.

Enable motherboard for Intel VT-d or AMD IOMMU
This as varied for Intel and AMD as it is for each motherboard manufacturer. Google your friend here rather than a static link from me but it's mostly config in your north bridge and cpu settings.

Installation
Download and install Proxmox
https://www.proxmox.com/en/

Once installed on the Proxmox hypervisor open a shell follow the following:
https://pve.proxmox.com/wiki/Pci_passthrough

Create VM for Linux install and assign PCI adpater for GPU
If using Mint 19.3 ensure console for VM set to VMWare otherwise you get black screen/flashing cursor top left after grub menu.

After OS installed install Nvidia drivers
https://linuxconfig.org/how-to-install- ... aver-linux

Install CUDA
Code: Select all
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
sudo apt-key add /var/cuda-repo-10-2-local-10.2.89-440.33.01/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda


Useful reading
https://blog.quindorian.org/2018/03/bui ... ough.html/
https://bbs.archlinux.org/viewtopic.php?id=162768

I'm off to rebuild with Mint and basic Samba shares! :biggrin:
Image
agent71
 
Posts: 22
Joined: Wed Mar 25, 2020 2:38 pm
Location: UK

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby agent71 » Sun May 24, 2020 12:06 am

Machine back up and running and found Zotac P106-90's popping up on eBay for £40-45. My understanding is they are GTX1060 3GB without video ports. Too good a price to ignore and see if they'll work - especially at 75W.

In preparation for it and ensuring system ok I spent the evening installing TIG stack (Telegraf, InfluxDB and Grafana) to monitor the machine. Enabled nvidia-smi plugin for Telegraf too so I can check on GPU.

:D

Image

Ignore the 100% CPU - that's because BOINC kicks in at 23:00.
agent71
 
Posts: 22
Joined: Wed Mar 25, 2020 2:38 pm
Location: UK

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby MeeLee » Sun May 24, 2020 1:40 am

Not all motherboards recognize those mining GPUs. Just letting you know.
They're a great deal for compute workload per dollar.
They also might work well on a PCIE 3.0 x1 slot in Linux running Core 22.
MeeLee
 
Posts: 714
Joined: Tue Feb 19, 2019 11:16 pm

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby agent71 » Sun May 24, 2020 2:03 am

Only slot I have free is PCIE 2.0 x16 which with another GPU in the PCIE 3.0 slot will drop the 2.0 slot to x4. We'll see and I'm fully aware it may not work. Also read that Nvidia have removed support for those cards in later drivers on Windows (have to assume Linux too) and I'm using the latest.

We'll see but fingers crossed and worst case I'll just sell on.
agent71
 
Posts: 22
Joined: Wed Mar 25, 2020 2:38 pm
Location: UK

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby MeeLee » Sun May 24, 2020 4:12 pm

It's not the driver, it's the BIOS that might not recognize the GPU.
MeeLee
 
Posts: 714
Joined: Tue Feb 19, 2019 11:16 pm

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby agent71 » Fri May 29, 2020 11:22 pm

Unfortunately a slightly more simple issue with the card... Dual slot GPUs just won't physically fit with the motherboard. The card fouls a number of USB and fan connections that sit proud. Ah well. Worth a try!
agent71
 
Posts: 22
Joined: Wed Mar 25, 2020 2:38 pm
Location: UK

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby MeeLee » Sat May 30, 2020 2:52 am

agent71 wrote:Unfortunately a slightly more simple issue with the card... Dual slot GPUs just won't physically fit with the motherboard. The card fouls a number of USB and fan connections that sit proud. Ah well. Worth a try!

In that case, use a PCIE riser, to physically locate the GPU somewhere else inside the chassis.
MeeLee
 
Posts: 714
Joined: Tue Feb 19, 2019 11:16 pm

Re: Old PC upgrade suggestions - Updated to RTX2060

Postby agent71 » Sat May 30, 2020 9:28 am

Yes I'm looking into riser cables now. Case is small though so not a lot of room to position card elsewhere, Corsair Carbide 240 Air https://www.corsair.com/uk/en/Categorie ... 9011070-WW

I may have a Fractal Design R2 case in the loft from 10-15 years ago. Assuming I never sold it or threw it out I can rebuild in that.
agent71
 
Posts: 22
Joined: Wed Mar 25, 2020 2:38 pm
Location: UK

Previous

Return to FAH Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

cron