From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id 0FF2B3858D32 for ; Mon, 30 Jan 2023 01:08:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0FF2B3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=optusnet.com.au Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-x636.google.com with SMTP id d3so10014010plr.10 for ; Sun, 29 Jan 2023 17:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:reply-to:message-id:subject:to:date:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=ijmiurInRsmNSDDEiDqlP9hEfweke04hW5o/KPuyyo0=; b=EiGz28oy+ZVIim3ktsH4luGHNt1B3E5iXNJr8m+ae8KWCmszi5JGM7l+ej9v/8h/az Y1xNQUE7RwXbxPJ0Z773ED0irHv9TewfROW5n7a1nYiGnWOQdur4ygJqdMvxmxykvmC7 lFP6RNwICopqH1JfCHFegXyuYN4YCQyBcHmm3R1KANLcy0hJ990RaQCofWO5HwPnki78 ETghitr1VGX8BXuzNRCFXjHOD01uxRcT/VAU+9xZoCCMu/ldSpc6KEFad4Iq3eGEhLEt +doagbAuWqZYjCVqDDbcnN1p8ekRBYKzsgeeTbQHQQ8N+LFJo2gYwdYnOC/DIzro1vBs gWHA== 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) Received: from slk15.local.net (n58-108-90-185.meb1.vic.optusnet.com.au. [58.108.90.185]) by smtp.gmail.com with ESMTPSA id w15-20020a1709027b8f00b001892af9472esm6404154pll.261.2023.01.29.17.08.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Jan 2023 17:08:43 -0800 (PST) Sender: Duncan Roe From: Duncan Roe 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: Reply-To: duncan_roe@optusnet.com.au Mail-Followup-To: Franz Fehringer via Cygwin References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 List-Id: 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.