Package: usplash-theme-debian
Version: 4
Severity: important
Tags: patch

When i try to boot in vga=791 with quiet splash grub option
usplash crashs and print to stdout
        usplash: No usable theme found for 1280x800
        screen init failed.

themesetup.sh init script doesn't detect 1280x800 to 16:9 (normally 
16:10) but 4:3 (1280 / 16 != 800 / 9).
In libusplash.c (usplash-0.5.2-3 source) Line 491 :
        if (theme->pixmap->height <= yres
                    && theme->pixmap->width <= xres
                    && theme->pixmap->height *
                    theme->pixmap->width > maxarea
                    && theme->ratio == ratio)
==> ratio aspect for 1280x800 is 1.7 (>1.55 --> UPLASH_16_9)
but with initial script themesetup.sh ratio aspect for 1280x800 
resolution is 4_3 , finally theme->ratio != ratio
and htheme refers NULL pointer and theme too.
i created an small patch to fix it , it's work ! :)
you can find path here : 
http://romain.perier.free.fr/debian/usplash-theme-debian_fix_ratio.diff


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages usplash depends on:
ii  debconf [debconf-2.0]         1.5.14     Debian configuration management sy
ii  initramfs-tools               0.91b      tools for generating an initramfs
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries
ii  libusplash0                   0.5.2-3    userspace bootsplash library
ii  usplash-theme-debian [usplash 4.tatoo    Debian usplash theme

usplash recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to