<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - egl initializes wrong card with hybrid graphics card"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91474#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - egl initializes wrong card with hybrid graphics card"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91474">bug 91474</a>
from <span class="vcard"><a class="email" href="mailto:mchqwerty@gmail.com" title="Marek Chalupa <mchqwerty@gmail.com>"> <span class="fn">Marek Chalupa</span></a>
</span></b>
<pre>(In reply to Axel Davy from <a href="show_bug.cgi?id=91474#c1">comment #1</a>)
<span class="quote">> Mesa egl does indeed support DRI_PRIME for the wayland backend,
>
> however unless DRI_PRIME is set, it uses the same card that the server.
> I guess either the user has set DRI_PRIME or the equivalent drirc option,
> or Clutter is incorrectly choosing the radeon card as main card, and
> initialises wayland with it.
>
> I do not believe the bug is Mesa side.</span >
Was digging into the code a bit and you're probably right. It looks like mutter
is always using /dev/dri/card0 (which is the radeon in this case)
<a href="https://git.gnome.org/browse/mutter/tree/src/backends/native/meta-launcher.c#n270">https://git.gnome.org/browse/mutter/tree/src/backends/native/meta-launcher.c#n270</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>