Date: Mon, 21 Sep 2020 07:09:05 +0000 From: Grzegorz Junka <list1@gjunka.com> To: Jan Beich <jbeich@FreeBSD.org> Cc: freebsd-x11@freebsd.org Subject: Re: GPU selection Message-ID: <85b0dff6-ba6d-2fd9-b321-0da2e4721f5e@gjunka.com> In-Reply-To: <d02g-3qki-wny@FreeBSD.org> References: <2468547c-e4c8-ec5d-413f-e8f5816d9471@gjunka.com> <d02g-3qki-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21/09/2020 00:45, Jan Beich wrote: > Grzegorz Junka <list1@gjunka.com> writes: > >> With the new drm-kmod, is it possible to specify which card should be >> used for X11? > Do you mean BusID in xorg.conf(5) ? That's the reason why I am asking, in the new X11 there is no xorg.conf file. At least I don't seem to be able to find one. It's all configured automatically through mode setting if I understand this correctly? >> For example, say I have two GPUs, a high-end NVidia that I would like >> to use when booting Windows, and some older well supported AMD to work >> with Wayland on FreeBSD. > Disclaimer: I only have one GPU+display combo, so didn't test. > > Example scenarios: > - Run Windows on NVIDIA GPU but use Hyper-V to expose AMD GPU to FreeBSD guest > - Don't install x11/nvidia-driver: keep unused or expose to Windows guest > - Use libglvnd from https://reviews.freebsd.org/D25020 > > With libglvnd one can start a Wayland session on AMD GPU (e.g., for working) > and a native X11 session on NVIDIA GPU (e.g., for gaming, screen sharing). > Make sure WAYLAND_DISPLAY and DISPLAY defined in environ(7) don't leak between > the sessions in order to avoid applications starting on the wrong monitor. I was thinking more about using one card exclusively for Windows and one for FreeBSD, but if I could use both with different drivers that could be even more interesting. And I wasn't planning to do any HyperV, just to boot to either FreeBSD or Windows. GrzegorzJ
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85b0dff6-ba6d-2fd9-b321-0da2e4721f5e>