You are not logged in.

#1 2023-01-02 18:56:02

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

AMDGPU is slower than in Windows 10

Hello All,

I have a performance problem with my Vega56. If I reboot from Win10 to Linux everything is fine. The performance is good.
If I cold boot to Linux then the max gpu clock is ~950Mhz. (Normal is 1500Mhz) Is it some kind of a firmware problem? Can somebody help me with this please?

I can't debug/trace it but I believe it could be some kind of firmware issue, or powerplay initialization problem.

Thanks,

Last edited by Sneaky66 (2023-01-03 15:17:10)

Offline

#2 2023-01-02 19:32:05

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: AMDGPU is slower than in Windows 10

Sneaky66 wrote:

Is it some kind of a firmware problem?

Did you install linux-firmware?

Check

# dmesg | grep firmware
$ lspci -knn | grep -iA3 'vga\|3d\|display'

My Cezanne iGPU performs better under Arch than under Windows. Poor old Windows has to use AMDGPU-PRO, which is shit.

Offline

#3 2023-01-03 03:45:32

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: AMDGPU is slower than in Windows 10

Is 'Fast Start' disabled in Windows? I know that can cause weird firmware issues and that Windows tends to reenable it when you aren't looking. But I don't know if it is a Windows 10 thing or only Windows 11.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2023-01-03 06:59:57

d.ALT
Member
Registered: 2019-05-10
Posts: 921

Re: AMDGPU is slower than in Windows 10

cfr wrote:

But I don't know if it is a Windows 10 thing or only Windows 11.

It's default-enabled 'till Windows 8.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2023-01-03 09:20:57

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

Re: AMDGPU is slower than in Windows 10

Okay, I can turn off Fast boot on Win 10 , but how this will make Linux Amdgpu faster?

Offline

#6 2023-01-03 10:00:04

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

Re: AMDGPU is slower than in Windows 10

I think it's even worse now.

GPU MangoHud Load

Last edited by Sneaky66 (2023-01-03 10:00:21)

Offline

#7 2023-01-03 10:30:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,892

Re: AMDGPU is slower than in Windows 10

Not having undefined Windows firmware states interfere is always a plus because there's no telling what could happen if those are present, this would be the first time where this had any kind of positive impact.

Does enforcing a higher power profile help? e.g. do what's described in: https://wiki.archlinux.org/title/AMDGPU … cy_problem stuff like this might also be a UEFI/lower firmware issue, so if there's an update available here, applying this might also be beneficial.

Last edited by V1del (2023-01-03 10:32:22)

Offline

#8 2023-01-03 10:36:40

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

Re: AMDGPU is slower than in Windows 10

Check completed: 

# dmesg | grep firmware

[    0.126342] Spectre V2 : Enabling Speculation Barrier for firmware calls
[    6.060284] [drm] Found UVD firmware Version: 66.43 Family ID: 17
[    6.060327] [drm] PSP loading UVD firmware
[    6.070939] [drm] Found VCE firmware Version: 57.6 Binary ID: 4
[    6.071013] [drm] PSP loading VCE firmware



$ lspci -knn | grep -iA3 'vga\|3d\|display'

lspci: Unable to load libkmod resources: error -2
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] [1002:687f] (rev c3)
	Subsystem: Sapphire Technology Limited Radeon RX VEGA 56 Pulse 8GB OC HBM2 [1da2:e376]
	Kernel driver in use: amdgpu
0a:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64] [1002:aaf8]

Last edited by Sneaky66 (2023-01-03 10:36:57)

Offline

#9 2023-01-03 10:42:10

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

Re: AMDGPU is slower than in Windows 10

V1del wrote:

Not having undefined Windows firmware states interfere is always a plus because there's no telling what could happen if those are present, this would be the first time where this had any kind of positive impact.

Does enforcing a higher power profile help? e.g. do what's described in: https://wiki.archlinux.org/title/AMDGPU … cy_problem stuff like this might also be a UEFI/lower firmware issue, so if there's an update available here, applying this might also be beneficial.

Manually set 1500 Mhz helps, but  this one unfortunately doesn't help:

[root@archlinux x]# echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level

Offline

#10 2023-01-03 10:43:39

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

Re: AMDGPU is slower than in Windows 10

I'm also sending you a full Dmesg:
https://justpaste.it/6fw4u

Offline

#11 2023-01-03 12:12:52

d.ALT
Member
Registered: 2019-05-10
Posts: 921

Re: AMDGPU is slower than in Windows 10

How did you setup you GPU?
Did you install all the needed packages for it?
Are you trying the Open Source drivers, right?

Can you perform tests on both linux-lts and linux-zen?

Another thing worth trying: remove the amdgpu.ppfeaturemask=0xfff7ffff kernel parameter.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#12 2023-01-03 13:02:28

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

Re: AMDGPU is slower than in Windows 10

I still can't figure out how it works.
Sometimes it's good, sometimes it the same as it was.   I think it's some powerplay issue.

My newer Dmesg:
https://justpaste.it/9lwaz

Last edited by Sneaky66 (2023-01-03 15:18:02)

Offline

#13 2023-01-03 18:50:28

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: AMDGPU is slower than in Windows 10

Fast Boot is not the same as Fast Start. Fast Start is a setting in Windows. Fast Boot is a firmware setting, I believe.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2023-01-04 11:32:54

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,018

Re: AMDGPU is slower than in Windows 10

Sneaky66 wrote:

Okay, I can turn off Fast boot on Win 10 , but how this will make Linux Amdgpu faster?

For clarity :
You have followed https://wiki.archlinux.org/title/Dual_b … ibernation and took the safe choice to disable both Fast Startup and hibernation ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#15 2023-01-06 12:28:12

Sneaky66
Member
Registered: 2022-10-08
Posts: 13

Re: AMDGPU is slower than in Windows 10

For clarity :
You have followed https://wiki.archlinux.org/title/Dual_b … ibernation and took the safe choice to disable both Fast Startup and hibernation ?


I disabled everything: 
https://imgur.com/a/Whwodg1

Offline

Board footer

Powered by FluxBB