https://bugs.freedesktop.org/show_bug.cgi?id=101584
Bug ID: 101584 Summary: clover: ethminer -G --benchmark: ring buffer overflow, GPU faults Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: haagch@frickel.club QA Contact: dri-devel@lists.freedesktop.org
Created attachment 132229 --> https://bugs.freedesktop.org/attachment.cgi?id=132229&action=edit dmesg
Tested with my RX 480 on mesa git and Linux 4.11 and 4.12-rc.
To reproduce, get https://github.com/ethereum-mining/ethminer in libethash-cl/ethash_cl_miner_kernel.cl add #pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable then cmake . and make and in ethminer/ run ./ethminer -G --benchmark
it outputs some progress and at 97% something goes wrong and I get GPU faults and/or GPU hangs.
Interestingly with the closed source OpenCL runtime from amdgpu-pro it fails at 97% too.
https://bugs.freedesktop.org/show_bug.cgi?id=101584
Jan Vesely jan.vesely@rutgers.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |99553
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=99553 [Bug 99553] Tracker bug for runnning OpenCL applications on Clover
https://bugs.freedesktop.org/show_bug.cgi?id=101584
--- Comment #1 from Christoph Haag haagch@frickel.club --- Created attachment 132290 --> https://bugs.freedesktop.org/attachment.cgi?id=132290&action=edit without X
Thanks to a tip from tom stellard I tried it without X (after exiting sddm).
I've tried to start the miner with "real work" from a pool as recommended:
GPU_FORCE_64BIT_PTR=0 GPU_MAX_HEAP_SIZE=100 GPU_USE_SYNC_OBJECTS=1 GPU_MAX_ALLOC_PERCENT=100 GPU_SINGLE_ALLOC_PERCENT=100 ./ethminer --farm-recheck 200 -G -S eu1.ethermine.org:4444 etc. etc.
I get gpu faults, but no hangs or other issues and the system is usable normally after exiting the miner.
The -G --benchmark mode still has worse troubles with hangs etc.
https://bugs.freedesktop.org/show_bug.cgi?id=101584
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #2 from GitLab Migration User gitlab-migration@fdo.invalid --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1270.
dri-devel@lists.freedesktop.org