From owner-freebsd-current@freebsd.org Wed Aug 22 16:50:06 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 E9492108EC4B for ; Wed, 22 Aug 2018 16:50:05 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::2]) (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 6F7CD7E2B6 for ; Wed, 22 Aug 2018 16:50:05 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.106] (cpe-76-175-75-27.socal.res.rr.com [76.175.75.27]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id f5743f3e TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 22 Aug 2018 09:50:04 -0700 (PDT) Subject: Re: Suspend, resume, UEFI, CSM, drm-stable-kmod and drm-next-kmod with Radeon HD 7570M To: Graham Perrin , freebsd-current References: <93fcf295-1dae-12d4-5530-ef0c55bd8cc2@gmail.com> From: Pete Wright Message-ID: <0aa72278-c17b-0bd7-1f5b-960366890426@nomadlogic.org> Date: Wed, 22 Aug 2018 09:50:01 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <93fcf295-1dae-12d4-5530-ef0c55bd8cc2@gmail.com> 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: Wed, 22 Aug 2018 16:50:06 -0000 On 8/22/18 2:11 AM, Graham Perrin wrote: > HP EliteBook 8570p with AMD 'Thames' Radeon HD 7570M. > > If neither drm-stable-kmod nor drm-next-kmod is used – commenting out > # kld_list="/boot/modules/radeonkms.ko" > in /etc/rc.conf > and if boot is pure UEFI, without CSM, > then the notebook can reliably resume from suspend. There's a > distinctive single amber pulse of the (normally blue) radio button > before suspend occurs. However: > > - without CSM, most of the startup routine is illegible, 'torn' > > – for example, I can't see what's typed when I boot to single user mode. > > ---- > > If either drm-stable-kmod or drm-next-kmod is used > and if boot is pure UEFI, > then the notebook can not suspend. No amber pulse of the radio button. > > With and without drm-next-kmod: > if boot is hybrid UEFI with CSM, > then suspend occurs, but resume fails. No beep, the computer restarts. > > debug.acpi.resume_beep=1 > in /boot/loader.conf for an audible beep. > > ---- > > Please: might graphics/drm-devel-kmod be better for either the tearing (without CSM) or for suspend? not sure this will address this specific issue - but have you tested setting this sysctl knob and seeing if that fixes your resume issues: hw.acpi.reset_video=1 -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA