From owner-freebsd-current@freebsd.org Sat Aug 24 20:06:04 2019 Return-Path: Delivered-To: freebsd-current@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 1F746C97BB for ; Sat, 24 Aug 2019 20:06:04 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46G8Qz2Jm2z45qG for ; Sat, 24 Aug 2019 20:06:03 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-ua1-x92a.google.com with SMTP id n13so4440889uap.9 for ; Sat, 24 Aug 2019 13:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PZ/0V1yzp2Y7EPMw5Yz5yIwUd04TCrsUDlokqn0JMKE=; b=jFwxMkT2Zsb64WK+qbcUgi/0rbtzKEtb+7TkjynaCINu+QEQrs02TUyAwYPdupC3iD bHE4h3CgwyuYKUi+tU2nQVaJuvinCwqlkyVl1IwZ2iLtUNxQyCY1o+EE1y4i3CztUyKH qr6UaHp23QdhlZXv2jCIVqStvv/CNlR4zA41AR7ibIVr1/lo3h2YsFtWQpwqC2iNdHIU IayQRvnWRVvlSTSJHFp6CG3cU2zB7Z61C40fWsV1fhK9hbbc89Gf2cI46cNPEKy5c72G M9eUEiFWfyWZzVXO4EFclN/wfncGd0w2T7+RFq6OkMsjcKm5bGwfkw2pvB23qXums1oB 1wAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PZ/0V1yzp2Y7EPMw5Yz5yIwUd04TCrsUDlokqn0JMKE=; b=DqvCFk2nQItDNqqkO8WEsfe3go5fftUs9ms4+G/91BucO/JJ1TU8V4I63k1JNkpwR6 rZTyUr03sIM48b1ETKAp3RS4YlPYyyGUk8mMWI+YVLz8G9Thyz4shy3EahRekPx0AsjK XPiu8hI68ksHpu7kVCsk6m1Xag5SK+LiJNEiWiwth/GCH5cWSm1CaS+9dkVrH5W3OgVx zjlOXZFaprHBkPodyilpRCwiRxtqJzWuc53Rew/PDHOyoHPrIKftO14u0CGLOZri3lJu 1CSVj1PRaYwNUUTbXWT02x+DGDBxxWrtO8tMahthw1bUGTVu6RZYCEt9gW5R0jRrkkC1 S29w== X-Gm-Message-State: APjAAAVO8t4Yv0OCbSYNXjaKCo7ApjkE7hUP6tRXVDuQxMH721+NGQdq DNafT+rgHuDmXEtFzXpZ/z6S7eV/kOa94FBU9w== X-Google-Smtp-Source: APXvYqz9YJvGV5XXP7j36lB/5LW8kuYmCfqbA0ryvp+pBzaKVzPSSHg4xQaNz3dUNGm6DuO79H1+/qFvDRKESS+haqg= X-Received: by 2002:a9f:326f:: with SMTP id y44mr6000601uad.50.1566677161895; Sat, 24 Aug 2019 13:06:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Clay Daniels Jr." Date: Sat, 24 Aug 2019 15:05:50 -0500 Message-ID: Subject: Re: "amdgpu and radeonkms are known to fail with EFI Boot" To: Greg V Cc: "freebsd-current@freebsd.org" X-Rspamd-Queue-Id: 46G8Qz2Jm2z45qG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jFwxMkT2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::92a as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.76), ipnet: 2607:f8b0::/32(-2.87), asn: 15169(-2.34), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[a.2.9.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2019 20:06:04 -0000 Greg, thanks for the wonderful suggestion. Where should I put this line: " hw.syscons.disable=1 " I tried it in /etc/rc.conf and it booted into the console as usual with repeated messages: /etc/rc.conf hw.syscons.disable=1: not found I could login to the console as usual, but trying to run startx (as user) still fails. Maybe there is some boot config file this goes in? Thanks Clay On Sat, Aug 24, 2019 at 3:29 AM Greg V wrote: > On August 24, 2019 10:15:22 AM GMT+03:00, "Clay Daniels Jr." < > clay.daniels.jr@gmail.com> wrote: > >From the kmod ports, dated 20190814 > > > > > >/usr/ports/graphics/drm-current-kmod/pkg-descr > > > >"amdgpu and radeonkms are known to fail with EFI Boot" > > > > > >/usr/ports/graphics/drm-current-kmod/pkg-message > > > >"some positive reports if EFI is not enabled" > > > > > >Any practical suggestions on getting drm-current-kmod to work on an AMD > >machine, including how to NOT enable EFI? I did not see that option on > >the > >install menu. > > "Not enabling" EFI means booting the installer in legacy more (CSM). > Installer images are universal, so you'd have to instruct the firmware to > ignore the EFI loader on there. Deleting the EFI partition might work I > guess. rEFInd can force CSM boot a USB drive. > > I do not recommend this. Instead, there is a workaround for the EFI > framebuffer conflict. If you have it (i.e. amdgpu fails to load, or hangs > when starting GUI), boot with hw.syscons.disable=1. You won't see anything > on the screen after the boot loader and before loading the driver :) but > that's not a big deal when the driver autoloads successfully. >