xmr-stak-amd icon indicating copy to clipboard operation
xmr-stak-amd copied to clipboard

Error UNKNOWN_ERROR when calling clGetPlatformIDs for number of platforms

Open MikhailKlemin opened this issue 7 years ago • 4 comments

Hi There!

Got this error with new 17.40 drivers under ubuntu 16.04.3. The thing is if I run as root ie sudo ./bin/xmr-stak-amd it works just fine.

MikhailKlemin avatar Nov 11 '17 17:11 MikhailKlemin

Maybe you need to change the rights of the device under /dev

psychocrypt avatar Nov 11 '17 17:11 psychocrypt

Thanks that sounds right, but what are my device in the /dev... There no VGA, nor GPU ...

.		 drm_dp_aux3  i2c-14	log		    null    snapshot  tty2   tty36  tty52      ttyS1   ttyS26	vcs1
..		 drm_dp_aux4  i2c-15	loop0		    port    snd       tty20  tty37  tty53      ttyS10  ttyS27	vcs2
autofs		 drm_dp_aux5  i2c-16	loop1		    ppp     stderr    tty21  tty38  tty54      ttyS11  ttyS28	vcs3
block		 ecryptfs     i2c-17	loop2		    psaux   stdin     tty22  tty39  tty55      ttyS12  ttyS29	vcs4
bsg		 fb0	      i2c-2	loop3		    ptmx    stdout    tty23  tty4   tty56      ttyS13  ttyS3	vcs5
btrfs-control	 fb1	      i2c-3	loop4		    ptp0    tty       tty24  tty40  tty57      ttyS14  ttyS30	vcs6
bus		 fd	      i2c-4	loop5		    ptp1    tty0      tty25  tty41  tty58      ttyS15  ttyS31	vcsa
char		 full	      i2c-5	loop6		    pts     tty1      tty26  tty42  tty59      ttyS16  ttyS4	vcsa1
console		 fuse	      i2c-6	loop7		    random  tty10     tty27  tty43  tty6       ttyS17  ttyS5	vcsa2
core		 hpet	      i2c-7	loop-control	    rfkill  tty11     tty28  tty44  tty60      ttyS18  ttyS6	vcsa3
cpu		 hugepages    i2c-8	mapper		    rtc     tty12     tty29  tty45  tty61      ttyS19  ttyS7	vcsa4
cpu_dma_latency  hwrng	      i2c-9	mcelog		    rtc0    tty13     tty3   tty46  tty62      ttyS2   ttyS8	vcsa5
cuse		 i2c-0	      initctl	mem		    sda     tty14     tty30  tty47  tty63      ttyS20  ttyS9	vcsa6
disk		 i2c-1	      input	memory_bandwidth    sda1    tty15     tty31  tty48  tty7       ttyS21  uhid	vfio
dri		 i2c-10       kfd	mqueue		    sda2    tty16     tty32  tty49  tty8       ttyS22  uinput	vga_arbiter
drm_dp_aux0	 i2c-11       kmsg	net		    sda5    tty17     tty33  tty5   tty9       ttyS23  urandom	vhci
drm_dp_aux1	 i2c-12       kvm	network_latency     sg0     tty18     tty34  tty50  ttyprintk  ttyS24  userio	vhost-net
drm_dp_aux2	 i2c-13       lightnvm	network_throughput  shm     tty19     tty35  tty51  ttyS0      ttyS25  vcs	zero

MikhailKlemin avatar Nov 11 '17 17:11 MikhailKlemin

I am having the same experience. Same OS and driver.

Thanks for the report!

blbradley avatar Jan 16 '18 06:01 blbradley

Same issue here!

liam-b avatar Oct 23 '18 07:10 liam-b