Testing request: gdm-on-Wayland on hybrid graphics laptops (esp. Macbooks)

Simone Caronni negativo17 at gmail.com
Mon May 25 09:04:19 UTC 2015


Hello,

On 14/05/2015 20:01:21 GMT, Adam Williamson <adamwill at fedoraproject.org>
> wrote:
>
>> Hi folks!
>>
>> We have a somewhat-worrying proposed blocker for F22:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1218787
>
>
I have some issues with two different laptops, one with an Intel/Nvidia
combo and one with an Intel/Radeon combo. Although not strictly related to
have a gdm login on Wayland I think it's worth describing.

Intel/Nvidia (binary driver):

The Nvidia one (intel + nvidia blob) is working perfectly with Fedora 21
but not on Fedora 22 with the "Optimus offloading configuration" as
depicted in Nvidia's README [1]. The X server simply crashes, and there is
no way to have a GDM login screen with this method. I was using the X
configuration file described in the docs plus the script /etc/gdm/Init/:0
for running the xrandr commands at login. Also, glamor is loaded even
though its loading is explicitly disabled in xorg.conf.

Unfortunately the laptop can only work with such configuration, the
included GTX 860m does not work with nouveau reliably (lot of console
errors and some crashes, no 3d) and there's no way to disable one of the
cards through the bios.

I've tried updating xorg with some 1.18 patches [2], removing glamor,
forcing root access for everybody in Xwrapper.config to no avail, I always
got the same crash. I'm considering this a regression... should I open a
bug or it will be simply closed because there is the Nvidia binary involved?

Intel/Nouveau and Intel/Radeon:

When using wayland, there's no way to use the second card (DRI_PRIME), it
will simply use the first card for GL programs or crash directly (nothing
useful in the logs). Is prime supported on Wayland? The server is also
always started as root, wasn't it supposed to start inside a user session
by default on Open KMS drivers?

Thanks & regards,
--Simone



[1]
http://us.download.nvidia.com/XFree86/Linux-x86/352.09/README/randr14.html
[2] http://lists.x.org/archives/xorg-devel/2014-December/045050.html

-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150525/d59512b5/attachment.html>


More information about the devel mailing list