Bug 1275095 - Wayland login screen slow and unusable
Summary: Wayland login screen slow and unusable
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: wayland
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-25 21:17 UTC by Mike Kwong
Modified: 2015-11-08 22:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-08 22:14:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
glxinfo output for my machine as requested by Olivier (47.61 KB, text/plain)
2015-11-08 18:08 UTC, Mike Kwong
no flags Details

Description Mike Kwong 2015-10-25 21:17:08 UTC
Description of problem:
Wayland login screen slow and unusable.

If Wayland is enabled, the login screen is very slow. The pointer does not respond to my mouse/trackpad in reasonable timeframe, and it's almost impossible to use it to login.
 
It's possible, with great patience to eventually login and then everything is good, while logged in.

When screen saver is on, have not figured out a way to make get back to the login screen. Clicking on the power on drop down, the menu takes forever to load.

Turning off Wayland causes everything to work fine.

Did not have this problem with Fedora 22 until I did a dnf update last weekend, which updated my kernel to 4.2. Also, I have a AMD Tonga Graphics card (285), which might also have something to do with this.

Version-Release number of selected component (if applicable):
dnf list installed
kernel.x86_64                          4.1.7-200.fc22                   @updates
kernel.x86_64                          4.1.10-200.fc22                  @updates
kernel.x86_64                          4.2.3-200.fc22                   @updates
kernel-core.x86_64                     4.1.7-200.fc22                   @updates
kernel-core.x86_64                     4.1.10-200.fc22                  @updates
kernel-core.x86_64                     4.2.3-200.fc22                   @updates
kernel-devel.x86_64                    3.19.5-200.fc21                  @System 
kernel-devel.x86_64                    3.19.7-200.fc21                  @System 
kernel-devel.x86_64                    4.0.4-201.fc21                   @System 
kernel-devel.x86_64                    4.1.7-200.fc22                   @updates
kernel-devel.x86_64                    4.1.10-200.fc22                  @updates
kernel-devel.x86_64                    4.2.3-200.fc22                   @updates
kernel-headers.x86_64                  4.2.3-200.fc22                   @updates
kernel-modules.x86_64                  4.1.7-200.fc22                   @updates
kernel-modules.x86_64                  4.1.10-200.fc22                  @updates
kernel-modules.x86_64                  4.2.3-200.fc22                   @updates

gnome-session-wayland-session.x86_64   3.16.0-1.fc22                    @System 
ibus-wayland.x86_64                    1.5.10-5.fc22                    @updates
libwayland-client.i686                 1.7.0-1.fc22                     @System 
libwayland-client.x86_64               1.7.0-1.fc22                     @System 
libwayland-cursor.x86_64               1.7.0-1.fc22                     @System 
libwayland-server.i686                 1.7.0-1.fc22                     @System 
libwayland-server.x86_64               1.7.0-1.fc22                     @System 
mesa-libwayland-egl.x86_64             10.6.9-1.20151008.fc22           @updates
xorg-x11-server-Xwayland.x86_64        1.17.2-2.fc22.2                  @updates


How reproducible:
With Wayland enabled, boot the machine up, wait for the login screen to appears.


Steps to Reproduce:
1.
2.
3.

Actual results:
The login UI is so slow it is basically unusable with Wayland enabled

Expected results:
Speedy, responsive UI.

Additional info:

Comment 1 Olivier Fourdan 2015-10-26 08:56:12 UTC
I would expect so, but need to ask, do you get the same slowdowns when using GNOME on Wayland session?

Have you tried Weston on the same hardware?

Could you also attach the output of "glxinfo -l" on this hardware?

Comment 2 Mike Kwong 2015-11-08 18:08:42 UTC
Created attachment 1091336 [details]
glxinfo output for my machine as requested by Olivier

glxinfo output for my machine as requested by Olivier

Comment 3 Mike Kwong 2015-11-08 18:11:44 UTC
I tried GNOME on Wayland, it seems to work fine except for some minor refresh/flashing issues of the desktop/menu bar on top.

There are a few differences though:
* I upgraded to Fedora 23.

I'll try reenabling Wayland for the login screen in /etc/gdm/custom.conf

# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false

And report back.

Comment 4 Mike Kwong 2015-11-08 22:13:58 UTC
I commented out WaylandEnable=false in /etc/gdm/custom.conf to reenable Wayland for GDM login, and was unable to reproduce the issue.

I'm guessing that something in Fedora 23 fixed the issue.
abrt-addon-kerneloops.x86_64             2.7.0-2.fc23              @@commandline
kernel.x86_64                            4.1.10-200.fc22           @updates     
kernel.x86_64                            4.2.3-200.fc22            @updates     
kernel.x86_64                            4.2.5-300.fc23            @@commandline
kernel-core.x86_64                       4.1.10-200.fc22           @updates     
kernel-core.x86_64                       4.2.3-200.fc22            @updates     
kernel-core.x86_64                       4.2.5-300.fc23            @@commandline
kernel-devel.x86_64                      4.1.10-200.fc22           @updates     
kernel-devel.x86_64                      4.2.3-200.fc22            @updates     
kernel-devel.x86_64                      4.2.5-300.fc23            @updates     
kernel-headers.x86_64                    4.2.5-300.fc23            @@commandline
kernel-modules.x86_64                    4.1.10-200.fc22           @updates     
kernel-modules.x86_64                    4.2.3-200.fc22            @updates     
kernel-modules.x86_64                    4.2.5-300.fc23            @@commandline
libreport-plugin-kerneloops.x86_64       2.6.3-1.fc23              @@commandline

gnome-session-wayland-session.x86_64     3.18.1.2-1.fc23           @@commandline
ibus-wayland.x86_64                      1.5.11-1.fc23             @@commandline
libwayland-client.i686                   1.9.0-1.fc23              @@commandline
libwayland-client.x86_64                 1.9.0-1.fc23              @@commandline
libwayland-cursor.x86_64                 1.9.0-1.fc23              @@commandline
libwayland-server.i686                   1.9.0-1.fc23              @@commandline
libwayland-server.x86_64                 1.9.0-1.fc23              @@commandline
mesa-libwayland-egl.x86_64               11.0.3-1.20151012.fc23    @@commandline
xorg-x11-server-Xwayland.x86_64          1.18.0-0.6.20151027.fc23  @@commandline

Comment 5 Mike Kwong 2015-11-08 22:14:48 UTC
Given that things seem to work in Fedora 23, closing this bug.


Note You need to log in before you can comment on or make changes to this bug.