Usplash doesn't work on systems without vesa framebuffer

Bug #358362 reported by Loïc Minier
10
Affects Status Importance Assigned to Milestone
usplash (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi

usplash doesn't work on the armel imx51 babbage board; it seems usage of VESA is hardcoded, but the card isn't VESA capable. Currently we're using fb mode.

Bye

Tags: iso-testing
Revision history for this message
Colin Watson (cjwatson) wrote :

Shouldn't it be workable with the bogl backend?

Revision history for this message
Matt Sealey (mwsealey) wrote :

Indeed it should work somehow but we have exactly the same problem on powerpc too (Ubuntu, SuSE and Fedora all hit the same problems) - usplash really wants to hook into a vesa framebuffer for some reason and I can't imagine any that would require anything but the standard linux framebuffer abstraction and ioctls off the top of my head.

Is there any reason usplash requires a vesa mode, vga= arguments or something or can't it just find a framebuffer that's already initialized (on x86 they may not be built in but on armel and powerpc they 99.9% of the time are always builtins to the default kernel)?

Paul Larson (pwlars)
tags: removed: arm
Revision history for this message
Paul Larson (pwlars) wrote :

Originally reported on imx51, but it appears that this bug is not specific to Ubuntu on armel, so the armel tag has been removed. If something changes, and you later believe that this bug only happens on armel, please add the armel tag again.

tags: removed: armel
summary: - Doesn't work on armel imx51 babbage; hardcodes use of VESA
+ Usplash doesn't work on systems without vesa framebuffer
Loïc Minier (lool)
Changed in usplash (Ubuntu):
assignee: nobody → David Sugar (dyfet)
Revision history for this message
David Sugar (dyfet-deactivatedaccount) wrote :

In debian/rules:

ifeq ($(DEB_HOST_ARCH), $(findstring $(DEB_HOST_ARCH),i386 amd64 lpia))
 BACKEND = "BACKEND=svga"
else
 BACKEND =
endif

It looks like i386, amd64 and lpia all use the svgalib backend, and that does initialize svgalib only for VESA. svgalib can however also be set to a number of very specific chipset configs...

I would think this means everything else (including arm) already uses the bogl backend directly with native framebuffer support, and NOT svgalib or vesa, since if BACKEND is not set, the Makefile defaults to bogl.

Finally, usplash seems to include it's own local copies of bogl and svgalib and statically links them into the binary based on the backend selected. Is the version of bogl valid for current kernels?

Revision history for this message
Oliver Grawert (ogra) wrote :

the problem on imx51 is fixed with a workaround in initramfs now, it was caused by the fact that the mxcfb framebuffer driver can not display anything but the one resolution specified on the cmdline (see Bug: #420555 for details). usplash defaults to use the lowest resolution theme it has if no usplash.conf is specified though.
that resulted in jaunty (where mxcfb came with a default resolution of 800x600 hardcoded in the module and did not need a cmdline option) in the situation that usplash tried to display 640x480 on the 800x600 framebuffer.
in karmic where only DVI output is supported and no default resolution is set in the module at all (i.e. the video= cmdline arg is needed, else nothing is displayed at all) we use video=mxcfb:1024x768@60 on the cmdline (under the assumption that all monitors having DVI input can display such a resolution), so here it results in usplash trying to display 640x480 on a 1024x768 screen with a driver that doesnt manage to do upscaling of such a picture.

Revision history for this message
Oliver Grawert (ogra) wrote :

definately not a usplash bug, closing as invalid

Changed in usplash (Ubuntu):
status: New → Invalid
tags: added: iso-testing
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.