AMD GPU drivers 5.0rc2 (works for mining)

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
gnuion
White ninja
White ninja
Posts: 11
Joined: 20 Jun 2021, 13:01
Distribution: Garuda Linux

AMD GPU drivers 5.0rc2 (works for mining)

Post#1 by gnuion » 20 Jun 2021, 13:10

[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.
Last edited by gnuion on 20 Jul 2021, 15:34, edited 1 time in total.

supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

AMD GPU drivers (works for mining)

Post#2 by supertabs » 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....
Those who win the race are those who are slow and steady. :happy62:

supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

AMD GPU drivers (works for mining)

Post#3 by supertabs » 20 Jul 2021, 05:58

Will this work on Porteus 4.0?
Those who win the race are those who are slow and steady. :happy62:

supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

AMD GPU drivers (works for mining)

Post#4 by supertabs » 20 Jul 2021, 06:18

How do you use them gnuion?
Those who win the race are those who are slow and steady. :happy62:

gnuion
White ninja
White ninja
Posts: 11
Joined: 20 Jun 2021, 13:01
Distribution: Garuda Linux

AMD GPU drivers (works for mining)

Post#5 by gnuion » 20 Jul 2021, 15:32

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

gnuion
White ninja
White ninja
Posts: 11
Joined: 20 Jun 2021, 13:01
Distribution: Garuda Linux

AMD GPU drivers 5.0rc2 (works for mining)

Post#6 by gnuion » 20 Jul 2021, 15:37

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.

supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

AMD GPU drivers 5.0rc2 (works for mining)

Post#7 by supertabs » 22 Jul 2021, 10:58

Thanks gnuion for your response , just one more question, will it work on my AMD Radeon R5 Graphics card? :)
Those who win the race are those who are slow and steady. :happy62:

gnuion
White ninja
White ninja
Posts: 11
Joined: 20 Jun 2021, 13:01
Distribution: Garuda Linux

AMD GPU drivers 5.0rc2 (works for mining)

Post#8 by gnuion » 22 Jul 2021, 16:22

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

gnuion
White ninja
White ninja
Posts: 11
Joined: 20 Jun 2021, 13:01
Distribution: Garuda Linux

AMD GPU drivers 5.0rc2 (works for mining)

Post#9 by gnuion » 22 Jul 2021, 18:46

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.

henrykfrp
White ninja
White ninja
Posts: 10
Joined: 01 Oct 2021, 22:08
Distribution: Porteus LXDE, Devuan

AMD GPU drivers 5.0rc2 (works for mining)

Post#10 by henrykfrp » 20 Oct 2021, 02:26

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?

Post Reply