From owner-freebsd-x11@freebsd.org Sat Nov 18 15:58:34 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 0F1B7DBE76D for ; Sat, 18 Nov 2017 15:58:34 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb3-smtp-cloud7.xs4all.net (lb3-smtp-cloud7.xs4all.net [194.109.24.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 523A7744AA; Sat, 18 Nov 2017 15:58:32 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud7.xs4all.net with ESMTP id G5UeeIsqMVNbYG5UfeL9qq; Sat, 18 Nov 2017 16:57:21 +0100 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id vAIFvJ3i073026 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 18 Nov 2017 16:57:20 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Sat, 18 Nov 2017 16:57:19 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: Andriy Gapon cc: freebsd-x11@FreeBSD.org, Alexey Dokuchaev Subject: Re: nvidia driver In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CMAE-Envelope: MS4wfDuo3PGIdHcdxYtYKA/g5VuNpzEn69SaP9wTAvTL8I6/pBKW2aUvoPPBoVei4VPU1jE4rUXAMSBRSz4B35a5Xjx5eYdb/kU5O5U8zdwm5JvMDogYDZYi yoB5LqwNQJ+TWfzNxyBCIPoguMsKr8aHk9nLcgrbVsTx0MjGmNK+YhPQA3QY/G/cAhprQGeTHzp2X7dWpECu2zHGru6DULWkw1g= 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 15:58:34 -0000 On Fri, 17 Nov 2017, the wise Andriy Gapon wrote: > First, it seems that the driver requires that syscons (device sc) is > compiled into the kernel. 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. If vt is used then there is a garbage > on the screen after switching to a text console. Is this true? Switching to console from X with Ctrl+Alt+Fx does work here with Nvidia driver and vt. But in /boot/loader.conf, hw.vga.textmode=1 needs to be set, otherwise the console text is garbled. Regards, Marco -- we will invent new lullabies, new songs, new acts of love, we will cry over things we used to laugh & our new wisdom will bring tears to eyes of gentle creatures from other planets who were afraid of us till then & in the end a summer with wild winds & new friends will be.