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 2FBF2138350 for ; Mon, 4 May 2020 13:33:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9975DE0999; Mon, 4 May 2020 13:33:06 +0000 (UTC) Received: from smarthost01b.mail.zen.net.uk (smarthost01b.mail.zen.net.uk [212.23.1.3]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A494E095C for ; Mon, 4 May 2020 13:33:05 +0000 (UTC) Received: from [82.69.80.10] (helo=peak.localnet) by smarthost01b.mail.zen.net.uk with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jVbDU-0004fh-Bf for gentoo-user@lists.gentoo.org; Mon, 04 May 2020 13:33:04 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] AMD Radeon R7 370 (Pitcairn) causing the bootup to hang Date: Mon, 04 May 2020 14:33:03 +0100 Message-ID: <7802481.NyiUUSuA9g@peak> In-Reply-To: <20200504002109.ougojgs2tnxg6j5l@ad-gentoo-main> References: <20200504002109.ougojgs2tnxg6j5l@ad-gentoo-main> 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01b-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 76dc50f2-3701-448c-9b9e-e7dc1bbdda8d X-Archives-Hash: cf6c393b7a701d0ff637573e2eb3a34e On Monday, 4 May 2020 01:21:09 BST Ashley Dixon wrote: > Any help with this would be appreciated. I'm moving away from NVIDIA due to > the requirement of proprietary drivers to get any decent performance, > however now it feels as though the AMD drivers, although open-source, > consist of too many bugs (such as hanging the boot-up process for some > reason or another) to be of any actual use. Whilst I'm aware that is > obviously not the case due to the popularity of their cards, I am > bewildered at how difficult this seems. I have a Radeon Pro WX 5100, which uses a Polaris chipset. I don't know whether it's Polaris10, ..11 or ..12 so I have all three installed. Together with linux-firmware 20200421 and a corresponding savedconfig file. I know it's not the same as yours, but there must be some similarities. Referring to the Wiki you cite, I don't have AMDGPU support for SI or CIK parts. DRM_AMDGPU_USERPTR=y. Under Display Engine Configuration, only the first option shown in the Wiki is present in my kernel config (5.4.28), but it has an option DSC support, which is Y. HSA kernel driver is Y, not M. I don't have any PCI sound device entries since my on-board chipset failed. It's important to set DRM_AMDGPU=y, not =m, so that the necessary drivers are all present at boot time. Or you could include them in an initramfs. Do you have CONFIG_FB_EFI=y and CONFIG_FB_SIMPLE=y? Your problem may be in handing over the console to the frame buffer - I think I remember having difficulty here as well. CONFIG_FB_RADEON is not set here. Contrary to the Wiki, I don't have Laptop Hybrid Graphics set, because this isn't a laptop and I don't want any of the switcheroo it would bring in. Then again, the Wiki may just want it for debugging. /etc/environment is empty here. I hope that helps, even if only to eliminate some possibilities. -- Regards, Peter.