I am seeing almost identical messages except mine goes up to group 10. Looking at these messages prior to the kernal option being added they went up to group 12. I have no idea why this seems to get round the issue and unless I can find kernel-firmware-all older than April 2021 I am unable to downlevel it to test.
Stuart
karlmistelberger:
Without ever tinkering I get:
**3400G:~ #** journalctl -b --grep iommu
-- Logs begin at Thu 2021-04-29 05:00:44 CEST, end at Fri 2021-05-14 11:50:28 CEST. --
**May 13 04:15:39 3400G kernel: iommu: Default domain type: Passthrough **
May 13 04:15:39 3400G kernel: **pci 0000:00:00.2: AMD-Vi: Unable to read/write to ****IOMMU**** perf counter.**
May 13 04:15:39 3400G kernel: pci 0000:00:01.0: Adding to iommu group 0
...
May 13 04:15:39 3400G kernel: pci 0000:08:00.6: Adding to iommu group 8
May 13 04:15:39 3400G kernel: pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
May 13 04:15:40 3400G kernel: AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
**3400G:~ #**
IMHO you meant
sudo journalctl -b | grep -i iommu
I had ~the same output, but saw no errors.
You may get AMD firmware from AMD drivers , or even extract it from Ubuntu packages.
ILL for Picasso graphics we need picasso_.bin firmware files, not vega .bin in /lib/firmware/amdgpu/ .
I have 12 picasso_.bin firmware files in /lib/firmware/amdgpu all dated 10/05/2021 plus quite a lot of vega files as well.
Stuart
I am still seeing the VM_L2_PROTECTION_FAULT_STATUS:0x001C0071 bug in the journal so I have created bug 1186122 and will see what happens.
Stuart
This was an openSUSE only bug: 1177428 – AMDGPU resume fail All systems installed but openSUSE would suspend to RAM at all time. Tumbleweed and Leap would consistently fail to suspend. Eventually I bought a new main board for 82€ and sold the Aorus Elite board for 50€.
When I did upgrade to this m/b & processor I did try hibernate/resume but gave up as it did not work and because booting from an SSD with this processor is probably just as fast stuck with shutdown/boot. I never properly investigated the hibernate thing.
Stuart
Is problem solved now?
https://forums.opensuse.org/showthread.php/554206-Memory-clarification?p=3031150#post3031150
**3400G:~ #** inxi -zFm
**System: Kernel:** 5.12.3-1-default x86_64 **bits:** 64 **Console:** tty pts/1 **Distro:** openSUSE Tumbleweed 20210515
**Machine: Type:** Desktop **Mobo:** ASUSTeK **model:** PRIME B450-PLUS **v:** Rev X.0x **serial:** <filter> **UEFI:** American Megatrends **v:** 2409
**date:** 12/02/2020
**Memory: RAM:****total:** 29.27 GiB **used:** 3.53 GiB (12.1%)
**Array-1:****capacity:** 128 GiB **slots:** 4 **EC:** None
**Device-1:** DIMM_A1 **size:** No Module Installed
**Device-2:** DIMM_A2 **size:** 16 GiB **speed:** 2133 MT/s
**Device-3:** DIMM_B1 **size:** No Module Installed
**Device-4:** DIMM_B2 **size:** 16 GiB **speed:** 2133 MT/s
**CPU: Info:** Quad Core **model:** AMD Ryzen 5 3400G with Radeon Vega Graphics **bits:** 64 **type:** MT MCP **cache:****L2:** 2 MiB
**Speed:** 1256 MHz **min/max:** 1400/3700 MHz **Core speeds (MHz):****1:** 1256 **2:** 1256 **3:** 1256 **4:** 1283 **5:** 1260 **6:** 1258 **7:** 1359
**8:** 1258
**Graphics: Device-1:** Advanced Micro Devices [AMD/ATI] Picasso **driver:** amdgpu **v:** kernel
**Display:****server:** X.Org 1.20.11 **driver:****loaded:** amdgpu,ati **unloaded:** fbdev,modesetting,vesa
**resolution:** 1920x1200~60Hz
**OpenGL:****renderer:** AMD Radeon Vega 11 Graphics (RAVEN DRM 3.40.0 5.12.3-1-default LLVM 12.0.0) **v:** 4.6 Mesa 21.1.0
**Audio: Device-1:** Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio **driver:** snd_hda_intel
**Device-2:** Advanced Micro Devices [AMD] Family 17h HD Audio **driver:** snd_hda_intel
**Sound Server-1:** ALSA **v:** k5.12.3-1-default **running:** yes
**Sound Server-2:** PulseAudio **v:** 14.2-rebootstrapped **running:** yes
**Network: Device-1:** Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet **driver:** r8169
**IF:** eth0 **state:** down **mac:** <filter>
**Device-2:** Qualcomm Atheros AR9287 Wireless Network Adapter **driver:** ath9k
**IF:** wlan0 **state:** up **mac:** <filter>
**Drives: Local Storage:****total:** 2.5 TiB **used:** 1.81 TiB (72.4%)
**ID-1:** /dev/sda **vendor:** Seagate **model:** ST2000DM001-1CH164 **size:** 1.82 TiB
**ID-2:** /dev/sdb **vendor:** Samsung **model:** SSD 850 EVO 500GB **size:** 465.76 GiB
**ID-3:** /dev/sdc **vendor:** Samsung **model:** SSD 850 EVO 250GB **size:** 232.89 GiB
**Partition: ID-1:** / **size:** 40 GiB **used:** 26.76 GiB (66.9%) **fs:** btrfs **dev:** /dev/sdc3
**ID-2:** /boot/efi **size:** 99.8 MiB **used:** 31.3 MiB (31.4%) **fs:** vfat **dev:** /dev/sdc1
**ID-3:** /home **size:** 427.82 GiB **used:** 354.64 GiB (82.9%) **fs:** ext4 **dev:** /dev/sdb3
**ID-4:** /opt **size:** 40 GiB **used:** 26.76 GiB (66.9%) **fs:** btrfs **dev:** /dev/sdc3
**ID-5:** /var **size:** 40 GiB **used:** 26.76 GiB (66.9%) **fs:** btrfs **dev:** /dev/sdc3
**Swap: Alert:** No Swap data was found.
**Sensors: System Temperatures:****cpu:** 39.8 C **mobo:** N/A **gpu:** amdgpu **temp:** 39.0 C
**Fan Speeds (RPM):** N/A
**Info: Processes:** 289 **Uptime:** 11:21:43 up 1 day 5:53, 4 users, load average: 0.48, 0.62, 0.48 **Shell:** Bash **inxi:** 3.3.03
**3400G:~ #**
Svyatko:
Is problem solved now?
https://forums.opensuse.org/showthread.php/554206-Memory-clarification?p=3031150#post3031150
**3400G:~ #** inxi -zFm
**System: Kernel:** 5.12.3-1-default x86_64 **bits:** 64 **Console:** tty pts/1 **Distro:** openSUSE Tumbleweed 20210515
**Machine: Type:** Desktop **Mobo:** ASUSTeK **model:** PRIME B450-PLUS **v:** Rev X.0x **serial:** <filter> **UEFI:** American Megatrends **v:** 2409
**date:** 12/02/2020
**Memory: RAM:****total:** 29.27 GiB **used:** 3.53 GiB (12.1%)
**Array-1:****capacity:** 128 GiB **slots:** 4 **EC:** None
**Device-1:** DIMM_A1 **size:** No Module Installed
**Device-2:** DIMM_A2 **size:** 16 GiB **speed:** 2133 MT/s
**Device-3:** DIMM_B1 **size:** No Module Installed
**Device-4:** DIMM_B2 **size:** 16 GiB **speed:** 2133 MT/s
**CPU: Info:** Quad Core **model:** AMD Ryzen 5 3400G with Radeon Vega Graphics **bits:** 64 **type:** MT MCP **cache:****L2:** 2 MiB
**Speed:** 1256 MHz **min/max:** 1400/3700 MHz **Core speeds (MHz):****1:** 1256 **2:** 1256 **3:** 1256 **4:** 1283 **5:** 1260 **6:** 1258 **7:** 1359
**8:** 1258
**Graphics: Device-1:** Advanced Micro Devices [AMD/ATI] Picasso **driver:** amdgpu **v:** kernel
**Display:****server:** X.Org 1.20.11 **driver:****loaded:** amdgpu,ati **unloaded:** fbdev,modesetting,vesa
**resolution:** 1920x1200~60Hz
**OpenGL:****renderer:** AMD Radeon Vega 11 Graphics (RAVEN DRM 3.40.0 5.12.3-1-default LLVM 12.0.0) **v:** 4.6 Mesa 21.1.0
**Audio: Device-1:** Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio **driver:** snd_hda_intel
**Device-2:** Advanced Micro Devices [AMD] Family 17h HD Audio **driver:** snd_hda_intel
**Sound Server-1:** ALSA **v:** k5.12.3-1-default **running:** yes
**Sound Server-2:** PulseAudio **v:** 14.2-rebootstrapped **running:** yes
**Network: Device-1:** Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet **driver:** r8169
**IF:** eth0 **state:** down **mac:** <filter>
**Device-2:** Qualcomm Atheros AR9287 Wireless Network Adapter **driver:** ath9k
**IF:** wlan0 **state:** up **mac:** <filter>
**Drives: Local Storage:****total:** 2.5 TiB **used:** 1.81 TiB (72.4%)
**ID-1:** /dev/sda **vendor:** Seagate **model:** ST2000DM001-1CH164 **size:** 1.82 TiB
**ID-2:** /dev/sdb **vendor:** Samsung **model:** SSD 850 EVO 500GB **size:** 465.76 GiB
**ID-3:** /dev/sdc **vendor:** Samsung **model:** SSD 850 EVO 250GB **size:** 232.89 GiB
**Partition: ID-1:** / **size:** 40 GiB **used:** 26.76 GiB (66.9%) **fs:** btrfs **dev:** /dev/sdc3
**ID-2:** /boot/efi **size:** 99.8 MiB **used:** 31.3 MiB (31.4%) **fs:** vfat **dev:** /dev/sdc1
**ID-3:** /home **size:** 427.82 GiB **used:** 354.64 GiB (82.9%) **fs:** ext4 **dev:** /dev/sdb3
**ID-4:** /opt **size:** 40 GiB **used:** 26.76 GiB (66.9%) **fs:** btrfs **dev:** /dev/sdc3
**ID-5:** /var **size:** 40 GiB **used:** 26.76 GiB (66.9%) **fs:** btrfs **dev:** /dev/sdc3
**Swap: Alert:** No Swap data was found.
**Sensors: System Temperatures:****cpu:** 39.8 C **mobo:** N/A **gpu:** amdgpu **temp:** 39.0 C
**Fan Speeds (RPM):** N/A
**Info: Processes:** 289 **Uptime:** 11:21:43 up 1 day 5:53, 4 users, load average: 0.48, 0.62, 0.48 **Shell:** Bash **inxi:** 3.3.03
**3400G:~ #**
The PRIME B450-PLUS is nearly perfect now. Suspend works fast and is reliable:
**3400G:~ #** journalctl -b -u systemd-suspend.service -o short-monotonic --since 20:24
-- Logs begin at Thu 2021-04-29 05:00:44 CEST, end at Thu 2021-05-20 20:25:17 CEST. --
[29465.987892] 3400G systemd[1]: Starting Suspend...
[29465.999576] 3400G systemd-sleep[16960]: INFO: Skip running /usr/lib/systemd/system-sleep/grub2.sleep for suspend
[29466.001330] 3400G systemd-sleep[16958]: Suspending system...
[29468.396877] 3400G systemd-sleep[16969]: INFO: Skip running /usr/lib/systemd/system-sleep/grub2.sleep for suspend
[29468.397672] 3400G systemd-sleep[16958]: System resumed.
[29468.397928] 3400G systemd[1]: systemd-suspend.service: Succeeded.
[29468.398368] 3400G systemd[1]: Finished Suspend.
**3400G:~ #**
Mine Asus works OK too.
So problem was with Asrock motherboard, I think.
Every other system but openSUSE would work without any issue regarding suspend to RAM. For details you need to debug power management, which is tricky for novices. Thus I opted for changing the board.
Gene_S
May 27, 2021, 8:44pm
34
I’ve been seeing this error since Apr 25 16:21:48, as well. I reseated RAM and ran memtest86 with no results. The only thing I’ve noticed is that all my crashes, approximately 6 in the last 4 weeks, occured while using firefox. Searching for “firefox crashes amdgpu in linux” returned a number of threads, so my observation appears to be common. Also, this is occurring in many distributions, so I’m not sure how much the opensuse bug will help, unless our maintainer is using amdgpu. Oh, my hardware is an AMD Ryzen 5 2500U laptop and here is the dmesg for the last one:
> dmesg
...
amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.878910] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105100000 from client 27
[15694.878918] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.878920] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.878922] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.878924] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.878925] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.878927] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.878928] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.878930] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.878942] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105101000 from client 27
[15694.878949] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.878951] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.878952] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.878954] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.878955] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.878957] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.878958] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.878959] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.878962] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105102000 from client 27
[15694.878969] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.878971] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.878972] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.878974] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.878975] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.878980] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.878981] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.878983] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.878985] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105103000 from client 27
[15694.878992] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.878994] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.878995] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.878997] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.878998] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.878999] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.879000] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.879002] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.879004] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105104000 from client 27
[15694.879011] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.879013] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.879014] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.879016] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.879017] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.879018] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.879019] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.879021] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.879023] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105105000 from client 27
[15694.879030] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.879032] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.879033] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.879034] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.879036] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.879037] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.879038] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.879040] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.879042] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105106000 from client 27
[15694.879049] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.879051] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.879052] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.879053] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.879055] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.879056] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.879057] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.879058] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.879061] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105107000 from client 27
[15694.879068] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.879069] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.879071] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.879072] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.879073] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.879075] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.879076] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.879077] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.879080] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x800105108000 from client 27
[15694.879087] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.879088] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.879089] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.879091] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.879092] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.879093] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.879094] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15694.879096] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:0, for process pid 0 thread pid 0)
[15694.879098] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x80010510a000 from client 27
[15694.879105] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[15694.879107] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
[15694.879108] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[15694.879109] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[15694.879111] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[15694.879112] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[15694.879113] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[15695.905719] amdgpu 0000:04:00.0: amdgpu: IH ring buffer overflow (0x00096CE0, 0x00016D60, 0x00016D00)
[15705.067035] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, but soft recovered
Gene
Hi
Are you using the webrenderer and amdgpu? In about:config webrender.gfx.webrender.all is true or false?
https://wiki.mozilla.org/Platform/GFX/WebRender_Where
Gene_S
May 27, 2021, 11:01pm
36
gfx.webrender.all is currently set to false. Does that tell you something? I don’t see any useful information at that link.
Thanks,
Gene
Hi
There is also about:support for more details. Are you running Wayland or Xorg? I would try enabling and see if it helps (or not) with firefox…
Gene_S
May 27, 2021, 11:13pm
38
Thanks for the about:support reminder, there is some info there. I’ll try running with gfx.webrender.all set to true and see what happens. The lockups are pretty rare, and inconsistent. Sometimes the system recovers from the lockup, but sometimes I have to use alt-sysreq s, u, b to reboot.
P.S. I’m running Xorg in MATE.
Gene
I use a laptop with an AMD Ryzen 5 2500U CPU (APU) together with Leap 15.2 but TW kernel 5.12.6 and suspending works just fine.
IMHO many problems with suspend are connected to USB drivers and VirtualBox drivers, I unload USB drivers and vbox drivers before suspend and reload them after waking up.
You can create a script in /usr/lib/systemd/system-sleep/ e.g. with the name usbunload.sh with this content:
#!/bin/bash
#/usr/lib/systemd/system-sleep/custom-unload.sh
if "$1" = pre ] ; then
sync
systemctl stop vboxdrv.service
rmmod usbhid
rmmod xhci_pci
rmmod xhci_hcd
rmmod ehci_pci
rmmod ehci_hcd
rmmod ohci_pci
rmmod ohci_hcd
rmmod usbcore
sleep 1
fi
if "$1" = post ] ; then
modprobe usbcore
modprobe ohci_pci
modprobe ohci_hcd
modprobe ehci_pci
modprobe ehci_hcd
modprobe xhci_pci
modprobe xhci_hcd
modprobe usbhid
systemctl start vboxdrv.service &
fi
I too run a Ryzen based system, with a Ryzen 2500U mobile APU laptop and faced the same issue, errors and freezes with KDE, maybe especially when running Firefox or VLC.
This issues occured first few days (1-2 weeks?) back with recent kernel 5.12.
What I did, I fetched the Linux firmware from their git repo at
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
I did not replace the complete firmware, I wiped /lib/firmware/amdgpu/ and copied the amdgpu stuff from linux-firmware/amdgpu/* to /lib/firmware/amdgpu/ and rebuilt the initram.
So far no freezes any more.
I think I will keep this habit and always take the GPU firmware from their git repo, I think there will be fixes available first before anywhere else.