You can but ull get crap speed on them due to chipset they are might weel sel l the 280x and upgrade to 2x 480s or make mining right with them on and ull need a newer driver to support 480s
No probs good luck with the mining. If you do want to keep the older card, minig Zcash is really good for older cards as on eth they take a big performance hit [or being old] wheras on Zec they perform pretty good. E.g an old 7950 is 50% slower than a RX470 on eth, but on Zec it is only 10% slower.
Not familiar with Windows but you cannot mix a 280x and a 480 in the same machine if running under Linux. They need different drivers. Maybe possible in Windows.
I actually gave this a shot. And failed. Hadn't found this thread so I imagined it could work.
OS Ubuntu 16 LTS server HDD USB 16GB GPU 0 RX480 GPU 1 R9 280x GPU 2 R9 280x
Man I spent so many hours trying to figure out why Claymore dual miner threw OpenCLand segmentation errors. All caused by the fact that the AMD driver supports one of those chips. Either you go for AMD Pro (rx480) or the Catalyst (280x). I finally gave up when I realized. Deep inside I still have some hope somebody solved this.
I should mention that I consider myself to be a novice Linux user so it might still be possible. Its just that I'm not capable of it. If someone figures out how to do it, please let us know
Yes, that's not intended to work with r9 2xx cards.
But, the author of the modded driver clearly states so: "In my case I have a HD 6450 card for display only, and a R9 280X for compute. "
He uses the mentioned modded driver to run his r9 280x. His driver works perfectly for me as well. Until I try to install another additional driver to get my other gpu to run. Then it fails. I would have asked the author but I'm not allowed to post to that forum section yet.
@bouldou Are you running Linux? If so, which drivers are you using?
Oh, i get it, i was superficial about reading that thread and thought you tried the amdgpu-pro's experimental backward compatibility. @bouldou running windows for sure.
Oh, i get it, i was superficial about reading that thread and thought you tried the amdgpu-pro's experimental backward compatibility. @bouldou running windows for sure.
Excellent, thank you. I'll give it a shot. From what I can tell from the table, my r9 280x's belong to Sea Islands GCN 2nd gen and my RX480 to Arctic Islands GCN 4th gen. Just like you pointed to, the open source AMDGPU might work with both cards. I'll uninstall and try.
I probably should have started a brand new thread for this?
Hmm I uninstalled both drivers ( used this guide and some googling) and now I _think_ I'm using default amdgpu driver. :~$ lsmod | grep radeon
radeon 1515520 0
i2c_algo_bit 16384 1 radeon
ttm 98304 1 radeon
drm_kms_helper 155648 1 radeon
drm 364544 4 ttm,drm_kms_helper,radeon
:~$ lsmod | grep amd
amdkfd 131072 1
amd_iommu_v2 20480 1 amdkfd
:~$ lspci -nn | grep -E 'VGA|Display'
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798]
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798]
08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev c7)
But, when I try to start a miner it fails. Log says 21:32:24:555 6475b740 cudaGetDeviceCount failed (35, CUDA driver version is insufficient for CUDA runtime version), probably no CUDA devices
21:32:24:555 6475b740 No NVIDIA CUDA GPUs detected.
21:32:24:555 6475b740 No AMD OPENCL or NVIDIA CUDA GPUs found, exit
So, I had a look in /var/log/Xorg.0.log
:~$ cat /var/log/Xorg.0.log [ 110.569] X.Org X Server 1.18.4 Release Date: 2016-07-19 [ 110.569] X Protocol Version 11, Revision 0 [ 110.569] Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu [ 110.569] Current Operating System: Linux Rigster 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 [ 110.569] Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.0-83-generic root=/dev/mapper/Rigster--vg-root ro net.ifnames=0 biosdevname=0 text [ 110.570] Build Date: 02 November 2016 10:06:10PM [ 110.570] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support) [ 110.570] Current version of pixman: 0.33.6 [ 110.570] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 110.570] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 110.570] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 17 21:32:17 2017 [ 110.573] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 110.580] (==) No Layout section. Using the first Screen section. [ 110.580] (==) No screen section available. Using defaults. [ 110.580] (**) |-->Screen "Default Screen Section" (0) [ 110.580] (**) | |-->Monitor "" [ 110.584] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 110.584] (==) Automatically adding devices [ 110.584] (==) Automatically enabling devices [ 110.584] (==) Automatically adding GPU devices [ 110.589] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 110.599] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 110.599] Entry deleted from font path. [ 110.599] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 110.599] Entry deleted from font path. [ 110.599] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 110.599] Entry deleted from font path. [ 110.599] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 110.600] Entry deleted from font path. [ 110.600] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 110.600] Entry deleted from font path. [ 110.600] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/Type1, built-ins [ 110.600] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules" [ 110.600] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 110.601] (II) Loader magic: 0x55c282637dc0 [ 110.601] (II) Module ABI versions: [ 110.601] X.Org ANSI C Emulation: 0.4 [ 110.601] X.Org Video Driver: 20.0 [ 110.601] X.Org XInput driver : 22.1 [ 110.601] X.Org Server Extension : 9.0 [ 110.602] (--) using VT number 2
[ 110.602] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 110.603] (II) xfree86: Adding drm device (/dev/dri/card0) [ 110.603] (II) xfree86: Adding drm device (/dev/dri/card1) [ 110.606] (--) PCI: (0:2:0:0) 1002:6798:1682:3001 rev 0, Mem @ 0xd0000000/268435456, 0xfd980000/262144, I/O @ 0x0000de00/256, BIOS @ 0x????????/131072 [ 110.606] (--) PCI: (0:4:0:0) 1002:6798:1682:3001 rev 0, Mem @ 0xc0000000/268435456, 0xfde80000/262144, I/O @ 0x00007e00/256, BIOS @ 0x????????/131072 [ 110.606] (--) PCI:*(0:8:0:0) 1002:67df:174b:e347 rev 199, Mem @ 0xa0000000/268435456, 0xbfe00000/2097152, 0xfd480000/262144, I/O @ 0x00009e00/256, BIOS @ 0x????????/131072 [ 110.606] (II) LoadModule: "glx" [ 110.612] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 110.660] (II) Module glx: vendor="X.Org Foundation" [ 110.660] compiled for 1.18.4, module version = 1.0.0 [ 110.660] ABI class: X.Org Server Extension, version 9.0 [ 110.660] (==) AIGLX enabled [ 110.660] (==) Matched ati as autoconfigured driver 0 [ 110.660] (==) Matched ati as autoconfigured driver 1 [ 110.661] (==) Matched ati as autoconfigured driver 2 [ 110.661] (==) Matched modesetting as autoconfigured driver 3 [ 110.661] (==) Matched fbdev as autoconfigured driver 4 [ 110.661] (==) Matched vesa as autoconfigured driver 5 [ 110.661] (==) Assigned the driver to the xf86ConfigLayout [ 110.661] (II) LoadModule: "ati" [ 110.661] (WW) Warning, couldn't open module ati [ 110.661] (II) UnloadModule: "ati" [ 110.661] (II) Unloading ati [ 110.661] (EE) Failed to load module "ati" (module does not exist, 0) [ 110.661] (II) LoadModule: "modesetting" [ 110.661] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 110.664] (II) Module modesetting: vendor="X.Org Foundation" [ 110.664] compiled for 1.18.4, module version = 1.18.4 [ 110.664] Module class: X.Org Video Driver [ 110.664] ABI class: X.Org Video Driver, version 20.0 [ 110.664] (II) LoadModule: "fbdev" [ 110.665] (WW) Warning, couldn't open module fbdev [ 110.665] (II) UnloadModule: "fbdev" [ 110.665] (II) Unloading fbdev [ 110.665] (EE) Failed to load module "fbdev" (module does not exist, 0) [ 110.665] (II) LoadModule: "vesa" [ 110.665] (WW) Warning, couldn't open module vesa [ 110.665] (II) UnloadModule: "vesa" [ 110.665] (II) Unloading vesa [ 110.665] (EE) Failed to load module "vesa" (module does not exist, 0) [ 110.665] (==) Matched ati as autoconfigured driver 0 [ 110.665] (==) Matched ati as autoconfigured driver 1 [ 110.665] (==) Matched ati as autoconfigured driver 2 [ 110.665] (==) Matched modesetting as autoconfigured driver 3 [ 110.665] (==) Matched fbdev as autoconfigured driver 4 [ 110.665] (==) Matched vesa as autoconfigured driver 5 [ 110.665] (==) Assigned the driver to the xf86ConfigLayout [ 110.665] (II) LoadModule: "ati" [ 110.665] (WW) Warning, couldn't open module ati [ 110.665] (II) UnloadModule: "ati" [ 110.665] (II) Unloading ati [ 110.665] (EE) Failed to load module "ati" (module does not exist, 0) [ 110.665] (II) LoadModule: "modesetting" [ 110.665] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 110.665] (II) Module modesetting: vendor="X.Org Foundation" [ 110.665] compiled for 1.18.4, module version = 1.18.4 [ 110.665] Module class: X.Org Video Driver [ 110.665] ABI class: X.Org Video Driver, version 20.0 [ 110.665] (II) UnloadModule: "modesetting" [ 110.665] (II) Unloading modesetting [ 110.665] (II) Failed to load module "modesetting" (already loaded, 0) [ 110.665] (II) LoadModule: "fbdev" [ 110.665] (WW) Warning, couldn't open module fbdev [ 110.665] (II) UnloadModule: "fbdev" [ 110.665] (II) Unloading fbdev [ 110.665] (EE) Failed to load module "fbdev" (module does not exist, 0) [ 110.665] (II) LoadModule: "vesa" [ 110.665] (WW) Warning, couldn't open module vesa [ 110.665] (II) UnloadModule: "vesa" [ 110.665] (II) Unloading vesa [ 110.665] (EE) Failed to load module "vesa" (module does not exist, 0) [ 110.665] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 110.676] (II) modeset(G0): using drv /dev/dri/card0 [ 110.677] (II) modeset(G1): using drv /dev/dri/card1 [ 110.677] (EE) No devices detected. [ 110.677] (EE) Fatal server error: [ 110.677] (EE) no screens found(EE) [ 110.677] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 110.677] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 110.677] (EE)
Seems to me something goes south around [ 110.661] . I'm gonna try one more time and plugin the monitor this time. See. I ran it headless before and sometimes amd behaves when no monitor is connected. I've noticed.
But i see now, the problem is the missing kernel module named ati.
First of all: Thank you very much for looking into this, helping me a lot! I really appreciate that. Well, my Xorg.conf is handmade by me, following a guide. I'm fully aware of that guide is for AMDGPU_PRO, which is what I was using before and now is uninstalled. However, when I tried to get the default driver to work again I noticed complaints in logs the Xorg.conf was missing or similar. So I figured lets try to make one, just like I did for AMDGPU-PRO. Maybe that was wrong of me. Not sure.
I guess I could enter all three GPU's BusID's I got from the lspci command. But lets check out that missing kernel module first, ati.
.....some time went by and I didn't make any good progress. So, I thought I'd save everyone's time and made a fresh install of Ubuntu 16.04 server to another hdd I had laying around. Said and done. Now I really should have that working, default driver. But no no no No OpenCL. Perhaps this is because I use Ubuntu Server?
Optiminer says: ./optiminer-zcash: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
Claymore says:
./zecminer64: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 7 requests (7 known processed) with 0 events remaining.
I probably should take a brake and do something else. This is driving me (even more) crazy
Ubuntu server by default does not contains or installs drivers (and X which is needed sometimes) for gpus. But it's possible just some symlink is missing. find / -iname "libopencl.so*" if ^-this found something, just make a symlink to a directory which is in the PATH (for example /usr/lib) if you have libOpenCL.so, then make a symlink with name libOpenCL.so.1 ln -s /your.so.location/libOpenCL.so /usr/lib/libOpenCL.so.1
I don´t think 280x can function with rx480 efficiently.
I only get good hashrates with driver 15.12 with hd7950, r9 280 and r9 280x.
r9 290 and 290x , 390 give good hashrates with some newer drivers also.
You might just be right. However, every now and then I try anyways. I've got 2 R9 280x and 1 RX480 sitting in a chassi and it would be so nice if they could mine for me. But... I see to always hit something (the wall). If I run AMDGPU-Pro the rx480 runs great. The others won't mine. If I run the old Catalyst driver it's the opposite. So, when I heard the default open source AMDGPU driver should have at least experimental support I got interested. As you said the performance might suck but it still would be cool!
Ubuntu server by default does not contains or installs drivers (and X which is needed sometimes) for gpus. But it's possible just some symlink is missing. find / -iname "libopencl.so*" if ^-this found something, just make a symlink to a directory which is in the PATH (for example /usr/lib) if you have libOpenCL.so, then make a symlink with name libOpenCL.so.1 ln -s /your.so.location/libOpenCL.so /usr/lib/libOpenCL.so.1
find command showed they're alredy in the /usr/lib Does that mean they both are already in the right place?
I should also mention that my latest hope that this could work was from @rmh who posted a link to this table where it states AMDGPU open source driver also have experimental support for older cards like GCN1 (R9 280X).
When looking at the page it is made for arch linux. According to the table it looks like AMDGPU (open source) is the driver I should choose. The AMDGPU install page tells me to install the xf86-video-amdgpu package. Seems like Ubuntu has their own version. Installing the Ubuntu package now, output below. Surely not a driver, way too small package.
~$ sudo apt-get install xserver-xorg-video-amdgpu Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed xserver-xorg-video-amdgpu 0 to upgrade, 1 to newly install, 0 to remove and 9 not to upgrade. Need to get 57.5 kB of archives. After this operation, 166 kB of additional disk space will be used. Get:1 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu xenial/main amd64 xserver-xorg-video-amdgpu amd64 1.3.99+git1707071720.e90721b~x~padoka0 [57.5 kB] Fetched 57.5 kB in 0s (212 kB/s) Selecting previously unselected package xserver-xorg-video-amdgpu. (Reading database ... 96296 files and directories currently installed.) Preparing to unpack .../xserver-xorg-video-amdgpu_1.3.99+git1707071720.e90721b~x~padoka0_amd64.deb ... Unpacking xserver-xorg-video-amdgpu (1.3.99+git1707071720.e90721b~x~padoka0) ... Processing triggers for man-db (2.7.5-1) ... Setting up xserver-xorg-video-amdgpu (1.3.99+git1707071720.e90721b~x~padoka0) ...
Nope, still no luck. Tried to start claymore again: AMD OpenCL platform not found No NVIDIA CUDA GPUs detected. No AMD OPENCL or NVIDIA CUDA GPUs found, exit
Some small steps forward. The "missing kernel error" is gone from the /var/log/Xorg.0.log.
clinfo works now but gives alot of NULL values.
~$ clinfo Number of platforms 1 Platform Name Clover Platform Vendor Mesa Platform Version OpenCL 1.1 Mesa 17.2.0-devel - padoka PPA Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd Platform Extensions function suffix MESA
Platform Name Clover Number of devices 0
NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Clover clCreateContext(NULL, ...) [default] No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.2.8 ICD loader Profile OpenCL 1.2 NOTE: your OpenCL library declares to support OpenCL 1.2, but it seems to support up to OpenCL 2.1 too.
Then some random checks: ~$ apt-cache search amdgpu
libdrm-amdgpu1 - Userspace interface to amdgpu-specific kernel DRM services -- runtime libdrm-amdgpu1-dbg - Userspace interface to amdgpu-specific kernel DRM services -- debugging symbols xserver-xorg-video-amdgpu-hwe-16.04 - X.Org X server -- AMDGPU display driver xserver-xorg-video-amdgpu-hwe-16.04-dbg - X.Org X server -- AMDGPU display driver (debugging symbols) xserver-xorg-video-amdgpu-lts-xenial - Transitional package for xserver-xorg-video-amdgpu-lts-xenial xserver-xorg-video-amdgpu-lts-xenial-dbg - Transitional package for xserver-xorg-video-amdgpu-lts-xenial-dbg xserver-xorg-video-amdgpu-dbg - X.Org X server -- AMDGPU display driver (debugging symbols) xserver-xorg-video-amdgpu - X.Org X server -- AMDGPU display driver
~$ glxinfo | grep -i vendor Error: unable to open display :0 ~$ ls /etc/OpenCL/vendors/ mesa.icd ~$ cat /etc/OpenCL/vendors/mesa.icd libMesaOpenCL.so.1
I know it's quite stressing, that your gpus aren't mining, and my resolution to this problem is having a service pc, where i can test what i want only with one card, and the others doing they job in they rig.
I know it's quite stressing, that your gpus aren't mining, and my resolution to this problem is having a service pc, where i can test what i want only with one card, and the others doing they job in they rig.
rmh, again thanks! That first url is excellent! Exactly what I needed. Can't believe I haven't stumbled upon it before with all that googling. The second url I've already came across but that one doesn't really contain each and every step like the first one(you know, I'm a noob). I'll definitely give it a shot soon.
Read the pages now. Tried some. The problem seems to be that on of the pages is for Arch Linux and the other one for Gentoo. The commands they use(like emerge) doesn't seem to be accepted in my Ubuntu box. Unfortunately. Also, at my Linux level I basically need a step by step instruction
Answers
OS Ubuntu 16 LTS server
HDD USB 16GB
GPU 0 RX480
GPU 1 R9 280x
GPU 2 R9 280x
Man I spent so many hours trying to figure out why Claymore dual miner threw OpenCLand segmentation errors. All caused by the fact that the AMD driver supports one of those chips. Either you go for AMD Pro (rx480) or the Catalyst (280x). I finally gave up when I realized. Deep inside I still have some hope somebody solved this.
clearly states, that no r9 2xx card are supported by amdgpupro driver.
However the open source amdgpu driver could work, but need more welding.
https://help.ubuntu.com/community/AMDGPU-Driver
What's the problem ?
Interesting. Are you using Linux?
He uses the mentioned modded driver to run his r9 280x. His driver works perfectly for me as well. Until I try to install another additional driver to get my other gpu to run. Then it fails. I would have asked the author but I'm not allowed to post to that forum section yet.
@bouldou Are you running Linux? If so, which drivers are you using?
@bouldou running windows for sure.
From this table:
https://wiki.archlinux.org/index.php/Xorg#AMD
you need this: https://wiki.archlinux.org/index.php/AMDGPU
I probably should have started a brand new thread for this?
:~$ lsmod | grep radeon radeon 1515520 0 i2c_algo_bit 16384 1 radeon ttm 98304 1 radeon drm_kms_helper 155648 1 radeon drm 364544 4 ttm,drm_kms_helper,radeon :~$ lsmod | grep amd amdkfd 131072 1 amd_iommu_v2 20480 1 amdkfd :~$ lspci -nn | grep -E 'VGA|Display' 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798] 04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798] 08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev c7)
But, when I try to start a miner it fails. Log says
21:32:24:555 6475b740 cudaGetDeviceCount failed (35, CUDA driver version is insufficient for CUDA runtime version), probably no CUDA devices 21:32:24:555 6475b740 No NVIDIA CUDA GPUs detected. 21:32:24:555 6475b740 No AMD OPENCL or NVIDIA CUDA GPUs found, exit
So, I had a look in /var/log/Xorg.0.log
[ 110.569]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 110.569] X Protocol Version 11, Revision 0
[ 110.569] Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
[ 110.569] Current Operating System: Linux Rigster 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64
[ 110.569] Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.0-83-generic root=/dev/mapper/Rigster--vg-root ro net.ifnames=0 biosdevname=0 text
[ 110.570] Build Date: 02 November 2016 10:06:10PM
[ 110.570] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
[ 110.570] Current version of pixman: 0.33.6
[ 110.570] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 110.570] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 110.570] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 17 21:32:17 2017
[ 110.573] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 110.580] (==) No Layout section. Using the first Screen section.
[ 110.580] (==) No screen section available. Using defaults.
[ 110.580] (**) |-->Screen "Default Screen Section" (0)
[ 110.580] (**) | |-->Monitor ""
[ 110.584] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 110.584] (==) Automatically adding devices
[ 110.584] (==) Automatically enabling devices
[ 110.584] (==) Automatically adding GPU devices
[ 110.589] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 110.599] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 110.599] Entry deleted from font path.
[ 110.599] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 110.599] Entry deleted from font path.
[ 110.599] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 110.599] Entry deleted from font path.
[ 110.599] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 110.600] Entry deleted from font path.
[ 110.600] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 110.600] Entry deleted from font path.
[ 110.600] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 110.600] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 110.600] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 110.601] (II) Loader magic: 0x55c282637dc0
[ 110.601] (II) Module ABI versions:
[ 110.601] X.Org ANSI C Emulation: 0.4
[ 110.601] X.Org Video Driver: 20.0
[ 110.601] X.Org XInput driver : 22.1
[ 110.601] X.Org Server Extension : 9.0
[ 110.602] (--) using VT number 2
[ 110.602] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 110.603] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 110.603] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 110.606] (--) PCI: (0:2:0:0) 1002:6798:1682:3001 rev 0, Mem @ 0xd0000000/268435456, 0xfd980000/262144, I/O @ 0x0000de00/256, BIOS @ 0x????????/131072
[ 110.606] (--) PCI: (0:4:0:0) 1002:6798:1682:3001 rev 0, Mem @ 0xc0000000/268435456, 0xfde80000/262144, I/O @ 0x00007e00/256, BIOS @ 0x????????/131072
[ 110.606] (--) PCI:*(0:8:0:0) 1002:67df:174b:e347 rev 199, Mem @ 0xa0000000/268435456, 0xbfe00000/2097152, 0xfd480000/262144, I/O @ 0x00009e00/256, BIOS @ 0x????????/131072
[ 110.606] (II) LoadModule: "glx"
[ 110.612] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 110.660] (II) Module glx: vendor="X.Org Foundation"
[ 110.660] compiled for 1.18.4, module version = 1.0.0
[ 110.660] ABI class: X.Org Server Extension, version 9.0
[ 110.660] (==) AIGLX enabled
[ 110.660] (==) Matched ati as autoconfigured driver 0
[ 110.660] (==) Matched ati as autoconfigured driver 1
[ 110.661] (==) Matched ati as autoconfigured driver 2
[ 110.661] (==) Matched modesetting as autoconfigured driver 3
[ 110.661] (==) Matched fbdev as autoconfigured driver 4
[ 110.661] (==) Matched vesa as autoconfigured driver 5
[ 110.661] (==) Assigned the driver to the xf86ConfigLayout
[ 110.661] (II) LoadModule: "ati"
[ 110.661] (WW) Warning, couldn't open module ati
[ 110.661] (II) UnloadModule: "ati"
[ 110.661] (II) Unloading ati
[ 110.661] (EE) Failed to load module "ati" (module does not exist, 0)
[ 110.661] (II) LoadModule: "modesetting"
[ 110.661] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 110.664] (II) Module modesetting: vendor="X.Org Foundation"
[ 110.664] compiled for 1.18.4, module version = 1.18.4
[ 110.664] Module class: X.Org Video Driver
[ 110.664] ABI class: X.Org Video Driver, version 20.0
[ 110.664] (II) LoadModule: "fbdev"
[ 110.665] (WW) Warning, couldn't open module fbdev
[ 110.665] (II) UnloadModule: "fbdev"
[ 110.665] (II) Unloading fbdev
[ 110.665] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 110.665] (II) LoadModule: "vesa"
[ 110.665] (WW) Warning, couldn't open module vesa
[ 110.665] (II) UnloadModule: "vesa"
[ 110.665] (II) Unloading vesa
[ 110.665] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 110.665] (==) Matched ati as autoconfigured driver 0
[ 110.665] (==) Matched ati as autoconfigured driver 1
[ 110.665] (==) Matched ati as autoconfigured driver 2
[ 110.665] (==) Matched modesetting as autoconfigured driver 3
[ 110.665] (==) Matched fbdev as autoconfigured driver 4
[ 110.665] (==) Matched vesa as autoconfigured driver 5
[ 110.665] (==) Assigned the driver to the xf86ConfigLayout
[ 110.665] (II) LoadModule: "ati"
[ 110.665] (WW) Warning, couldn't open module ati
[ 110.665] (II) UnloadModule: "ati"
[ 110.665] (II) Unloading ati
[ 110.665] (EE) Failed to load module "ati" (module does not exist, 0)
[ 110.665] (II) LoadModule: "modesetting"
[ 110.665] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 110.665] (II) Module modesetting: vendor="X.Org Foundation"
[ 110.665] compiled for 1.18.4, module version = 1.18.4
[ 110.665] Module class: X.Org Video Driver
[ 110.665] ABI class: X.Org Video Driver, version 20.0
[ 110.665] (II) UnloadModule: "modesetting"
[ 110.665] (II) Unloading modesetting
[ 110.665] (II) Failed to load module "modesetting" (already loaded, 0)
[ 110.665] (II) LoadModule: "fbdev"
[ 110.665] (WW) Warning, couldn't open module fbdev
[ 110.665] (II) UnloadModule: "fbdev"
[ 110.665] (II) Unloading fbdev
[ 110.665] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 110.665] (II) LoadModule: "vesa"
[ 110.665] (WW) Warning, couldn't open module vesa
[ 110.665] (II) UnloadModule: "vesa"
[ 110.665] (II) Unloading vesa
[ 110.665] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 110.665] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 110.676] (II) modeset(G0): using drv /dev/dri/card0
[ 110.677] (II) modeset(G1): using drv /dev/dri/card1
[ 110.677] (EE) No devices detected.
[ 110.677] (EE)
Fatal server error:
[ 110.677] (EE) no screens found(EE)
[ 110.677] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 110.677] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 110.677] (EE)
Seems to me something goes south around [ 110.661] . I'm gonna try one more time and plugin the monitor this time. See. I ran it headless before and sometimes amd behaves when no monitor is connected. I've noticed.
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:3:0:0"
EndSection
But i see now, the problem is the missing kernel module named ati.
Well, my Xorg.conf is handmade by me, following a guide. I'm fully aware of that guide is for AMDGPU_PRO, which is what I was using before and now is uninstalled. However, when I tried to get the default driver to work again I noticed complaints in logs the Xorg.conf was missing or similar. So I figured lets try to make one, just like I did for AMDGPU-PRO. Maybe that was wrong of me. Not sure.
I guess I could enter all three GPU's BusID's I got from the lspci command. But lets check out that missing kernel module first, ati.
Here's my Xorg.conf:
Identifier "X.org Configured"
Screen 0 "Screen8" 0 0
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz",
### : "%"
### [arg]: arg optional
#Option "ShadowFB" # []
#Option "DefaultRefresh" # []
#Option "ModeSetClearScreen" # []
Identifier "Card8"
Driver "dummy"
VideoRam 16384
EndSection
Section "Monitor"
Identifier "Monitor8"
HorizSync 15.0-100.0
VertRefresh 15.0-200.0
Modeline "1600x900" 33.92 1600 1632 1760 1792 900 921 924 946
EndSection
Section "Screen"
Identifier "Screen8"
Device "Card8"
Monitor "Monitor8"
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 1600 900
EndSubSection
EndSection
Optiminer says:
./optiminer-zcash: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
Claymore says: I probably should take a brake and do something else. This is driving me (even more) crazy
I only get good hashrates with driver 15.12 with hd7950, r9 280 and r9 280x.
r9 290 and 290x , 390 give good hashrates with some newer drivers also.
But it's possible just some symlink is missing.
find / -iname "libopencl.so*"
if ^-this found something, just make a symlink to a directory which is in the PATH (for example /usr/lib)
if you have libOpenCL.so, then make a symlink with name libOpenCL.so.1
ln -s /your.so.location/libOpenCL.so /usr/lib/libOpenCL.so.1
Does that mean they both are already in the right place?
~$ sudo find / -iname "libopencl.so*"
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/share/man/man7/libOpenCL.so.7.gz
When looking at the page it is made for arch linux. According to the table it looks like AMDGPU (open source) is the driver I should choose. The AMDGPU install page tells me to install the xf86-video-amdgpu package. Seems like Ubuntu has their own version. Installing the Ubuntu package now, output below. Surely not a driver, way too small package.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
xserver-xorg-video-amdgpu
0 to upgrade, 1 to newly install, 0 to remove and 9 not to upgrade.
Need to get 57.5 kB of archives.
After this operation, 166 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu xenial/main amd64 xserver-xorg-video-amdgpu amd64 1.3.99+git1707071720.e90721b~x~padoka0 [57.5 kB]
Fetched 57.5 kB in 0s (212 kB/s)
Selecting previously unselected package xserver-xorg-video-amdgpu.
(Reading database ... 96296 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-video-amdgpu_1.3.99+git1707071720.e90721b~x~padoka0_amd64.deb ...
Unpacking xserver-xorg-video-amdgpu (1.3.99+git1707071720.e90721b~x~padoka0) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up xserver-xorg-video-amdgpu (1.3.99+git1707071720.e90721b~x~padoka0) ...
AMD OpenCL platform not found
No NVIDIA CUDA GPUs detected.
No AMD OPENCL or NVIDIA CUDA GPUs found, exit
clinfo works now but gives alot of NULL values.
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 17.2.0-devel - padoka PPA
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Clover
clCreateContext(NULL, ...) [default] No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.8
ICD loader Profile OpenCL 1.2
NOTE: your OpenCL library declares to support OpenCL 1.2,
but it seems to support up to OpenCL 2.1 too.
Then some random checks:
~$ apt-cache search amdgpu
libdrm-amdgpu1-dbg - Userspace interface to amdgpu-specific kernel DRM services -- debugging symbols
xserver-xorg-video-amdgpu-hwe-16.04 - X.Org X server -- AMDGPU display driver
xserver-xorg-video-amdgpu-hwe-16.04-dbg - X.Org X server -- AMDGPU display driver (debugging symbols)
xserver-xorg-video-amdgpu-lts-xenial - Transitional package for xserver-xorg-video-amdgpu-lts-xenial
xserver-xorg-video-amdgpu-lts-xenial-dbg - Transitional package for xserver-xorg-video-amdgpu-lts-xenial-dbg
xserver-xorg-video-amdgpu-dbg - X.Org X server -- AMDGPU display driver (debugging symbols)
xserver-xorg-video-amdgpu - X.Org X server -- AMDGPU display driver
~$ glxinfo | grep -i vendor
Error: unable to open display :0
~$ ls /etc/OpenCL/vendors/
mesa.icd
~$ cat /etc/OpenCL/vendors/mesa.icd
libMesaOpenCL.so.1
That's it for tonight
I never tried by myself, just heard from many places, that it works, just a bit pain to make it work.
If you haven't read, this pages contains some config examples and some notes on dependencies:
https://wiki.gentoo.org/wiki/AMDGPU
https://wiki.archlinux.org/index.php/AMDGPU
I know it's quite stressing, that your gpus aren't mining, and my resolution to this problem is having a service pc, where i can test what i want only with one card, and the others doing they job in they rig.