bugGNU GRUB - Bugs: bug #47894, Support for NVIDIA scaling mode...


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

bug #47894: Support for NVIDIA scaling mode (bug includes PoC)

Submitted by:  Maxxim <maxxim>
Submitted on:  Wed 11 May 2016 06:53:40 AM UTC  
Category: User InterfaceSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: Git masterReproducibility: None
Planned Release: None

Wed 11 May 2016 07:03:20 AM UTC, comment #1:

One thing I want to add: modifying the scaling mode within Grub also affects the framebuffer console of the booted system if Grub is set to keep the video payload, which is a nice side-effect.

Maxxim <maxxim>
Wed 11 May 2016 06:53:40 AM UTC, original submission:

Most NVIDIA graphics adapters start with screen scaling enabled by default, resulting in a thick black border around the Grub menu and distorted/unclear fonts.

Screen scaling can easily be modified by Grub. I attached a patch for the VBE module which adds support for it. I also attached before/after screenshots. Successfully tested with NVIDIA GeForce GTX 650 Ti.

My patch is based on the Linux kernel patch for the uvesafb driver: https://lkml.org/lkml/2015/5/17/17

If you decide to integrate this feature, I suggest doing that by introducing a user-configurable variable for grub.cfg that allows to set the scaling mode to all known values (e.g. set nvidia_scaling=1). By default, I suggest Grub doesn't modify scaling at all unless the user specifically requests it.

Maxxim <maxxim>


Attached Files
file #37126:  nvidia-scaling.patch added by maxxim (1KiB - text/x-patch)
file #37127:  before.jpg added by maxxim (662KiB - image/jpeg)
file #37128:  after.jpg added by maxxim (695KiB - image/jpeg)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by maxxim (Submitted the item)

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 May 2016 06:53:40 AM UTCmaxximAttached File-=>Added nvidia-scaling.patch, #37126
      Attached File-=>Added before.jpg, #37127
      Attached File-=>Added after.jpg, #37128

    Back to the top

    Powered by Savane 3.1-cleanup1