Cygwin X11 on second (Nvidia) graphics card

Brian Inglis Brian.Inglis@Shaw.ca
Sun Jan 29 22:05:31 GMT 2023


On 2023-01-29 10:18, Franz Fehringer via 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.

You might have to select Desktop/right click/Display Settings/Graphic 
Settings/.../Desktop|Classic app/XWin/.../GPU|Adapter/Nvidia/.../Options/High 
Performance or something similar as I don't have any system with two graphics 
adapters or Windows 11.

https://pureinfotech.com/set-default-gpu-apps-windows-11/

You may also be able to set this in Nvidia control panel settings for Programs: 
do both if possible unless they conflict!

-- 
Take care. Thanks, Brian Inglis			Calgary, Alberta, Canada

La perfection est atteinte			Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter	not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer	but when there is no more to cut
			-- Antoine de Saint-Exupéry


More information about the Cygwin mailing list