X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 952E13858CDA
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1675040984;
	bh=KkBeT1exLKkHr8vv3Qb4/d+xidKys8iTxpMc0+PE28s=;
	h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=cOL+Hxy4DkSMs5T5wb53l/WtB9w5q1NLdoo7tyzHWV792vy+54KzqfFdJeuZHnyzw
	 ubDx++RpnIAFlvVmP48iXYla6/pS5Am/9mtm6YpFzFM87hnCKXtfSFc59tOzD5zbl3
	 DpP5qWsauVYeBrkeKbCU5BytJFj5L3ms7qSM7ra8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0FF2B3858D32
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:reply-to:message-id:subject:to:date:from:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=ijmiurInRsmNSDDEiDqlP9hEfweke04hW5o/KPuyyo0=;
 b=doNZjrx4saHBx/TJhPeWEBkefV5fedTQOloOXSjZbEVzTIwgC9C6HcovpYSNxAic37
 f1w+3tcQoOAnfw2AeOZLOhSG0heQv6f/83RZKUrT2IzUeLd2I2Wit+qlqVHsSqTzFBdD
 3mMkDKwSTkiQ/Xl3YZWv86G4TdGJDipIZmLxelX7qLp5Oe2DfJarKBiFTc8lAYJ3pOA9
 GRRvlk13p/BiARpTKyGw4xiCDp+Ay8j/bb/KBEesJXFRJTP4GMO7KKrA/l2hSS23HYxg
 GxG4iuJ9Oumuzd0RgW3mM6h7MJb2vp1FzS5zUL+PVop1So5zXaoHj0Q1vdEfhFrHHhLQ
 9bVw==
X-Gm-Message-State: AFqh2kpjyHY6WDe5k0lE4BhQ8OuG8a/AwqZNxZ1P2lpRVl8BaueAKdAL
 U7Td2+FtTuQmbhg9cjXf337mJP2fz1s=
X-Google-Smtp-Source: AMrXdXtLRqlnpvkZzxWxp7tXV7yzifiMvvW8hQprWO7PAtb/QNhGgod8X0hFpnR6Mai2pflWAaRjXQ==
X-Received: by 2002:a17:902:aa05:b0:194:4503:947 with SMTP id
 be5-20020a170902aa0500b0019445030947mr46184005plb.37.1675040923788; 
 Sun, 29 Jan 2023 17:08:43 -0800 (PST)
X-Google-Original-From: Duncan Roe <dunc@slk15.local.net>
Date: Mon, 30 Jan 2023 12:08:40 +1100
To: Franz Fehringer via Cygwin <cygwin@cygwin.com>
Subject: Re: Cygwin X11 on second (Nvidia) graphics card
Message-ID: <Y9cYmF6UyK5/QhVf@slk15.local.net>
Mail-Followup-To: Franz Fehringer via Cygwin <cygwin@cygwin.com>
References: <tr0q79$5tu$1@ciao.gmane.io>
 <cf2e5cda-403e-af13-97d8-015e41fc924d@Shaw.ca>
 <tr69pl$ohp$1@ciao.gmane.io>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <tr69pl$ohp$1@ciao.gmane.io>
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Duncan Roe via Cygwin <cygwin@cygwin.com>
Reply-To: duncan_roe@optusnet.com.au
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hi Franz,

On Sun, Jan 29, 2023 at 06:18:43PM +0100, cygwin wrote:
> Am 27.01.2023 um 20:58 schrieb Brian Inglis via Cygwin:
> > On 2023-01-27 08:22, Franz Fehringer via Cygwin wrote:
> > > I have a question which seems quite natural but i cannot find
> > > anything useful using google & co.
> > > My (business) notebook has two graphics cards, one builtin
> > > identifying as Intel Iris Xe and an additional one, a Nvidia MX550.
> > > I start X11 (xwin) with defaults (-listen tcp is the only extra option).
> > > Using nvidia-smi and the Nvidia activity dialog i see that the
> > > Nvidia graphics card is not used.
> > > Using glxinfo i see that the builtin Intel Iris Xe is used instead.
> > > I already prefer Nvidia over Intel via the Nvidia control panel.
> > > How do i make X11 and OpenGL use the Nvidia graphics card instead of
> > > the Intel one?
> >
> > $ man Xwin # See OPTIONS FOR SPECIFYING X SCREENS
> >
> > In your XWin Server shortcut etc., add server options -multimonitors or
> > -screen ... after startxwin ... -- ["--" required to allow server
> > options].
> >
>
> Using these options does not change anything.
> The XWin server simply doesn not detect the second (Nvidia) graphics card.
> I think i will repost with a more concise subject.
>
AIUI, your notebook screen will be "plugged in" to your embedded card and you
will need to plug another monitor into your Nvidia card in order to use it.

Once you have plugged in the second monitor, you may need a reboot for it to
be fully functional (I have to do that on my *linux* laptop).

After that, with X running, `xrandr` should show you available resolutions on
both screens.
By default, the second screen appears to the right of the first: xrandr options
--left-of, --right-of, --above, --below, --same-as can change this.

Cheers ... Duncan.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
