Created attachment 887514 [details] first patch - adjusted to eliminate out-of-bounds access and add early return The patches in F20 and Rawhide both to trim Xorg DDX drivers which aren't capable of Wayland support are broken when none of the drivers are Wayland-capable, in that it walks off the end of the driver list, and then continues through init with no drivers. I've attached updated patches for the Rawhide package which resolve this by both fixing the out-of-bounds access, and return early when all drivers have been trimmed. This changes the failure mode from Xorg crashing, to a graceful exit with an indication that all drivers have been pruned due to constraints. With Rawhide packages, this gives me working XWayland (and will presumably be resolved anyway by switching to the XWayland DDX), but should also do the trick for F20. The latter would need xf86-video-intel and friends rebuilt to include XWayland support, though.
Created attachment 887515 [details] second patch - no functional changes, just adjusted for context
FWIW, I am running the GNOME 3.12 COPR on F20, with xorg-x11-server, xf86-video-intel, and xf86-input-{evdev,synaptics} from Rawhide, where these now work fine.
Hi Daniel, Thanks for working on this. For rawhide I'm preparing a rebase of xorg to 1.15.99.902, fedora pkgs git already has the new spec file (but I'm not ready to build it yet as I also need to rebase all drivers first). It would be great if you could build that, ie do: fedpkg clone -B xorg-x11-server cd xorg-x11-server/master fedpkg local And then install the new xorg-x11-server-Xwayland package and give that a try. I don't know what the plans wrt xwayland are for f20. Regards, Hans
Thanks Hans. I don't really have much time at the moment, but will check this out when I can.
Actually, now I think about it, there's not much point trying it out since the Mutter side of XWayland still has some pretty serious issues, and the offending code is totally gone with the XWayland DDX, as it doesn't have any drivers to load. I've changed the version to F20 as this only affects that, however since xf86-video-intel and friends aren't built with XWayland support there anyway, it's probably not really the most useful target to be aiming at.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Works perfectly fine with the XWayland DDX in F21.