Package: tlp
Version: 1.7.0-1
Severity: important
Tags: upstream
X-Debbugs-Cc: r...@debian.org

The default setting for AMD_ABM_LEVEL_ON_BAT (1) renders my laptop
unusable after resuming from suspend on battery. In particular, it
adjusts my screen brightness in an increasingly fast loop, where the
screen fades from zero to full brightenss over the span of a second and
a half, then restarts the fade from zero to full over 0.75 seconds, over
0.5 seconds, over 0.25 seconds, causing a flickering sensation, until
the screen is just stuck off. Suspending (by shutting the laptop lid)
and resuming restarts the loop. I've managed to narrow down the bug to
the value of AMD_ABM_LEVEL_ON_BAT: setting it to 0 disables the
behaviour; setting it to 1 re-enables it. My graphics card is:

21: PCI 700.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: aK5u.blIxxN6HSOC
  Parent ID: JZZT.OJiMJ5nIFjA
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:07:00.0
  SysFS BusID: 0000:07:00.0
  Hardware Class: graphics card
  Model: "ATI Cezanne"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x1638 "Cezanne"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x5094 
  Revision: 0xd1
  Driver: "amdgpu"
  Driver Modules: "amdgpu"
  Memory Range: 0x460000000-0x46fffffff (ro,non-prefetchable)
  Memory Range: 0x470000000-0x4701fffff (ro,non-prefetchable)
  I/O Ports: 0x1000-0x10ff (rw)
  Memory Range: 0xfd300000-0xfd37ffff (rw,non-prefetchable)
  IRQ: 66 (no events)
  Module Alias: "pci:v00001002d00001638sv000017AAsd00005094bc03sc00i00"
  Driver Info #0:
    Driver Status: amdgpu is active
    Driver Activation Cmd: "modprobe amdgpu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #25 (PCI bridge)

Primary display adapter: #21

Best wishes,
Ryan

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.6-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tlp depends on:
ii  hdparm    9.65+ds-1.1
ii  iw        6.9-1
ii  pciutils  1:3.13.0-1+b1
ii  rfkill    2.40.2-13
ii  usbutils  1:018-1

Versions of packages tlp recommends:
ii  ethtool  1:6.11-1
pn  tlp-rdw  <none>

Versions of packages tlp suggests:
ii  smartmontools  7.4-2
pn  tp-smapi-dkms  <none>

-- Configuration Files:
/etc/tlp.conf changed:
AMDGPU_ABM_LEVEL_ON_BAT=0
START_CHARGE_THRESH_BAT0=40
STOP_CHARGE_THRESH_BAT0=60


-- no debconf information

-- 
|)|/  Ryan Kavanagh  | 4E46 9519 ED67 7734 268F
|\|\  https://rak.ac | BD95 8F7B F8FC 4A11 C97A

Attachment: signature.asc
Description: PGP signature

Reply via email to