On 2020-06-10 00:20, Ashley Dixon wrote: > On Tue, Jun 09, 2020 at 11:53:55PM +0200, n952162 wrote: >> I posted about this problem perhaps a year ago - when running with >> AMDGPU, my system won't turn off, I have to hold the power button down >> for a long time, forcing it down. >> >> Thanks to all the great help here, I finally got my system properly >> updated and AMDGPU working, and it  finally talks to my HDMI display. >> But, it still doesn't shut down. > I assume you are using the AMDGPU drivers [1], but are you also using AMDGPU-PRO > (closed-source accelerator) [2] ? AMDGPU yes AMDGPU-PRO no. > Also, are you loading the firmware directly > into the kernel, or as kernel modules ? # # Firmware loader # CONFIG_FW_LOADER=y CONFIG_EXTRA_FIRMWARE="amdgpu/stoney_ce.bin amdgpu/stoney_me.bin amdgpu/stoney_mec.bin amdgpu/stoney_pfp.bin amdgpu/stoney_rlc.bin amdgpu/stoney_sdma.bin amdgpu/stoney_uvd.bin amdgpu/stoney_vce.bin" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" # CONFIG_FW_LOADER_USER_HELPER is not set CONFIG_WANT_DEV_COREDUMP=y CONFIG_ALLOW_DEV_COREDUMP=y CONFIG_DEV_COREDUMP=y # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set # CONFIG_TEST_ASYNC_DRIVER_PROBE is not set CONFIG_GENERIC_CPU_AUTOPROBE=y CONFIG_GENERIC_CPU_VULNERABILITIES=y CONFIG_REGMAP=y CONFIG_REGMAP_I2C=m CONFIG_DMA_SHARED_BUFFER=y # CONFIG_DMA_FENCE_TRACE is not set > > Which GPU series/firmware do you have installed [3] ? ----------------------------------------------------------------------     00~>lspci | grep -i vga     00:01.0 VGA compatible controller: Advanced Micro Devices, Inc.  [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da) ----------------------------------------------------------------------         Volcanic Islands         CARRIZO, FIJI, STONEY, TONGA, TOPAZ, WANI         GCN3.x         R9 285, R9 380, R9 380X, R9 Fury, R9 Nano, R9 Fury X, Pro Duo         4.5         3.2         amdgpu radeonsi ----------------------------------------------------------------------     drwxr-xr-x 2 root root 4096 Dec 15 16:50 /var/db/pkg/sys-kernel/linux-firmware-20191022 ----------------------------------------------------------------------     00~>equery uses sys-kernel/linux-firmware-20191022     [ Legend : U - final flag setting for installation]     [        : I - package is installed with flag     ]     [ Colors : set, unset                             ]      * Found these USE flags for sys-kernel/linux-firmware-20191022:      U I      - - initramfs       : Create and install initramfs for early microcode loading in /boot (only AMD for now)      + + redistributable : Install also non-free (but redistributable) firmware files      - - savedconfig     : Allows individual selection of firmware files ---------------------------------------------------------------------- > > [1] https://wiki.gentoo.org/wiki/AMDGPU > [2] https://wiki.gentoo.org/wiki/AMDGPU-PRO > [3] https://wiki.gentoo.org/wiki/AMDGPU#Incorporating_firmware (see the table) >