Page 1 of 1

AMD GPU drivers 5.0rc2 (works for mining)

Posted: 20 Jun 2021, 13:10
by gnuion
[amdgpu-opencl-20.40-x86_64-1_kb.xzm](https://www.mediafire.com/file/950l9kim ... b.xzm/file)

built using a SlackBuild I don't recall where I found.

Tested for mining, if you are interested I can also post how to underclock GPUs and regulate fan speeds for optimal performance, all using terminal, no additional software needed.

AMD GPU drivers (works for mining)

Posted: 20 Jul 2021, 05:57
by supertabs
gnuion wrote:
20 Jun 2021, 13:10
if you are interested I can also post how to underclock GPUs and regulate fan speeds for optimal performance, all using terminal, no additional software needed.
Hi gnuion, can you tell me how? BTW Thanks for this amd driver :D :) :crazy: Gonna try this....

AMD GPU drivers (works for mining)

Posted: 20 Jul 2021, 05:58
by supertabs
Will this work on Porteus 4.0?

AMD GPU drivers (works for mining)

Posted: 20 Jul 2021, 06:18
by supertabs
How do you use them gnuion?

AMD GPU drivers (works for mining)

Posted: 20 Jul 2021, 15:32
by gnuion
supertabs wrote:
20 Jul 2021, 05:57
gnuion wrote:
20 Jun 2021, 13:10
if you are interested I can also post how to underclock GPUs and regulate fan speeds for optimal performance, all using terminal, no additional software needed.
Hi gnuion, can you tell me how? BTW Thanks for this amd driver :D :) :crazy: Gonna try this....
I don't know if they work on porteus 4.0. I am using porteus 5.0 rc2. Good that you mention. To adjust fanspeed and clockspeed, you need to write to specific files. It depends on what cards you are using. For rx 470 you would run this script:

Code: Select all

echo toor | sudo -S su &&

xset s off
xset -dpms

cards=$(ls /sys/class/drm/ | grep card | grep -v -)

for card in $cards
do
    sudo chmod 777 /sys/class/drm/$card/device/power_dpm_force_performance_level
    sudo chmod 777 /sys/class/drm/$card/device/hwmon/hwmon2/pwm1_enable
    sudo chmod 777 /sys/class/drm/$card/device/hwmon/hwmon2/pwm1
    sudo chmod 777 /sys/class/drm/$card/device/pp_dpm_sclk

    sudo echo manual > /sys/class/drm/$card/device/power_dpm_force_performance_level
    sudo echo "1" > /sys/class/drm/$card/device/hwmon/hwmon2/pwm1_enable
    sudo echo "200" > /sys/class/drm/$card/device/hwmon/hwmon2/pwm1
    sudo echo "3" > /sys/class/drm/$card/device/pp_dpm_sclk

    sudo chmod 444 /sys/class/drm/$card/device/power_dpm_force_performance_level
    sudo chmod 444 /sys/class/drm/$card/device/hwmon/hwmon2/pwm1_enable
    sudo chmod 444 /sys/class/drm/$card/device/hwmon/hwmon2/pwm1
    sudo chmod 444 /sys/class/drm/$card/device/pp_dpm_sclk
done

AMD GPU drivers 5.0rc2 (works for mining)

Posted: 20 Jul 2021, 15:37
by gnuion
supertabs wrote:
20 Jul 2021, 06:18
How do you use them gnuion?
After putting the driver on your module's folder just use lolminer as usual. Then run the above script to underclock the gpu. you can play with the "200" value for pwm1 to control fan speed. It ranges between 0-255 i think.

AMD GPU drivers 5.0rc2 (works for mining)

Posted: 22 Jul 2021, 10:58
by supertabs
Thanks gnuion for your response , just one more question, will it work on my AMD Radeon R5 Graphics card? :)

AMD GPU drivers 5.0rc2 (works for mining)

Posted: 22 Jul 2021, 16:22
by gnuion
supertabs wrote:
22 Jul 2021, 10:58
Thanks gnuion for your response , just one more question, will it work on my AMD Radeon R5 Graphics card? :)


I'm sorry man, your gpu is not supported: https://www.amd.com/en/support/kb/relea ... inux-20-40

AMD GPU drivers 5.0rc2 (works for mining)

Posted: 22 Jul 2021, 18:46
by gnuion
I am trying to get the driver working for r9 380. Some say I should use ROCm, but I am unable to create or make a slackbuild for ROCm or the latest amdgpu.

AMD GPU drivers 5.0rc2 (works for mining)

Posted: 20 Oct 2021, 02:26
by henrykfrp
i get this error with my R9 m275 Mobile lenovo laptop also have you found a way to mining with hugepage on porteus?
my error.>
amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x. is this means that i need a lower amd drivers?