Ryzen 4800u, kernel 5.8.11 boot errors (AMD-Vi, ACPI, HDCP, Bluetooth)

Bug #1897392 reported by rud
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Lenovo IdeaPad S540, 13-ARE
AMD Ryzen 4800U, 16GB dual channel RAM, 13.3" 2560x1600 screen.
Note this laptop is a lot like the Lenovo Slim 7, it seems this laptop UEFI Bios does advertise S3 sleep, the Slim 7 only advertises S2idle.

The errors are related to AMD Ryzen 4000 series.

Clean (no dual boot) Ubuntu Budgie 20.04.1 with kernel upgraded to 5.8.11.

Full dmesg: https://pastebin.com/nFbHB22d
Journalclt after boot: https://pastebin.com/bcpw8Vhc

erros only from dmesg:
$ sudo dmesg -l err
[ 2.686094] pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
[ 4.818164] I2C multi instantiate pseudo device driver INT3515:00: IRQ index 1 not found
[ 4.836122] snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 0
[ 4.971650] ACPI Error: No handler for Region [ECSI] (00000000e6d23662) [EmbeddedControl] (20200528/evregion-127)
[ 4.971933] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20200528/exfldio-261)
[ 4.972172] ACPI Error: Aborting method \_SB.UBTC.ECRD due to previous error (AE_NOT_EXIST) (20200528/psparse-529)
[ 4.972447] ACPI Error: Aborting method \_SB.UBTC._DSM due to previous error (AE_NOT_EXIST) (20200528/psparse-529)
[ 4.972736] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2
[ 5.871695] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
[ 6.127547] [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
[ 6.128334] [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
[ 6.128558] [drm:dm_helpers_dp_write_dpcd [amdgpu]] *ERROR* Failed to find connector for link!
[ 6.938706] [drm:mod_hdcp_add_display_to_topology [amdgpu]] *ERROR* Failed to add display topology, DTM TA is not initialized.

$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
Linux Idefix 5.8.11-050811-generic #202009230858 SMP Wed Sep 23 13:06:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1897392/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
rud (jazco)
affects: ubuntu → kernel-package (Ubuntu)
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

A lot of these errors sound like BIOS issues. For example, "AMD-Vi: Unable to read/write to IOMMU perf" is a very common error on modern AMD systems due to lack of documentation on it.

Note that you are running older BIOS (F0CN17WW and latest is F0CN24WW).

affects: kernel-package (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Please update to latest BIOS and see if the errors persist.

Revision history for this message
rud (jazco) wrote :

Ah unfortunately before I switched to Ubuntu, there was no bios update. Lenovo does not provide anything to update the bios, only an unextractable Windows exe.
I will figure out a way to install Windows on a portable drive (Win2USB). Pretty bad manufacturers no longer provide a way to update bios independently from what OS is used.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

If it is too much of an inconvenience, don't worry about it. The changelog for Lenovo's updates don't look too promising to fix the error messages.

Thanks for the report.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1897392

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: focal
Revision history for this message
rud (jazco) wrote :

I have updated the bios (used WinToUSB to install Win10 on an external SSD, it works amazingly well). Unfortunately the error messages persist.

As the laptop does work (did not test 3D gaming yet, will do next week) I suppose I should just ignore the messages.

Revision history for this message
rud (jazco) wrote :
Download full text (5.0 KiB)

The only error shown in /var/log/boot.log:
[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
See 'systemctl status systemd-backlight@backlight:acpi_video0.service' for details.

which I solved with the command:
systemctl mask systemd-backlight@backlight:acpi_video0.service

With kernel 5.8.18 I still see the earlier mentioned errors and warnings. Not sure if this means less performance in 3D applications?

$ sudo dmesg --level=err,warn
[ 0.318622] TSC synchronization [CPU#0 -> CPU#1]:
[ 0.318622] Measured 453215862 cycles TSC warp between CPUs, turning off TSC clock.
[ 0.318622] #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15
[ 2.666156] pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
[ 2.666298] pci 0000:00:00.2: can't derive routing for PCI INT A
[ 2.666299] pci 0000:00:00.2: PCI INT A: not connected
[ 2.667642] PPR X2APIC NX GT IA GA PC GA_vAPIC
[ 2.737746] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 2.740046] platform eisa.0: EISA: Cannot allocate resource for mainboard
[ 2.740048] platform eisa.0: Cannot allocate resource for EISA slot 1
[ 2.740049] platform eisa.0: Cannot allocate resource for EISA slot 2
[ 2.740049] platform eisa.0: Cannot allocate resource for EISA slot 3
[ 2.740049] platform eisa.0: Cannot allocate resource for EISA slot 4
[ 2.740050] platform eisa.0: Cannot allocate resource for EISA slot 5
[ 2.740050] platform eisa.0: Cannot allocate resource for EISA slot 6
[ 2.740051] platform eisa.0: Cannot allocate resource for EISA slot 7
[ 2.740051] platform eisa.0: Cannot allocate resource for EISA slot 8
[ 2.798587] Unstable clock detected, switching default tracing clock to "global"
               If you want to keep using the local clock, then add:
                 "trace_clock=local"
               on the kernel command line
[ 2.962855] i2c_hid i2c-ITE8227:00: supply vdd not found, using dummy regulator
[ 2.962885] i2c_hid i2c-ITE8227:00: supply vddl not found, using dummy regulator
[ 2.964303] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 2.964386] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 2.979559] nvme nvme0: missing or invalid SUBNQN field.
[ 3.275362] i2c_hid i2c-MSFT0001:00: supply vdd not found, using dummy regulator
[ 3.275383] i2c_hid i2c-MSFT0001:00: supply vddl not found, using dummy regulator
[ 4.346318] snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 0
[ 4.370739] ACPI Error: No handler for Region [ECSI] (000000005ff1a6f4) [EmbeddedControl] (20200528/evregion-127)
[ 4.371044] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20200528/exfldio-261)
[ 4.371290] No Local Variables are initialized for Method [ECRD]
[ 4.371292] No Arguments are initialized for method [ECRD]
[ 4.371302] ACPI Error: Aborting method \_SB.UBTC.ECRD due to previous error (AE_NOT_EXIST) (20200528/psparse-529)
[ 4.371582] ACPI Error: Aborting method \_SB.UBTC._DSM due to ...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.