X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT 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 Date: Mon, 30 Jan 2023 12:08:40 +1100 To: Franz Fehringer via Cygwin Subject: Re: Cygwin X11 on second (Nvidia) graphics card Message-ID: Mail-Followup-To: Franz Fehringer via Cygwin References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Duncan Roe via Cygwin Reply-To: duncan_roe AT optusnet DOT com DOT au Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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