From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57DB61382C5 for ; Wed, 10 Jun 2020 21:18:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E869E097B; Wed, 10 Jun 2020 21:18:28 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA806E08C8 for ; Wed, 10 Jun 2020 21:18:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1591823890; bh=6wzMJZTsD5e/6SJIgntZx1a7ffuq97tqJ7aO7DdxYr0=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=mbP7yrRjI4lsX9Gflt4s2+eWNN0eDpo1V8uRVG0aGVt4sP9fMTzSCZeMwqPFjXnB+ acyNYmWUgEZ8pUfsYENhtFmummkK+Mbv+8IVw0EJlBVWpd5gioZku5edRLFphop4H9 UAcKpCXQT5BOn5pCjcBxlTtk5Ipj69zBOEIdfnQg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.178.101] ([92.195.141.193]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LdVvS-1j1qwi1c8Y-00ilwP for ; Wed, 10 Jun 2020 23:18:10 +0200 Subject: Re: [gentoo-user] AMDGPU: computer won't shut down [RESOLVED, kinda] To: gentoo-user@lists.gentoo.org References: <94a9e58d-90c1-14aa-891d-4eb1cfe6dc8d@web.de> <0ac164c2-e5c1-2ca8-6e77-fa8d2622da7c@web.de> From: n952162 Message-ID: <00f82a26-d2e7-5404-e1b2-8ad50df904fb@web.de> Date: Wed, 10 Jun 2020 23:18:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------23916B2928274992082FF0CD" Content-Language: en-US X-Provags-ID: V03:K1:VKeaQhhY9BNmbSK3pRPgloNk+Zdr0liJh4F65867JxNSM5llpWY Lj6O6+1Ve87XCj5hQoViE+Ly9ItMEpLV74uVtiYjSa+LNdmYq3fybMVYluW26Cpz1y+PbGC mA8x5Dg3qO8WCNUUrRFloLNJqNIF1fgHdRh8qTxboi+RQGKnN7gJGzI2by1NFzWVibxunQx JHsjfb3tjKbpDkQsfQ39Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Vg8Ns78j8OY=:Hx14hg9aficDuQT1DbSxAn p/06njdE1jnQa7mg+vX2eREtkP7pUbQJvnb0Gild9srg1Y8qpTIejrEiOhCovnjT9EJaciWgH E630TDvfUzJHZOqtoVg5JyTnTGVTSufTVFcYVU/SgwL8bkYWOZaqkpnm19qydqoAv4UnebClN MV3D+0SD22daq++b2SkXsjVLJPFvJG4TOe8//FiekKxLV/lCQgHrCjSVP4LkjiY18mBj3sSKU 5ydVr98LFcYczZLhXBSw5uBBWfZZC/XRMZJR1NBlEfDeyqPdGcmed14v2XlX0RFje60y9szLc FAIlI1w2GtzDnbivV1UHuYbNJT1hZV3zqK2LMugwdH6ynDELuy7T4l4xiFvZo2ULnDBGfzH6i 8P14ZOZSNRYCyvZFeR/hucbT18RrTWMOml/vzuNePs8GRUDE5rMFfiZCu+OE3flDnhr6dHEg7 /yC+TjwpR4d8jVP6KdOJFMeutGJ9rKojxUVsY/THjHT/kq/898D0eTA++B1Sh7kpk5EubAW8L ZIm1Q+BUCdAmmUWzMkQF+y1fAA42mBPlX33ZBkDQ8irfdSahavSk5HQ62WXen0I3Wchw/FJV8 duQqIGdbocDOj019OclT4VfLdWGzwhNLbP6hJjwh9+3y8GvD0xY1+5Moj4EZeFQpcHgYfMD8m xz2Wxej2xwqm5BB/vmgPhLjHCCO80VEn84AODyI501uRLfh1kzEilX8PbFP9LiHwFikg2Sqp8 8kXv3EQbjO9HgFM2pKEeNAN2qpv2SfM+of3Y+JB4AKwyjlJ/AgQtS2lPifMqSIgKszsAUkncY +JVz9aXxleWzXmAVTRSLG4tMej15W0wr6/RLEITOB2qNcg/rHFl1knJIZwuceqcVzsvo535l0 YdJsZu1aZe1ZX41iu20F2Nh5kA0HqOUIpX/w47zo0Uk2CHHwsC/aIKL7mp46B3l3kJLsJO78V SNNYTQlnFkfa6gozh4Lb4sauThrHQCv/H0nKx/sWmi0E8mWcKBg64fuf0cdBQu9L320oyCHsb kQhtmSqtmnDb43uEO89WK0oLaxWUbWbHuwa9LglbXU7UZZbD5p9omFYe+snqN9U6JriMqOvXx SW9NAJkRgdDx77BKo8Yut2aRLJK0ZYdw/r2H37Sxjk5wsw46MV+ZJofg0nQUO6n+nCalP77n9 J9HhNnUDxKCV5TMxcZssMo6Mz78liZHBRcQRTUabMcfVidA8rKxAdIdWZXzWUAjsROAF0= X-Archives-Salt: 478ba6c5-6744-40fb-b3a0-361cfe22506a X-Archives-Hash: ce260f5277735bd13df5e92e3c15e86d This is a multi-part message in MIME format. --------------23916B2928274992082FF0CD Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2020-06-10 18:23, n952162 wrote: > On 2020-06-10 13:48, n952162 wrote: >> On 2020-06-09 23:53, 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. >>> >>> At that time, various people commented. but AMDGPU didn't work at all >>> for me in the end, didn't talk to my HDMI display. >>> >>> I gave up on it. >>> >>> Thanks to all the great help here, I finally got my system properly >>> updated and AMDGPU working, and it=C2=A0 finally talks to my HDMI disp= lay. >>> But, it still doesn't shut down. >>> >>> Is it a bug?=C2=A0 Is my system still not right?=C2=A0 Is there someth= ing I have >>> to do yet? >>> >>> >> >> The following assignment is on the linux line when booting in grub: >> >> amdgpu.dc=3D1 >> >> When I make that 0, the system shuts down properly when the power butto= n >> is pressed. >> >> When it's 1, the system hangs after blank screen=C2=A0 when that button= is >> pressed. >> >> >> > > I found this in the AMDGPU webpage: > > /AMDGPU with Display Core was first implemented for VEGA10 > (GCN5.0) and RAVEN (with DCN 1.0) GPUs/APUs. Kernels before > version 4.17 have (experimental) DC support for older cards > (GCN1.1 and newer) via command line option /amdgpu.dc=3D1/, which > may work better than the older radeon kernel module. Likewise, if > DC needs to be disabled for any particular reason, option > /amdgpu.dc=3D0/can be used on the kernel command line. > / > > It's not clear to me if=C2=A0 DC serves a function in kernels >=3D 4.17 = or > why it's installed as default by grub ... > > I don't see anything similar in the new kernel parameters I posted to > this topic, but I do find this in my .config file: > > # > # Display Engine Configuration > # > CONFIG_DRM_AMD_DC=3Dy > CONFIG_DRM_AMD_DC_DCN1_0=3Dy > # CONFIG_DEBUG_KERNEL_DC is not set > > Was this left over from an earlier configuration and not properly > cleaned out, or is it necessary, for some reason? > > Can someone explain how the amdgpu.dc=3D1 parameter gets passed to grub? > > Okay, I found out how amdgpu.dc=3D1 gets into grub - via /etc/default/grub.=C2=A0 I'm not sure who put it there - was it the kernel make process? Note that even with amdgpu.dc=3D0, I still have (finally!) HDMI output to my monitor.=C2=A0 There's a lot of talk on the internet about whether amdgpu.dc=3D1 is good or bad, but nobody seems to know or explain what it's about, or the role of Display Core WRT to AMDGPU. The only important thing unresolved for me now is whether I still need those DRM_AMD_DC kernel variables, above. --------------23916B2928274992082FF0CD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 2020-06-10 18:23, n952162 wrote:
On 2020-06-10 13:48, n952162 wrote:
On 2020-06-09 23:53, 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.

At that time, various people commented. but AMDGPU didn't work at all
for me in the end, didn't talk to my HDMI display.

I gave up on it.

Thanks to all the great help here, I finally got my system properly
updated and AMDGPU working, and it=C2=A0 finally talks to my HDM= I display.
But, it still doesn't shut down.

Is it a bug?=C2=A0 Is my system still not right?=C2=A0 Is there something I have
to do yet?



The following assignment is on the linux line when booting in grub:

amdgpu.dc=3D1

When I make that 0, the system shuts down properly when the power button
is pressed.

When it's 1, the system hangs after blank screen=C2=A0 when that button is
pressed.




I found this in the AMDGPU webpage:

AMDGPU with Display Core was first implemented for VEGA10 (GCN5.0) and RAVEN (with DCN 1.0) GPUs/APUs. Kernels before version 4.17 have (experimental) DC support for older cards (GCN1.1 and newer) via command line option amdgpu.dc= =3D1, which may work better than the older radeon kernel module. Likewise, if DC needs to be disabled for any particular reason, option amdgpu.dc=3D0 can be used on the kernel command line.

It's not clear to me if=C2=A0 DC serves a function in kernels >= ;=3D 4.17 or why it's installed as default by grub ...

I don't see anything similar in the new kernel parameters I posted to this topic, but I do find this in my .config file:

#
# Display Engine Configuration
#
CONFIG_DRM_AMD_DC=3Dy
CONFIG_DRM_AMD_DC_DCN1_0=3Dy
# CONFIG_DEBUG_KERNEL_DC is not set

Was this left over from an earlier configuration and not properly cleaned out, or is it necessary, for some reason?

Can someone explain how the amdgpu.dc=3D1 parameter gets passed to grub?



Okay, I found out how amdgpu.dc=3D1 gets into grub - via /etc/default/grub.=C2=A0 I'm not sure who put it there - was it the kernel make process?

Note that even with amdgpu.dc=3D0, I still have (finally!) HDMI output to my monitor.=C2=A0 There's a lot of talk on the internet ab= out whether amdgpu.dc=3D1 is good or bad, but nobody seems to know or explain what it's about, or the role of Display Core WRT to AMDGPU.

The only important thing unresolved for me now is whether I still need those DRM_AMD_DC kernel variables, above.

--------------23916B2928274992082FF0CD--