Title: ASRock H81 Pro BTC R2.0, 2x Vega 64 on Ubuntu 16.04 not reading the second GPU
Post by: cryptoastro on January 27, 2018, 08:20:24 PM
Dear Crypto gurus! I am building my first mining rig and seemed to have hit a snag! My system hardware is below: - Motherboard: ASRock H81 Pro BTC R2.0
- CPU: Intel Core i3-4170
- GPU: 2x AMD Radeon Vega 64 (MSI and Saphire)
- SSD: 120 GB Kingston
- Memory: 2x4GB DDR3 1600MHz
- PCI-risers: Redukce PCIe x16 na PCIe x1
- PSU: COOLER MASTER 1200W Modular 80+ Platinum
I installed Ubuntu 16.04 and the AMDGPU-Pro 17.50 Drivers. I have run both GPUs in single mode on the 16x PCIe before putting them on the risers, which I also tested if the risers worked by only having one GPU on the riser and connected to the monitor. Everything worked. miner@mining:~$ uname -a Linux mining 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Installing the AMDGPU-pro drivers followed the AMD website (http://support.amd.com/en-us/kb-articles/Pages/Installation-Instructions-for-amdgpu-Graphics-Stacks.aspx (http://support.amd.com/en-us/kb-articles/Pages/Installation-Instructions-for-amdgpu-Graphics-Stacks.aspx)). Where it starts causing issues is when the second GPU is added on one of the other 1x PCIe slots (I started by putting the second GPU on the first, closest to the CPU, 1x PCIe). Running miner@mining:~$ lspci | grep VGA 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 687f (rev c1) 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 687f (rev c1)
Show that both GPUs are being picked up by the system. However, miner@mining:~$ ethminer --list-devices [OPENCL]: Listing OpenCL devices. FORMAT: [deviceID] deviceName [0] gfx900 CL_DEVICE_TYPE: GPU CL_DEVICE_GLOBAL_MEM_SIZE: 8573157376 CL_DEVICE_MAX_MEM_ALLOC_SIZE: 7287183769 CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
Only shows one device, the one that is connected to 16x PCIe slot. Running, miner@mining:~$ clinfo Number of platforms 1 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 2.1 AMD-APP (2527.3) Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform Host timer resolution <printPlatformInfo:5: get CL_PLATFORM_HOST_TIMER_RESOLUTION : error -30> Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing Number of devices 1 Device Name gfx900 Device Vendor Advanced Micro Devices, Inc. Device Vendor ID 0x1002 Device Version OpenCL 1.2 Driver Version 2527.3 (HSA1.1,HSAIL) Device OpenCL C Version OpenCL C 2.0 Device Type GPU Device Profile FULL_PROFILE Device Board Name (AMD) Device 687f Device Topology (AMD) PCI-E, 03:00.0 Max compute units 64 SIMD per compute unit (AMD) 4 SIMD width (AMD) 16 SIMD instruction width (AMD) 1 Max clock frequency 1630MHz Graphics IP (AMD) 9.0 Device Partition (core) Max number of sub-devices 64 Supported partition types none specified Max work item dimensions 3 Max work item sizes 1024x1024x1024 Max work group size 256 Preferred work group size multiple 64 Wavefront width (AMD) 64 Preferred / native vector sizes char 4 / 4 short 2 / 2 int 1 / 1 long 1 / 1 half 1 / 1 (cl_khr_fp16) float 1 / 1 double 1 / 1 (cl_khr_fp64) Half-precision Floating-point support (cl_khr_fp16) Denormals No Infinity and NANs No Round to nearest No Round to zero No Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Correctly-rounded divide and sqrt operations No Single-precision Floating-point support (core) Denormals No Infinity and NANs Yes Round to nearest Yes Round to zero Yes Round to infinity Yes IEEE754-2008 fused multiply-add Yes Support is emulated in software No Correctly-rounded divide and sqrt operations Yes Double-precision Floating-point support (cl_khr_fp64) Denormals Yes Infinity and NANs Yes Round to nearest Yes Round to zero Yes Round to infinity Yes IEEE754-2008 fused multiply-add Yes Support is emulated in software No Correctly-rounded divide and sqrt operations No Address bits 64, Little-Endian Global memory size 8573157376 (7.984GiB) Global free memory (AMD) 8370176 (7.982GiB) Global memory channels (AMD) 64 Global memory banks per channel (AMD) 4 Global memory bank width (AMD) 256 bytes Error Correction support No Max memory allocation 7287183769 (6.787GiB) Unified memory for Host and Device No Minimum alignment for any data type 128 bytes Alignment of base address 1024 bits (128 bytes) Global Memory cache type Read/Write Global Memory cache size 16384 Global Memory cache line 64 bytes Image support Yes Max number of samplers per kernel 26751 Max size for 1D images from buffer 65536 pixels Max 1D or 2D image array size 2048 images Max 2D image size 16384x16384 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 128 Max number of write image args 8 Local memory type Local Local memory size 65536 (64KiB) Local memory syze per CU (AMD) 65536 (64KiB) Local memory banks (AMD) 32 Max constant buffer size 7287183769 (6.787GiB) Max number of constant args 8 Max size of kernel argument 1024 Queue properties Out-of-order execution No Profiling Yes Prefer user sync for interop Yes Profiling timer resolution 1ns Profiling timer offset since Epoch (AMD) 0ns (Thu Jan 1 01:00:00 1970) Execution capabilities Run OpenCL kernels Yes Run native kernels No Thread trace supported (AMD) No printf() buffer size 4194304 (4MiB) Built-in kernels Device Available Yes Compiler Available Yes Linker Available Yes Device Extensions cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_subgroups cl_khr_depth_images cl_amd_liquid_flash cl_amd_copy_buffer_p2p
NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform clCreateContext(NULL, ...) [default] No platform clCreateContext(NULL, ...) [other] Success [AMD] clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name gfx900 clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name gfx900
I am at odds what to do next. I reverted back to a older Linux kernel (4.10.0) after doing a dist-upgrade. I wonder if anyone else has had this experience recently and managed to troubleshoot it? Funnily enough, Claymore miner sees the second GPUs temperature and fan speed: GPU0 t=85C fan=44%, GPU1 t=28C fan=13% ETH: 01/27/18-20:17:57 - New job from eu1.ethermine.org:4444 ETH - Total Speed: 33.030 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:01 ETH: GPU0 33.030 Mh/s
Thank you in advance and happy mining.
Title: Re: ASRock H81 Pro BTC R2.0, 2x Vega 64 on Ubuntu 16.04 not reading the second GPU
Post by: tbearhere on January 27, 2018, 11:49:41 PM
When you have 2 cards in and boot.. does the ethernet led to the right show orange instead of green? But green with one card?
I'm having the same problem .. windows 8.1.
Been working on it for days.. no solution yet. I'm so close to doing a RMA on the mobo.
EDIT: Do an RMA... looks like a bad batch from china.
Title: Re: ASRock H81 Pro BTC R2.0, 2x Vega 64 on Ubuntu 16.04 not reading the second GPU
Post by: cryptoastro on January 28, 2018, 04:05:27 PM
When you have 2 cards in and boot.. does the ethernet led to the right show orange instead of green? But green with one card?
That is an interesting proposition. I am not familiar enough with the hardware to know why that would be the case. Well, I tested it out and, unfortunately, in both cases I had the green light on the Ethernet port. The only time it ever went orange was when it was booting, but this was the same for one or two cards connected. I'm having the same problem .. windows 8.1.
Been working on it for days.. no solution yet. I'm so close to doing a RMA on the mobo.
EDIT: Do an RMA... looks like a bad batch from china.
I have now picked up an old mobo and the two GPUs work there right out of the box, as it were! Will definitely contact my vendors and do an RMA. Thank you for your input.
Title: Re: ASRock H81 Pro BTC R2.0, 2x Vega 64 on Ubuntu 16.04 not reading the second GPU
Post by: tbearhere on January 31, 2018, 11:12:17 AM
When you have 2 cards in and boot.. does the ethernet led to the right show orange instead of green? But green with one card?
That is an interesting proposition. I am not familiar enough with the hardware to know why that would be the case. Well, I tested it out and, unfortunately, in both cases I had the green light on the Ethernet port. The only time it ever went orange was when it was booting, but this was the same for one or two cards connected. I'm having the same problem .. windows 8.1.
Been working on it for days.. no solution yet. I'm so close to doing a RMA on the mobo.
EDIT: Do an RMA... looks like a bad batch from china.
I have now picked up an old mobo and the two GPUs work there right out of the box, as it were! Will definitely contact my vendors and do an RMA. Thank you for your input. I found that there wasn't enough power to the mobo pcie lane 2x molex extra power connectors. Those extra power connectors seem to need +12v from two different rails. This is a second mobo. The first doing an rma. I had to do a work around and had to leave onboard graphics on to get it to run. I think I'm missing 1 driver. Good luck. :)
Title: Re: ASRock H81 Pro BTC R2.0, 2x Vega 64 on Ubuntu 16.04 not reading the second GPU
Post by: themurph2k on February 03, 2018, 05:59:35 PM
Can you detail how you get unity to work on the onboad Intel VGA? I have been wrestling for hours trying to make it work.
I installed via DVD with no GPUs installed (only onboard).
When I added the 3 gpus into slots 1-3 via risers, everything is detected, but the desktop will not come up. Just black screen.
I am able to access text terminal using ctrl-alt-F1 and log in, but I really like to have the desktop available.
Latest LTS desktop 16.04, upgraded fully but no dist-upgrade has been run.
|