Join us on our own very special Reddit on /r/Linuxers.
[Rant]: RX 5700... a frustrating experience
Page: «19/21»
  Go to:
Avehicle7887 17 Apr, 2020
I don't know if this might help but I just noticed the AMD firmwares have been updated in the linux-firmware git: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
nolddor 17 Apr, 2020
Quoting: TuxeeWhat does dmesg say? No powerplay in red? As far as firmware goes - hashes are more interesting, since the files don't vary in name and hardly vary in size. Next point: How many displays attached? Finally: It works most of the time, which means I can get 10 boots in a row without any hiccups, then 2 boots with a plethora of errors during boot, then back to normal.

# sudo dmesg | grep amdgpu


[    1.324728] [drm] amdgpu kernel modesetting enabled.
[    1.324826] fb0: switching to amdgpudrmfb from EFI VGA
[    1.324877] amdgpu 0000:03:00.0: vgaarb: deactivate vga console
[    1.337717] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_gpu_info.bin
[    1.337725] amdgpu 0000:03:00.0: No more image in the PCI ROM
[    1.337759] amdgpu 0000:03:00.0: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used)
[    1.337760] amdgpu 0000:03:00.0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[    1.337878] [drm] amdgpu: 8176M of VRAM memory ready
[    1.337879] [drm] amdgpu: 8176M of GTT memory ready.
[    1.338035] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_sos.bin
[    1.338063] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_asd.bin
[    1.338111] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_smc.bin
[    1.338158] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_pfp.bin
[    1.338205] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_me.bin
[    1.338253] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_ce.bin
[    1.338265] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_rlc.bin
[    1.338311] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_mec.bin
[    1.338356] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_mec2.bin
[    1.339181] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_sdma.bin
[    1.339195] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_sdma1.bin
[    1.339326] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/navi10_vcn.bin
[    2.057728] amdgpu: [powerplay] use vbios provided pptable
[    2.057879] amdgpu: [powerplay] smu driver if version = 0x00000033, smu fw if version = 0x00000035, smu fw version = 0x002a3200 (42.50.0)
[    2.057880] amdgpu: [powerplay] SMU driver if version not matched
[    2.102231] amdgpu: [powerplay] SMU is initialized successfully!
[    2.164631] fbcon: amdgpudrmfb (fb0) is primary device
[    3.429915] amdgpu 0000:03:00.0: fb0: amdgpudrmfb frame buffer device
[    3.445766] amdgpu 0000:03:00.0: ring 0(gfx_0.0.0) uses VM inv eng 4 on hub 0
[    3.445767] amdgpu 0000:03:00.0: ring 1(comp_1.0.0) uses VM inv eng 5 on hub 0
[    3.445768] amdgpu 0000:03:00.0: ring 2(comp_1.1.0) uses VM inv eng 6 on hub 0
[    3.445769] amdgpu 0000:03:00.0: ring 3(comp_1.2.0) uses VM inv eng 7 on hub 0
[    3.445770] amdgpu 0000:03:00.0: ring 4(comp_1.3.0) uses VM inv eng 8 on hub 0
[    3.445770] amdgpu 0000:03:00.0: ring 5(comp_1.0.1) uses VM inv eng 9 on hub 0
[    3.445771] amdgpu 0000:03:00.0: ring 6(comp_1.1.1) uses VM inv eng 10 on hub 0
[    3.445772] amdgpu 0000:03:00.0: ring 7(comp_1.2.1) uses VM inv eng 11 on hub 0
[    3.445772] amdgpu 0000:03:00.0: ring 8(comp_1.3.1) uses VM inv eng 12 on hub 0
[    3.445773] amdgpu 0000:03:00.0: ring 9(kiq_2.1.0) uses VM inv eng 13 on hub 0
[    3.445774] amdgpu 0000:03:00.0: ring 10(sdma0) uses VM inv eng 14 on hub 0
[    3.445774] amdgpu 0000:03:00.0: ring 11(sdma1) uses VM inv eng 15 on hub 0
[    3.445775] amdgpu 0000:03:00.0: ring 12(vcn_dec) uses VM inv eng 4 on hub 1
[    3.445776] amdgpu 0000:03:00.0: ring 13(vcn_enc0) uses VM inv eng 5 on hub 1
[    3.445777] amdgpu 0000:03:00.0: ring 14(vcn_enc1) uses VM inv eng 6 on hub 1
[    3.445777] amdgpu 0000:03:00.0: ring 15(vcn_jpeg) uses VM inv eng 7 on hub 1
[    3.445895] [drm] Initialized amdgpu 3.36.0 20150101 for 0000:03:00.0 on minor 0
[    4.554228] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])


# sudo sha256sum /lib/firmware/amdgpu/navi10*

af6cadd2f85b7dbeefe5ded35b12f9cc001a3b7e0d9be91ab12db387b521ead8  /lib/firmware/amdgpu/navi10_asd.bin
6da63c3d8f20bdee46ab231637fa5d9a73d6cdcb48cad91c7761ea05e1123b9d  /lib/firmware/amdgpu/navi10_ce.bin
31ce8d3241a5c21b59607c0a456c8396918a47f624343e80a789beac5b4f3395  /lib/firmware/amdgpu/navi10_gpu_info.bin
a2401289e3099a1d6180af6695cbbd132841acdd681e9984205751620b3e5da4  /lib/firmware/amdgpu/navi10_me.bin
bd082f5ea8b597773bd7c6c174d8855eac4b19dd1e8d062110b75f4f89cfc5ff  /lib/firmware/amdgpu/navi10_mec2.bin
bd082f5ea8b597773bd7c6c174d8855eac4b19dd1e8d062110b75f4f89cfc5ff  /lib/firmware/amdgpu/navi10_mec.bin
969c0dd89630e389d840c0beb18d79a2a76cf75f2ae89930555d25c22178bd98  /lib/firmware/amdgpu/navi10_pfp.bin
4b909675ba07e1bff4c36ea2a8e9073bd42b05cb96dc517ef2ef6a61032722da  /lib/firmware/amdgpu/navi10_rlc.bin
3b454b32949970c353b371e5177bf26a4bd8883aa4f38c54f6b4163e7da40ae1  /lib/firmware/amdgpu/navi10_sdma1.bin
3b454b32949970c353b371e5177bf26a4bd8883aa4f38c54f6b4163e7da40ae1  /lib/firmware/amdgpu/navi10_sdma.bin
87f53230f19907a33d3fc0ae3a543ed4a8457713aa5f10f9cdf7b44edab4dd25  /lib/firmware/amdgpu/navi10_smc.bin
794234afa1a6a7367ac5258cdc927dbe21a9dfe492ff331ad16cfa4ebdd13b15  /lib/firmware/amdgpu/navi10_sos.bin
ec35349ccf9e5160f27e5ffda7d66b2a9e53c515d3d25064422b64abdb0e87f1  /lib/firmware/amdgpu/navi10_ta.bin
0fc0aa4e0b10ea8567e9442c21cfa2ffb5c9bcf975aad0793a213612f701d061  /lib/firmware/amdgpu/navi10_vcn.bin


Currently only one monitor (Samsung P2270HD) is connected using HDMI port.

Basically this is what I did to install the graphic card:
https://www.reddit.com/r/debian/comments/fyxdlw/high_cpu_usage_with_xorg_and_gnomeshell_despite/fnmdl3l/
tuubi 18 Apr, 2020
I haven't really followed this because my system works fine and I'm such a selfish bastard, but looking at what you've been discussing, these changes in Linux 5.6.5 and 5.5.18 seem like they could be interesting, possibly:
drm/amd/display: Check for null fclk voltage when parsing clock table
drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK
Tuxee 18 Apr, 2020
Quoting: tuubiI haven't really followed this because my system works fine and I'm such a selfish bastard
Indeed. :)
Quoting: tuubibut looking at what you've been discussing, these changes in Linux 5.6.5 and 5.5.18 seem like they could be interesting, possibly:
drm/amd/display: Check for null fclk voltage when parsing clock table
drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

Struck me, too. I've updated to 5.6.5 on my Ubuntu 20.04 - the last two boots went fine. I'll see. There are new BIOS files available, too though I'm a bit reluctant to give them a try.
Tuxee 21 Apr, 2020
Just tried the live image of Manjaro 20.0rc2 with a kernel 5.6.5 (didn't check the Mesa details, but I assume 20.0.4) - gave me unbearable screen flickering (never seen that before) and a whole bunch of powerplay errors in the syslog. I'll try a proper install once I find enough time, but the live image was a letdown.
Avehicle7887 21 Apr, 2020
Quoting: TuxeeJust tried the live image of Manjaro 20.0rc2 with a kernel 5.6.5 (didn't check the Mesa details, but I assume 20.0.4) - gave me unbearable screen flickering (never seen that before) and a whole bunch of powerplay errors in the syslog. I'll try a proper install once I find enough time, but the live image was a letdown.

You might want to skip Kernel 5.6.5 altogether, it was released with an AMDGPU regression that prevents reboot/shutdown. The issue has been fixed in 5.6.6.

See here: https://bugs.archlinux.org/task/66305
Tuxee 21 Apr, 2020
Quoting: Avehicle7887
Quoting: TuxeeJust tried the live image of Manjaro 20.0rc2 with a kernel 5.6.5 (didn't check the Mesa details, but I assume 20.0.4) - gave me unbearable screen flickering (never seen that before) and a whole bunch of powerplay errors in the syslog. I'll try a proper install once I find enough time, but the live image was a letdown.

You might want to skip Kernel 5.6.5 altogether, it was released with an AMDGPU regression that prevents reboot/shutdown. The issue has been fixed in 5.6.6.

See here: https://bugs.archlinux.org/task/66305

Well, mainline 5.6.5 has been working fine on my Ubuntu 20.04 during the limited time I spent with it. 5.6.6 has yet to arrive in the repos.
tuubi 21 Apr, 2020
Quoting: Tuxee
Quoting: Avehicle7887
Quoting: TuxeeJust tried the live image of Manjaro 20.0rc2 with a kernel 5.6.5 (didn't check the Mesa details, but I assume 20.0.4) - gave me unbearable screen flickering (never seen that before) and a whole bunch of powerplay errors in the syslog. I'll try a proper install once I find enough time, but the live image was a letdown.

You might want to skip Kernel 5.6.5 altogether, it was released with an AMDGPU regression that prevents reboot/shutdown. The issue has been fixed in 5.6.6.

See here: https://bugs.archlinux.org/task/66305

Well, mainline 5.6.5 has been working fine on my Ubuntu 20.04 during the limited time I spent with it. 5.6.6 has yet to arrive in the repos.
It's in the repos now, but I didn't have any trouble with 5.6.5 either. Must be specific hardware only. But 5.6.6 does include another powerplay fix, so might be worth it to you in any case.
Trias 25 Apr, 2020
Quoting: Avehicle7887I don't know if this might help but I just noticed the AMD firmwares have been updated in the linux-firmware git: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/

By the way, is it possible to revert changes from this git and go back to previous linux-firmware?
I installed it (sudo cp -va amdgpu/ /lib/firmware/ and sudo update-initramfs -u, according to this article ) on my Linux Mint 19.3 and now I am getting a lot of warnings "Possible missing firmware /lib/firmware/amdgpu/ ... for module amdgpu" every time something is using update-initramfs (e. g. every time I am installing new kernel).

Spoiler, click me

sudo dpkg -i *.deb
Selecting previously unselected package linux-headers-5.6.7-050607.
(Reading database ... 557328 files and directories currently installed.)
Preparing to unpack linux-headers-5.6.7-050607_5.6.7-050607.202004230933_all.deb ...
Unpacking linux-headers-5.6.7-050607 (5.6.7-050607.202004230933) ...
Selecting previously unselected package linux-headers-5.6.7-050607-generic.
Preparing to unpack linux-headers-5.6.7-050607-generic_5.6.7-050607.202004230933_amd64.deb ...
Unpacking linux-headers-5.6.7-050607-generic (5.6.7-050607.202004230933) ...
Selecting previously unselected package linux-image-unsigned-5.6.7-050607-generic.
Preparing to unpack linux-image-unsigned-5.6.7-050607-generic_5.6.7-050607.202004230933_amd64.deb ...
Unpacking linux-image-unsigned-5.6.7-050607-generic (5.6.7-050607.202004230933) ...
Selecting previously unselected package linux-modules-5.6.7-050607-generic.
Preparing to unpack linux-modules-5.6.7-050607-generic_5.6.7-050607.202004230933_amd64.deb ...
Unpacking linux-modules-5.6.7-050607-generic (5.6.7-050607.202004230933) ...
Setting up linux-headers-5.6.7-050607 (5.6.7-050607.202004230933) ...
Setting up linux-headers-5.6.7-050607-generic (5.6.7-050607.202004230933) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 5.6.7-050607-generic
...done.
Setting up linux-modules-5.6.7-050607-generic (5.6.7-050607.202004230933) ...
Setting up linux-image-unsigned-5.6.7-050607-generic (5.6.7-050607.202004230933) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.15.0-96-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-96-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-5.6.7-050607-generic
I: /initrd.img is now a symlink to boot/initrd.img-5.6.7-050607-generic
Processing triggers for linux-image-unsigned-5.6.7-050607-generic (5.6.7-050607.202004230933) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.6.7-050607-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.6.7-050607-generic
W: Possible missing firmware /lib/firmware/amdgpu/navi12_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi14_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for module amdgpu
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/60_mint-theme.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint/theme.txt
Found linux image: /boot/vmlinuz-5.6.7-050607-generic
Found initrd image: /boot/initrd.img-5.6.7-050607-generic
Found linux image: /boot/vmlinuz-5.6.0-050600rc7-generic
Found initrd image: /boot/initrd.img-5.6.0-050600rc7-generic
Found linux image: /boot/vmlinuz-5.5.11-050511-generic
Found initrd image: /boot/initrd.img-5.5.11-050511-generic
Found linux image: /boot/vmlinuz-5.5.9-050509-generic
Found initrd image: /boot/initrd.img-5.5.9-050509-generic
Found linux image: /boot/vmlinuz-5.4.27-050427-generic
Found initrd image: /boot/initrd.img-5.4.27-050427-generic
Found linux image: /boot/vmlinuz-5.3.0-42-generic
Found initrd image: /boot/initrd.img-5.3.0-42-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Found linux image: /boot/vmlinuz-4.15.0-96-generic
Found initrd image: /boot/initrd.img-4.15.0-96-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Adding boot menu entry for EFI firmware configuration
done

Avehicle7887 25 Apr, 2020
Quoting: Trias
Quoting: Avehicle7887I don't know if this might help but I just noticed the AMD firmwares have been updated in the linux-firmware git: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/

By the way, is it possible to revert changes from this git and go back to previous linux-firmware?
I installed it (sudo cp -va amdgpu/ /lib/firmware/ and sudo update-initramfs -u, according to this article ) on my Linux Mint 19.3 and now I am getting a lot of warnings "Possible missing firmware /lib/firmware/amdgpu/ ... for module amdgpu" every time something is using update-initramfs (e. g. every time I am installing new kernel).

That command seems ok, to be safe it's probably better to open up a gui as sudo and copy paste all the amdgpu firmware in /lib/firmware/amdgpu

The errors you're getting in terminal indicate that those files are not being found.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: Liberapay or PayPal.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.