1024x768 with nVidia GeForce4 Ti 4800 SE: "screen init failed"

Bug #62865 reported by Johan Kiviniemi
4
Affects Status Importance Assigned to Milestone
usplash (Ubuntu)
New
Undecided
Unassigned

Bug Description

/etc/usplash.conf contains xres=1024 yres=768 by default because that's the Xorg resolution i'm using. For some reason, usplash isn't able to use it. It only outputs "screen init failed". When i change the resolution to 800x600, it works.

I'm somewhat at loss how to debug the issue.

It might be a good idea to make usplash automatically try falling back to a lower resolution (even if this specific issue gets solved).

Revision history for this message
Johan Kiviniemi (ion) wrote : Resolution fallback fix

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.

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.