LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-07-2017, 10:19 AM   #1
mjsurette
Member
 
Registered: May 2005
Distribution: spiral, fedora
Posts: 65

Rep: Reputation: 18
different screen resolutions depending on UEFI startup


I have an MSI GL72 with a fresh install of Sabayon booting under UEFI.

If I do a normal boot, I get an 800x600 display resolution.

If I hit F11 and select the same boot option, I get 1920x1080.

Looking at the X11 log I get

(II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
(==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
(==) FBDEV(0): RGB weight 888
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: EFI VGA (video memory: 1920kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 800x600 (pitch 800)
(**) FBDEV(0): Built-in mode "current": 48.0 MHz, 46.9 kHz, 75.1 Hz
(II) FBDEV(0): Modeline "current"x0.0 48.00 800 832 928 1024 600 604 608 624 -hsync -vsync -csync (46.9 kHz b)
(==) FBDEV(0): DPI set to (96, 96)

on the regular boot, and

(II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
(==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
(==) FBDEV(0): RGB weight 888
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: EFI VGA (video memory: 8128kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
(**) FBDEV(0): Built-in mode "current": 207.4 MHz, 85.3 kHz, 77.2 Hz
(II) FBDEV(0): Modeline "current"x0.0 207.38 1920 1952 2192 2432 1080 1084 1088 1104 -hsync -vsync -csync (85.3 kHz b)
(==) FBDEV(0): DPI set to (96, 96)

when I do an F11 boot.

As you can see, it senses more video memory on the F11 boot.

How do I fix it so that both boots come up hi-res?

Mike
 
Old 06-07-2017, 01:50 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by mjsurette View Post
How do I fix it so that both boots come up hi-res?
That really depends on your firmware setting, I think. Check all options to see if it is possible to allow more video memory by default as when pressing F11.
 
Old 06-07-2017, 09:16 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Not sure I'm totally with the uefi part exactly doing it yet. Uefi could present almost any set of devices but not sure it would select amount of video ram. Guess it could but why would it do it on a F key that should be exactly as normal boot.

I get the feeling that the video is not fully up when it boots normally but I don't know how to prove that.

Might be some command line boot time options to do fix this. Some wait setting for time to settle?
 
Old 06-07-2017, 10:27 PM   #4
mjsurette
Member
 
Registered: May 2005
Distribution: spiral, fedora
Posts: 65

Original Poster
Rep: Reputation: 18
I really don't understand it either, you would expect the same results either way, but it is consistently dependent on how you boot.

The real kicker is that it's a discrete graphics card. No bios settings at all.

Mike
 
Old 06-08-2017, 05:02 AM   #5
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
What bootloader is it you're using? If it is GRUB, you can set the resolution easily: https://wiki.archlinux.org/index.php...ips_and_tricks
 
Old 06-08-2017, 02:58 PM   #6
mjsurette
Member
 
Registered: May 2005
Distribution: spiral, fedora
Posts: 65

Original Poster
Rep: Reputation: 18
Yes, I am using GRUB. I checked out that link and followed a winding path that led me to discover that I am actually using the Intel HD530 built into the I7 rather than the NVIDIA GTX950M also on board.

The mystery deepens.

Mike
 
Old 06-09-2017, 07:22 PM   #7
mjsurette
Member
 
Registered: May 2005
Distribution: spiral, fedora
Posts: 65

Original Poster
Rep: Reputation: 18
Ok, I tried a different distro and it won't even boot with the normal boot sequence, but F11, which brings up the boot selection menu, will let me select the primary drive and boot.

It must be something weird in the UEFI setup.

Mike
 
Old 06-09-2017, 08:03 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Not sure what to say yet. Did you try the boot time options?
 
Old 06-10-2017, 05:44 AM   #9
mjsurette
Member
 
Registered: May 2005
Distribution: spiral, fedora
Posts: 65

Original Poster
Rep: Reputation: 18
I'm doing some reading on UEFI right now. It's looking like the problem is there. I have two machines that I'm switching distros on and they both have similar issues when it comes to booting.

I'll post what I find.

Mike
 
Old 06-10-2017, 06:16 AM   #10
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Does xrandr report the same specs under both boots?

$ xrandr
Code:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
   1920x1080     60.00*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
VGA-0 disconnected (normal left inverted right x axis y axis)
 
Old 06-10-2017, 06:27 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
I'd rather think that what you see comes to the fact that in one case the Intel video chipset is in use, and in the other one it is the NVidia one. Look in the firmware's menu for a setting like integrated video output vs dedicated as usually found in case of hybrid graphics.

It is also possible that in one case only a framebuffer be used.

Some pointers:
https://wiki.archlinux.org/index.php/hybrid_graphics
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
http://docs.slackware.com/howtos:har...nvidia_optimus
https://nouveau.freedesktop.org/wiki/Optimus/
http://www.linuxquestions.org/questi...oo-4175437338/
 
Old 06-11-2017, 11:37 PM   #12
mjsurette
Member
 
Registered: May 2005
Distribution: spiral, fedora
Posts: 65

Original Poster
Rep: Reputation: 18
Thanks for the pointers. I updated the bios and reinstalled.

Drastic, but it worked.

Mike
 
Old 06-12-2017, 03:11 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Thanks for the solution.
 
Old 07-01-2017, 09:12 AM   #14
mjsurette
Member
 
Registered: May 2005
Distribution: spiral, fedora
Posts: 65

Original Poster
Rep: Reputation: 18
Update: After doing some more distro-hopping my problem came back.

After doing a fair bit of digging I found what seems to be the simplest answer. I edited /etc/default/grub changing

GRUB_GFXMODE="auto"

to

GRUB_GFXMODE="1920x1080;auto"

and did

grub2-mkconfig -o /boot/grub2/grub.cfg

On hindsight, it's rather obvious. Now it boots great!

Mike
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible screen resolutions in C/C++ yezu Programming 4 08-04-2009 07:54 AM
Clone Screen Independant Screen Resolutions ¿F M J¿ Linux - Desktop 0 07-24-2007 01:38 PM
Different screen resolutions in X jhipkiss Debian 1 07-31-2006 03:56 PM
Not all screen resolutions available no way Ubuntu 2 02-05-2006 08:05 PM
Screen Resolutions satanic_linux Slackware 7 05-20-2004 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration