From owner-freebsd-stable@FreeBSD.ORG Wed Oct 8 15:47:02 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF583611; Wed, 8 Oct 2014 15:47:02 +0000 (UTC) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2351814D; Wed, 8 Oct 2014 15:47:01 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id a1so11798547wgh.35 for ; Wed, 08 Oct 2014 08:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; bh=U9ah9rfY8yY9qXWT8UM58upjEKEP5/SGjx5W4F19Kpo=; b=UUjdAxHwk+6K0oayTU6vsnHFSYCDPP6kQVRLPAHJsYp/Alb9zXqa/8fknIRWkIqE/P ahgm+O9MmARLVJFxlCgmwokexGmtE29YID9xXGh7DGLmiaUXp9mAKBGiHRB4+N8y6fdU eG5MZz729Vgm9UF/IkbUccpiBlVDfOnvv/of2gxvlVpxJJi1VY4gHGJUa4+5JpBecL0H r7yxQejMfK8/Qc+YtNVpMtNAu4MIbh1liaW72A5A3d2UwewWuH+JQLc/TsdxRJ6nsW7j 2AGUdTkSH2ZrCSvBnokphCQ6ihjbm+mBA94kUax4N8aC/OG73UOPtWS82m7cplX9Nqbs 3l1w== X-Received: by 10.180.73.173 with SMTP id m13mr34623720wiv.18.1412783220095; Wed, 08 Oct 2014 08:47:00 -0700 (PDT) Received: from localhost (ns314608.ip-188-165-240.eu. [188.165.240.102]) by mx.google.com with ESMTPSA id ma8sm468914wjb.46.2014.10.08.08.46.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Oct 2014 08:46:59 -0700 (PDT) From: marekrud@gmail.com To: John Baldwin , freebsd-stable@freebsd.org Subject: Re: vt does not resume properly after zzz In-Reply-To: <2384548.yqFzOG8bcA@ralph.baldwin.cx> References: <864mvqfabt.fsf@gmail.com> <86vbo2tcrn.fsf@gmail.com> <2384548.yqFzOG8bcA@ralph.baldwin.cx> Date: Wed, 08 Oct 2014 17:47:14 +0200 Message-ID: <86d2a21s3h.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Cc: Kevin Oberman X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 15:47:02 -0000 John Baldwin writes: > On Saturday, October 04, 2014 04:24:11 PM Kevin Oberman wrote: >> On Thu, Oct 2, 2014 at 1:52 PM, wrote: >> > - DELL M1330 with Intel graphics card (Xorg used to work with intel >> > >> > driver >> >> All of the information I can find says that this unit has nVidia graphics, >> but Intel may be a low-priced option, as well. Again, /var/log/Xorg.0.log >> should have this information as should "pciconf -lv | grep -A3 vga". This >> laptop goes back to 2007, so it should be using the old UMS Intel graphics. >> It should not be using VESA, but if it is, that might point out a common >> thread. >> >> I don't know the details and the actual problem was never identified, but I >> know that some systems needed to have a kernel built with "NOOPTION VESA" >> to get it to resume. I had this problem on my Lenovo T520 (which I am using >> to send this reply). > > That doesn't apply to his system. I have an older HP netbook (i386) that > resumes fine in text mode with syscons, but does not resume in text mode in > vt(4). (This is a case where the VESA bits actually help rather than hurt.) > However, if I kldload the kms driver ('kldload i915kms') when using vt(4), > then resume works fine (and it also works fine in X). > > Marek, > > Can you try 'kldload i915kms' before you suspend and see if that fixes your > issue? 1. On the laptop with Intel graphics card, when i915kms is loaded, vt resumes without problems. On the laptop with the ATI graphics card (Radeon HD 8240), I use vesa driver at the moment, and it does not resume the screen. 2. I wanted to make sure, that the problem has nothing to do with my local system settings, so I dd'ed 10.1-RC1 image onto memory stick, added `kern.vty=vt' to /boot/loader.conf and booted both laptops with it. After they started, I suspended them, tried to resume and there was the same problem: blank screen, but system seemed to be running. (syscons resumed properly with the same method. There were problems with the USB stick and root partition, but I think that's normal and irrelevant.) Thank you! Marek