From owner-freebsd-questions@freebsd.org Fri Aug 14 20:50:27 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 645DB378F8A for ; Fri, 14 Aug 2020 20:50:27 +0000 (UTC) (envelope-from moridin@mm.st) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSwYt0Yzhz48DL for ; Fri, 14 Aug 2020 20:50:25 +0000 (UTC) (envelope-from moridin@mm.st) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EF82F5C00CC for ; Fri, 14 Aug 2020 16:50:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 14 Aug 2020 16:50:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=fm1; bh=V/+fFjuhvQKsM /AclpNpyQgJwveRMKrP2fOFZQ4mzwc=; b=FhlU1jcNpgZ9T/ilIIEiDu52tSiA6 0IGH5Zyv8+yebbj5Ikford+wAPKuUqBWtjBA+BHRTJmpRUy2JgJds2LaIePMXk2W Pg1tDfR5PMUZp5P5Woyz/prP3aO8opi+R6JQRPAaHcXI4Vhx0tSAgL/LDcvxmO6g JBAbiihFMyU01ofg4Zj7h6wBjZpfnNIZCNGdbhMppB6yPt9TKnB5ipWV4lfU8IW3 JxQIxbQj4upmxNyMUAVodHl7SNnx5H6/K73PkPRnbr2epnUDm9c/Kb6EQ5HHhwTf rOHm9XAuvQ2L4RaTSaDdHS0hQsgabCbdL3HEDX38OtMYPJWrmB2qZRQaw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=V/+fFjuhvQKsM/AclpNpyQgJwveRMKrP2fOFZQ4mz wc=; b=XCD4hJWwJP3SzJvXjuCM2pKWrZpoK7Xcuvv0D0fRgL1Me87WQ6K2gQxAz vVOie3CaG2U08ZkTTQjjC9w5NAz14DkpCZlhC1ZWgqXde8BYclp8B/cKd/bqA/EQ Nn6HKCPWUTtIecTFzX7LwMJGr79dItzNoCaC8+LDR7oApCJ3C2/wxxhHoEAaBX2c ZQ9SYhk7I7TZaZH4Cmmjr3f0u/J0AZZ/RhldxqmQD6QbqMhYoOZQ5FQKiC6lnlJt 5onTIa3KIWxXnk0TDiXs2aW6blGJ+/uOmIJ1MCpSj660L/YzwzfJblr96PE9S1nL 8qmWiYNHbba2WoMqjsoJtFZ457hTw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrleejgddugeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpehmohhrihguihhnuceomhhorhhiughinhesmhhmrdhstheq necuggftrfgrthhtvghrnhepfeeitddvudeludekfffhueeikeffffektdeujeduiefgud ejiedtieegkeduudejnecukfhppeeluddrvdegtddruddvgedrudegfeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmohhrihguihhnsehmmh drshht X-ME-Proxy: Received: from mercury.lan (unknown [91.240.124.143]) by mail.messagingengine.com (Postfix) with ESMTPA id 55F4A30600A3 for ; Fri, 14 Aug 2020 16:50:24 -0400 (EDT) Subject: Re: Nvidia on FreeBSD To: freebsd-questions@freebsd.org References: <4be32bee4c39525d22592eb43f7abec8.squirrel@webmail.harte-lyne.ca> <683be1ac-ee0d-5b98-d8bd-50de4811e92b@mm.st> <20200814214921.fd0fda9b.freebsd@edvax.de> From: moridin Message-ID: <20b534ed-c4ae-410c-4367-1eca87bcbda7@mm.st> Date: Fri, 14 Aug 2020 23:50:20 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200814214921.fd0fda9b.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BSwYt0Yzhz48DL X-Spamd-Bar: +++++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mm.st header.s=fm1 header.b=FhlU1jcN; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=XCD4hJWw; dmarc=pass (policy=none) header.from=mm.st; spf=pass (mx1.freebsd.org: domain of moridin@mm.st designates 66.111.4.26 as permitted sender) smtp.mailfrom=moridin@mm.st X-Spamd-Result: default: False [11.62 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.26:from]; FREEMAIL_FROM(0.00)[mm.st]; R_SPF_ALLOW(0.00)[+ip4:66.111.4.26]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(0.00)[mm.st,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[mm.st]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.143:received]; RECEIVED_SPAMHAUS_CSS(4.00)[91.240.124.143:received]; R_DKIM_ALLOW(0.00)[mm.st:s=fm1,messagingengine.com:s=fm3]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.79)[0.788]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.95)[0.954]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(0.97)[0.974]; GREYLIST(0.00)[pass,meta] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2020 20:50:27 -0000 Polytropon wrote: > On Fri, 14 Aug 2020 21:42:12 +0300, moridin@mm.st wrote: >> James B. Byrne via freebsd-questions wrote: >>> FreeBSD-12.1p8 >>> >>> I am forced to configure a new workstation (WS) due to an unrecoverable >>> hardware error on my old (c.2009) one. The new WS has only basic VGA on the >>> motherboard and has an Nvidia card as its primary video i/f. >>> >>> I have two monitors both connected to the card. Each works independently of >>> the other but when both are connected only one display is used. >>> >>> I have the Mate desktop installed and working. However when I try to configure >>> the monitors the display dialogue window only shows one, unknown, display and >>> the detect monitor button is not active. I also get a message stating that the >>> mate-settings-daemon cannot start. >>> >>> I need some help getting this sorted out. If someone could guide me through >>> this I would appreciate it very much. >> >> I know nothing about mate and its settings, but I remember running X on >> dual-monitor setup with nvidia. What you need is to get the output >> names from Xorg.log in /var/log (e.g. DFP-0, DFP-2) and add relevant >> config line to your /usr/local/etc/X11/xorg.conf.d/.conf, e.g.: >> >> Section "Device" >> Identifier "Something here" >> Driver "nvidia" >> MetaModes "DFP-0:3840x2160,DFP-2:3840x2160" >> EndSection >> >> Check the documentation shipped with nvidia-driver for more options. > > I have been using a dual-head system with nVidia card + driver in > the past (one connected to DVI, the other one connected to VGA), > and the whole thing was configured independently from any window > manager or desktop environment simply in xorg.conf. If I remember > correctly, there were two Section "Monitor", each one with an > Option "PreferredMode" and Option "Position" (this one was > different!), and it worked. I got the example code from the > nVidia documentation. Maybe this is still possible? I believe this is only required if you are really running dual-head setup -- that is, 2 cards and 2 monitors, so you can specify which monitor goes where; or if you need to use Xinerama for some reason. With the latter being obsolete (IMO) and everything using xrandr nowadays, there's no real need to specify separate monitor entries in xorg.conf. Hopefully, mate stuff uses xrandr (it should) and helping it by providing the entries via MetaModes should work.