public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: n952162 <n952162@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] AMDGPU: computer won't shut down [RESOLVED, kinda]
Date: Wed, 10 Jun 2020 23:18:36 +0200	[thread overview]
Message-ID: <00f82a26-d2e7-5404-e1b2-8ad50df904fb@web.de> (raw)
In-Reply-To: <b8c1d548-fd30-d7a8-dd26-06122ff65c30@web.de>

[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]

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  finally talks to my HDMI display.
>>> But, it still doesn't shut down.
>>>
>>> Is it a bug?  Is my system still not right?  Is there something I have
>>> to do yet?
>>>
>>>
>>
>> The following assignment is on the linux line when booting in grub:
>>
>> amdgpu.dc=1
>>
>> 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  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=1/, which
>     may work better than the older radeon kernel module. Likewise, if
>     DC needs to be disabled for any particular reason, option
>     /amdgpu.dc=0/can be used on the kernel command line.
>     /
>
> It's not clear to me if  DC serves a function in kernels >= 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=y
> CONFIG_DRM_AMD_DC_DCN1_0=y
> # 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=1 parameter gets passed to grub?
>
>

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

Note that even with amdgpu.dc=0, I still have (finally!) HDMI output to
my monitor.  There's a lot of talk on the internet about whether
amdgpu.dc=1 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.


[-- Attachment #2: Type: text/html, Size: 4257 bytes --]

  reply	other threads:[~2020-06-10 21:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 21:53 [gentoo-user] AMDGPU: computer won't shut down n952162
2020-06-09 22:20 ` Ashley Dixon
2020-06-10  6:06   ` n952162
2020-06-10 11:48 ` [gentoo-user] AMDGPU: computer won't shut down [UPDATE] n952162
2020-06-10 16:23   ` n952162
2020-06-10 21:18     ` n952162 [this message]
2020-06-10 22:39     ` Adam Carter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00f82a26-d2e7-5404-e1b2-8ad50df904fb@web.de \
    --to=n952162@web.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox