[Wayland-bugs] [Bug 56237] Cannot start weston with multiple GPUs (optimus)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 29 13:31:00 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=56237
Kristian Høgsberg <krh at bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Kristian Høgsberg <krh at bitplanet.net> ---
This commit on weston master should fix the problem:
commit 0af066ff25329278ed48f1a62b980f359ad3d235
Author: David Herrmann <dh.herrmann at googlemail.com>
Date: Mon Oct 29 19:21:16 2012 +0100
compositor-drm: prefer PCI boot_vga GPU over other GPUs
If we can find a boot_vga PCI GPU, we should prefer it over any other GPU
that is connected to the system. The boot_vga flag tells us that this GPU
is the primary system GPU.
This fixes problems on two-GPU-systems were the wrong GPU is used. It also
fixes systems were DisplayLink GPUs are available with lower IDs than PCI
GPUs (although, this seems unlikely).
Note that udev_enumerate guarantees that the entry-list is sorted. So for
systems that have platform-GPUs, these should almost always be reported
prior to hotpluggable (PCI, USB, ...) GPUs, as the kernel probes them
first.
https://bugs.freedesktop.org/show_bug.cgi?id=56237
Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20121029/9f5fe6e6/attachment.html>
More information about the Wayland-bugs
mailing list