From owner-freebsd-questions@freebsd.org Mon Jul 29 05:13:43 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6EC40BD76C for ; Mon, 29 Jul 2019 05:13:43 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55AA38E7CD for ; Mon, 29 Jul 2019 05:13:42 +0000 (UTC) (envelope-from kh@panix.com) Received: from snow.home (pool-72-74-69-77.bstnma.fios.verizon.net [72.74.69.77]) by mailbackend.panix.com (Postfix) with ESMTPSA id 45xnsK1p7yz1VdS for ; Mon, 29 Jul 2019 01:13:40 -0400 (EDT) Date: Mon, 29 Jul 2019 01:13:33 -0400 From: Kurt Hackenberg To: freebsd-questions@freebsd.org Subject: Hang on boot Message-ID: <20190729051333.GA1899@snow.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 55AA38E7CD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-4.25 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[panix.com]; RCVD_IN_DNSWL_MED(-0.20)[89.1.84.166.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mx.panix.com]; NEURAL_HAM_SHORT(-0.93)[-0.932,0]; IP_SCORE(-0.81)[ipnet: 166.84.0.0/16(-2.23), asn: 2033(-1.78), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[77.69.74.72.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 05:13:43 -0000 Hello people, So here's a question. I'm trying to run FreeBSD 12.0 on a new AMD desktop PC, and it's not working. I've read the relevant parts of the handbook and release notes, installed the package drm-kmod-g20190710, and added kld_list="/boot/modules/amdgpu.ko" to rc.conf. Booting ends up in a silent hang: screen goes dark, keyboard and mouse get no response, the system doesn't answer pings. The only way out is to pull the plug. Without loading that module, booting succeeds, but /dev/dri doesn't exist and the X server refuses to run. I've read the wiki page on graphics, and saw the statement that the AMD drivers conflict with the EFI frame buffer. That doesn't apply; I boot FreeBSD the "legacy" way, not through UEFI. Have I missed something? The computer is an HP Pavilion Desktop 590-p0025, with an AMD Ryzen 3 2200G processor and Radeon Vega 8 Graphics. The boot messages say it's CPU: AMD Ryzen 3 2200G with Radeon Vega Graphics (3493.52-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x810f10 Family=0x17 Model=0x11 Stepping=0 plus a long list of features. In /boot/modules, I see files whose names include amdgpu_vega10, vega12, vega20, and vegam, but not vega8. Could that be the problem? How do I debug this? Preferably without pulling the plug over and over.