ktsol / dwarfing Goto Github PK
View Code? Open in Web Editor NEWSet of scripts for clever geeks for using linux on mining rigs
License: Other
Set of scripts for clever geeks for using linux on mining rigs
License: Other
sh amdgpu-mod.sh
amdgpu-mod.sh: 21: amdgpu-mod.sh: function: not found
-e
____________________________________________________
| _ __ _ _ _ |
| /\ |\/| | \ /__ |_) | | |\/| / \ | \ |
| /--\ | | |_/ \_| | |_| | | \_/ |_/ |
|__________________________________________________|
amdgpu-mod.sh: 29: amdgpu-mod.sh: Syntax error: "}" unexpected
hi it doesn't compile with 4.16
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c: In function 'polaris10_update_sclk_threshold':
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:2382:12: error: 'struct pp_hwmgr' has no member named 'gfx_arbiter'
&& (hwmgr->gfx_arbiter.sclk_threshold !=
^~
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:2385:10: error: 'struct pp_hwmgr' has no member named 'gfx_arbiter'
hwmgr->gfx_arbiter.sclk_threshold;
^~
make[6]: *** [scripts/Makefile.build:324: drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.o] Error 1
make[5]: *** [scripts/Makefile.build:583: drivers/gpu/drm/amd/amdgpu] Error 2
make[4]: *** [scripts/Makefile.build:583: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:583: drivers/gpu] Error 2
hi sorry to bug you can you update to 4.15-rc it doesn't work I guess file names changed.
hi, I attempted to run your amdgpu-mod and got this output:
BUILDING new amdgpu.ko file
Patch file /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
patching file /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
Hunk #3 succeeded at 780 (offset 4 lines).
File patched: /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
Patch file /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
patching file /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
Hunk #1 succeeded at 4403 (offset 24 lines).
File patched: /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
make: Entering directory '/usr/src/linux-headers-4.11.0-kfd-compute-rocm-rel-1.6-180'
LD /usr/src/amdgpu-17.40-483984/built-in.o
LD /usr/src/amdgpu-17.40-483984/amd/amdgpu/built-in.o
CC [M] /usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o
In file included from /usr/src/amdgpu-17.40-483984/amd/amdgpu/../include/../backport/backport.h:14:0,
from :0:
/usr/src/amdgpu-17.40-483984/include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
/usr/src/amdgpu-17.40-483984/include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
return reservation_object_copy_fences(dst, src);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o' failed
make[2]: *** [/usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o] Error 1
scripts/Makefile.build:553: recipe for target '/usr/src/amdgpu-17.40-483984/amd/amdgpu' failed
make[1]: *** [/usr/src/amdgpu-17.40-483984/amd/amdgpu] Error 2
Makefile:1492: recipe for target 'module/usr/src/amdgpu-17.40-483984' failed
make: *** [module/usr/src/amdgpu-17.40-483984] Error 2
make: Leaving directory '/usr/src/linux-headers-4.11.0-kfd-compute-rocm-rel-1.6-180'
/home/james/Downloads/dwarfing-master
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.