From owner-freebsd-current@freebsd.org Sat Oct 6 03:16:08 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7D5D10C23BB for ; Sat, 6 Oct 2018 03:16:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D9987D895 for ; Sat, 6 Oct 2018 03:16:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.190] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id ca537b43 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 5 Oct 2018 20:16:01 -0700 (PDT) Subject: Re: Radeon HD 7570M: drm: deep frustration with r339186 To: Graham Perrin , freebsd-current References: <93fcf295-1dae-12d4-5530-ef0c55bd8cc2@gmail.com> <0aa72278-c17b-0bd7-1f5b-960366890426@nomadlogic.org> <549ab380-60a8-c919-980a-b5b6a541e3c9@gmail.com> <38395f26-faa5-e56e-6a4c-3e72fbfc2a73@gmail.com> <88d6b0fc-7843-4cb0-dd05-99daf463794e@gmail.com> From: Pete Wright Message-ID: <3a204983-d06b-1a6c-dd48-911a8d6525dc@nomadlogic.org> Date: Fri, 5 Oct 2018 20:16:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Oct 2018 03:16:08 -0000 On 10/5/18 6:34 PM, Graham Perrin wrote: > On 23/09/2018 08:09, Graham Perrin wrote: > >> Re: Suspend, resume, UEFI, CSM, drm-stable-kmod and drm-next-kmod with Radeon HD 7570M >> … better without drm-next-kmod; and (as expected, given the package message) drm-stable-kmod has known problems with UEFI. > Now (with r339186) it seems that drm-next-kmod is the only usable option. > > However, I'm sorry to say: > > - it does feel regressive, compared to working without drm-next-kmod with earlier versions of -CURRENT. > > I can no longer find a way to reliably suspend (sleep) the notebook. hey Graham - I'm struggling with suspend/resume issues as well on my end with recent 12-ALPHA releases.  can you verify that you can suspend/resume without loading the radeonkms.ko (i believe that is what you are using for gfx)?  on my systems it's broken regardless if i load the drm modules. also, what was the last version of CURRENT you were able to suspend/resume with? > At the time of writing my part-working configuration is as outlined below. > > However – frustratingly – for a while, an hour or so ago, it seemed as if the same configuration was useless; after a point, the screen would go blank (grey) and things would progress no further e.g. no login manager (sddm); no response to Control-Alt-F2; no response to Control-Alt-Delete. The apparent unpredictability leading to a dead-end situation has created a sense of unease; now I'm genuinely afraid to test suspend :-( i believe johannes lundberg is working on a fix for this issue. i'm in the same uneasy situation as you.  the system i use for dogfooding is also my main work laptop, and not having suspend/resume and other instability like this is certainly not ideal.  one potential fix workaround we've found is to not load the module via "kld_list" but rather load it by hand via "kldload" manually.  i believe the bug is in relation to how the BIOS allocates memory - i'll let him fill in details :) for me at least it looks like system instability when loading drm-next kernels is separate from suspend/resume.  but its certainly possible my laptop is a snowflake :p hope this helps. -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA