Open RayOfLight1 opened 4 years ago
downgraded cmake version from 3.16.5 to 3.14.6 which allowed me to downgrade jsoncpp to v.1.9.1 from v.1.9.3 and merged without trouble... damn...
Thanks for the report, though I'm terribly surprised, does this version of ethminer even works with current ethereum network nowadays?
This was the last version before ethminer introduced hunter as a "package manager" which effectively doesn't let you build from your system libraries but using downloaded binaries instead, so any effort in creating an ebuild for a new version was a waste of time.
Sorry for the delay, I might have missed the notification; I don't use ethminer to answer your question, in fact I was just going to unmerge it and I noticed that 0.13 is from 23 Jan 2018 and they went up to 0.19. (I used it to warm my bedroom on some of the coldest winter days)
Anyways, I was not up to date to the ethminer situation and I'm sad to hear that it requires binaries now, I'm quitting this, I'm out of this game.
Thank you for your answer.
PD: I'm never for deleting ebuilds, but this might be a situation which may be convenient.
I just ran an old command i had in bash history and I got this:
ℹ 14:43:52|ethminer Connecting to stratum server eu1.ethermine.org:4444
Could not resolve host eu1.ethermine.org:4444, Operation canceled ℹ 14:43:52|ethminer Reconnecting in 3 seconds...
ℹ 14:43:55|ethminer Connecting to stratum server eu1.ethermine.org:4444
ℹ 14:43:55|stratum Connected to stratum server eu1.ethermine.org : 4444
ℹ 14:43:55|stratum Starting farm
cl 14:43:55|cl-0 No work. Pause for 3 s.
ℹ 14:43:55|stratum Subscribed to stratum server
ℹ 14:43:55|stratum Authorized worker 0xREDACTED.DESKTOP_PC
ℹ 14:43:55|stratum Received new job #REDACTED seed: #REDACTED target: #REDACTED
m 14:43:56|ethminer Speed 0.00 Mh/s gpu/0 0.00 [A0+0:R0+0:F0] Time: 00:00
ℹ 14:43:58|stratum Received new job #REDACTED seed: #REDACTED target: #REDACTED
m 14:43:58|ethminer Speed 0.00 Mh/s gpu/0 0.00 [A0+0:R0+0:F0] Time: 00:00
cl 14:43:58|cl-0 New work: header #REDACTED… target REDACTED
cl 14:43:58|cl-0 New seed #cfa49831…
ℹ 14:44:00|stratum Received new job #REDACTED seed: #REDACTED target: #REDACTED
ℹ 14:44:00|stratum Received new job #REDACTED seed: #REDACTED target: #REDACTED
m 14:44:00|ethminer Speed 0.00 Mh/s gpu/0 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:44:02|ethminer Speed 0.00 Mh/s gpu/0 0.00 [A0+0:R0+0:F0] Time: 00:00
cl 14:44:02|cl-0 Platform: Clover
cl 14:44:02|cl-0 Device: AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.36.0, 5.5.8-gentoo, LLVM 10.0.0) / OpenCL 1.1 Mesa 20.1.0-rc3
cl 14:44:02|cl-0 OpenCL 1.1 not supported, but platform Clover might work nevertheless. USE AT OWN RISK!
cl 14:44:02|cl-0 OpenCL kernel: Stable kernel
ℹ 14:44:04|stratum Received new job #REDACTED seed: #REDACTED target: #REDACTED
m 14:44:04|ethminer Speed 0.00 Mh/s gpu/0 0.00 [A0+0:R0+0:F0] Time: 00:00
cl 14:44:04|cl-0 Build info:
ℹ 14:44:04|cl-0 OpenCL device AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.36.0, 5.5.8-gentoo, LLVM 10.0.0) has insufficient GPU memory. 3221225472 bytes of memory found < 3900702592 bytes of memory required
✘ 14:44:04|cl-0 OpenCL Error: clEnqueueWriteBuffer: CL_INVALID_MEM_OBJECT (-38)
m 14:44:06|ethminer Speed 0.00 Mh/s gpu/0 0.00 [A0+0:R0+0:F0] Time: 00:00
ℹ 14:44:07|stratum Received new job #REDACTED seed: #REDACTED target: #REDACTED
ℹ 14:44:07|stratum Received new job #REDACTED seed: #REDACTED target: #REDACTED
m 14:44:08|ethminer Speed 0.00 Mh/s gpu/0 0.00 [A0+0:R0+0:F0] Time: 00:00
So I guess it works, but I needed 3.63GB of VRAM :(
Indeed, as long as the difficulty to mine in the net increases you need more memory for these things, also, using opencl 2 would be another thing to try if you were about to try rocm opencl.
About unmerging, it's natural to do so, this may have dependencies in packages that are no longer in the main tree, so if you don't unmerge it, your system would become difficult to maintain. Good to see though that it warmed up some cold winter nights for you :)
Can't merge ethminer, this is the output:
`sudo emerge -1 -j1 ethminer
These are the packages that would be merged, in reverse order:
Calculating dependencies... done! [ebuild R ~] net-p2p/ethminer-0.13.0::foxiverlay USE="opencl stratum -cuda" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Could not find a package configuration file provided by "jsoncpp" with any of the following names:
Add the installation prefix of "jsoncpp" to CMAKE_PREFIX_PATH or set "jsoncpp_DIR" to a directory containing one of the above files. If "jsoncpp" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred! See also "/var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0_build/CMakeFiles/CMakeOutput.log".
emerge --info '=net-p2p/ethminer-0.13.0::foxiverlay'
,emerge -pqv '=net-p2p/ethminer-0.13.0::foxiverlay'
.Messages for package net-p2p/ethminer-0.13.0:
ERROR: net-p2p/ethminer-0.13.0::foxiverlay failed (configure phase):
cmake failed
Call stack:
ebuild.sh, line 125: Called src_configure
environment, line 2908: Called cmake-utils_src_configure
environment, line 846: Called die
The specific snippet of code:
"${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
If you need support, post the output of
emerge --info '=net-p2p/ethminer-0.13.0::foxiverlay'
,the complete build log and the output of
emerge -pqv '=net-p2p/ethminer-0.13.0::foxiverlay'
.The complete build log is located at '/var/tmp/portage/net-p2p/ethminer-0.13.0/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/net-p2p/ethminer-0.13.0/temp/environment'.
Working directory: '/var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0_build'
S: '/var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0'
The following package has failed to build, install, or execute postinst:
(net-p2p/ethminer-0.13.0:0/0::foxiverlay, ebuild scheduled for merge), Log file:
'/var/tmp/portage/net-p2p/ethminer-0.13.0/temp/build.log'
`
I've found this on the interwebz: https://github.com/hunter-packages/disabled-mode/pull/3/files
Do you have a patch file to add to this overlay, or any information? or is desktop ethminer dead by now?
Regards,