vboxvideo 5.0.20: resolution issues

Discussions about using Linux guests in VirtualBox.
Post Reply
hamelg2
Posts: 8
Joined: 28. Oct 2014, 19:58

vboxvideo 5.0.20: resolution issues

Post by hamelg2 »

Hello,

since upgrading my guest to 5.0.20 from 5.0.16, I have now these issues :

1. my linux vm has theses properties :
Key: CustomVideoMode1, Value: 1366x768x32
Key: GUI/Fullscreen, Value: true
at grub and boot time the console resolution is correct, i get 170 columns. But when vboxvideo module is loading, the console switches to 800x600 (100 columns). I see these logs :

Code: Select all

 kernel: vesafb: scrolling: redraw
 kernel: vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
 kernel: vesafb: framebuffer at 0xe0000000, mapped to 0xffffc90000800000, using 4160k, total 4160k
 kernel: Console: switching to colour frame buffer device 170x48
 kernel: fb0: VESA VGA frame buffer device
...
 kernel: [TTM] Initializing DMA pool allocator
 kernel: checking generic (e0000000 410000) vs hw (e0000000 1000000)
 kernel: fb: switching to vboxdrmfb from VESA VGA
 kernel: Console: switching to colour dummy device 80x25
 kernel: fbcon: vboxdrmfb (fb0) is primary device
 kernel: Console: switching to colour frame buffer device 100x37
 kernel: vboxvideo 0000:00:02.0: fb0: vboxdrmfb frame buffer device
 kernel: [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
 systemd[1]: Started Load Kernel Modules.
 systemd-journald[155]: Journal started
 systemd[1]: Started Journal Service.
 systemd-modules-load[151]: Inserted module 'vboxsf'
 systemd-modules-load[151]: Inserted module 'nfs'
 systemd-modules-load[151]: Inserted module 'vboxvideo'
2. Xserver doesn't choose the right resolution.
The native resolution of my display is 1366x768, and it chooses 1360x768. Xrandr sees these 2 resolutions, i can switch to 1366x768 manually.

Any ideas ?
is it a regression ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxvideo 5.0.20: resolution issues

Post by Perryg »

What do you get if you use the Host+F toggle to go to full screen?

Typically the guest will see what is presented since there is no actual monitor connected. I never set the video hint and just use the Host+F toggle if I want full resolution or the click drag to set the screen to a specific size.
Ravek
Posts: 6
Joined: 12. Dec 2015, 12:53

Re: vboxvideo 5.0.20: resolution issues

Post by Ravek »

same happen to me in windows 10 guest and ubuntu 16.04 i have to set 1280x720 to work

Code: Select all

00:16:16.586186 VMMDev: SetVideoModeHint: Got a video mode hint (1366x768x32)@(0x0),(1;0) at 0
00:16:16.807205 VBVA: InfoScreen: [0] @0,0 1280x720, line 0x1400, BPP 32, flags 0x1
00:16:17.907831 VBVA: InfoScreen: [0] @0,0 1152x864, line 0x1200, BPP 32, flags 0x1
00:16:17.907854 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000000c510000 w=1152 h=864 bpp=32 cbLine=0x1200 flags=0x1
00:16:17.907887 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=1152x864, Sending to async-handler
00:16:17.907947 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=1152x864
00:16:17.907972 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=1152x864
00:16:17.908002 GUI: UIFrameBufferPrivate::performResize: Size=1152x864, Directly using source bitmap content
00:16:17.911553 GUI: UIMachineView::storeGuestSizeHint: Storing guest-screen size-hint for screen 0 as 1152x864
Post Reply