From owner-freebsd-current@freebsd.org Sat Aug 24 20:55:29 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 1865CCAE9B for ; Sat, 24 Aug 2019 20:55:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 46G9Wz57tMz48l5 for ; Sat, 24 Aug 2019 20:55:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82c.google.com with SMTP id i4so14537618qtj.8 for ; Sat, 24 Aug 2019 13:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1bnyE5uslWLURUTsJBkzazNrder6YtbENf2tPXc/q8E=; b=epR4yqpbYWRXYYHk2tj3ZOjT1eGyj3pnD4v+pJ9tlLgojXGB65q0ug/Y5AAJlW4cem +kQ07vLewMEtGpAZNFaZNPo84PoVjfla6HI0SsszL53rWHR0CSsC+g0cVZnwleOdM065 LimtIwwKwS8hbaiupqkYbx9iA7XMV82atS7PrbEBBnSg2il4lFVnsIGgRJYn5XMIi+Ol PFCE9N2wZSNnF5jL6nW0KIutlT738WweuvRe6cMvnnV5lkn6bNUVALOJukIzICVq3eG+ fMnl4OAGuOSey7Edn8IBLEnW+WfttVuTVsgW18jXHCdSzdYaq4WF6BdkMpL5motP3QWz zxeg== 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=1bnyE5uslWLURUTsJBkzazNrder6YtbENf2tPXc/q8E=; b=Gtg3k5j1F85P3JjWF4QkLfUXqQ8PHJmw4ZkM2X39n8CNGmNSC/uv0ul93vpucyLnK2 rl7DgZcYPV/W/iIX7DvVnamnEwu921WkxA9d/CX4XvnzATRTGQRDJX0450+6ztl0th3F 6zqpd4EAqK3AlQZOMtxFdWkOGH8jNvKBGykLB5GMoLikcf+yzqlUocXpOILTsxQJJvz6 SxZA3whOvQ4p4mki2ZFDt9DscqQUqLe7vBVTIn+tOXfooWSBAW7xJnHScW+pd9HGef6f +0nJnblObttV2qAnIZ5xppurlOflkEquQtlq2wZp1vVbXD2tPVeXHzNBAxklb5kfUg/o A2/A== X-Gm-Message-State: APjAAAVt82bL7S1eFdWQ7px5XFBwaTLDjRFkN7Mg45/+alDt06Y1n01w JVMxFHAIca9yBDtQeOj54tfNzme5FTRPKUA0i3f0sQ== X-Google-Smtp-Source: APXvYqzHohH8v5cY8GBkwfm3NRKsbxz4w/iVeMpXMvpRo3Q9OsxU10k5vxlEAkVNUzukcpBEvSGW0abv4lAg7NcJFRw= X-Received: by 2002:aed:34a6:: with SMTP id x35mr10946904qtd.187.1566680126272; Sat, 24 Aug 2019 13:55:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sat, 24 Aug 2019 14:55:14 -0600 Message-ID: Subject: Re: "amdgpu and radeonkms are known to fail with EFI Boot" To: "Clay Daniels Jr." Cc: Greg V , "freebsd-current@freebsd.org" X-Rspamd-Queue-Id: 46G9Wz57tMz48l5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=epR4yqpb; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.90 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.91)[ip: (-9.28), ipnet: 2607:f8b0::/32(-2.87), asn: 15169(-2.34), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[c.2.8.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]; R_SPF_NA(0.00)[]; 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:55:29 -0000 On Sat, Aug 24, 2019 at 2:06 PM Clay Daniels Jr. wrote: > 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? > Two places: (1) /boot/loader.conf (2) where-ever the docs say there is a conflict with EFI :) Warner > 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. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >