sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
629 stars 825 forks source link

ADL initialisation error: -21 (No Linux XDisplay in Linux Console environment) #449

Open mw66 opened 7 years ago

mw66 commented 7 years ago

$ ./sgminer -n [04:54:38] CL Platform vendor: NVIDIA Corporation
[04:54:38] CL Platform name: NVIDIA CUDA
[04:54:38] CL Platform version: OpenCL 1.2 CUDA 8.0.0
[04:54:38] Platform devices: 1
[04:54:38] 0 GeForce GTX 960
[04:54:38] Number of ADL devices: 1
[04:54:38] ADL initialisation error: -21 (No Linux XDisplay in Linux Console environment)
[04:54:38] 1 GPU devices max detected

$ uname -a Linux MercerIsland 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ lspci | grep -w VGA 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290] 02:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)

relevant info from /var/log/Xorg.0.log

[ 184.973] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32 [ 184.973] (--) AMDGPU(0): Chipset: "AMD Radeon R9 200 Series" (ChipID = 0x67b1)

[ 184.973] (II) AMDGPU(0): AMDGPU DDX hybrid version: 17.10.2 [ 184.973] (II) AMDGPU(0): AMDGPU kernel module hybrid version: 17.10.2

mw66 commented 7 years ago

why it cannot see the AMD 290 card?