From owner-freebsd-questions@freebsd.org Fri Apr 6 14:24:30 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2A75F89E70 for ; Fri, 6 Apr 2018 14:24:29 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 777197E46F for ; Fri, 6 Apr 2018 14:24:29 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id w36EOPUI004710 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 6 Apr 2018 14:24:25 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id w36EOPeO004709; Fri, 6 Apr 2018 14:24:25 GMT (envelope-from as) Date: Fri, 6 Apr 2018 14:24:25 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Cc: freebsd-questions@freebsd.org Subject: Re: Dell Precision 3520 laptop - help with dual graphics card Message-ID: <20180406142425.GA4593@jail0199.vps.exonetric.net> Mail-Followup-To: Anton Shterenlikht , freebsd-questions@freebsd.org References: <201804061418.w36EIN8g011268@scm-men-p0.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201804061418.w36EIN8g011268@scm-men-p0.men.bris.ac.uk> User-Agent: Mutt/1.9.2 (2017-12-15) 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: Fri, 06 Apr 2018 14:24:30 -0000 On Fri, Apr 06, 2018 at 03:18:23PM +0100, Anton Shterenlikht wrote: > Please help > > I got a Dell Precision 3520 laptop with 11.1-RELEASE. > I cannot figure out how to setup X: > > [ 92.583] (EE) open /dev/dri/card0: No such file or directory > > And indeed there is no /dev/dri directory at all. > > I seem to have a dual graphics card (or 2 cards): > > vgapci1@pci0:0:2:0: class=0x030000 card=0x07a91028 chip=0x191b8086 rev=0x06 hdr=0x00 > vendor = 'Intel Corporation' > device = 'HD Graphics 530' > class = display > subclass = VGA > > vgapci0@pci0:1:0:0: class=0x030200 card=0x07a91028 chip=0x13b410de rev=0xa2 hdr=0x00 > vendor = 'NVIDIA Corporation' > device = 'GM107GLM [Quadro M620 Mobile]' > class = display > subclass = 3D > > Which apparently is the source of my problems. > In this thread the suggestion is to disable > one card in BIOS: > > https://forums.freebsd.org/threads/dell-precision-m7710-laptop-and-xorg.55899 > > Unfortunately I don't see any such or similar > option in my BIOS. Indeed my BIOS does not mention > 2 cards. It only lists the Intel graphics device. > > I searched all possible BIOS options - power, devices, > etc., but can find nothing to disable one card. Just spoke to Dell support on the phone - not possible to disable one of the cards via BIOS in this model. So I guess I need to go the X config file route... Would still be grateful for any advice. Anton