VirtualBox & Toshiba Satellite PRO C70-B-136 Intel HD graphics - can't detect display

Hi everyone,

I’m getting troubles trying to set higher resolutions than 1024x768 since somehow system can’t properly detects my display, It’s a VirtulBox machine (Ubuntu Mate 16.04.1 LTS) and I suspects is something involving the VB’s graphic adapter emulation.

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 61.00*
800x600 61.00
640x480 60.00

$ lspci | grep VGA
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter

At Monitor Preferences I can use detect monitors but always gets Monitor:Unknown. I’ve already update Intel HD graphics drivers too (apt-get).

My goal is to set resoution at 1600x900 so any advice will be gladly receive.

There are recent reports of graphical glitches with vBox. Are you on the most recent release?

Do you have virtualbox-guest-dkms and the extension (guest) pack installed?

How much video memory did you allocate the guest machine?

And welcome to our forums :slight_smile:

Hello v3xx!

Thank you!

Yes , you're right, I got the 1600x900 resolution installing last version (5.0.26 r108824) which the VB host machine can gets and did the same for DKMS and guest additions for VB in the guest machine. The video memory is set to max (128Mb) which seems to let me.

The issue right now is somehow I cant set 1600x900 resolution in a permanent way, with each restart I have to set it again manually with every restart :

$ xrandr
Screen 0: minimum 64 x 64, current 800 x 600, maximum 32766 x 32766
VGA-0 connected 800x600+0+0 0mm x 0mm
   800x600       60.00*+  60.00* 
   2560x1600     60.00  
   2560x1440     60.00  
   2048x1536     60.00  
   1920x1600     60.00  
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     60.00  
   1400x1050     60.00  
   1280x1024     60.00  
   1024x768      60.00  
   640x480       60.00  
$ cvt 1600 900
# 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
$ sudo xrandr --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
[sudo] password for vikten: 
$ sudo xrandr --addmode VGA-0 "1600x900_60.00"
$ xrandr
Screen 0: minimum 64 x 64, current 1600 x 900, maximum 32766 x 32766
VGA-0 connected primary 1600x900+0+0 0mm x 0mm
   800x600       60.00 +  60.00  
   2560x1600     60.00  
   2560x1440     60.00  
   2048x1536     60.00  
   1920x1600     60.00  
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     60.00  
   1400x1050     60.00  
   1280x1024     60.00  
   1024x768      60.00  
   640x480       60.00  
   1600x900_60.00  59.95*

More info collected:

If I press F2 during boot time to verbose output , the 1600x900 res keeps on, so I suspect it's some kind of conflict between the "boot quiet mode" window from Ubuntu Mate and VirtualBox .

"boot quiet mode":

EDITED: only happens if just restart from Ubuntu Mate, if I do shutdown and then start then the 1600x900 resolution is lost again.

You did not have to make it persistent?

Easy way I think is to make the change in your home directory, some find that a bit clunky on boot.

Other change it early in the boot process with lightdm or…

https://www.google.com/?client=ubuntu#channel=fs&q=xrandr+make+persistent+ubuntu+16.04