fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.06k stars 1.79k forks source link

AMD GPU not mining but is reconigzed #2543

Closed OMGitsMohaYT closed 5 years ago

OMGitsMohaYT commented 5 years ago

I got a laptop that has a AMD GPU, Intensity is at 100, worksize: 8, I can't get the miner to use the GPU and idk whats the problem so thats why I came here to ask, At first when I started the miner in the first time, it generated a amd.txt file and it had 2 threads but the GPU wasn't mining so I removed the 2nd thread and kept the first one and it still doesn't mine, so I'd like you to help me and thanks!

psychocrypt commented 5 years ago

please post the amd.txt, your OS, the type of the gpu, the log from the startup of the miner and pools.txt

psychocrypt commented 5 years ago

please also post the output of the tool 'cl_info'

OMGitsMohaYT commented 5 years ago

AMD.txt: https://pastebin.com/yjGTZrT4 OS: Windows 10 64-bit GPU: Intel HD 3000 and AMD HD Radeon 7400M (I know it's old and bad but it still mines with some good hashrates) Log from the startup of the miner: https://pastebin.com/5yZBTY3r Pools.txt: https://pastebin.com/yKK68BBF cl_info: https://pastebin.com/jKsuqFct

psychocrypt commented 5 years ago

do you waited after starting the miner for 10min and than checked for the hash rate. depending of the cpu it could take minutes until all amd kernel will be compiled. disable cpu mining to have more power fr the compile process. Monero requires just in time compiles of code for each block due to amd driver issues we must compile 50 kernel within one bunch.

So try to disable cpu mining, start the miner and wait 10min and check the hashrate again.

OMGitsMohaYT commented 5 years ago

I don't think that's the solution to the problem but thanks for trying to help mate, I just figured it out and solved the problem by disabling the antivirus because it was the problem.

OMGitsMohaYT commented 5 years ago

Well I guess it still persits, Now after I disabled the antivirus, it's mining without problems but when I wake up on the morning and check if it's mining, I find it like this: (na) which means it's not mining, and it happens everytime, keep in mind I disabled the antivirus from the group policy so any help is appreciated!

psychocrypt commented 5 years ago

could you please enable the log file in config.txt and send us the full log.

OMGitsMohaYT commented 5 years ago

// generated by xmr-stak/2.10.7/fd19a5d03/unknown/win/amd-cpu/20

/*

/*

/*

/*

/*

/*

/*

/*

/*

/*

/*

Idk if this is what u mean

OMGitsMohaYT commented 5 years ago

Any help?

psychocrypt commented 5 years ago

I need still the log of the run not the config.txt.

psychocrypt commented 5 years ago

in config.txt set "output_file" : "", to "output_file" : "log.txt", and post the log.txt file

OMGitsMohaYT commented 5 years ago

https://pastebin.com/yUMuD1ws

psychocrypt commented 5 years ago

I thought you solved the problem with the start by disabling the av software. Could you please disable cpu mining and check if after 5 min the gpu starts with mining. I wrote before that the cpu must compile a bunch of gpu code Deping on you cpu it can take very long when you are mine with the cpu.

OMGitsMohaYT commented 5 years ago

https://pastebin.com/Pv3MUHQS, I even have the AMD intensity set to 20 which is really low but still nothing, doesn't mine for some reason

psychocrypt commented 5 years ago

Could you please run the miner 10min I like to be sure that it is not the amd comoiler. the compining time is not depending on the intensity. The amd compiler is really slow. If 10min wait not help it could be that you need to search an other driver. I do not remember, do you tested xmrig too?

OMGitsMohaYT commented 5 years ago

Could you please run the miner 10min I like to be sure that it is not the amd comoiler. the compining time is not depending on the intensity. The amd compiler is really slow. If 10min wait not help it could be that you need to search an other driver. I do not remember, do you tested xmrig too? AMD doesn't support Radeon HD 7400M anymore, I tried searching drivers for this GPU last time but didn't find any on their site, But I guess there's because I found some drivers from some sites, I didn't test xmrig actually but I'll run the miner for 10 min and let you know

OMGitsMohaYT commented 5 years ago

Here: https://pastebin.com/bWJbEiKb

psychocrypt commented 5 years ago

thx for the log. It looks like there was for a short time some hashing (se the highest 6H/s) I think it is a driver issue. The card is really old and we had a lot of truble even with newer driver. The just in time stuff needed for monero is not working good with amd driver

psychocrypt commented 5 years ago

I woild not invest too much time since monero forkes in 3 weeks to a cpu POW. Do you tried to mine ryo? Ryo is made for gpus and should run okisch on your old gpu.

OMGitsMohaYT commented 5 years ago

What do you mean by "monero forkes in 3 weeks to a cpu POW"? and can I mine ryo with my GPU and monero with my CPU at the same time?

realityworks commented 5 years ago

@OMGitsMohaYT Monero will fork to using RandomX, which runs well on certain AMD processors but not so well on GPU processors or ASIC miners. What this means is that the income will shift to non-ASIC mining farms to democratise the income. Though, someone will just build a processor stack using custom circuit boards. :)

realityworks commented 5 years ago

The latest version of Monero 0.15.0.0 was released just a couple of hours ago. :)

psychocrypt commented 5 years ago

Yes you will be able to start one miner for randomx (next POW of monero) and mine ryo on your gpu. If you need help to miner ryo please have a look on reddit and for questions please open a new post there https://www.reddit.com/r/XmrStak

psychocrypt commented 5 years ago

btw we will release a version for randomx this week

OMGitsMohaYT commented 5 years ago

Thanks psychocrypt for the help as well as realityworks, I appreciate it a lot, Have a good wekeend!