<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Cannot start weston with multiple GPUs (optimus)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56237">bug 56237</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Cannot start weston with multiple GPUs (optimus)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56237#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Cannot start weston with multiple GPUs (optimus)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56237">bug 56237</a>
from <span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span></b>
<pre>This commit on weston master should fix the problem:
commit 0af066ff25329278ed48f1a62b980f359ad3d235
Author: David Herrmann <<a href="mailto:dh.herrmann@googlemail.com">dh.herrmann@googlemail.com</a>>
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.
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Cannot start weston with multiple GPUs (optimus)"
href="show_bug.cgi?id=56237">https://bugs.freedesktop.org/show_bug.cgi?id=56237</a>
Signed-off-by: David Herrmann <<a href="mailto:dh.herrmann@googlemail.com">dh.herrmann@googlemail.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>