Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling code and initializing GPUs. This will take a while... and never ends #1659

Open
k1t4r0 opened this issue Jun 14, 2018 · 27 comments

Comments

Projects
None yet
5 participants
@k1t4r0
Copy link

commented Jun 14, 2018

About one week, using the release exe or compiling, both give me the same never ending status:

image

it never compiles (i'm suspecting that something is behind the last windows 10 update)
but something is happening
image

Heres my hardware
i74790k
HD 7970ghz
not overclocked

Heres my setup
Windows 10

CPU

"cpu_threads_conf" :
[
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 }/*,
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 },*/
],

GPU

"gpu_threads_conf" : [
 // gpu: Tahiti memory:2260
 // compute units: 16
 { "index" : 0,
 "intensity" : 896, "worksize" : 8,
 "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2,
 "comp_mode" : true

},

],

/*
 * Platform index. This will be 0 unless you have different OpenCL platform - eg. AMD and Intel.
 */
"platform_index" : 1,

Config

"call_timeout" : 10,
"retry_time" : 30,
"giveup_limit" : 0,
"verbose_level" : 4,
"print_motd" : true,
"h_print_time" : 60,
"aes_override" : null,
"use_slow_memory" : "warn",
"tls_secure_algo" : true,
"daemon_mode" : false,
"flush_stdout" : false,
"output_file" : "",
"httpd_port" : 61111,
"http_login" : "",
"http_pass" : "",
"prefer_ipv4" : true,
@psychocrypt

This comment has been minimized.

Copy link
Collaborator

commented Jun 14, 2018

@azimutFTW

This comment has been minimized.

Copy link

commented Jun 14, 2018

i'm using hive os and have same problem

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 14, 2018

@psychocrypt Hi and thanks for the response
I Already did it with no success "/

@azimutFTW

This comment has been minimized.

Copy link

commented Jun 14, 2018

[2018-06-14 17:00:58] : Compiling code and initializing GPUs. This will take a while...
[2018-06-14 17:00:58] : Device 0 work size 8 / 32.

@Spudz76

This comment has been minimized.

Copy link
Contributor

commented Jun 14, 2018

Always nuke openclcache when driver or opencl is upgraded (aka OS updates) or you'll probably have a bad time.

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 15, 2018

@Spudz76 how do i do that?
The last try i did was to full wipe the driver than reinstall

@Spudz76

This comment has been minimized.

Copy link
Contributor

commented Jun 15, 2018

For Windows, put %HOMEDRIVE%%HOMEPATH% in a run box or explorer address bar. There should be a .openclcache folder in there, rename or delete then retry.

For Linux and such it's the same just ~/.openclcache/

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 15, 2018

Tks @Spudz76
Just to clarify, the right path (at least here) is %HOMEDRIVE%%HOMEPATH%\AppData\Local\

i wiped the folder, still in the same message "Compiling code..."

@Spudz76

This comment has been minimized.

Copy link
Contributor

commented Jun 15, 2018

I have never run AMD on Windows (no dummy plugs / headless rigs) so I wasn't 100% sure on the location, thanks for clarification. And good to know it isn't the problem.

@azimutFTW

This comment has been minimized.

Copy link

commented Jun 15, 2018

default
removing opencl cache files doesn't help

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 16, 2018

Nothing found yet "/

@azimutFTW

This comment has been minimized.

Copy link

commented Jun 16, 2018

@k1t4r0 try install driver 17.11.4

@Spudz76

This comment has been minimized.

Copy link
Contributor

commented Jun 16, 2018

Seems odd you're on platform:1, what is platform:0?
How about clinfo output

No ideas yet for HiveOS

@azimutFTW

This comment has been minimized.

Copy link

commented Jun 16, 2018

I fix this problem, just install older driver amdgpu-pro 17.50

@Spudz76

This comment has been minimized.

Copy link
Contributor

commented Jun 17, 2018

Strange, I'm also running Tahiti GPU Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] with amdgpu, 18.10-572953, 4.13.0-32-generic and it works fine via regular Ubuntu 16.04.4

@Omgthehorror

This comment has been minimized.

Copy link

commented Jun 17, 2018

I am having the same issue occasionally. Windows OS, 2 Vega 56 with blockchain driver. Rarely and as far as I can see, totally random, one of the Vega threads will freeze up on compiling and initializing GPU when starting xmr-stak and the miner just hangs.

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 19, 2018

Tried to revert the drivers to 17.11.4, no success :(
Tried to revert configs. Strangely, it isnt generating AMD and CPU config files o0

image
image
Let all night, nothing. I dont know but i feel this has something to do with the last windows update

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 19, 2018

@Omgthehorror did see if that occured after the last windows update?

@Omgthehorror

This comment has been minimized.

Copy link

commented Jun 19, 2018

I've had it happen before the last windows update and it hasn't increased/decreased with it, so it's probably not related. The occurrence is totally random as far as I can see. You can start the miner 10 times and not have it happen or you could see it happen 2-3 times out of 10.

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 20, 2018

Any miner works "/
Tried another but no success too and i cant find where is the problem

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 20, 2018

Guys, I Found the issue.
The problem is related with Windows Update version 1803

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 24, 2018

no success on solving the issue yet "/

@Spudz76

This comment has been minimized.

Copy link
Contributor

commented Jun 25, 2018

Try doing a rollback to 1709?

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 25, 2018

@Spudz76 i tried but when i saw it was too late... i dont have the windows.old folder anymore /..\

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 26, 2018

I finally found the f**king problem!
I don't know why in hell the HD INTEL GRAPHICS Driver was interfering on this, i just disabled that and everythings start to work again

@Spudz76

This comment has been minimized.

Copy link
Contributor

commented Jun 26, 2018

Oh, yeah, don't install that crap it has a really broken OpenCL.
Windows7 would crash hard and go away (disappear) on that bug, not hang.

It literally crashes the moment we ask it what it is.

@k1t4r0

This comment has been minimized.

Copy link
Author

commented Jun 26, 2018

@Spudz76 Tks a lot for ur help!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.