La machine :
$ inxi -Mazy
Machine:
Type: Laptop System: Hewlett-Packard product: Compaq 15 Notebook PC
v: 0975100000405F00001620180 serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: Hewlett-Packard model: 21F7 v: 52.16 serial: <superuser required>
UEFI-[Legacy]: Insyde v: F.05 date: 01/03/2014
Des informations sur les éléments graphiques :
$ DRI_PRIME=1 inxi -Ga
Graphics:
Device-1: AMD Kabini [Radeon HD 8330] vendor: Hewlett-Packard driver: radeon
v: kernel alternate: amdgpu arch: GCN-2 code: Sea Islands
process: GF/TSMC 16-28nm built: 2013-17 ports: active: LVDS-1
empty: HDMI-A-1,VGA-1 bus-ID: 00:01.0 chip-ID: 1002:9832 class-ID: 0300
Device-2: Cheng Uei Precision Industry (Foxlink) Webcam type: USB
driver: uvcvideo bus-ID: 4-1:2 chip-ID: 05c8:036e class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver:
X: loaded: radeon unloaded: fbdev,modesetting,vesa dri: swrast gpu: radeon
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
s-diag: 414mm (16.31")
Monitor-1: LVDS-1 mapped: LVDS model: ChiMei InnoLux 0x15ab built: 2011
res: 1366x768 hz: 60 dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 398mm (15.7") ratio: 16:9 modes: max: 1366x768 min: 640x480
API: OpenGL v: 4.5 Mesa 22.3.6 renderer: llvmpipe (LLVM 15.0.6 256 bits)
direct-render: Yes
En suivant les instructions de la page AtiHowTo - Debian Wiki, j’ai lancé :
$ lspci -nn | grep VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8330] [1002:9832]
$ sudo apt-get install firmware-amd-graphics libgl1-mesa-dri libglx-mesa0
mesa-vulkan-drivers xserver-xorg-video-all
Ces packages étaient déjà installés.
Use of firmware/microcode used by the radeon DRM driver can be verified using the dmesg command. A mon avis, ici tout va bien :
$ sudo dmesg | grep -E 'drm|radeon' | grep -iE 'firmware|microcode'
[ 5.356751] [drm] Loading kabini Microcode
[ 5.356829] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/kabini_pfp.bin
[ 5.356890] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/kabini_me.bin
[ 5.356964] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/kabini_ce.bin
[ 5.357025] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/kabini_mec.bin
[ 5.357083] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/kabini_rlc.bin
[ 5.357136] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/kabini_sdma.bin
[ 5.358365] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/bonaire_uvd.bin
[ 5.358373] [drm] Found UVD firmware Version: 1.64 Family ID: 9
[ 5.358497] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/BONAIRE_vce.bin
[ 5.360826] [drm] Found VCE firmware/feedback version 40.2.2 / 15!
En revanche, j’ai trouvé cela dans les logs :
[68610.713195] ACPI: PM: Waking up from system sleep state S3
[68610.714276] ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmware. (20220331/exsystem-141)
[68610.714547] ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmware. (20220331/exsystem-141)
[68610.714813] ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmware. (20220331/exsystem-141)
[68610.715076] ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmware. (20220331/exsystem-141)
[68610.715339] ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmware. (20220331/exsystem-141)
[68610.715601] ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmware. (20220331/exsystem-141)
[68610.716348] ACPI: EC: interrupt unblocked
[68610.718889] ACPI: EC: event unblocked
[68610.719691] rtlwifi: rtlwifi: wireless switch is on
[68610.745956] [drm] PCIE GART of 2048M enabled (table at 0x000000000030E000).
[68610.746162] radeon 0000:00:01.0: WB enabled
[68610.746184] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000020000c00
[68610.746190] radeon 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000020000c04
[68610.746195] radeon 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000020000c08
[68610.746199] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c
[68610.746203] radeon 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000020000c10
[68610.747112] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000078d30
[68610.747466] radeon 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000020000c18
[68610.747471] radeon 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000020000c1c
[68610.748025] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[68610.748032] debugfs: File 'radeon_ring_cp1' in directory '0' already present!
[68610.748036] debugfs: File 'radeon_ring_cp2' in directory '0' already present!
[68610.748040] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
[68610.748044] debugfs: File 'radeon_ring_dma2' in directory '0' already present!
[68610.750028] [drm] ring test on 0 succeeded in 3 usecs
[68610.750102] [drm] ring test on 1 succeeded in 3 usecs
[68610.750119] [drm] ring test on 2 succeeded in 2 usecs
[68610.750352] [drm] ring test on 3 succeeded in 4 usecs
[68610.750362] [drm] ring test on 4 succeeded in 4 usecs
[68610.750365] debugfs: File 'radeon_ring_uvd' in directory '0' already present!
[68610.786129] [drm] ring test on 5 succeeded in 1 usecs
[68610.805995] [drm] UVD initialized successfully.
[68610.805998] debugfs: File 'radeon_ring_vce1' in directory '0' already present!
[68610.806004] debugfs: File 'radeon_ring_vce2' in directory '0' already present!
[68610.915219] [drm] ring test on 6 succeeded in 9 usecs
[68610.915233] [drm] ring test on 7 succeeded in 3 usecs
[68610.915235] [drm] VCE initialized successfully.
[68610.915615] [drm:cik_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[68610.915745] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-35).
[68610.915840] [drm:radeon_resume_kms [radeon]] *ERROR* ib ring test failed (-35).
Il semble que l’erreur soit indiquée dans les 1er lignes :
ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmware
Et je ne vois pas du tout comme résoudre cela !