← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2093268] Re: Main screen becomes sluggish after wake up

 

I am having a similar problem when using the amd igpu.


portavales@tamborim:~$ uname -a
Linux tamborim 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr  6 15:05:05 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
portavales@tamborim:~$ lsmod | grep -E "nvidia|amdgpu|i915"
nvidia_uvm           2113536  0
nvidia_drm            131072  5
nvidia_modeset       1724416  2 nvidia_drm
nvidia              11628544  14 nvidia_uvm,nvidia_modeset
amdgpu              19763200  29
amdxcp                 12288  1 amdgpu
drm_panel_backlight_quirks    12288  1 amdgpu
drm_buddy              24576  1 amdgpu
drm_ttm_helper         16384  3 amdgpu,nvidia_drm
ttm                   118784  2 amdgpu,drm_ttm_helper
drm_exec               12288  1 amdgpu
drm_suballoc_helper    16384  1 amdgpu
drm_display_helper    282624  1 amdgpu
cec                    94208  2 drm_display_helper,amdgpu
i2c_algo_bit           20480  1 amdgpu
gpu_sched              61440  2 amdxdna,amdgpu
video                  77824  4 asus_wmi,amdgpu,asus_nb_wmi,nvidia_modeset
portavales@tamborim:~$ sudo lshw -C display
  *-display        
       description: VGA compatible controller
       product: AD107M [GeForce RTX 4050 Max-Q / Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:c4:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=nvidia latency=0 mode=2880x1800 visual=truecolor xres=2880 yres=1800
       resources: iomemory:780-77f iomemory:7a0-79f irq:177 memory:dc000000-dcffffff memory:7800000000-79ffffffff memory:7a00000000-7a01ffffff ioport:f000(size=128) memory:dd000000-dd07ffff
  *-display
       description: Display controller
       product: Strix [Radeon 880M / 890M]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:c5:00.0
       logical name: /dev/fb0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list fb
       configuration: depth=32 driver=amdgpu latency=0 resolution=2880,1800
       resources: iomemory:7a0-79f irq:150 memory:7a10000000-7a1fffffff memory:dd200000-dd3fffff ioport:e000(size=256) memory:dd700000-dd77ffff
portavales@tamborim:~$ ^C
portavales@tamborim:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 25.04
Release:	25.04
Codename:	plucky
portavales@tamborim:~$ 



c5:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Strix [Radeon 880M / 890M] [1002:150e] (rev c1)


portavales@tamborim:~$ sudo dmesg | grep amd
[sudo] password for portavales: 
[    0.000000] Linux version 6.14.0-15-generic (buildd@lcy02-amd64-022) (x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.2.0, GNU ld (GNU Binutils for Ubuntu) 2.44) #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr  6 15:05:05 UTC 2025 (Ubuntu 6.14.0-15.15-generic 6.14.0)
[    0.365617] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    1.948429] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
[    2.526800] pcie_mp2_amd 0000:c5:00.7: enabling device (0000 -> 0002)
[    5.515956] amd-tee driver initialization successful
[    5.538023] amdxdna 0000:c6:00.1: enabling device (0000 -> 0002)
[    5.607490] tee tee0: Direct firmware load for /amdtee/f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin failed with error -2
[    5.607500] failed to load firmware /amdtee/f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin
[    5.611073] amd-pmf AMDI0103:00: Failed to open TA session (-12)
[    5.612855] amd-pmf AMDI0103:00: registered PMF device successfully
[    5.688499] [drm] Initialized amdxdna_accel_driver 0.0.0 for 0000:c6:00.1 on minor 0
[    6.755184] [drm] amdgpu kernel modesetting enabled.
[    6.755243] amdgpu: vga_switcheroo: detected switching method \_SB_.PCI0.GPPA.VGA_.ATPX handle
[    6.755646] amdgpu: ATPX version 1, functions 0x00000801
[    6.755793] amdgpu: ATPX Hybrid Graphics
[    6.770726] amdgpu: Virtual CRAT table created for CPU
[    6.770749] amdgpu: Topology: Add CPU node
[    6.770930] amdgpu 0000:c5:00.0: enabling device (0006 -> 0007)

[    6.774406] amdgpu 0000:c5:00.0: amdgpu: detected ip block number 12 <isp_ip>
[    6.774417] amdgpu 0000:c5:00.0: amdgpu: Fetched VBIOS from VFCT
[    6.774424] amdgpu: ATOM BIOS: 113-STRIXEMU-001
[    6.791757] amdgpu 0000:c5:00.0: amdgpu: VPE: collaborate mode false
[    6.791808] amdgpu 0000:c5:00.0: amdgpu: [drm] Optional firmware "amdgpu/isp_4_1_0.bin" was not found
[    6.830078] amdgpu 0000:c5:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[    6.830131] amdgpu 0000:c5:00.0: amdgpu: VRAM: 512M 0x0000008000000000 - 0x000000801FFFFFFF (512M used)
[    6.830133] amdgpu 0000:c5:00.0: amdgpu: GART: 512M 0x00007FFF00000000 - 0x00007FFF1FFFFFFF
[    6.830274] [drm] amdgpu: 512M of VRAM memory ready
[    6.830276] [drm] amdgpu: 15598M of GTT memory ready.
[    6.854053] amdgpu 0000:c5:00.0: amdgpu: reserve 0x8900000 from 0x8010000000 for PSP TMR
[    7.047226] amdgpu 0000:c5:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    7.050800] amdgpu 0000:c5:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    7.050801] amdgpu 0000:c5:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    7.072581] amdgpu 0000:c5:00.0: amdgpu: SMU is initialized successfully!
[    7.095382] snd_hda_intel 0000:c5:00.1: bound 0000:c5:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    7.165966] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    7.165978] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[    7.166882] amdgpu: Virtual CRAT table created for GPU
[    7.167825] amdgpu: Topology: Add dGPU node [0x150e:0x1002]
[    7.167827] kfd kfd: amdgpu: added device 1002:150e
[    7.167835] amdgpu 0000:c5:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 8, active_cu_number 16
[    7.172842] [drm] Initialized amdgpu 3.61.0 for 0000:c5:00.0 on minor 1
[    7.790010] hid-sensor-hub 0020:1022:0001.000C: hidraw10: SENSOR HUB HID v0.00 Device [hid-amdsfh 1022:0001] on pcie_mp2_amd
[    7.790303] hid-sensor-hub 0020:1022:0001.000D: hidraw11: SENSOR HUB HID v0.00 Device [hid-amdsfh 1022:0001] on pcie_mp2_amd
[    8.214180] amdgpu 0000:c5:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[61066.926477] workqueue: dm_irq_work_func [amdgpu] hogged CPU for >13333us 4 times, consider switching to WQ_UNBOUND
[61086.227562] workqueue: dm_irq_work_func [amdgpu] hogged CPU for >13333us 5 times, consider switching to WQ_UNBOUND

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to xserver-xorg-video-amdgpu
in Ubuntu.
https://bugs.launchpad.net/bugs/2093268

Title:
  Main screen becomes sluggish after wake up

Status in linux-meta-hwe-6.8 package in Ubuntu:
  Confirmed
Status in xserver-xorg-video-amdgpu package in Ubuntu:
  Confirmed

Bug description:
  I have no idea if I report right package, but at least it's a starting
  point. I'm using ThinkPad P16s with second screen connected to HDMI.
  After some relative recent updates this problem starting to happen,
  while I didn't have that issue at the beginning.

  After reboot everything works fine. But after some screen locks, the
  main laptop screen becomes unresponsive, whole the second HDMI screen
  works OK (relatively as mouse cursor is jumpy and overall
  responsiveness of the OS is affected). What I've noticed using `top`
  is that if I move cursor to that affected screen suddenly some kernel
  workers related to GFX start consume 99% of CPU. I can't do there
  anything as cursor jumps every 2 seconds, only when I move the cursor
  back to the HDMI monitor, I can barely do something. Like write this
  bug report.

  I don't know if you sport this information easily, but I use scaling,
  that affected built-in monitor is set at 125%, while my main HDMI one
  remains at 100%. I feel it may be scaling that's broken. This is on
  Wayland Gnome.

  Ubuntu 24.04.1 LTS

  ii  libdrm-amdgpu1:amd64                             2.4.120-2build1                            amd64        Userspace interface to amdgpu-specific kernel DRM services -- runtime
  ii  xserver-xorg-video-amdgpu                        23.0.0-1build1                             amd64        X.Org X server -- AMDGPU display driver

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: xserver-xorg-video-amdgpu 23.0.0-1build1
  ProcVersionSignature: Ubuntu 6.8.0-51.52-generic 6.8.12
  Uname: Linux 6.8.0-51-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.3
  Architecture: amd64
  BootLog: Error: [Errno 13] Brak dostępu: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Jan  8 16:17:36 2025
  DistUpgraded: 2024-07-16 20:03:59,808 DEBUG migrateToDeb822Sources()
  DistroCodename: noble
  DistroVariant: ubuntu
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev d1) (prog-if 00 [VGA controller])
     Subsystem: Lenovo Rembrandt [Radeon 680M] [17aa:50b7]
  InstallationDate: Installed on 2023-04-28 (621 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  MachineType: LENOVO 21CKCTO1WW
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-51-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash amdgpu.runpm=0 amdgpu.vm_update_mode=3 vt.handoff=7
  SourcePackage: xserver-xorg-video-amdgpu
  UpgradeStatus: Upgraded to noble on 2024-07-16 (176 days ago)
  dmi.bios.date: 10/28/2024
  dmi.bios.release: 1.56
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R23ET80W (1.56 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21CKCTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: ThinkPad
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.32
  dmi.modalias: dmi:bvnLENOVO:bvrR23ET80W(1.56):bd10/28/2024:br1.56:efr1.32:svnLENOVO:pn21CKCTO1WW:pvrThinkPadP16sGen1:rvnLENOVO:rn21CKCTO1WW:rvrThinkPad:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21CK_BU_Think_FM_ThinkPadP16sGen1:
  dmi.product.family: ThinkPad P16s Gen 1
  dmi.product.name: 21CKCTO1WW
  dmi.product.sku: LENOVO_MT_21CK_BU_Think_FM_ThinkPad P16s Gen 1
  dmi.product.version: ThinkPad P16s Gen 1
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.120-2build1
  version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.9-0ubuntu0.3
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-6.8/+bug/2093268/+subscriptions