enerc / VulkanXMRMiner

Vulkan SPIR-V miner for Cryptonight
GNU General Public License v3.0
32 stars 17 forks source link

Error Message "Failure in vkQueueSubmit at 374 ../src/miner.cpp ErrCode=-4" #19

Open ghost opened 5 years ago

ghost commented 5 years ago

What's happening:

If you experience very low hashrate, close apps like firefox, chrome,..., start the miner, and then reopen them. Connecting to xmr.pool.minergate.com:45700 ... done! Fail to get my id Driver API version 1.1.95 Using XMR Variant: cn/r Mining started.... (Press q to stop) [Time] 'Total H/s' 'Good shares'/'Invalid shares'/'Expired shares' [GPU] H/s 'good hashes'/'bad hashes' Failure in vkQueueSubmit at 374 ../src/miner.cpp ErrCode=-4


What my config file looks like:

{ "crypto" : "monero", "pool_address" : "xmr.pool.minergate.com:45700", "wallet_address" : "myemail@addr.ess", "pool_password" : "x", "debug_network" : "false", "console_listen_port" : "0", "console_refresh_rate" : "30", "cards" : [ { "index" : "0", "cu" : "5", "factor" : "80", "worksize" : "16", "mem_chunk": "2" }
] }



What it's running on:
    - My Windows 10 Pro Samsung Notebook 5 (NP530E5M-X02US) with a Intel Core i5 7200U, Nvidia GeForce 920MX, and 8GB of Single-Channel 1064.6 MHz RAM

What I've tried to remedy the issue:
    - Using TdrLevel.reg from Issue #18 
    - Rebooting Windows
    - Giving it a pep talk
    - Serenading it

In all seriousness, I'm at a bit of a loss. If there's something that I'm doing wrong, please advise.
enerc commented 5 years ago

Could you try to configure TDR with the Nvidia tool http://developer.download.nvidia.com/NsightVisualStudio/2.2/Documentation/UserGuide/HTML/Content/Timeout_Detection_Recovery.htm ? You can also try to reduce "factor" as it will make kernel execution below 2 seconds and avoid the driver to do a reset.

ghost commented 5 years ago

Increasing, disabling and decreasing the TDR Level has no affect. I am still receiving this message.