Bug 19956

Summary: Mutter 3.22.2 makes Gnome sessions fail under Xorg
Product: Mageia Reporter: Mika Laitio <lamikr>
Component: RPM PackagesAssignee: GNOME maintainers <gnome>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: marja11, tmb
Version: CauldronKeywords: PATCH
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1400182
Whiteboard:
Source RPM: mutter-3.22.2-1.mga6.src.rpm CVE:
Status comment:
Attachments: dmesg after gnome freezing after login
journalctl -b after gnome freezing after login
tar.bz2 containing fixes for mutter spec and patches

Description Mika Laitio 2016-12-16 07:46:38 CET
Description of problem:
During the last 2 months the Gnome versions using xorg has failed for me after log-in showing just an blue screen without desktop icons and menus. (Gnome on Xorg and Gnome classic). Gnome on wayland has however worked ok.

Before the latest updates I was also always seeing the same errors than on fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=1400182
Major opcode of failed request:  131 (XInputExtension) which caused libgtk to crash. Problem was however on mutter component.

My hw info:
[lamikr@localhost mutter]$ sudo lshw -C video
  *-display UNCLAIMED       
       description: 3D controller
       product: GM107M [GeForce GTX 960M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:dc000000-dcffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:dd000000-dd07ffff
  *-display
       description: VGA compatible controller
       product: HD Graphics 530
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:124 memory:db000000-dbffffff memory:70000000-7fffffff ioport:f000(size=64) memory:c0000-dffff
[lamikr@localhost mutter]$ xrandr 
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
eDP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 350mm x 190mm
   3840x2160     60.00*+


Version-Release number of selected component (if applicable):
mutter-3.22.2-1-mga6

As a display manager I have tested GDM, SDDM, LXDM and LightDM. 
As a display driver I have tested both the Intel/810 and later driver and xorg modesetting driver. 
As a kernel I have tested 4.7, 4.8 and 4.9 versions.


How reproducible:
Always on my skylake based laptop using intel HD Graphics 530 gpu.



Steps to Reproduce:
1. Start computer
2. Login with username to Gnome on Xorg or Gnome Classic
3. After one second the display freezes without not showing menus, icons or launch bars. mouse however works
If using new user for log-in, the mageia's wellcome app is however showed
Comment 1 Mika Laitio 2016-12-16 07:49:29 CET
Created attachment 8787 [details]
dmesg after gnome freezing after login
Comment 2 Mika Laitio 2016-12-16 07:49:59 CET
Created attachment 8788 [details]
journalctl -b after gnome freezing after login
Comment 3 Mika Laitio 2016-12-16 08:04:48 CET
Created attachment 8789 [details]
tar.bz2 containing fixes for mutter spec and patches

I picked two patches from fedora's mutter-3.22.2-3.fc25.src.rpm to fix the problems for me. Fedora's source rpm contained also couple of other patches that I did not include to my version as I have not yet had those problems.

Attached is the zip containing the updated mutter.spec, and two new patches that I added to spec file before building the rpm's locally. Changes are made on top of the mutter 3.22.2-1 mageia version.

After installing the rpms produced by this source rpm things were fixed for me and I can login to all 3 different gnome versions on latest cauldron. (gnome on xorg, gnome classic and gnome wayland)
Marja Van Waes 2016-12-16 11:52:43 CET

Keywords: (none) => PATCH
CC: (none) => marja11
Assignee: bugsquad => gnome

Comment 4 Thomas Backlund 2016-12-23 23:02:05 CET
Should be fixed with mutter-3.22.2-2.mga6

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED

Comment 5 Mika Laitio 2016-12-24 02:41:56 CET
Thanks, confirming to be fixed. Updated to mutter-3.22.2-2.mga6 and gnome worked both on the xorg and wayland versions for me.