[Mesa-dev] [Bug 91474] egl initializes wrong card with hybrid graphics card

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 30 02:27:49 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91474

--- Comment #3 from Marek Chalupa <mchqwerty at gmail.com> ---
(In reply to Axel Davy from comment #1)
> 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.

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)

https://git.gnome.org/browse/mutter/tree/src/backends/native/meta-launcher.c#n270

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150730/ac989876/attachment-0001.html>


More information about the mesa-dev mailing list