1024x768 with nVidia GeForce4 Ti 4800 SE: "screen init failed"
Bug #62865 reported by
Johan Kiviniemi
This bug report is a duplicate of:
Bug #60621: usplash: no usable theme found for 640x480.
Edit
Remove
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).
To post a comment you must log in.
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_