From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Disable discrete graphics card (Nvidia) Date: Sat, 07 Apr 2018 23:51:40 +0200 Message-ID: <87d0zay9ar.fsf@gnu.org> References: <87muyjph8y.fsf@gmail.com> <87zi2fh8yy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4vkO-00020u-Ul for help-guix@gnu.org; Sat, 07 Apr 2018 17:51:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4vkO-0005n9-9B for help-guix@gnu.org; Sat, 07 Apr 2018 17:51:45 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:55258) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4vkO-0005mp-1Q for help-guix@gnu.org; Sat, 07 Apr 2018 17:51:44 -0400 In-Reply-To: <87zi2fh8yy.fsf@gmail.com> (Pierre Neidhardt's message of "Sat, 07 Apr 2018 11:08:29 +0530") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix Hello, Pierre Neidhardt skribis: > On my previous system (Void Linux), bbswitch did not seem to work > either, but I remember that I fixed the issue by _uninstalling_ > xf86-video-nouveau. Rather than thinking in terms of =E2=80=9Cuninstalling=E2=80=9D xf86-video-= nouveau, you have to think in terms of which drivers are loaded by the Xorg server. See =E2=80=98%default-xorg-modules=E2=80=99 in (gnu services xorg). What you could do is something along these lines (untested): (operating-system ;; =E2=80=A6 (services (modify-services %desktop-services (slim-service-type config =3D> (slim-configuration (inherit config) (startx (xorg-start-command #:modules my-xorg-modules))))))) where: (define my-xorg-modules ;; Everything but Nouveau. (delete xf86-video-nouveau %default-xorg-modules)) HTH! Ludo=E2=80=99.