-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Free Script / NVIDIA OC Profile Linux #1205
Comments
Yea, you are right. It is about time. I'll add pre and post commands to ocprofiles today. |
- add pre and post commands to ocprofiles.config.txt (issue #1205 #976 #1137) - "PreCmd"/"PreCmdArguments": define a command to be executed before the miner starts. PreCmd is the path to the binary, PreCmdArguments are optional arguments for that command. - "PostCmd"/"PostCmdArguments": define a command to be executed after the miner has finished. PostCmd is the path to the binary, PostCmdArguments are optional arguments for that command.
Ok, I have added pre and post commands to ocprofiles.config.txt - that should help a lot. The next step will be to integrate full overclocking features for AMD on Linux and Windows.
Please be aware, that if you use backslashes in these config files, you will need to escape them with another backslash (don't Example for calling a Windows batch file
Example for running some Linux tool
|
oK GREAT! Thank you! i'll test that soon. |
I still not finding a way to run a f*** *.sh f file....and it drives me crazy!!!!!!!!! sudo nvidia-smi -pm 1 |
Which GPUs is that .sh for? |
Nvidia (of course) RTX 3060ti, memory OC still does not work !!!! provide a comprehensive way to make it works, or simply allow an *.sh script to be run as root. dont complicate things when it is simple |
Could you please run the following command for me an report back the exact result?
|
Attribute 'GPUPerfModes' (ArScl:0.1): perf=0, nvclock=210, nvclockmin=210, nvclockmax=420, nvclockeditable=1, memclock=405, memclockmin=405, memclockmax=405, |
Awesome, thank you! It'll make it easy to detect the number of performance mode on each GPU. |
NP, keep us in touch when you upload changes to your build |
no update still! your "chmod" fuck everything WE NEED TO RUN PRE CMD with "sudo" prefix: `setPPT.sh 0 .../V56PPT965950850-Ethash' with "sudo" in terminal adding "setPPT.sh" to sudoer WORKS! |
Hi, correct me, if I am wrong, you put "sudo setPPT.sh" into the "PreCmd" parameter? Did you try "setPPT.sh" in this parameter, without the sudo in front of it? I would be very interested in the RainbowMiner log files when the PreCmd hits. Could you send me a Debug file (or a zip of the Logs folder) to info@rbminer.net? Sidemark: have you ever tried the build-in OCProfiles with parameter "EnableOCLinuxSetAllPStates" set to "1" in config.txt? This could work. |
"setPPT.sh" without "sudo" = "permission denied: /sys/class/drm/device.... AMD I ended up to Oc like this for AMD to hack this code mess in "PreCmd": Remove "cat" (permission denied) in setPPT.sh and replaced by "cp", adding "cp" to /etc/sudoers.
AMDMEMTWEAK Cannot also being triggered by this f***** faschist of PreCmd Scripting. So it force me to aplly memory timing using kde boot script instead:
Nvidia running nvml-tune does nothing under RBM PreCmd script! But working great in terminal: SO PLEASE! OC is the most important thing and it's been 3 years i'm begging for a built in support for AMD and Nvidia Linux and/or A WORKING (NOT F FASHIST script/command runner! Not a one that ACCEPT NOTHING OR CAN'T GET REQUIRED PERMISSIONS, OR TRY TO APPLY PERMISSIONS WHEN IT'S NOT NEEDED (chmod error!)! Correct Tools to implement OC: AMD: https://github.com/sibradzic/upp |
I ended up to make it work with approriates sudoers settings like this:
But RBM still show me an error "/usr/bin/chmod: modification of the rights of '/usr/bin/env': Operation not permitted" Please fix this error or make it dissapear! |
#976 #1137
Tired to beg for this....
The text was updated successfully, but these errors were encountered: