public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Duncan Roe <duncan_roe@optusnet.com.au>
To: Franz Fehringer via Cygwin <cygwin@cygwin.com>
Subject: Re: Cygwin X11 on second (Nvidia) graphics card
Date: Mon, 30 Jan 2023 12:08:40 +1100	[thread overview]
Message-ID: <Y9cYmF6UyK5/QhVf@slk15.local.net> (raw)
In-Reply-To: <tr69pl$ohp$1@ciao.gmane.io>

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.

  parent reply	other threads:[~2023-01-30  1:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 15:22 Franz Fehringer
2023-01-27 19:58 ` Brian Inglis
2023-01-29 17:18   ` Franz Fehringer
2023-01-29 22:05     ` Brian Inglis
2023-01-30  1:08     ` Duncan Roe [this message]
2023-01-30 18:50 ` Franz Fehringer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y9cYmF6UyK5/QhVf@slk15.local.net \
    --to=duncan_roe@optusnet.com.au \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).