Summary: | Cannot start weston with multiple GPUs (optimus) | ||
---|---|---|---|
Product: | Wayland | Reporter: | alanw <alanwww1> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
alanw
2012-10-20 21:26:11 UTC
This commit on weston master should fix the problem: commit 0af066ff25329278ed48f1a62b980f359ad3d235 Author: David Herrmann <dh.herrmann@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@googlemail.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.