From owner-freebsd-x11@freebsd.org Sat Nov 18 02:19:14 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1540DEA78D for ; Sat, 18 Nov 2017 02:19:14 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77E5F7EEFA; Sat, 18 Nov 2017 02:19:10 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id vAI2JCcb004665; Fri, 17 Nov 2017 18:19:18 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: freebsd-x11@FreeBSD.org, Alexey Dokuchaev , Andriy Gapon In-Reply-To: References: From: "Chris H" Subject: Re: nvidia driver Date: Fri, 17 Nov 2017 18:19:18 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 02:19:14 -0000 On Fri, 17 Nov 2017 12:39:15 +0200 Andriy Gapon wrote > I would like to clarify a couple of things about x11/nvidia-driver, because > they don't seem to be spelled out in the package documentation (pkg-message, > etc). > > First, it seems that the driver requires that syscons (device sc) is compiled > into the kernel. That's not *entirely* true. On a new install, I always need to set the following in loader.conf(5) : kern.vty=sc which seems to work. But don'even get me started about booting (u)efi. ;) > Even if vt is actually used sc still must be present, > because otherwise the module would fail to load: > > link_elf_obj: symbol sc_get_softc undefined > > Also, from my experiments it seems that switching between X and text consoles > works only with syscons. Also been my experience. > If vt is used then there is a garbage on the screen > after switching to a text console. > Is this true? For me, as well. > > Finally, it seems that syscons should not use any VESA ("graphic") modes. > On my system the screen becomes garbled and neither X nor text consoles are > usable if I enabled any VESA mode via device hints. > > It would be nice to describe these things in pkg-message. > > Thanks! > > -- > Andriy Gapon --Chris