public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] AMDGPU: computer won't shut down [UPDATE]
  @ 2020-06-10 16:23 99%   ` n952162
  0 siblings, 0 replies; 1+ results
From: n952162 @ 2020-06-10 16:23 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-06-09 21:53     [gentoo-user] AMDGPU: computer won't shut down n952162
2020-06-10 11:48     ` [gentoo-user] AMDGPU: computer won't shut down [UPDATE] n952162
2020-06-10 16:23 99%   ` n952162

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox