Closed yoburtu closed 6 years ago
empty the build folder compile again and post al used commands and the output.
I have solved including directly the opencl library in OpenCL_LIBRARY argument:
$ cmake -DOpenCL_LIBRARY=/opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so -DCUDA_ENABLE=OFF ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - found
-- Found OpenCL: /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so (found version "2.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/xmr-stak/build
$ make install
Scanning dependencies of target xmr-stak-c
[ 3%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o
[ 6%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o
[ 10%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o
[ 13%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o
[ 16%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o
[ 20%] Linking C static library bin/libxmr-stak-c.a
[ 20%] Built target xmr-stak-c
Scanning dependencies of target xmr-stak-backend
[ 23%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/jconf.cpp.o
[ 26%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/version.cpp.o
[ 30%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/hwlocMemory.cpp.o
[ 33%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/jconf.cpp.o
[ 36%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o
[ 40%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/backendConnector.cpp.o
[ 43%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/globalStates.cpp.o
[ 46%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cryptonight_common.cpp.o
[ 50%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/webdesign.cpp.o
[ 53%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/httpd.cpp.o
[ 56%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/executor.cpp.o
[ 60%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/uac.cpp.o
[ 63%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/utility.cpp.o
[ 66%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/console.cpp.o
[ 70%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/telemetry.cpp.o
[ 73%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/net/socket.cpp.o
[ 76%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/net/jpsock.cpp.o
[ 80%] Linking CXX static library bin/libxmr-stak-backend.a
[ 80%] Built target xmr-stak-backend
Scanning dependencies of target xmrstak_opencl_backend
[ 83%] Building CXX object CMakeFiles/xmrstak_opencl_backend.dir/xmrstak/backend/amd/amd_gpu/gpu.cpp.o
[ 86%] Building CXX object CMakeFiles/xmrstak_opencl_backend.dir/xmrstak/backend/amd/jconf.cpp.o
[ 90%] Building CXX object CMakeFiles/xmrstak_opencl_backend.dir/xmrstak/backend/amd/minethd.cpp.o
[ 93%] Linking CXX shared library bin/libxmrstak_opencl_backend.so
[ 93%] Built target xmrstak_opencl_backend
Scanning dependencies of target xmr-stak
[ 96%] Building CXX object CMakeFiles/xmr-stak.dir/xmrstak/cli/cli-miner.cpp.o
[100%] Linking CXX executable bin/xmr-stak
[100%] Built target xmr-stak
Install the project...
-- Install configuration: "Release"
xmr-stak installed to folder 'bin'
But now, don’t works xmr-stak executable compiled:
xmr-stak 2.4.3 26a5d65
Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk). Based on OpenCL mining code by wolf9466.
Configurable dev donation level is set to 2.0%
[2018-05-20 10:52:20] : Mining coin: stellite [2018-05-20 10:52:20] : WARNING: UNKNOWN_ERROR when calling clGetPlatformIDs for number of platforms. [2018-05-20 10:52:20] : WARNING: No OpenCL platform found. [2018-05-20 10:52:20] : WARNING: No AMD OpenCL platform found. Possible driver issues or wrong vendor driver. [2018-05-20 10:52:20] : WARNING: backend AMD (OpenCL) disabled. [2018-05-20 10:52:20] : Starting 1x thread, affinity: 0. [2018-05-20 10:52:20] : hwloc: memory pinned [2018-05-20 10:52:20] : Starting 1x thread, affinity: 1. [2018-05-20 10:52:20] : hwloc: memory pinned [2018-05-20 10:52:20] : Fast-connecting to Pool.XTL.CryptoPool.Space:5555 pool ... [2018-05-20 10:52:20] : Pool Pool.XTL.CryptoPool.Space:5555 connected. Logging in... [2018-05-20 10:52:20] : Difficulty changed. Now: 50000. [2018-05-20 10:52:20] : Pool logged in.
Run as root or add user to video
group
That is an access error. You should be able to get output from clinfo
and then things will begin working.
As root is the same. My user is in video group. But the clinfo command don’t work. Core dump!.
$ uname -a Linux galadriel 4.13.0-41-generic #46~16.04.1-Ubuntu SMP Thu May 3 10:06:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ id uid=1000(user) gid=1000(user) groups=1000(user),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),113(lpadmin),129(sambashare)
$ /opt/amdgpu-pro/bin/clinfo terminate called after throwing an instance of 'cl::Error' what(): clGetPlatformIDs Aborted (core dumped)
Well nothing will work until / unless the clinfo works. Looks like a library issue, check content in /etc/ld.so.conf.d/
What is output of ldd /opt/amdgpu-pro/bin/clinfo
as far as the libOpenCL.so references...
user@galadriel:~$ cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf
user@galadriel:~$ ls /etc/ld.so.conf.d amdgpu-pro-i386.conf i386-linux-gnu.conf x86_64-linux-gnu.conf amdgpu-pro-x86_64.conf libc.conf x86_64-linux-gnu_EGL.conf fakeroot-x86_64-linux-gnu.conf rocm-x86_64.conf x86_64-linux-gnu_GL.conf
user@galadriel:~$ cat /etc/ld.so.conf.d/amdgpu-pro-x86_64.conf /opt/amdgpu-pro/lib/x86_64-linux-gnu
user@galadriel:~$ ldd /opt/amdgpu-pro/bin/clinfo linux-vdso.so.1 => (0x00007fff031b9000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb5918ee000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb5915e5000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb5913e1000) libOpenCL.so.1 => /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1 (0x00007fb5911da000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb590fc4000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb590da7000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb5909dd000) /lib64/ld-linux-x86-64.so.2 (0x00007fb591af6000)
That all looks fine, is the driver loading OK in dmesg?
4.13 is working for me on multiple rigs so it's not the kernel. Which amdgpu-pro version? Use legacy not rocm, since rocm is garbage and only for Vega really. That's an Ellesmere I think...
What’s legacy not rocm?.
user@galadriel:~$ dpkg -l | grep amdgpu-pro ii amdgpu-pro 17.40-492261 amd64 Meta package to install amdgpu Pro components. ii amdgpu-pro-core 17.40-492261 all Meta package to uninstall amdgpu Pro components. ii amdgpu-pro-dkms 17.40-492261 all amdgpu-pro driver in DKMS format. ii amdgpu-pro-lib32 17.40-492261 amd64 Meta package to support i386 runtime on amd64 architecture ii clinfo-amdgpu-pro 17.40-492261 amd64 AMD OpenCL info utility ii hsa-ext-amdgpu-pro-finalize:amd64 1.1.6-492261 amd64 This package provides the development environment for hsa-rocr extensions. ii hsa-ext-amdgpu-pro-image:amd64 1.1.6-492261 amd64 This package provides the development environment for hsa-rocr extensions. ii hsa-runtime-tools-amdgpu-pro:amd64 1.1.6-492261 amd64 This package provides the development environment for hsa-rocr ii ids-amdgpu-pro 1.0.0-492261 all List of AMD/ATI cards' device IDs, revision IDs and marketing names ii libdrm-amdgpu-pro-amdgpu1:amd64 1:2.4.82-492261 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime ii libdrm-amdgpu-pro-amdgpu1:i386 1:2.4.82-492261 i386 Userspace interface to amdgpu-specific kernel DRM services -- runtime ii libdrm2-amdgpu-pro:amd64 1:2.4.82-492261 amd64 Userspace interface to kernel DRM services -- runtime ii libdrm2-amdgpu-pro:i386 1:2.4.82-492261 i386 Userspace interface to kernel DRM services -- runtime ii libegl1-amdgpu-pro:amd64 17.40-492261 amd64 implementation of the EGL API -- runtime ii libegl1-amdgpu-pro:i386 17.40-492261 i386 implementation of the EGL API -- runtime ii libgbm1-amdgpu-pro:amd64 17.40-492261 amd64 Generic buffer management API -- runtime ii libgbm1-amdgpu-pro:i386 17.40-492261 i386 Generic buffer management API -- runtime ii libgbm1-amdgpu-pro-base 17.40-492261 all Generic buffer management API -- configuration files ii libgl1-amdgpu-pro-appprofiles 17.40-492261 all AMD OpenGL profiles configuration ii libgl1-amdgpu-pro-dri:amd64 17.40-492261 amd64 implementation of the OpenGL API -- DRI modules ii libgl1-amdgpu-pro-dri:i386 17.40-492261 i386 implementation of the OpenGL API -- DRI modules ii libgl1-amdgpu-pro-ext:amd64 17.40-492261 amd64 xorg GLX exetnsion ii libgl1-amdgpu-pro-glx:amd64 17.40-492261 amd64 implementation of the OpenGL API -- GLX runtime ii libgl1-amdgpu-pro-glx:i386 17.40-492261 i386 implementation of the OpenGL API -- GLX runtime ii libgles2-amdgpu-pro:amd64 17.40-492261 amd64 implementation of the OpenGL|ES 2.x API -- runtime ii libgles2-amdgpu-pro:i386 17.40-492261 i386 implementation of the OpenGL|ES 2.x API -- runtime ii libopencl1-amdgpu-pro:amd64 17.40-492261 amd64 AMD OpenCL ICD Loader library ii libopencl1-amdgpu-pro:i386 17.40-492261 i386 AMD OpenCL ICD Loader library ii libvdpau-amdgpu-pro:amd64 1:17.0.1-492261 amd64 AMDGPU Pro VDPAU driver ii libvdpau-amdgpu-pro:i386 1:17.0.1-492261 i386 AMDGPU Pro VDPAU driver ii opencl-amdgpu-pro-icd:amd64 17.40-492261 amd64 non-free AMD OpenCL ICD Loaders ii opencl-amdgpu-pro-icd:i386 17.40-492261 i386 non-free AMD OpenCL ICD Loaders ii rocm-amdgpu-pro 17.40-492261 amd64 Meta package to install OpenCL/ROCm components ii rocm-amdgpu-pro-icd:amd64 17.40-492261 amd64 non-free AMD OpenCL ICD Loaders ii rocm-amdgpu-pro-opencl:amd64 17.40-492261 amd64 AMD OpenCL ICD Loader library ii rocr-amdgpu-pro:amd64 1.1.6-492261 amd64 The user-mode API interfaces used to interact with the Boltzmann ii roct-amdgpu-pro:amd64 1.0.6-492261 amd64 The user-mode API interfaces used to interact with the Boltzmann ii vulkan-amdgpu-pro:amd64 17.40-492261 amd64 AMDGPU Pro Vulkan driver ii vulkan-amdgpu-pro:i386 17.40-492261 i386 AMDGPU Pro Vulkan driver ii xserver-xorg-video-amdgpu-pro 1:1.3.99-492261 amd64 X.Org X server -- AMD/ATI Radeon display driver ii xserver-xorg-video-glamoregl-amdgpu-pro:amd64 1.19.0-492261 amd64 X.Org X server -- graphics acceleration module based on OpenGL
This is dmesg output. I'm not sure if it's loading the driver Correctly:
[ 6.562973] [drm] GPU posting now...
[ 6.688929] [drm] vm size is 64 GB, block size is 13-bit
[ 6.688942] amdgpu 0000:04:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 6.688943] amdgpu 0000:04:00.0: GTT: 3072M 0x0000000080000000 - 0x000000013FFFFFFF
[ 6.688947] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 6.688948] [drm] RAM width 128bits GDDR5
[ 6.688953] [drm] amdgpu: 2048M of VRAM memory ready
[ 6.688953] [drm] amdgpu: 3072M of GTT memory ready.
[ 6.688959] [drm] GART: num cpu pages 786432, num gpu pages 786432
[ 6.690139] [drm] PCIE GART of 3072M enabled (table at 0x0000000000040000).
[ 6.690154] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 6.690154] [drm] Driver supports precise vblank timestamp query.
[ 6.690187] amdgpu 0000:04:00.0: amdgpu: using MSI.
[ 6.690208] [drm] amdgpu: irq initialized.
[ 6.952829] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[ 6.952945] [drm] AMDGPU Display Connectors
[ 6.952945] [drm] Connector 0:
[ 6.952945] [drm] DP-4
[ 6.952946] [drm] HPD5
[ 6.952947] [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[ 6.952947] [drm] Encoders:
[ 6.952947] [drm] DFP1: INTERNAL_UNIPHY1
[ 6.952948] [drm] Connector 1:
[ 6.952948] [drm] HDMI-A-5
[ 6.952948] [drm] HPD3
[ 6.952949] [drm] DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877
[ 6.952949] [drm] Encoders:
[ 6.952950] [drm] DFP2: INTERNAL_UNIPHY1
[ 6.952950] [drm] Connector 2:
[ 6.952950] [drm] DVI-D-4
[ 6.952951] [drm] HPD4
[ 6.952951] [drm] DDC: 0x4878 0x4878 0x4879 0x4879 0x487a 0x487a 0x487b 0x487b
[ 6.952952] [drm] Encoders:
[ 6.952952] [drm] DFP3: INTERNAL_UNIPHY
[ 6.953015] amdgpu 0000:04:00.0: fence driver on ring 0 use gpu addr 0x0000000080000008, cpu addr 0xffff91b7bce4e008
[ 6.953039] amdgpu 0000:04:00.0: fence driver on ring 1 use gpu addr 0x0000000080000018, cpu addr 0xffff91b7bce4e018
[ 6.953059] amdgpu 0000:04:00.0: fence driver on ring 2 use gpu addr 0x0000000080000028, cpu addr 0xffff91b7bce4e028
[ 6.953083] amdgpu 0000:04:00.0: fence driver on ring 3 use gpu addr 0x0000000080000038, cpu addr 0xffff91b7bce4e038
[ 6.953102] amdgpu 0000:04:00.0: fence driver on ring 4 use gpu addr 0x0000000080000048, cpu addr 0xffff91b7bce4e048
[ 6.953138] amdgpu 0000:04:00.0: fence driver on ring 5 use gpu addr 0x0000000080000058, cpu addr 0xffff91b7bce4e058
[ 6.953155] amdgpu 0000:04:00.0: fence driver on ring 6 use gpu addr 0x0000000080000068, cpu addr 0xffff91b7bce4e068
[ 6.953173] amdgpu 0000:04:00.0: fence driver on ring 7 use gpu addr 0x0000000080000078, cpu addr 0xffff91b7bce4e078
[ 6.953191] amdgpu 0000:04:00.0: fence driver on ring 8 use gpu addr 0x0000000080000088, cpu addr 0xffff91b7bce4e088
[ 6.953208] amdgpu 0000:04:00.0: fence driver on ring 9 use gpu addr 0x000000008000009c, cpu addr 0xffff91b7bce4e09c
[ 6.953251] amdgpu 0000:04:00.0: fence driver on ring 10 use gpu addr 0x00000000800000ac, cpu addr 0xffff91b7bce4e0ac
[ 6.953269] amdgpu 0000:04:00.0: fence driver on ring 11 use gpu addr 0x00000000800000bc, cpu addr 0xffff91b7bce4e0bc
[ 6.953279] [drm] Found UVD firmware Version: 1.79 Family ID: 16
[ 6.956869] amdgpu 0000:04:00.0: fence driver on ring 12 use gpu addr 0x000000000082d420, cpu addr 0xffffa5458a85a420
[ 6.956879] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[ 6.957344] amdgpu 0000:04:00.0: fence driver on ring 13 use gpu addr 0x00000000800000dc, cpu addr 0xffff91b7bce4e0dc
[ 6.957360] amdgpu 0000:04:00.0: fence driver on ring 14 use gpu addr 0x00000000800000ec, cpu addr 0xffff91b7bce4e0ec
[ 7.012299] amdgpu: [powerplay] [AVFS] Something is broken. See log!
[ 7.015051] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.015051] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.015052] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.015052] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.015052] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.015053] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.015053] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.015053] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 7.031376] [drm] ring test on 0 succeeded in 16 usecs
[ 7.032251] [drm] ring test on 9 succeeded in 9 usecs
[ 7.032300] [drm] ring test on 1 succeeded in 16 usecs
[ 7.032315] [drm] ring test on 2 succeeded in 3 usecs
[ 7.032336] [drm] ring test on 3 succeeded in 4 usecs
[ 7.032355] [drm] ring test on 4 succeeded in 4 usecs
[ 7.032377] [drm] ring test on 5 succeeded in 5 usecs
[ 7.032394] [drm] ring test on 6 succeeded in 3 usecs
[ 7.032417] [drm] ring test on 7 succeeded in 5 usecs
[ 7.032439] [drm] ring test on 8 succeeded in 5 usecs
[ 7.032521] [drm] ring test on 10 succeeded in 11 usecs
[ 7.032532] [drm] ring test on 11 succeeded in 10 usecs
[ 7.059188] [drm] ring test on 12 succeeded in 1 usecs
[ 7.059188] [drm] UVD initialized successfully.
[ 7.159165] [drm] ring test on 13 succeeded in 5 usecs
[ 7.159179] [drm] ring test on 14 succeeded in 3 usecs
[ 7.159180] [drm] VCE initialized successfully.
[ 7.159378] [drm] ib test on ring 0 succeeded
[ 7.159630] [drm] ib test on ring 1 succeeded
[ 7.159693] [drm] ib test on ring 2 succeeded
[ 7.159755] [drm] ib test on ring 3 succeeded
[ 7.159807] [drm] ib test on ring 4 succeeded
[ 7.159860] [drm] ib test on ring 5 succeeded
[ 7.159908] [drm] ib test on ring 6 succeeded
[ 7.159962] [drm] ib test on ring 7 succeeded
[ 7.160015] [drm] ib test on ring 8 succeeded
[ 7.160044] [drm] ib test on ring 9 succeeded
[ 7.160074] [drm] ib test on ring 10 succeeded
[ 7.160101] [drm] ib test on ring 11 succeeded
[ 7.161899] [drm] ib test on ring 12 succeeded
[ 7.162200] [drm] ib test on ring 13 succeeded
[ 7.198592] [drm] Cannot find any crtc or sizes - going 1024x768
[ 7.199133] [drm] fb mappable at 0x80A37000
[ 7.199133] [drm] vram apper at 0x80000000
[ 7.199134] [drm] size 3145728
[ 7.199134] [drm] fb depth is 24
[ 7.199134] [drm] pitch is 4096
[ 7.199191] amdgpu 0000:04:00.0: fb4: amdgpudrmfb frame buffer device
[ 7.199644] [drm] Initialized amdgpu 3.18.0 20150101 for 0000:04:00.0 on minor 4
[ 7.199679] amdgpu 0000:05:00.0: enabling device (0000 -> 0003)
[ 7.199794] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x699F 0x1043:0x0511 0xC7).
[ 7.199798] [drm] register mmio base: 0x70200000
[ 7.199799] [drm] register mmio size: 262144
[ 7.199813] [drm] probing gen 2 caps for device 8086:8c16 = 4323c12/0
[ 7.199814] [drm] probing mlw for device 8086:8c16 = 4323c12
[ 7.199822] [drm] UVD is enabled in VM mode
[ 7.199825] [drm] VCE enabled in VM mode
[ 8.202408] ATOM BIOS: 115-C994PI0-102
[ 8.202425] [drm] GPU posting now...
[ 8.316950] [drm] vm size is 64 GB, block size is 13-bit
[ 8.316968] amdgpu 0000:05:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 8.316969] amdgpu 0000:05:00.0: GTT: 3072M 0x0000000080000000 - 0x000000013FFFFFFF
[ 8.316973] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 8.316973] [drm] RAM width 128bits GDDR5
[ 8.316981] [drm] amdgpu: 2048M of VRAM memory ready
[ 8.316982] [drm] amdgpu: 3072M of GTT memory ready.
[ 8.316988] [drm] GART: num cpu pages 786432, num gpu pages 786432
[ 8.318214] [drm] PCIE GART of 3072M enabled (table at 0x0000000000040000).
[ 8.318233] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 8.318233] [drm] Driver supports precise vblank timestamp query.
[ 8.318287] amdgpu 0000:05:00.0: amdgpu: using MSI.
[ 8.318325] [drm] amdgpu: irq initialized.
[ 8.583359] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[ 8.583475] [drm] AMDGPU Display Connectors
[ 8.583475] [drm] Connector 0:
[ 8.583476] [drm] DP-5
[ 8.583476] [drm] HPD5
[ 8.583477] [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[ 8.583477] [drm] Encoders:
[ 8.583477] [drm] DFP1: INTERNAL_UNIPHY1
[ 8.583478] [drm] Connector 1:
[ 8.583478] [drm] HDMI-A-6
[ 8.583478] [drm] HPD3
[ 8.583479] [drm] DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877
[ 8.583479] [drm] Encoders:
[ 8.583480] [drm] DFP2: INTERNAL_UNIPHY1
[ 8.583480] [drm] Connector 2:
[ 8.583480] [drm] DVI-D-5
[ 8.583481] [drm] HPD4
[ 8.583481] [drm] DDC: 0x4878 0x4878 0x4879 0x4879 0x487a 0x487a 0x487b 0x487b
[ 8.583482] [drm] Encoders:
[ 8.583482] [drm] DFP3: INTERNAL_UNIPHY
[ 8.583541] amdgpu 0000:05:00.0: fence driver on ring 0 use gpu addr 0x0000000080000008, cpu addr 0xffff91b7bcf03008
[ 8.583564] amdgpu 0000:05:00.0: fence driver on ring 1 use gpu addr 0x0000000080000018, cpu addr 0xffff91b7bcf03018
[ 8.583585] amdgpu 0000:05:00.0: fence driver on ring 2 use gpu addr 0x0000000080000028, cpu addr 0xffff91b7bcf03028
[ 8.583606] amdgpu 0000:05:00.0: fence driver on ring 3 use gpu addr 0x0000000080000038, cpu addr 0xffff91b7bcf03038
[ 8.583628] amdgpu 0000:05:00.0: fence driver on ring 4 use gpu addr 0x0000000080000048, cpu addr 0xffff91b7bcf03048
[ 8.583645] amdgpu 0000:05:00.0: fence driver on ring 5 use gpu addr 0x0000000080000058, cpu addr 0xffff91b7bcf03058
[ 8.583663] amdgpu 0000:05:00.0: fence driver on ring 6 use gpu addr 0x0000000080000068, cpu addr 0xffff91b7bcf03068
[ 8.583679] amdgpu 0000:05:00.0: fence driver on ring 7 use gpu addr 0x0000000080000078, cpu addr 0xffff91b7bcf03078
[ 8.583694] amdgpu 0000:05:00.0: fence driver on ring 8 use gpu addr 0x0000000080000088, cpu addr 0xffff91b7bcf03088
[ 8.583708] amdgpu 0000:05:00.0: fence driver on ring 9 use gpu addr 0x000000008000009c, cpu addr 0xffff91b7bcf0309c
[ 8.583754] amdgpu 0000:05:00.0: fence driver on ring 10 use gpu addr 0x00000000800000ac, cpu addr 0xffff91b7bcf030ac
[ 8.583770] amdgpu 0000:05:00.0: fence driver on ring 11 use gpu addr 0x00000000800000bc, cpu addr 0xffff91b7bcf030bc
[ 8.583778] [drm] Found UVD firmware Version: 1.79 Family ID: 16
[ 8.587368] amdgpu 0000:05:00.0: fence driver on ring 12 use gpu addr 0x000000000082d420, cpu addr 0xffffa5458ba5a420
[ 8.587375] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[ 8.587833] amdgpu 0000:05:00.0: fence driver on ring 13 use gpu addr 0x00000000800000dc, cpu addr 0xffff91b7bcf030dc
[ 8.587848] amdgpu 0000:05:00.0: fence driver on ring 14 use gpu addr 0x00000000800000ec, cpu addr 0xffff91b7bcf030ec
[ 8.642783] amdgpu: [powerplay] [AVFS] Something is broken. See log!
[ 8.645538] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.645539] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.645539] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.645539] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.645540] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.645540] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.645540] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.645541] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 8.661791] [drm] ring test on 0 succeeded in 17 usecs
[ 8.662659] [drm] ring test on 9 succeeded in 9 usecs
[ 8.662707] [drm] ring test on 1 succeeded in 16 usecs
[ 8.662723] [drm] ring test on 2 succeeded in 3 usecs
[ 8.662742] [drm] ring test on 3 succeeded in 4 usecs
[ 8.662760] [drm] ring test on 4 succeeded in 4 usecs
[ 8.662785] [drm] ring test on 5 succeeded in 6 usecs
[ 8.662802] [drm] ring test on 6 succeeded in 3 usecs
[ 8.662825] [drm] ring test on 7 succeeded in 5 usecs
[ 8.662846] [drm] ring test on 8 succeeded in 5 usecs
[ 8.662926] [drm] ring test on 10 succeeded in 10 usecs
[ 8.662937] [drm] ring test on 11 succeeded in 10 usecs
[ 8.689668] [drm] ring test on 12 succeeded in 1 usecs
[ 8.689668] [drm] UVD initialized successfully.
[ 8.789651] [drm] ring test on 13 succeeded in 5 usecs
[ 8.789662] [drm] ring test on 14 succeeded in 2 usecs
[ 8.789662] [drm] VCE initialized successfully.
[ 8.789849] [drm] ib test on ring 0 succeeded
[ 8.790090] [drm] ib test on ring 1 succeeded
[ 8.790143] [drm] ib test on ring 2 succeeded
[ 8.790195] [drm] ib test on ring 3 succeeded
[ 8.790248] [drm] ib test on ring 4 succeeded
[ 8.790300] [drm] ib test on ring 5 succeeded
[ 8.790349] [drm] ib test on ring 6 succeeded
[ 8.790402] [drm] ib test on ring 7 succeeded
[ 8.790454] [drm] ib test on ring 8 succeeded
[ 8.790483] [drm] ib test on ring 9 succeeded
[ 8.790512] [drm] ib test on ring 10 succeeded
[ 8.790539] [drm] ib test on ring 11 succeeded
[ 8.792389] [drm] ib test on ring 12 succeeded
[ 8.792688] [drm] ib test on ring 13 succeeded
[ 8.830510] [drm] Cannot find any crtc or sizes - going 1024x768
[ 8.831041] [drm] fb mappable at 0x60A37000
[ 8.831041] [drm] vram apper at 0x60000000
[ 8.831042] [drm] size 3145728
[ 8.831042] [drm] fb depth is 24
[ 8.831043] [drm] pitch is 4096
[ 8.831093] amdgpu 0000:05:00.0: fb5: amdgpudrmfb frame buffer device
[ 8.831552] [drm] Initialized amdgpu 3.18.0 20150101 for 0000:05:00.0 on minor 5
[ 8.831588] amdgpu 0000:06:00.0: enabling device (0000 -> 0003)
[ 8.831722] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x699F 0x1043:0x0511 0xC7).
[ 8.831727] [drm] register mmio base: 0x50200000
[ 8.831728] [drm] register mmio size: 262144
[ 8.831743] [drm] probing gen 2 caps for device 8086:8c18 = 5323c12/0
[ 8.831744] [drm] probing mlw for device 8086:8c18 = 5323c12
[ 8.831754] [drm] UVD is enabled in VM mode
[ 8.831757] [drm] VCE enabled in VM mode
[ 9.850738] ATOM BIOS: 115-C994PI0-102
[ 9.850749] [drm] GPU posting now...
[ 9.964645] [drm] vm size is 64 GB, block size is 13-bit
[ 9.964658] amdgpu 0000:06:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 9.964659] amdgpu 0000:06:00.0: GTT: 3072M 0x0000000080000000 - 0x000000013FFFFFFF
[ 9.964663] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 9.964663] [drm] RAM width 128bits GDDR5
[ 9.964669] [drm] amdgpu: 2048M of VRAM memory ready
[ 9.964669] [drm] amdgpu: 3072M of GTT memory ready.
[ 9.964675] [drm] GART: num cpu pages 786432, num gpu pages 786432
[ 9.965854] [drm] PCIE GART of 3072M enabled (table at 0x0000000000040000).
[ 9.965868] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 9.965868] [drm] Driver supports precise vblank timestamp query.
[ 9.965900] amdgpu 0000:06:00.0: amdgpu: using MSI.
[ 9.965922] [drm] amdgpu: irq initialized.
[ 10.228450] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[ 10.228565] [drm] AMDGPU Display Connectors
[ 10.228566] [drm] Connector 0:
[ 10.228566] [drm] DP-6
[ 10.228567] [drm] HPD5
[ 10.228568] [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[ 10.228568] [drm] Encoders:
[ 10.228568] [drm] DFP1: INTERNAL_UNIPHY1
[ 10.228569] [drm] Connector 1:
[ 10.228569] [drm] HDMI-A-7
[ 10.228569] [drm] HPD3
[ 10.228570] [drm] DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877
[ 10.228570] [drm] Encoders:
[ 10.228571] [drm] DFP2: INTERNAL_UNIPHY1
[ 10.228571] [drm] Connector 2:
[ 10.228571] [drm] DVI-D-6
[ 10.228571] [drm] HPD4
[ 10.228572] [drm] DDC: 0x4878 0x4878 0x4879 0x4879 0x487a 0x487a 0x487b 0x487b
[ 10.228572] [drm] Encoders:
[ 10.228573] [drm] DFP3: INTERNAL_UNIPHY
[ 10.228637] amdgpu 0000:06:00.0: fence driver on ring 0 use gpu addr 0x0000000080000008, cpu addr 0xffff91b7bcb97008
[ 10.228662] amdgpu 0000:06:00.0: fence driver on ring 1 use gpu addr 0x0000000080000018, cpu addr 0xffff91b7bcb97018
[ 10.228685] amdgpu 0000:06:00.0: fence driver on ring 2 use gpu addr 0x0000000080000028, cpu addr 0xffff91b7bcb97028
[ 10.228707] amdgpu 0000:06:00.0: fence driver on ring 3 use gpu addr 0x0000000080000038, cpu addr 0xffff91b7bcb97038
[ 10.228726] amdgpu 0000:06:00.0: fence driver on ring 4 use gpu addr 0x0000000080000048, cpu addr 0xffff91b7bcb97048
[ 10.228749] amdgpu 0000:06:00.0: fence driver on ring 5 use gpu addr 0x0000000080000058, cpu addr 0xffff91b7bcb97058
[ 10.228765] amdgpu 0000:06:00.0: fence driver on ring 6 use gpu addr 0x0000000080000068, cpu addr 0xffff91b7bcb97068
[ 10.228784] amdgpu 0000:06:00.0: fence driver on ring 7 use gpu addr 0x0000000080000078, cpu addr 0xffff91b7bcb97078
[ 10.228800] amdgpu 0000:06:00.0: fence driver on ring 8 use gpu addr 0x0000000080000088, cpu addr 0xffff91b7bcb97088
[ 10.228813] amdgpu 0000:06:00.0: fence driver on ring 9 use gpu addr 0x000000008000009c, cpu addr 0xffff91b7bcb9709c
[ 10.228856] amdgpu 0000:06:00.0: fence driver on ring 10 use gpu addr 0x00000000800000ac, cpu addr 0xffff91b7bcb970ac
[ 10.228875] amdgpu 0000:06:00.0: fence driver on ring 11 use gpu addr 0x00000000800000bc, cpu addr 0xffff91b7bcb970bc
[ 10.228884] [drm] Found UVD firmware Version: 1.79 Family ID: 16
[ 10.232474] amdgpu 0000:06:00.0: fence driver on ring 12 use gpu addr 0x000000000082d420, cpu addr 0xffffa5458c65a420
[ 10.232481] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[ 10.232945] amdgpu 0000:06:00.0: fence driver on ring 13 use gpu addr 0x00000000800000dc, cpu addr 0xffff91b7bcb970dc
[ 10.232961] amdgpu 0000:06:00.0: fence driver on ring 14 use gpu addr 0x00000000800000ec, cpu addr 0xffff91b7bcb970ec
[ 10.287894] amdgpu: [powerplay] [AVFS] Something is broken. See log!
[ 10.290649] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.290649] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.290649] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.290650] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.290650] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.290650] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.290651] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.290651] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[ 10.306635] [drm] ring test on 0 succeeded in 17 usecs
[ 10.307512] [drm] ring test on 9 succeeded in 9 usecs
[ 10.307561] [drm] ring test on 1 succeeded in 16 usecs
[ 10.307576] [drm] ring test on 2 succeeded in 3 usecs
[ 10.307596] [drm] ring test on 3 succeeded in 4 usecs
[ 10.307617] [drm] ring test on 4 succeeded in 5 usecs
[ 10.307639] [drm] ring test on 5 succeeded in 5 usecs
[ 10.307655] [drm] ring test on 6 succeeded in 3 usecs
[ 10.307678] [drm] ring test on 7 succeeded in 5 usecs
[ 10.307697] [drm] ring test on 8 succeeded in 4 usecs
[ 10.307779] [drm] ring test on 10 succeeded in 10 usecs
[ 10.307790] [drm] ring test on 11 succeeded in 10 usecs
[ 10.334782] [drm] ring test on 12 succeeded in 1 usecs
[ 10.334783] [drm] UVD initialized successfully.
[ 10.434763] [drm] ring test on 13 succeeded in 5 usecs
[ 10.434778] [drm] ring test on 14 succeeded in 3 usecs
[ 10.434778] [drm] VCE initialized successfully.
[ 10.434967] [drm] ib test on ring 0 succeeded
[ 10.435209] [drm] ib test on ring 1 succeeded
[ 10.435262] [drm] ib test on ring 2 succeeded
[ 10.435314] [drm] ib test on ring 3 succeeded
[ 10.435368] [drm] ib test on ring 4 succeeded
[ 10.435420] [drm] ib test on ring 5 succeeded
[ 10.435469] [drm] ib test on ring 6 succeeded
[ 10.435521] [drm] ib test on ring 7 succeeded
[ 10.435573] [drm] ib test on ring 8 succeeded
[ 10.435601] [drm] ib test on ring 9 succeeded
[ 10.435630] [drm] ib test on ring 10 succeeded
[ 10.435657] [drm] ib test on ring 11 succeeded
[ 10.437501] [drm] ib test on ring 12 succeeded
[ 10.437800] [drm] ib test on ring 13 succeeded
[ 10.474968] [drm] Cannot find any crtc or sizes - going 1024x768
[ 10.475524] [drm] fb mappable at 0x40A37000
[ 10.475524] [drm] vram apper at 0x40000000
[ 10.475525] [drm] size 3145728
[ 10.475525] [drm] fb depth is 24
[ 10.475525] [drm] pitch is 4096
[ 10.475648] amdgpu 0000:06:00.0: fb6: amdgpudrmfb frame buffer device
[ 10.476101] [drm] Initialized amdgpu 3.18.0 20150101 for 0000:06:00.0 on minor 6
[ 10.519739] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[ 10.617569] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 10.636082] systemd[1]: Detected architecture x86-64.
[ 10.636302] systemd[1]: Set hostname to
I have solved!.
I installed amdgpu-pro-18.10-NNNNNN.tar.xz driver and now works fine!.
How can I install rocm for adjust overclock of graphic cards?.
@yoburtu hi,guy!what's hashrate with vega 56 on ubuntu 16.04?thx
I do not have a vega 56. I'm sorry. Regards.
Please provide as much as possible information to reproduce the issue.
Basic information
Compile issues
Which OS do you use? Ubuntu 16.04.3
add all commands you used and the full compile output
I have problems with cmake command:
WARNING: Target "xmrstak_opencl_backend" requests linking to directory "/opt/amdgpu-pro/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item.
The result of previous warning is that xmrstak_opencl_backend don’t links with opencl lib and then, the xmr-stak binary file compiled don’t supports opencl and don’t works with my amd Rx550 gpus.
Best regards.