The resolution fallback feature in the new usplash version corrupts the
screen.

usplash_svga_setmode falls back to a smaller resolution if the requested
one fails, but usplash_setup doesn't update the xres and yres variables
accordingly.

The attached patch contains the following changes:
• usplash_init and usplash_getdimensions are now called *before* choosing the 
appropriate theme.
• usplash_svga_setmode prints a warning when it falls back to a lower 
resolution.
• usplash_svga_set_resolution's behavior is fixed: it used to set modenum to a 
value too big by 1, so setmode tried 1152x864 first when 1024x768 was requested.

** Attachment added: "Resolution fallback fix"
   http://librarian.launchpad.net/4565498/usplash-resolution-fallback-fix.diff

-- 
1024x768 with nVidia GeForce4 Ti 4800 SE: "screen init failed"
https://launchpad.net/bugs/62865

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to