Bug 1228011

Summary: f22: Need to remove xorg-x11-drv-libinput package in order to login to gnome on X
Product: [Fedora] Fedora Reporter: Harshula Jayasuriya <harshula>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 22CC: fmuellner, hdegoede, jsullivan3, lmacken, otaylor, peter.hutterer, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mutter-3.16.2-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-30 00:05:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Xorg log
none
journal -xb output
none
evemu-describe output
none
touchpad.evemu none

Description Harshula Jayasuriya 2015-06-04 05:15:00 UTC
Description of problem:

On a T500, in order to login to Gnome on X, I had to remove xorg-x11-drv-libinput package. However, I was able to login to Gnome on Wayland without removing the aforementioned package.

I was experiencing the problem described in:
https://ask.fedoraproject.org/en/question/69051/why-do-i-get-the-oh-no-something-has-gone-wrong-screen-when-using-the-fedora-22-live-dvd/

Version-Release number of selected component (if applicable):
* Fedora 22 (Fresh install)
* Reproducible after dnf update.

How reproducible:
* Always

Steps to Reproduce:
Method (a)
1. Start live USB image on a Lenovo T500

Method (b)
1. Fresh install of F22 on Lenovo T500 using basic video
2. Try to login to Gnome on X

Actual results:
* "Oh no! Something has gone wrong."

Expected results:
* Enter Gnome on X

Additional info:
* Lenovo T500

Comment 1 Harshula Jayasuriya 2015-06-04 05:43:58 UTC
Created attachment 1034560 [details]
Xorg log

Refer to backtrace in the Xorg log I found in /var/log/ . I'm not 100% certain this is the log from gnome on X failure.

Comment 2 Harshula Jayasuriya 2015-06-04 05:54:31 UTC
libinput-0.15.0-4.fc22.x86_64
xorg-x11-drv-libinput-0.10.0-2.fc22.x86_64

Comment 3 Harshula Jayasuriya 2015-06-04 06:06:28 UTC
Created attachment 1034568 [details]
journal -xb output

Comment 4 Harshula Jayasuriya 2015-06-04 06:25:38 UTC
Created attachment 1034576 [details]
evemu-describe output

Comment 5 Peter Hutterer 2015-06-04 07:16:42 UTC
Punting to mutter because the root cause here is that it fails with BadValue trying to change a property.

Testing with evemu devices here the cause is the synaptics touchpad which is a single-touch touchpad and only supports edge scrolling and apparently we're trying to enable 2fg scrolling on it. the libinput driver returns BadValue here (it's not in the enabled methods list).

There's a second bug here but I don't know which component that would be then: Reporter said gsettings has two-finger scrolling set. Maybe it's worth adding a "default" state here to avoid this? Note that this will break on any laptop old enough to not have two-finger scrolling support.

Workaround currently is:
gsettings set org.gnome.desktop.peripherals.touchpad scroll-method "edge-scrolling"

Comment 6 Harshula Jayasuriya 2015-06-11 08:20:08 UTC
$ gsettings get org.gnome.desktop.peripherals.touchpad scroll-method

Comment 7 Harshula Jayasuriya 2015-06-11 08:45:35 UTC
The following fixes the problem:
http://koji.fedoraproject.org/koji/taskinfo?taskID=10011604

Able to login to gnome-shell with:
$ rpm -qa xorg-x11-drv-libinput
xorg-x11-drv-libinput-0.10.0-2.fc22.x86_64

$ gsettings get org.gnome.desktop.peripherals.touchpad scroll-method 
'two-finger-scrolling'

$ rpm -qa | grep mutter
mutter-3.16.2-1.bz1228011.fc22.x86_64

Comment 9 Peter Hutterer 2015-06-16 01:31:27 UTC
Created attachment 1039233 [details]
touchpad.evemu

the evemu file that triggers the crash, the others in the set don't matter

Comment 10 Fedora Update System 2015-06-26 07:31:40 UTC
mutter-3.16.2-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mutter-3.16.2-2.fc22

Comment 11 Fedora Update System 2015-06-26 20:34:19 UTC
Package mutter-3.16.2-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mutter-3.16.2-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10809/mutter-3.16.2-2.fc22
then log in and leave karma (feedback).

Comment 12 Milan Bouchet-Valat 2015-06-28 15:57:20 UTC
*** Bug 1224440 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2015-06-30 00:05:22 UTC
mutter-3.16.2-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.