From owner-freebsd-questions@freebsd.org Wed Dec 6 04:32:26 2017 Return-Path: Delivered-To: freebsd-questions@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 1B6C2E8F7F0 for ; Wed, 6 Dec 2017 04:32:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 704352BA2 for ; Wed, 6 Dec 2017 04:32:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPA (Nemesis) id 0MQ6Al-1ePzw540DD-005LBp; Wed, 06 Dec 2017 05:26:55 +0100 Date: Wed, 6 Dec 2017 05:26:54 +0100 From: Polytropon To: Manish Jain Cc: "emilia@disroot.org" , "freebsd-questions@freebsd.org" Subject: Re: Question about nvidia driver Message-Id: <20171206052654.76f473b5.freebsd@edvax.de> In-Reply-To: References: <20171205165321.6ef2dabc.freebsd@edvax.de> <8fc5ff1eb5fbfe92d52611fc38884af8@disroot.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:dbZazz+64x3M+Vq4FlO3kUkdT5HV4OY+tRXwG+S3B47p5eAu+N/ 3Rs41ThC80lAEjm7eVupWAM5EgslWGsarFUhNL7CDwkwCIjbcZDKlYahs8g45y3CwXnQxBU xKRHbK1CLhXPNP9bFK5uYo5tt7MDKiFB/ZOhqaPKNzhTX68aYaLqvfo4+RNoYh1y/PtPEtq 5SV9HfMQ3LBePpIU9oNWQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:N3J/wlJRpfU=:ZzzOnSAAEgOdijDCXSPn9A 4Bd2WcUIALUwwmtTDrIv/uJ8LLZyK9ONgukToLe7vQYhM3EIu3+EdlJIzSgB8U+3a26j2JqTX njzfKSLHcbZOZrbIan/zkNsJuGg5hXQt8eljcMn6HbDEB+DJERrsAJobSkhli32PX/+kRthJ2 YhagKDh1pVuQ4N+oRqwryWQJjpiy6Q4lIZSuwLSQVbr4XmJD/rX+q+Xovnm23uHiRAzDESbZP QXsbfWoGmR1toZE2eezr1a+Ct5px+g2CfDMg30G87yv04ED7P5LyCnMQfawF8nxsbLRA/GxUG D238enXgdqzmvUA3kUI3h8Jj1g90kIvLV6SlMPl+QqA5StQ1DEfv9I4zwHMl5wghpydUSm15r B8P9UkVLX2Ed81FShhWOkXirDcBjQ76X5cc3pnSkncoTOdXDGyl8tDP0nmAvFU6J1KZcBGKBG iXTeC9+ozumduneD+YmngWn5dOE9BK2IWh/fZ8iFT/j/9MyM/NG0OANh3mHJGfIHF+LMGJfMa gbwWMm+6kxQEU5htocECyCqNMDaTYrgnxbM7/oHysF4KZBNR1Bi4ybjpJEyutHw+B4OwP66O1 xiHhCLhf4/+viEAQ+POOcurpr1+llc/Q1wAAHWK5Kr23lYz19OgfCnNbgYryFzFrhTnPJBsYp aZUnsh4K18UHY8bSevGqchCLaIyVJ4i7bgmNu3L7SeqVH8jle170l8fQ5m8FW/4K7UNPWzsTC gqblquNghl1OP82C3sHCY4XDBBqz+B98XqEnm6ijVVBkr/p5dOGIbby+GbU= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2017 04:32:26 -0000 On Tue, 5 Dec 2017 17:57:02 +0000, Manish Jain wrote: > On 12/05/17 22:12, emilia@disroot.org wrote: > > I forgot to mention that i run 11.1-RELEASE, vt schould be enabled per default, i added it to /boot/loader.conf just to be sure though. > > > > As for the nvidia-modeset the X11 server does not start if i have not loaded nvidia-modeset, regardless if i have loaded nvidia alone or not. > > I had nvidia-modeset_load="YES" in /boot/loader.conf i have prepended nvidia_load="YES but the symptoms remain the same (after a reboot) > > (i also have linux_load and linux64_load enabled) > > > > regards, > > emilia > > > > Hi Emilia, > > There is a problem on account of which you cannot kldload nvidia-modeset > via /boot/loader.conf. The sure way to kldload nvidia and nvidia-modeset > by putting this in /etc/rc.local : > > kldload nvidia > kldload nvidia-modeset This is more or less a workaround. There should be a setting called kld_list in /etc/rc.conf where you can specify kernel modules to be loaded after (!) the system has started booting into multi- user mode and successfully mounted disks. Adding kld_list="nvidia nvidia-modeset" should work, and additionally handle possible load errors in a convenient way. See /etc/defaults/rc.conf for details. Using /etc/rc.local is of course possible, but discouraged (as it is concerned a "legacy mechanism" - see "man rc.conf" for details); however, it usually works. ;-) > /boot/loader.conf must have this: > > kern.vty=vt On FreeBSD 11.1, vt should already be the default, but adding this setting will usually do no harm. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...