bugGNU GRUB - Bugs: bug #54306, Incorrect resolution used on grub...

 
 

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

bug #54306: Incorrect resolution used on grub boot menu

Submitted by:  Famine Badger <faminebadger>
Submitted on:  Fri 13 Jul 2018 01:47:17 PM UTC  
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  2.02 Reproducibility:  Every Time
Planned Release:  None

Fri 13 Jul 2018 01:47:17 PM UTC, original submission:  

Except very rarely, every time I cold boot or warm reset my linux machine, grub fails to set the resolution correctly on my monitors.

I have it set to 1920x1200 (note 16:10) in /etc/defaults/grub, which does find its way into the config file - and grub does claim to both detect support for and to use 1920x1200, but the monitors actually end up on 1152x864 with most of the bottom/right of the screen not visible as it's off the edge of the monitor.

The attached screenshots show:

1) The boot menu as I see it;
2) The monitor's OSD showing the actual resolution is 1152x864;
3) The output of videoinfo showing grub thinks the resolution is 1920x1200 on the list of supported modes.

Something is not getting set up correctly by grub - note the linux kernel has no problem setting the correct resolution during its own boot.

I've also attached my grub.cfg file to show what I believe to be the correct options being set (gfxmode=1920x1200 and terminal_output=gfxterm).

For reference, my hardware is a Radeon HD7970:

famine@gentoo ~ (0) $ lspci |grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]

And my monitors are dual Asus PA248Q monitors (native 1920x1200) plugged in to two mini display port connectors on the gfx card.  Furthermore, I have a Sony Bravia television additionally plugged in to the HDMI port which I used as a third screen for e.g. viewing movies.  This is 16:9, and uses 1920x1080.

So:
- I've tried both 1920x1200 and 1920x1080 (given the tv doesn't support the former, but the monitors do support the latter) - both settings have the same problem.
- It doesn't matter whether the tv is on or off (it's normally off).

Here's the xrandr output for the running linux kernel:

famine@gentoo ~ (0) $ xrandr
Screen 0: minimum 320 x 200, current 5760 x 1200, maximum 16384 x 16384
DisplayPort-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 546mm x 352mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    59.94    59.99
   1920x1080i    60.00    50.00    59.94
   1600x1200     60.00
   1680x1050     59.95
   1280x1024     75.02    60.02
   1440x900      59.89
   1280x960      60.00
   1366x768      59.79
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08
DisplayPort-1 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 546mm x 352mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    59.94    59.99
   1920x1080i    60.00    50.00    59.94
   1600x1200     60.00
   1680x1050     59.95
   1280x1024     75.02    60.02
   1440x900      59.89
   1280x960      60.00
   1366x768      59.79
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08
HDMI-0 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1920x1080     60.00*+  50.00    59.94    24.00    23.98
   1920x1080i    60.00    50.00    59.94
   2880x576      50.00
   2880x576i     50.00
   2880x480      60.00    59.94
   2880x480i     60.00    59.94
   1280x1024     60.02
   1280x720      60.00    50.00    59.94
   1440x576      50.00
   1024x768      60.00
   1440x480      60.00    59.94
   800x600       60.32
   720x576       50.00
   720x576i      50.00
   720x480       60.00    59.94
   720x480i      60.00    59.94
   640x480       60.00    59.94
DVI-0 disconnected (normal left inverted right x axis y axis)
famine@gentoo ~ (0) $

I've attached my grub.cfg in case anyone can spot anything extra/missing in there.

Famine Badger <faminebadger>

 

Attached Files
file #44549:  grub.cfg added by faminebadger (17KiB - application/octet-stream)
file #44550:  20180713_124454.jpg added by faminebadger (470KiB - image/jpeg)
file #44551:  20180713_124619.jpg added by faminebadger (311KiB - image/jpeg)
file #44552:  20180713_143414.jpg added by faminebadger (595KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by faminebadger (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-13 faminebadger Attached File- => Added grub.cfg, #44549
        Attached File- => Added 20180713_124454.jpg, #44550
        Attached File- => Added 20180713_124619.jpg, #44551
        Attached File- => Added 20180713_143414.jpg, #44552

    Back to the top


    Powered by Savane 3.6