Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] AMDGPU: computer won't shut down
Date: Wed, 10 Jun 2020 06:11:37
Message-Id: 122e538d-e179-d482-ff40-28a669288e7a@web.de
In Reply to: Re: [gentoo-user] AMDGPU: computer won't shut down by Ashley Dixon
1 On 2020-06-10 00:20, Ashley Dixon wrote:
2 > On Tue, Jun 09, 2020 at 11:53:55PM +0200, n952162 wrote:
3 >> I posted about this problem perhaps a year ago - when running with
4 >> AMDGPU, my system won't turn off, I have to hold the power button down
5 >> for a long time, forcing it down.
6 >>
7 >> Thanks to all the great help here, I finally got my system properly
8 >> updated and AMDGPU working, and it  finally talks to my HDMI display.
9 >> But, it still doesn't shut down.
10 > I assume you are using the AMDGPU drivers [1], but are you also using AMDGPU-PRO
11 > (closed-source accelerator) [2] ?
12
13
14 AMDGPU yes
15
16 AMDGPU-PRO no.
17
18 > Also, are you loading the firmware directly
19 > into the kernel, or as kernel modules ?
20
21 #
22 # Firmware loader
23 #
24 CONFIG_FW_LOADER=y
25 CONFIG_EXTRA_FIRMWARE="amdgpu/stoney_ce.bin amdgpu/stoney_me.bin
26 amdgpu/stoney_mec.bin amdgpu/stoney_pfp.bin amdgpu/stoney_rlc.bin
27 amdgpu/stoney_sdma.bin amdgpu/stoney_uvd.bin amdgpu/stoney_vce.bin"
28 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
29 # CONFIG_FW_LOADER_USER_HELPER is not set
30 CONFIG_WANT_DEV_COREDUMP=y
31 CONFIG_ALLOW_DEV_COREDUMP=y
32 CONFIG_DEV_COREDUMP=y
33 # CONFIG_DEBUG_DRIVER is not set
34 # CONFIG_DEBUG_DEVRES is not set
35 # CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
36 # CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
37 CONFIG_GENERIC_CPU_AUTOPROBE=y
38 CONFIG_GENERIC_CPU_VULNERABILITIES=y
39 CONFIG_REGMAP=y
40 CONFIG_REGMAP_I2C=m
41 CONFIG_DMA_SHARED_BUFFER=y
42 # CONFIG_DMA_FENCE_TRACE is not set
43
44
45 >
46 > Which GPU series/firmware do you have installed [3] ?
47
48 ----------------------------------------------------------------------
49
50     00~>lspci | grep -i vga
51     00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. 
52 [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da)
53
54 ----------------------------------------------------------------------
55
56         Volcanic Islands
57         CARRIZO, FIJI, STONEY, TONGA, TOPAZ, WANI
58         GCN3.x
59         R9 285, R9 380, R9 380X, R9 Fury, R9 Nano, R9 Fury X, Pro Duo
60         4.5
61         3.2
62         amdgpu radeonsi
63
64 ----------------------------------------------------------------------
65
66     drwxr-xr-x 2 root root 4096 Dec 15 16:50
67 /var/db/pkg/sys-kernel/linux-firmware-20191022
68
69 ----------------------------------------------------------------------
70
71     00~>equery uses sys-kernel/linux-firmware-20191022
72     [ Legend : U - final flag setting for installation]
73     [        : I - package is installed with flag     ]
74     [ Colors : set, unset                             ]
75      * Found these USE flags for sys-kernel/linux-firmware-20191022:
76      U I
77      - - initramfs       : Create and install initramfs for early
78 microcode loading in /boot (only AMD for now)
79      + + redistributable : Install also non-free (but redistributable)
80 firmware files
81      - - savedconfig     : Allows individual selection of firmware files
82
83 ----------------------------------------------------------------------
84
85
86 >
87 > [1] https://wiki.gentoo.org/wiki/AMDGPU
88 > [2] https://wiki.gentoo.org/wiki/AMDGPU-PRO
89 > [3] https://wiki.gentoo.org/wiki/AMDGPU#Incorporating_firmware (see the table)
90 >