Closed regulator-g closed 3 years ago
Try to start the mining as root
Closed: fixed it myself
for anyone in the same boat, you can use TRM with mesa just make sure this opencl-amd package is installed, the opencl-mesa package doesn't work https://aur.archlinux.org/packages/opencl-amd/
Running a 6600XT and experiencing similar issues. Attempted both with and without opencl-mesa installed. Still no luck.
Have you got opencl-amd installed? that's the main ingredient
From as far as I can tell the necessary parts are installed. I have tried reinstalling and rebooting etc.
On Tue, 18 Jan 2022 at 11:39 am, regulator-g @.***> wrote:
Have you got opencl-amd installed? that's the main ingredient
— Reply to this email directly, view it on GitHub https://github.com/todxx/teamredminer/issues/312#issuecomment-1014975631, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPIJ232O3RKH52EW6HFRVDUWSZFFANCNFSM4362TIJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
-- Kind Regards, Arden Cassie Treasurer - Hunter Gender Alliance
this is all the stuff i have installed, I think the ICD package is definitely required. when you run clinfo the output might give you a hint?
extra/libclc 13.0.0-1 [installed] extra/ocl-icd 2.3.1-1 [installed] extra/amdvlk extra/lib32-amdvlk community/clinfo 3.0.21.02.21-1 [installed] aur/opencl-amd
Try to start the mining as root
This worked for me, thank you!
Have tried. Was high on my attempts list but no success. There’s definitely an issue with the allocation of my gpu over to the amd gpu pro driver for opencl.
On Fri, 21 Jan 2022 at 12:19 pm, PooStorm @.***> wrote:
Try to start the mining as root
This worked for me, thank you!
— Reply to this email directly, view it on GitHub https://github.com/todxx/teamredminer/issues/312#issuecomment-1018074258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPIJ27WTYKYBFIWK4FSNVTUXCYAJANCNFSM4362TIJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
-- Kind Regards, Arden Cassie Treasurer - Hunter Gender Alliance
I'm having the same issues with @titty-skittles. I have two PCs. One with 5700XT has only Manjaro KDE + opencl-amd installed and mines fine. The other one with 6700XT does not.
I have installed all these packages; extra/libclc 13.0.0-1 [installed] extra/ocl-icd 2.3.1-1 [installed] extra/amdvlk extra/lib32-amdvlk community/clinfo 3.0.21.02.21-1 [installed] aur/opencl-amd
whats the output of clinfo?
try installing vulkan-icd-loader
also compare whats installed/configured on the working PC..
Thank you for the response. I had it sorted out after days and days of trying.. In this AUR page of opencl-amd, luciddream has given the instructions for installing an older version: 20.40. Apperantly Pamac allows external scripts for installing things and I have installed it. Everything works now. clinfo shows the device properly. Here is the link to the AUR page:
https://aur.archlinux.org/packages/opencl-amd
I don't know why the newer versions don't know. It makes no sense, newer cards should be working with newer drivers normally. And here is clinfo output:
`Number of platforms 1 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 2.1 AMD-APP (3180.7) Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform Extensions function suffix AMD Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name gfx1031
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 2.0 AMD-APP (3180.7)
Driver Version 3180.7 (PAL,LC)
Device OpenCL C Version OpenCL C 2.0
Device Type GPU
Device Board Name (AMD) AMD Radeon RX 6700 XT
Device PCI-e ID (AMD) 0x73df
Device Topology (AMD) PCI-E, 0000:2b:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 20
SIMD per compute unit (AMD) 4
SIMD width (AMD) 32
SIMD instruction width (AMD) 1
Max clock frequency 1115MHz
Graphics IP (AMD) 10.31
Device Partition (core)
Max number of sub-devices 20
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple (kernel) 32
Wavefront width (AMD) 32
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
Single-precision Floating-point support (core)
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 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
Address bits 64, Little-Endian
Global memory size 12868124672 (11.98GiB)
Global free memory (AMD) 12500992 (11.92GiB) 0 (0B)
Global memory channels (AMD) 6
Global memory banks per channel (AMD) 4
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 10937905971 (10.19GiB)
Unified memory for Host and Device No
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing Yes
Fine-grained system sharing No
Atomics No
Minimum alignment for any data type 128 bytes
Alignment of base address 2048 bits (256 bytes)
Preferred alignment for atomics
SVM 0 bytes
Global 0 bytes
Local 0 bytes
Max size for global variable 9844115200 (9.168GiB)
Preferred total size of global vars 12868124672 (11.98GiB)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 134217728 pixels
Max 1D or 2D image array size 2048 images
Base address alignment for 2D image buffers 256 bytes
Pitch alignment for 2D image buffers 256 pixels
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 64
Max number of read/write image args 64
Max number of pipe args 16
Max active pipe reservations 16
Max pipe packet size 2347971379 (2.187GiB)
Local memory type Local
Local memory size 65536 (64KiB)
Local memory size per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 10937905971 (10.19GiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties (on host)
Out-of-order execution No
Profiling Yes
Queue properties (on device)
Out-of-order execution Yes
Profiling Yes
Preferred size 262144 (256KiB)
Max size 8388608 (8MiB)
Max queues on device 1
Max events on device 1024
Prefer user sync for interop Yes
Number of P2P devices (AMD) 0
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 1644500797184898243ns (Thu Feb 10 16:46:37 2022)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) Yes
Number of async queues (AMD) 4
Max real-time compute queues (AMD) 1
Max real-time compute units (AMD) 0
printf() buffer size 4194304 (4MiB)
Built-in kernels (n/a)
Device Extensions cl_khr_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_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p
NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) AMD Accelerated Parallel Processing clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [AMD] clCreateContext(NULL, ...) [default] Success [AMD] clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name gfx1031 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 gfx1031 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 gfx1031
ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.3.1 ICD loader Profile OpenCL 3.0 `
Hey, TMR was working well with my 5700XT, I switched to a 6700 and now the program doesnt start I am on Manjaro using Mesa graphics drivers and opencl-mesa. I think it says 2 platforms here because i installed opencl-amd for troubleshooting. also the card works fine in HiveOS but I need to use the mesa driver for gaming.
I checked another thread and I dont have a "rocm" folder perhaps that could be the issue? (/opt/rocm/opencl/lib/libamdocl64.so)
output of clinfo: