unity-greeter takes very long time to load the wallpaper

Bug #1450196 reported by kathir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
New
Undecided
Unassigned

Bug Description

When starting from powered down state, unity-greeter takes ~80 to 90 seconds to load the default wallpaper.During this loading time, entire UI is non-responsive giving the impression that OS has crashed.
Once logged in after this issue, the loading problem does not occur if I log out and log in again.

How I arrived at this conclusion:
When Login screen became unresponsive, I dropped in to console mode (cntl + alt + F2) and tailed the x-0-greeter.log file in /var/log/lightdm directory. The rendering of wall paper entry was around the 80 second mark. Once I saw the wall paper loaded message, i dropped out of console mode and switched to GUI mode (cntl + alt + F7). Now i was able to login normally.

My guess is a problem with the driver for rendering/ problem in loading the wallpaper from harddisk. Just wanted to verify with you guys if there is indeed a bug or its just my laptop.

I tried changing the wallpapers as well - still the problem persists. Once logged in there are no delays in any other operation (i.e no problem with CPU/resources to cause the late loading of wall paper)

I use a Dell vostro 3500 - ubuntu 15.04

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lightdm 1.14.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Apr 30 01:58:44 2015
InstallationDate: Installed on 2015-04-27 (2 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
kathir (kathireson) wrote :
affects: lightdm (Ubuntu) → unity-greeter (Ubuntu)
Revision history for this message
kathir (kathireson) wrote :

Tested this further.
The loading of wallpaper is instant if I go to console mode and then come back to GUI mode. (i.e press cntrl + alt + F2, and then press cntrl + alt + F7). Compared the logs when I didn't press the above key sequence and the time when I did press it.

Only difference is: There is a call gdk.threads_add_idle() after the wall paper is loaded to render the loaded wallpaper. But this thread waits forever to execute unless I press the above mentioned key sequence. Could be a problem with the thread scheduling.

I will really appreciate any help here.

Revision history for this message
kathir (kathireson) wrote :

Further Debugging:
Checked the Xorg logs and found this:
[ 39.301] reporting 5 8 1 8
[ 54.564] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 54.564] (II) NOUVEAU(G0): NVLeaveVT is called.
[ 299.816] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 299.816] (II) intel(0): switch to mode 1366x768@60.1 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 299.830] (II) intel(0): EDID vendor "INL", prod id 6

The background picture ( and the entire UI widget) is rendered immediately after this 'NVLeaveVT' call.

Also the problem exists only when I power down completely and then power on - If I choose to restart from menu, this does not occur.

Could you guys please help?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.