PDA

View Full Version : Does grub need a widescreen vga option.


philinux
November 12th, 2008, 07:58 AM
Since there are a lot of widescreen displays in use does it not make sense to have some widescreen resolution options available via vga=XXX. If this is possible.

The default usplash is squished for me.

MacUntu
November 12th, 2008, 08:29 AM
A neverending story. See https://bugs.launchpad.net/ubuntu/+source/usplash/+bug/64147

For my 1280*768 screen I created a 1280*768 image, compressed it to 1024*768 (4:3) and overwrote the 4:3 image usplash was using for my screen.

That's how I did it. A bit laborious with all the indexing stuff (all images have to use the same color palette) but it works fine.

dudude
November 12th, 2008, 09:29 PM
Maybe in ten years when GRUB 2 is released, this will be fixed. :)

BwackNinja
November 12th, 2008, 11:12 PM
Not a problem with grub, but a limitation of the system. Plymouth, if adopted, works around this I think.

PatrickVogeli
November 15th, 2008, 09:15 AM
I agree... until then I use the wideubuntu (http://www.gnome-look.org/content/show.php/Wideubuntu+Usplash?content=84632) usplash theme, which looks awesome

Maybe ubuntu should include that one and a small script to set it up automatically

andrewabc
November 15th, 2008, 10:04 AM
I agree... until then I use the wideubuntu (http://www.gnome-look.org/content/show.php/Wideubuntu+Usplash?content=84632) usplash theme, which looks awesome

Maybe ubuntu should include that one and a small script to set it up automatically

I don't know anything about laptops, but you should be able to edit

/etc/usplash.conf

Mine has
# Usplash configuration file
# These parameters will only apply after running update-initramfs.

xres=1680
yres=1050
Sometimes I have to edit it (doesn't recognize desktop resolution), switch monitors etc.

philinux
November 15th, 2008, 10:46 AM
I tried that and got no splash screen at all on my desktop monitor.

I'll try the widebuntu when I get home.

andrewabc
November 15th, 2008, 05:39 PM
Of course try different resolutions (that just happens to be my native monitor resolution).

Searching google and the forums for such stuff should have a similar how to with the usplash.conf file.

Josh04
November 15th, 2008, 08:46 PM
Depending on your graphics card BIOS, widescreen resolutions may be avilalable as numbers in the 8xx range. If not, there's a 915resolution module for GRUB2 which will let you set widescreen resolutions with the vga=xxx tag - you need to apply a patch to grub though.

MacUntu
November 15th, 2008, 09:32 PM
Usplash cannot handle video modes other than 4:3 so there is no way other than using a widescreen pixmap compressed to 4:3 to get a nice boot splash.

Hairy_Palms
November 16th, 2008, 06:21 AM
Usplash Does Support Widescreen video modes, only if your graphics card framebuffer supports them, which u can check with
sudo hwinfo --framebuffer
and see what resolutions come out.

MacUntu
November 16th, 2008, 12:33 PM
Usplash Does Support Widescreen video modes

Well, I guess they include this just for fun:

Themes have a ratio field where you can specify either USPLASH_4_3 if the image is a true 4:3 image or 16:9 if the image is a 16:9 image, scaled to 4:3. The image MUST be a 4:3 image, because usplash can only handle 4:3 video modes currently.

;)

philinux
November 16th, 2008, 03:11 PM
Tried wideubuntu and go nosplash just text at startup and no text at shutdown. Ah well.

Hairy_Palms
November 17th, 2008, 05:59 AM
Well, I guess they include this just for fun
maybe, either that or it just hasnt been updated, its supported widescreen since at least hardy, it doesnt work automatically as 4:3 does, but it still works if your card supports it.

sudo apt-get install hwinfo
sudo hwinfo --framebuffer

copy the vga code to /boot/grub/menu.lst

sudo gedit /boot/grub/menu.lst

add vga=0x0259 or w/ever vga code you got given for the resolution above
(0x0259 is for 24-bit 1440x900 in my Geforce)

Save, and run the following command:
sudo update-grub

Edit the following file:
sudo gedit /etc/usplash.conf

Change to your resolution, save, and run the following command:
sudo dpkg-reconfigure usplash