From owner-freebsd-current@freebsd.org Wed Sep 12 00:54:53 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 5A54310A440D for ; Wed, 12 Sep 2018 00:54:53 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D06549245E for ; Wed, 12 Sep 2018 00:54:52 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id j192-v6so476292wmj.1 for ; Tue, 11 Sep 2018 17:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=w1vupS0mKA+Wpanbx6WL+7ricsXxvPhbeQwTFl4hyxQ=; b=hpxlB6gSAPB/hsAzHkoa5kcH1mu+IsA9GDSgxdP7iYTHXbc+9s6D2sPMMNT8v+ZR7m GSdbUO+2ZjF6DqSUQ+kHkTaqGaTFQzNTelTPwxi3dnW4O2ttiQGge3itPEvEc3LrxhuX PuLoyqC68/TSPuAJM9++YJMVAYN43kKt1430R9eEbMe0sR/RqPrFDm+weOHpLJSmx5US dAVt7rv8Z1EjaUa84iE0y/+9EhU4CAkrozkXGyVjn23bBHyFWKyQ6QDGWSOlPritU7V1 ct/5FLk14K0tI9ntD1k0Z1jmoD8yvQo06Nz3vDcMCJHagVyGHyHmnSpxLOc5/TQ8KmO/ kX5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=w1vupS0mKA+Wpanbx6WL+7ricsXxvPhbeQwTFl4hyxQ=; b=RXRBYdJOrCClLRJ7BUiGujx9C78n6s/nSj+uYrJbZ7U81kRl9JxBD/01ePDxjVDjYH wyFUQll7YnaBujR8qfX7HjuES7pfoc76oz6UAflyGuVIwEUFNG3nmYuXWEsrtJGFn2rU GulBOMDm3n84A7GrlzeFksgMmN4Nn+IpTUVC5SJ5O98WsHFgRGS1sk58MSoVXNXeynYV azii/yIar+wUXcyGUjBBMU0eH1V6Oxa9v3NJxG2FVoqwYDzyt7DkvDAZfQutmBc3l510 V55nofobdfL/0RZwz0oPVrhqfZ8NwA5FCbJHkFwExirGhsLtVmKSpV9yl75mcPRu5JHs XcwA== X-Gm-Message-State: APzg51AmI6+6lykH6bkkkjQoleb7XGVmpulmJGNvzcPzlIVf0jZGbQzz 6AeHR8llw5y4Rl97iqnNr67t6NClML4= X-Google-Smtp-Source: ANB0VdaBeuv7tDo3FEX+8YkQbTMJHcM+1DQSrzkJvasmbtZv2vBqT0UEKJLNv3kr+KPVaEb1cLbgEA== X-Received: by 2002:a1c:3a92:: with SMTP id h140-v6mr3048351wma.41.1536713690975; Tue, 11 Sep 2018 17:54:50 -0700 (PDT) Received: from [192.168.1.231] (79-66-139-63.dynamic.dsl.as9105.com. [79.66.139.63]) by smtp.gmail.com with ESMTPSA id j133-v6sm4141241wmd.12.2018.09.11.17.54.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Sep 2018 17:54:49 -0700 (PDT) Subject: Re: Suspend, resume, UEFI, CSM, drm-stable-kmod and drm-next-kmod with Radeon HD 7570M To: Pete Wright , freebsd-current References: <93fcf295-1dae-12d4-5530-ef0c55bd8cc2@gmail.com> <0aa72278-c17b-0bd7-1f5b-960366890426@nomadlogic.org> From: Graham Perrin Message-ID: <64b8ed0a-0a90-5b70-3288-81a091dde0fd@gmail.com> Date: Wed, 12 Sep 2018 01:54:48 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <0aa72278-c17b-0bd7-1f5b-960366890426@nomadlogic.org> Content-Type: text/plain; charset=utf-8 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, 12 Sep 2018 00:54:53 -0000 On 22/08/2018 17:50, Pete Wright wrote: > > On 8/22/18 2:11 AM, Graham Perrin wrote: >> HP EliteBook 8570p with AMD 'Thames' Radeon HD 7570M. … >> 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 > Thanks again. Briefly: - with CSM - with hw.acpi.reset_video=1 - without using /boot/modules/radeonkms.ko - FreeBSD 12.0-ALPHA2 #2 r337986: Fri Aug 17 22:01:23 BST 2018 Result: - endless beep when resume is attempted. A short press on the power button (around two seconds, not long enough to stop the computer) temporarily silences the beep. ---- there's the additional advice from Johannes Lundberg. Updating the OS etc. now, I'll share test results in due course. * *