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

After fork Monero (cn/r) - ALL GPU slow down, almost to 50h for a card #235

Closed
minzak opened this issue Mar 10, 2019 · 12 comments
Closed

After fork Monero (cn/r) - ALL GPU slow down, almost to 50h for a card #235

minzak opened this issue Mar 10, 2019 · 12 comments
Labels
Milestone

Comments

@minzak
Copy link

minzak commented Mar 10, 2019

Very strange, before fork all been fine and total hashrate was near 8k.
But now no more that 50h for the one card!

No any updates was in made in OS for a week.
clinfo, amdcovc, amdmeminfo, ohgodatool - get normal result.
I Not understand what is wrong?

Console output is:

root@ferma:/opt/xmrig-amd# ./xmrig-amd
 * ABOUT        XMRig-AMD/2.14.0 gcc/6.3.0
 * LIBS         libuv/1.18.0 OpenCL/2.0 OpenSSL/1.1.0j microhttpd/0.9.51
 * CPU          Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz x64 AES
 * ALGO         cryptonight/r, donate=0%
 * POOL #1      pool.supportxmr.com:7777 variant r
 * API BIND     0.0.0.0:8080
 * COMMANDS     hashrate, pause, resume
[2019-03-10 14:46:24] compiling code and initializing GPUs. This will take a while...
[2019-03-10 14:46:24] found AMD platform index: 0, name: Advanced Micro Devices, Inc.
[2019-03-10 14:46:24] #00, GPU #00 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:24]              1.69/3.95/4 GB
[2019-03-10 14:46:24] #01, GPU #00 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:24]              1.69/3.95/4 GB
[2019-03-10 14:46:24] #02, GPU #01 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:24]              1.69/3.71/4 GB
[2019-03-10 14:46:24] #03, GPU #01 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:24]              1.69/3.71/4 GB
[2019-03-10 14:46:25] #04, GPU #02 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.71/4 GB
[2019-03-10 14:46:25] #05, GPU #02 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.71/4 GB
[2019-03-10 14:46:25] #06, GPU #03 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.71/4 GB
[2019-03-10 14:46:25] #07, GPU #03 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.71/4 GB
[2019-03-10 14:46:25] #08, GPU #04 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/8 GB
[2019-03-10 14:46:25] #09, GPU #04 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/8 GB
[2019-03-10 14:46:25] #10, GPU #05 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/8 GB
[2019-03-10 14:46:25] #11, GPU #05 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/8 GB
[2019-03-10 14:46:25] #12, GPU #06 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:25] #13, GPU #06 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:25] #14, GPU #07 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:25] #15, GPU #07 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:25] #16, GPU #08 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:25] #17, GPU #08 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:25] #18, GPU #09 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:25] #19, GPU #09 Radeon RX 580 Series (Ellesmere), i:864 (8/256), si:1/2, u:8, cu:36
[2019-03-10 14:46:25]              1.69/3.95/4 GB
[2019-03-10 14:46:26] use pool pool.supportxmr.com:7777  94.130.12.30
[2019-03-10 14:46:26] new job from pool.supportxmr.com:7777 diff 25000 algo cn/r height 1788076
[2019-03-10 14:47:28] speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2019-03-10 14:47:43] new job from pool.supportxmr.com:7777 diff 13889 algo cn/r height 1788076
[2019-03-10 14:47:45] accepted (1/0) diff 25000 (51 ms)
[2019-03-10 14:47:46] accepted (2/0) diff 25000 (55 ms)
[2019-03-10 14:48:28] speed 10s/60s/15m n/a 456.6 n/a H/s max n/a H/s
[2019-03-10 14:48:34] new job from pool.supportxmr.com:7777 diff 13889 algo cn/r height 1788077
[2019-03-10 14:48:43] new job from pool.supportxmr.com:7777 diff 10920 algo cn/r height 1788077
[2019-03-10 14:49:04] new job from pool.supportxmr.com:7777 diff 10920 algo cn/r height 1788078
[2019-03-10 14:49:21] accepted (3/0) diff 10920 (53 ms)
[2019-03-10 14:49:28] speed 10s/60s/15m n/a 263.1 n/a H/s max n/a H/s
[2019-03-10 14:49:44] new job from pool.supportxmr.com:7777 diff 9270 algo cn/r height 1788078
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s |
|      0 |   0 |     n/a |     n/a |     n/a |
|      1 |   0 |     n/a |    49.6 |     n/a |
|      2 |   1 |     n/a |    27.6 |     n/a |
|      3 |   1 |     n/a |    27.6 |     n/a |
|      4 |   2 |     n/a |     n/a |     n/a |
|      5 |   2 |     n/a |     n/a |     n/a |
|      6 |   3 |     n/a |     n/a |     n/a |
|      7 |   3 |     n/a |     n/a |     n/a |
|      8 |   4 |     n/a |     n/a |     n/a |
|      9 |   4 |     n/a |    16.6 |     n/a |
|     10 |   5 |     n/a |     n/a |     n/a |
|     11 |   5 |     n/a |     n/a |     n/a |
|     12 |   6 |     n/a |     n/a |     n/a |
|     13 |   6 |     n/a |     n/a |     n/a |
|     14 |   7 |     n/a |     n/a |     n/a |
|     15 |   7 |     n/a |     n/a |     n/a |
|     16 |   8 |     n/a |     n/a |     n/a |
|     17 |   8 |     n/a |     n/a |     n/a |
|     18 |   9 |     n/a |     n/a |     n/a |
|     19 |   9 |     n/a |     n/a |     n/a |
[2019-03-10 14:50:14] speed 10s/60s/15m n/a 121.4 n/a H/s max n/a H/s

My config:

{
    "algo": "cn/r",
    "api": {
        "port": 8080,
        "access-token": null,
        "id": null,
        "worker-id": "Ferma",
        "ipv6": false,
        "restricted": true
    },
    "autosave": true,
    "background": false,
    "cache": true,
    "colors": true,
    "donate-level": 0,
    "log-file": null,
    "opencl-platform": "AMD",
    "opencl-loader": "libOpenCL.so",
    "pools": [
        {
            "url": "pool.supportxmr.com:7777",
            "user": "45oХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХs",
            "pass": "Ferma",
            "rig-id": "Ferma",
            "nicehash": false,
            "keepalive": false,
            "variant": "r",
            "enabled": true,
            "tls": false,
            "tls-fingerprint": null
        }
    ],
    "print-time": 60,
    "retries": 5,
    "retry-pause": 3,
    "threads": [
        { "index": 0, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 0, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 1, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 1, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 2, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 2, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 3, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 3, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 4, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 4, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 5, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 5, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 6, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 6, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 7, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 7, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 8, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 8, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 9, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false },
        { "index": 9, "intensity": 864, "worksize": 8, "strided_index": 1, "mem_chunk": 2, "unroll": 8, "comp_mode": false, "affine_to_cpu": false }
    ],
    "user-agent": null,
    "syslog": false,
    "watch": true
}

And web result:

{
    "id": "b910dec93d1bff43",
    "worker_id": "Ferma",
    "version": "2.14.0",
    "kind": "amd",
    "ua": "XMRig-AMD/2.14.0 (Linux x86_64) libuv/1.18.0 gcc/6.3.0",
    "cpu": {
        "brand": "Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz",
        "aes": true,
        "x64": true,
        "sockets": 1
    },
    "algo": "cryptonight/r",
    "hugepages": false,
    "donate_level": 0,
    "hashrate": {
        "total": [
            0.0,
            244.75,
            0.0
        ],
        "highest": 0.0,
        "threads": [
            [
                0.0,
                50.98,
                0.0
            ],
            [
                0.0,
                28.67,
                0.0
            ],
            [
                0.0,
                26.87,
                0.0
            ],
            [
                0.0,
                26.98,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                18.82,
                0.0
            ],
            [
                0.0,
                35.81,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                27.76,
                0.0
            ],
            [
                0.0,
                28.83,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ],
            [
                0.0,
                0.0,
                0.0
            ]
        ]
    },
    "results": {
        "diff_current": 10920,
        "shares_good": 3,
        "shares_total": 3,
        "avg_time": 61,
        "hashes_total": 60920,
        "best": [
            35486,
            31186,
            17112,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        "error_log": []
    },
    "connection": {
        "pool": "pool.supportxmr.com:7777",
        "uptime": 184,
        "ping": 53,
        "failures": 0,
        "error_log": []
    }
}

result

@minzak
Copy link
Author

minzak commented Mar 10, 2019

Also same behaviour on other miner - fireice-uk/xmr-stak#2304

@xmrig
Copy link
Owner

xmrig commented Mar 10, 2019

This is auto-generated config? You should use "strided_index": 2, value 1 not supported by cn/r same as other cn/2 family algorithms. Also you can use configs from previous versions, until miner major version not changed.
Thank you.

@xmrig
Copy link
Owner

xmrig commented Mar 10, 2019

Auto-config fixed in dev branch, same result you can achieve is set variant to -1 in config, but better use fine-tuned configs from previous versions if present.
Thank you.

@greenight
Copy link

Олександр, дропать донат на ПО который несет тебе бабло это достойно украинца! так держать!

@minzak
Copy link
Author

minzak commented Mar 10, 2019

Олександр, дропать донат на ПО который несет тебе бабло это достойно украинца! так держать!

Донат стоит на всех виндовых, не переживай.

@minzak
Copy link
Author

minzak commented Mar 10, 2019

With

"algo": "cryptonight",
...
 { "index": 0, "intensity": 864, "worksize": 8, "strided_index": 2, "mem_chunk": 2, "unroll": 8, "comp_mode": true, "affine_to_cpu": true },
...
"variant": "-1",

result the same

@GrigoryMel
Copy link

[2019-03-10 21:38:52] Error CL_INVALID_KERNEL when calling clEnqueueNDRangeKerne
l for kernel 1.

@GrigoryMel
Copy link

Maybe goto has a solution, thanks!

@GrigoryMel
Copy link

{
"algo":
"cryptonight",

"background": false,

"colors": true,

"donate-level": 1,

"log-file": null,

"print-time": 60,

"retries": 5,

"retry-pause": 5,

"opencl-platform": 0,

"threads": [{ "index": 0,
"intensity": 768,
"worksize": 18,
"affine_to_cpu": false
},

        {

"index": 1,
"intensity": 768,
"worksize": 18,
"affine_to_cpu": false
},

        { "index": 2,

"intensity": 768,
"worksize": 18,
"affine_to_cpu": false
},

        { "index": 3,

"intensity": 768,
"worksize": 18,
"affine_to_cpu": false
},

       ],

"pools": [
{
"url": "pool.supportxmr.com:7777",

"user": "49FoFSdxuZk46MFMiHXFZv7KPy14pv4cwACkyZSGtvciDFKU6goJgbkeZhnwafFbE9ZSzCZL6LAmx9EgPKxHD9ve5sdBNAJ+30000",
"pass": "HD6991:akademija_trevel@ukr.net",
"keepalive": true,

"nicehash": false,

"variant": -1
}
],

"api": {
"port": 0,

"access-token": null,

"worker-id": null
}
}

@minzak
Copy link
Author

minzak commented Mar 10, 2019

Maybe goto has a solution, thanks!

Не совсем понял тебя. Конфиг что у тебя ниже - вполне нормальный, похоже 470/570 2 карты, ничем особо не отличается от моего, но лучше выровняй поля, и сделай чтобы все было одинаково, и не хватает парочки параметров. Или в идеале запусти для генерации нового конфига.

@GrigoryMel
Copy link

Возможно у goto есть решение, спасибо!

Не совсем понял тебя. Конвейг, что у тебя ниже - вполне нормальный, похоже 470/570 2 карты, ничем особо не отличающиеся от моего, но лучше выровняющие поля, и в них нет параметров парочки. Или в идеале запусти для генерации нового конфига.

I have maps of nd 6990, before the fork everything worked fine, after the problems started, "Error CL_INVALID_KERNEL when calling clEnqueueNDRangeKerne
l for kernel 1. "

@minzak
Copy link
Author

minzak commented Mar 10, 2019

At last i solve it!

  1. I know that driver where name is contain "ubuntu" can't install some deb packets - and finally impossible to install next driver:
    amdgpu-pro-18.50-721419-ubuntu-18.04.tar.xz
    amdgpu-pro-18.50-721418-ubuntu-16.04.tar.xz
    amdgpu-pro-18.40-697810-ubuntu-18.04.tar.xz
    amdgpu-pro-18.40-673869-ubuntu-16.04.tar.xz

I'm not sure about amdgpu-pro-18.30-641594.tar.xz

  1. I know that core 4.18 not works with 7.40 driver. Also kernel > 4.15 not works with ROC driver.

And finally i found work mix with kernel 4.9.8 with driver amdgpu-pro-17.50-511655.tar.xz
Use it:

wget -O amdgpu-pro-17.50-511655.tar.xz --referer=http://support.amd.com www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.50-511655.tar.xz

Very strange, why with 17.40 driver after fork it is not work any more!?

@minzak minzak closed this as completed Mar 10, 2019
Nashatyrev pushed a commit to Nashatyrev/xmrig-amd that referenced this issue Mar 13, 2019
@xmrig xmrig added this to the v2.14 milestone Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants