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.
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: getdimensions are now called *before* choosing the appropriate theme. svga_setmode prints a warning when it falls back to a lower resolution. 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.
• usplash_init and usplash_
• usplash_
• usplash_