Bug 15864 - UI image don't display
: UI image don't display
Status: UNCONFIRMED
Product: SqueezePlay
Classification: Unclassified
Component: UI
: 7.4.x
: PC Ubuntu Linux
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-09 08:15 UTC by alcor.walter
Modified: 2010-06-10 00:20 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alcor.walter 2010-03-09 08:15:22 UTC
No image display on up to date Ubuntu 9.10 ; tested on 3 different installations, with or without compiz enable 32 or 64 bits installations.

I tried with :
- SqueezePlay version 7.4.3 r8604,
- an older build, same version
- SqueezePlay version 7.5 (don't remember the build)
all installed from .deb nightlybuilds.

here's some log with SP 7.4.3 r8604, Ubuntu 9.10 64bits (seems i have the same log with a 32 bits ubuntu) :

^[[0;33m20100309 15:43:39.502 INFO   squeezeplay - JiveMain.lua:264 SqueezePlay version 7.4.3 r8604^[[0m
^[[0;33m20100309 15:43:39.534 INFO   squeezeplay.ui.draw - jiveL_initSDL:174 1920,1200 32 bits/pixel 4 bytes/pixel [R<<16 G<<8 B<<0]^[[0m
^[[0;33m20100309 15:43:39.534 INFO   squeezeplay.ui.draw - jiveL_initSDL:175 Hardware acceleration is not available^[[0m
^[[0;32m20100309 15:43:39.535 WARN   squeezeplay.ui.draw - jive_surface_load_image:202 Error loading surface: Unsupported image format
^[[0m
^[[0;32m20100309 15:43:39.535 WARN   squeezeplay.ui.draw - jive_surface_load_image:202 Error loading surface: Unsupported image format
^[[0m
^[[0;33m20100309 15:43:41.800 INFO   squeezeplay.applets - AppletManager.lua:91 User Path: /home/user/.squeezeplay/userpath^[[0m
^[[0;33m20100309 15:43:41.840 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: DesktopJive^[[0m
^[[0;31m20100309 15:43:41.840 ERROR  audio.output - decode_alsa_fork:169 execv failed 2^[[0m
^[[0;31m20100309 15:43:42.340 ERROR  audio.output - decode_alsa_fork:184 jive_alsa failed to start^[[0m
^[[0;33m20100309 15:43:42.341 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupSoundEffects^[[0m
^[[0;33m20100309 15:43:42.342 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: AboutJive^[[0m
^[[0;33m20100309 15:43:42.342 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: AlarmSnooze^[[0m
^[[0;33m20100309 15:43:42.343 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: BlankScreen^[[0m
^[[0;33m20100309 15:43:42.343 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Bounce^[[0m
^[[0;33m20100309 15:43:42.345 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: ChooseMusicSource^[[0m
^[[0;33m20100309 15:43:42.347 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Clock^[[0m
^[[0;33m20100309 15:43:42.347 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: CustomizeHomeMenu^[[0m
^[[0;33m20100309 15:43:42.348 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: DebugSkin^[[0m
^[[0;33m20100309 15:43:42.348 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: DebugTouch^[[0m
^[[0;33m20100309 15:43:42.348 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Experiments^[[0m
^[[0;33m20100309 15:43:42.348 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: FullscreenSkin^[[0m
^[[0;33m20100309 15:43:42.349 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: HttpAuth^[[0m
^[[0;33m20100309 15:43:42.350 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: InfoBrowser^[[0m
^[[0;33m20100309 15:43:42.350 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: LogSettings^[[0m
^[[0;33m20100309 15:43:42.351 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: MacroPlay^[[0m
^[[0;33m20100309 15:43:42.352 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: NowPlaying^[[0m
^[[0;33m20100309 15:43:42.354 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Playback^[[0m
^[[0;33m20100309 15:43:42.354 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: QVGAbaseSkin^[[0m
^[[0;33m20100309 15:43:42.354 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: QVGAlandscapeSkin^[[0m
^[[0;33m20100309 15:43:42.354 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: QVGAportraitSkin^[[0m
^[[0;33m20100309 15:43:42.354 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Quit^[[0m
^[[0;33m20100309 15:43:42.357 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: ScreenSavers^[[0m
^[[0;33m20100309 15:43:42.357 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Screenshot^[[0m
^[[0;33m20100309 15:43:42.357 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SelectPlayer^[[0m
^[[0;33m20100309 15:43:42.361 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SelectSkin^[[0m
^[[0;33m20100309 15:43:42.362 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupAppletInstaller^[[0m
^[[0;33m20100309 15:43:42.363 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupDateTime^[[0m
^[[0;33m20100309 15:43:42.363 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupLanguage^[[0m
^[[0;33m20100309 15:43:42.377 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupNetTest^[[0m
^[[0;33m20100309 15:43:42.379 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupSqueezebox^[[0m
^[[0;33m20100309 15:43:42.380 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupWallpaper^[[0m
^[[0;33m20100309 15:43:42.381 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SetupWelcome^[[0m
^[[0;33m20100309 15:43:42.383 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SlimBrowser^[[0m
^[[0;33m20100309 15:43:42.393 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SlimDiscovery^[[0m
^[[0;33m20100309 15:43:42.394 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SlimMenus^[[0m
^[[0;33m20100309 15:43:42.397 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: SqueezeNetworkPIN^[[0m
^[[0;33m20100309 15:43:42.397 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Test^[[0m
^[[0;33m20100309 15:43:42.397 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: TestTones^[[0m
^[[0;33m20100309 15:43:42.397 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: UdapControl^[[0m
^[[0;33m20100309 15:43:42.398 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: WQVGAlargeSkin^[[0m
^[[0;33m20100309 15:43:42.398 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: WQVGAsmallSkin^[[0m
^[[0;33m20100309 15:43:42.398 INFO   squeezeplay.applets - AppletManager.lua:314 Registering: Demo^[[0m
^[[0;33m20100309 15:43:42.409 INFO   squeezeplay - JiveMain.lua:583 select skin: WQVGAsmallSkin^[[0m
^[[0;32m20100309 15:43:42.436 WARN   squeezeplay.ui.draw - jive_tile_load_image:57 Error loading tile: Unsupported image format
^[[0m
^[[0;32m20100309 15:43:42.436 WARN   squeezeplay.ui.draw - jive_tile_load_image:57 Error loading tile: Unsupported image format
^[[0m
^[[0;32m20100309 15:43:42.436 WARN   squeezeplay.ui.draw - jive_tile_load_image:57 Error loading tile: Unsupported image format
^[[0m
^[[0;32m20100309 15:43:42.436 WARN   squeezeplay.ui.draw - jive_tile_load_image:57 Error loading tile: Unsupported image format
^[[0m
^[[0;32m20100309 15:43:42.436 WARN   squeezeplay.ui.draw - jive_tile_load_image:57 Error loading tile: Unsupported image format

lots of "Error loading tile: Unsupported image format" and then lots of "Error loading surface: Unsupported image format".
Comment 1 jmitchel 2010-04-08 04:02:16 UTC
I can confirm this in Ubuntu Hardy.
Comment 2 Neal Crook 2010-06-08 14:15:32 UTC
Still exists in	squeezeplay-7.6.0-8846.tgz on (K)Ubuntu host, Ubuntu 10.04

Example error (I replaced the path in my installation with the text <path>)

20100608 21:05:18.060 WARN   squeezeplay.ui.draw - _load_image:207 Error loading tile image <path>/squeezeplay/share/jive/applets/WQVGAsmallSkin/images/Icons/icon_more_tb.png: Unsupported image format

Neal.
Comment 3 Neal Crook 2010-06-08 15:00:00 UTC
I get the same problem in squeezeplay-7.5.1-8847.tgz

see also users reporting this problem here:

http://forums.slimdevices.com/showthread.php?t=76648

Google suggests the error is associated with SDL. Running

> strings libSDL_image.a | grep "Unsupported image format"

shows that string is indeed present, confirming a suspicion that libSDL_image.a
is found wanting.

Neal.
Comment 4 Neal Crook 2010-06-09 16:31:04 UTC
OK, after more poking around, I tried to build squeezeplay from source (svn 7.5 trunk). Although the end jive executable doesn't execute (I think I know the problem but I have to rebuild to test and it's too late) I can do an "ldd" on it and observe

- my home-build jive is linked against (has a dependency on) libpng (actually libpng12.so as I had to hack it somewhere in a config script)

- the nightly-build jive is NOT linked against libpng

My guess:

- there is a mis-configuration on the build system, there is no libpng present (or it is named libpng12 and there is no link from libpng).

- during the configure of SDL_image, the absence of libpng causes libSDL_image.a to be be built WITHOUT SUPPORT FOR PNG!

- resultant jive calls to IMG_Load to load .png files fail with the error reported above

However, if my guess is true that means the nightly's are broken for everyone.. so why hasn't this already been spotted and fixed?

[I note on my Kubuntu system that there is no link from libpng.so.0 to libpng12.so.0 - as a result, my home-build failed until I changed the a linker line from "-lpng" to "-lpng12" somewhere]

Neal.
Comment 5 alcor.walter 2010-06-10 00:20:20 UTC
I can also confirm this bug with :
- .deb package for Ubuntu Lucid 32 et 64bits
- .tar.gz for Fedora 64 bits

But i manage to compile following this tutorial on all previous listed platforms :
http://www.jfwhome.com/2009/11/22/compiling-squeezeplay-on-linux-ubuntu-amd64/
This tutorial is very clear to correct "bugs" and work also for 32 bits OS.
You can surely find what's wrong with current releases ... thanks to John Wells.