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)

Submitter:  Maxxim <maxxim>
Submitted:  Wed 11 May 2016 06:53:40 AM UTC
   
 
Category:  User Interface Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-11 maxxim Attached 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.13-f8d8.
    Corresponding source code