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 [UPDATE]
Date: Wed, 10 Jun 2020 18:23:14 +0200	[thread overview]
Message-ID: <b8c1d548-fd30-d7a8-dd26-06122ff65c30@web.de> (raw)
In-Reply-To: <0ac164c2-e5c1-2ca8-6e77-fa8d2622da7c@web.de>

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

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?

Thanks in advance.
//


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

  reply	other threads:[~2020-06-10 16:28 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 [this message]
2020-06-10 21:18     ` [gentoo-user] AMDGPU: computer won't shut down [RESOLVED, kinda] n952162
2020-06-10 22:39     ` [gentoo-user] AMDGPU: computer won't shut down [UPDATE] 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=b8c1d548-fd30-d7a8-dd26-06122ff65c30@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