After fork Monero (cn/r) - ALL GPU slow down, almost to 50h for a card
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](https://user-images.githubusercontent.com/12154217/54085568-453f6680-4348-11e9-9eac-355fc6029ae4.PNG)
