pantheon-greeter can't show wallpaper

Bug #1009589 reported by Dani Pratomo
146
This bug affects 30 people
Affects Status Importance Assigned to Milestone
Greeter
Fix Released
Medium
Raphael Isemann

Bug Description

Now I'm sure that it was a bug.
Pantheon-greeter always show black screen without wallpaper up until now.
At first I thought because it was in early stage.

I run at Advent 7098.

I hope this info helps.

Changed in pantheon-greeter:
milestone: none → luna-beta1
status: New → Confirmed
Revision history for this message
Dani Pratomo (daneepee) wrote :

Now pantheon-greeter can show wallpaper in luna build but it can't show wallpaper in pantheon on top of ubuntu.

Changed in pantheon-greeter:
status: Confirmed → Triaged
Changed in elementaryos:
status: New → Invalid
Revision history for this message
Dani Pratomo (daneepee) wrote :

Sorry, just figure out that: pantheon-greeter can't show any wallpaper except elementary's wallpaper.
Because it doesn't work when I use ubuntu's wallpaper

Changed in pantheon-greeter:
status: Triaged → Confirmed
Revision history for this message
Dani Pratomo (daneepee) wrote :

I can't find any pattern, but it seems like pantheon-greeter works on certain image files.
I test some wallpaper, here are the list:
Works: Tunnel.jpg, Precise_Pangolin_by_Vlad_Gerasimov.jpg
Doesn't work: "Urban Dream.jpg", 94.jpg, 173.jpg

Revision history for this message
Brendan William (bwilliam) wrote :

this is the same with me, only Tunnel works so far and photos from my Pictures folder

Revision history for this message
Dani Pratomo (daneepee) wrote :

I running Luna on Acer netbook AOD260 and I finally found a pattern:
pantheon-greeter works with these wallpapers: Lake McDonald, Lighthouse, morning, Temple and Tunnel
All of those wallpapers have slightly smaller height than other wallpapers in Luna i.e. they have
appropriate height for my netbook screen.
So I guess pantheon-greeter unable to adapt to wallpapers size.

Revision history for this message
Tom Beckmann (tombeckmann) wrote :

Could you retry now?

Changed in pantheon-greeter:
status: Confirmed → Incomplete
no longer affects: elementaryos
Cody Garver (codygarver)
Changed in pantheon-greeter:
milestone: luna-beta1 → none
Revision history for this message
Christopher (cdhornb) wrote :

It's still happening

Revision history for this message
Alessio Sanfratello (sanfra90) wrote :

I found this bug also on my Asus eeepc 1005pe, display 1024x600, video card Intel GMA 3150.

Dani Pratomo (daneepee)
Changed in pantheon-greeter:
status: Incomplete → Confirmed
Revision history for this message
Dani Pratomo (daneepee) wrote :

Hello everyone, I can still confirm that this bug is exist. I hope this bug is fixed before release. :)

Revision history for this message
Damien (youpla-b) wrote :

Yep, still here.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

I wonder if we're hitting the hardware texture size limit here. The workaround would be scaling the pic on CPU and loading the smaller version into Clutter.

Revision history for this message
Savannah King Norton (sln45) wrote :

I notice that there's a blue grid wallpaper that is visible after a very recent update. Is it meant to be stuck this way, or is it meant to change according to wallpaper? How visible are these letters going to be on a lighter wallpaper anyway?

Revision history for this message
Rubén Reina (ruben-teatinos) wrote :

I have Elementary OS installed in three PCs. One with 1920x1080res (wallpaper visibility OK), another one with 1600x900 (wallpaper visibility OK) and finally another one with 1024x768 (wallpaper visibility BUGGED, is black).

Revision history for this message
Francesco Ferraro (ferraro96) wrote :

This bug still exists on a 1280x1024 screen..

Changed in pantheon-greeter:
status: Confirmed → Triaged
importance: Undecided → Medium
milestone: none → luna-beta2
Revision history for this message
Roberto Trynight (roby95) wrote :
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

I can confirm that this bug is hardware-dependent. The 2560x1600 "168.jpg" from elementary default wallpaper set is not shown if the system is running off an integrated GPU, but shows OK if I boot with the discrete one enabled.

I suppose this is because the greeter attempts to load the image as a texture while the largest texture size for the built-in GPU is 2048x2048. Using tiling to downscale the image on the GPU or downscaling it on the CPU might help.

Revision history for this message
Cody Garver (codygarver) wrote :

Could this be the same bug as #1088206?

Revision history for this message
Cody Garver (codygarver) wrote :
Revision history for this message
Dani Pratomo (daneepee) wrote :

No, I guess not.

--Could this be the same bug as #1088206?

Revision history for this message
Savannah King Norton (sln45) wrote :

Would it be possible to change the method for setting the background to fix it? For example, I choose a wallpaper with a larger resolution than my screen, set it to "zoom," and then a copy is saved rendered to look the same but is the exact resolution of my screen?

Revision history for this message
NANODUDE (nanodude) wrote :

Usually LightDM uses default backgrounds, which are stored in "/usr/share/backgrounds" in Ubuntu.
Only root has the right permissions to read those. Basically if you copy any background you want to use as your greeter background to "/usr/share/backgrounds" you have to chmod it so that groups are allowed to read them. This workaround allowed me using custom backgrounds for my greeter. After the right chmod on the fresh copied background I could set it as wallpaper and it automatically became the greeter background on Ubuntu. Try it. Maybe this will work for you too!

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Looks like there are several problems that may cause this bug:
 * the image file isn't being made readable by the greeter when it's set as wallpaper - this one is tricky from security standpoint, I'll look into it myself
 * the image file may be bigger than the largest supported texture size, which will cause loading it to fail (this explains why some files NEVER work on my built-in GPU). I'll check my suspicions about texture size later.
 * there's a more obscure problem that's not always triggered. Switching back and forth for a while caused my wallpaper to fail to load sometimes. Screencast of that is attached.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Here's the console output for the screencast.

Changed in pantheon-greeter:
assignee: nobody → Steven Verbeek (dubcanada)
Changed in pantheon-greeter:
assignee: Steven Verbeek (dubcanada) → nobody
Revision history for this message
Raphael Isemann (teemperor) wrote :

The problem seems to be caused by old async loaded images that make callbacks if they are finished loaded.
My branch should fix the problem, could someone test it too and report that the problem as in shnatsels screencast doesn't appears anymore?

Changed in pantheon-greeter:
status: Triaged → In Progress
assignee: nobody → Raphael Isemann (teemperor)
Revision history for this message
Raphael Isemann (teemperor) wrote :

I think we split the problem with the too big wallpapers apart from this bug to this one, as it is a different problem.
https://bugs.launchpad.net/pantheon-greeter/+bug/1065086

Cody Garver (codygarver)
Changed in pantheon-greeter:
status: In Progress → Fix Released
Revision history for this message
Dani Pratomo (daneepee) wrote :

the bug still exists ..

Changed in pantheon-greeter:
status: Fix Released → Confirmed
Revision history for this message
Raphael Isemann (teemperor) wrote :

Hi Dani, what bug do you exactly mean? That fast switching between user-accounts shows black wallpapers? That your wallpaper isn't displayed? Do you use EncryptFS for your system?

Revision history for this message
Dani Pratomo (daneepee) wrote :

Hi Raphael, pantheon-greeter can only show wallpapers which have the same size (dimension) as: Lake McDonald, Lighthouse, morning, Temple and Tunnel. While using another wallpaper only show black wallpaper.
So I guess pantheon-greeter unable to adapt to wallpapers size.

Revision history for this message
Raphael Isemann (teemperor) wrote :

Dani, can you provide if you have encrypted your system (in other words checked the option to encrypt home on the installer)?

If you can't remember then run "ls -A /home" and see if it lists an ".encryptfs"-folder. If that folder exists, you have encryptFS enabled.
See this bug-report https://bugs.launchpad.net/pantheon-greeter/+bug/1128051 if you have encryptFS enabled, as you are affected by it.

If you don't have your encryptFS, please open a new bug to keep things sorted.

Changed in pantheon-greeter:
status: Confirmed → Fix Released
Revision history for this message
Dani Pratomo (daneepee) wrote :

no I don't have encryptFS enabled.
What I'm trying to say is I still experiencing this bug up until now. :)

Changed in pantheon-greeter:
status: Fix Released → Confirmed
Revision history for this message
Dani Pratomo (daneepee) wrote :

the bug squashed. :)

Changed in pantheon-greeter:
status: Confirmed → Fix Released
Revision history for this message
Ramiro Algozino (algozino) wrote :

I'm still affected by this bug. How can I help? Using a photo taken with my camera the greeter shows black background, using an elementary wallpapaer everything is OK.

Revision history for this message
Cody Garver (codygarver) wrote :

Ramiro, are you using encryption?

Revision history for this message
hemlockii (hemlockii) wrote :

Can confirm this still exists.. (on debian jessie)

Revision history for this message
Raphael Isemann (teemperor) wrote :

@hemlockii: Make sure that your wallpaper is:
1) at a location that is readable for ALL users. That means not inside a encrypted home-directory and with permission to be read by all users.
2) It is a valid PNG or JPG image.

Another thing: is it showing a black wallpaper or the default-wallpaper? The default-wallpaper is the image-file with the path
/usr/share/backgrounds/elementaryos-default
Make sure you have such a file if you experience a black background instead of the default-wallpaper.

Revision history for this message
hemlockii (hemlockii) wrote : Re: [Bug 1009589] Re: pantheon-greeter can't show wallpaper

@Raphael: Yes, it was completely black. Although my image was in the
same location, it wasn't named as such so that solves it thanks!

Revision history for this message
sam23310 (hello-world104) wrote :

Just completely blank. This is on a Freya beta just after an update

description: updated
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.