bugGNU GRUB - Bugs: bug #34464, Auto choses

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34464: Auto choses

Submitted by:  Towheed Mohammed <towheedm>
Submitted on:  Mon 03 Oct 2011 12:21:09 AM UTC  
 
Category: User InterfaceSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: towheedm
Open/Closed: ClosedRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

Thu 03 Nov 2011 03:51:02 PM UTC, comment #1:

As said per e-mail, class problem is fixed and mode chose should work now given the EDID code.

Vladimir Serbinenko <phcoder>
Project Administrator
Mon 03 Oct 2011 12:21:09 AM UTC, original submission:

I am using a very basic theme using the gfxmenu theming engine.
The theme only sets a background image and displays the menu items using a DejaVu .pf2 font created using the grub-mkfont utility.

This was tested on Ubuntu Natty using grub version 1.99~rc1-13ubuntu3.

What should happen:
The theme should be displayed allowing me to select a menu item to boot.

What happens:
A blank screen is shown and the keyboard stops responding (using a Logitech MX300 wireless keyboard).

What I did to rectify it:
After several hours of testing, I found that the problem was two fold:
1. The first involves GRUB setting the default GFXMODE. In previous versions of GRUB2, if GRUB_GFXMODE was commented out in /etc/default/grub, it was automatically set to 640x480 in 10_linux. However, this behavior has changed and if the line is commented out, GRUB now sets it to 'auto'. I would assume, it would iterate through the list of valid vbe modes and select the first working mode. Unfortunately for me, it selects 640x400x256, which works in text mode, but causes a black screen and a hung keyboard with gfxmenu. A quick fix was to
uncomment the GRUB_GFXMODE variable.

2. The second involves assigning each menu entry to a class. If the class parameter is not specified for ANY menu entries, the theme does not load and a blank screen is produced. This was fixed in 10_linux by changing this line:
echo "submenu \"Previous Linux versions\" {"
to:
echo "submenu \"Previous Linux versions\" --class menuitem {"

The menu entry for memtest86+ must also be assigned to a class by changing the menuentry line:
menuentry "Memory test (memtest86+)" {
to:
menuentry "Memory test (memtest86+)" --class memtest {

After using the above fixes the theme displays properly.

My video card is an nvidia GeForce FX5200. This problem was also present for another user with an nvidia Quadro FX 1500M.

Please note that for some reason, this problem results in a hung keyboard.

Towheed Mohammed <towheedm>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by towheedm (Submitted the item)
  • -unavailable- added by towheedm (Bug: GRUB gfxmenu blank screen)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Nov 2011 03:51:02 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Summarygfxmenu: A blank screen with a gfxmenu theme.=>Auto choses
    Mon 03 Oct 2011 12:21:09 AM UTCtowheedmCarbon-Copy-=>Added towheedm

    Back to the top


    Powered by Savane 3.1-cleanup1