[Solved] Dual monitors, right screen shifted upwards

Discussions related to using VirtualBox on Linux hosts.
Post Reply
D. Bugger
Posts: 10
Joined: 31. May 2018, 11:55
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows10, Windows7, Win98, Suze, CentOS, Ubuntu

[Solved] Dual monitors, right screen shifted upwards

Post by D. Bugger »

Hi,

I installed a Windows 10 system on Vbox, with dual monitors, running in full-screen mode. When I place a window on 2 screens, over the edge, the window on the right monitor is displayed 8-10 pixels higher than on the left monitor. So when the title bar at the left is completely visible, only half of it is visible on the right monitor.

Update: both screens are indicated in Windows as 1920x1056, but I haven't a clue why that is.
Update 2: both screens 1920x1080 now, the upward shift is still there...

Anyone have a solution??

Thanks!

Host system: Ubuntu 16.04 LTS, 64-bit, on a HP Z420, 4x2 virtual desktops, 2 1920x1080 monitors.
Guest system: Windows 10 Pro, 64-bit, 1803
Last edited by D. Bugger on 31. Jul 2018, 16:32, edited 3 times in total.
D. Bugger
Posts: 10
Joined: 31. May 2018, 11:55
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows10, Windows7, Win98, Suze, CentOS, Ubuntu

Re: Dual monitors, right screen shifted upwards

Post by D. Bugger »

Strange resolution solved:

vboxmanage controlvm "Guest" setvideomodehint 1920 1080 32
vboxmanage controlvm "Guest" setvideomodehint 1920 1080 32 1

But the problem is still there.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Dual monitors, right screen shifted upwards

Post by socratis »

D. Bugger wrote:When I place a window on 2 screens
What does that mean? You have the Windows set to "Extend displays"? And you're dragging a window that's half left, half right?
D. Bugger wrote:when the title bar at the left is completely visible, only half of it is visible on the right monitor.
Any chance of seeing a screenshot so that we know what you're talking about?
D. Bugger wrote:both screens are indicated in Windows as 1920x1056, but I haven't a clue why that is.
Maybe that's what the host is telling them. Are you sure you're on FullScreen and not simply maximized? Huge difference there...
D. Bugger wrote:vboxmanage controlvm "Guest" setvideomodehint
I would avoiding setting the hints manually, but we'll see, it might be necessary...

We're going to need a complete VBox.log, from a complete VM run:
  • Gathering the necessary information:
    1. Start the VM from cold-boot (not from a paused or saved state).
    2. Observe the error, and take a screenshot if you can. Do *not* post your whole 3840x1080 desktop, just crop it to something smaller that shows the problem in detail.
    3. Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
I would also like to see the "recipe" of the VM, the ".vbox" file:
  1. Right-click on the VM in the VirtualBox Manager. Select "Show in Finder/Explorer/Whatever".
  2. ZIP the selected ".vbox" file and attach it to your response.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
D. Bugger
Posts: 10
Joined: 31. May 2018, 11:55
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows10, Windows7, Win98, Suze, CentOS, Ubuntu

Re: Dual monitors, right screen shifted upwards

Post by D. Bugger »

Thank you for your response, and sorry for my rather late reaction.

Screens are both 1920x1080 now, since the hints. I'm definitely in Full screen, using Ctrl-F. The image (attached) shows the very top of my screens. Windows says they are extended indeed.

I hope you can find what's wrong with the settings. It still could be W10 of course...
Attachments
Win10WS1.vbox.zip
zipped recipe
(2.39 KiB) Downloaded 20 times
Win10WS1-2018-06-05-00-07-22.log.zip
zipped log file
(31.76 KiB) Downloaded 28 times
Screen centre with half left half right and a nasty split
Screen centre with half left half right and a nasty split
extract.gif (14.33 KiB) Viewed 3179 times
D. Bugger
Posts: 10
Joined: 31. May 2018, 11:55
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows10, Windows7, Win98, Suze, CentOS, Ubuntu

Re: Dual monitors, right screen shifted upwards

Post by D. Bugger »

Any progress? Just asking...
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Dual monitors, right screen shifted upwards

Post by socratis »

I can't reproduce it, but maybe because I'm on a different host, OSX. You could try and reset some of the size/position properties and see what happens. First of all, take the VM out of full screen, then shut it down (from within the guest OS). Then issue the commands:
  • 
    VBoxManage setextradata "CustomVideoMode1"
    VBoxManage setextradata "GUI/AutoresizeGuest"
    VBoxManage setextradata "GUI/Fullscreen"
    VBoxManage setextradata "GUI/LastGuestSizeHint"
    VBoxManage setextradata "GUI/LastGuestSizeHint1"
    VBoxManage setextradata "GUI/LastNormalWindowPosition"
    VBoxManage setextradata "GUI/LastNormalWindowPosition1"
    VBoxManage setextradata "GUI/LastVisibilityStatusForGuestScreen1"
    
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
D. Bugger
Posts: 10
Joined: 31. May 2018, 11:55
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows10, Windows7, Win98, Suze, CentOS, Ubuntu

Re: Dual monitors, right screen shifted upwards

Post by D. Bugger »

No dice...

Other tricks up your sleeve? Are there any offset settings per monitor or so?
Attachments
visible offset difference
visible offset difference
screenshot 2 screens W10-2.gif (23.52 KiB) Viewed 3054 times
D. Bugger
Posts: 10
Joined: 31. May 2018, 11:55
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows10, Windows7, Win98, Suze, CentOS, Ubuntu

Re: Dual monitors, right screen shifted upwards

Post by D. Bugger »

It might be a Windows problem (in combination with VBox?), because the mouse pointer is correctly shown. I can't produce a screen shot with the mouse on W10 itself, however I made a screen shot of the top centre that shows part of the problem. Somehow there is a part of the screen missing on the right monitor. The shot is made using the Snipping Tool on W10. The earlier shots were all made using the standard Ubuntu utility Screenshot.

I'll do some tests on an older W7 VM later to day, if it still wants to run.

PS Sorry for my late reaction...
Attachments
incomplete background
incomplete background
screenshot 2 screens W10-3.gif (89.57 KiB) Viewed 3053 times
D. Bugger
Posts: 10
Joined: 31. May 2018, 11:55
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows10, Windows7, Win98, Suze, CentOS, Ubuntu

Re: Dual monitors, right screen shifted upwards

Post by D. Bugger »

It was Windows after all, see also https://www.sevenforums.com/graphic-car ... oblem.html
In the Display Settings (Configuration) there was a hardly discernible difference in the vertical position of both screens. I moved one screen up, and nothing happened. I moved it up a lot, and then down, and the the button Apply appeared, to fix the settings. Thank you so much for thinking with me, and sorry for the inconvenience...

Problem solved!
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] Dual monitors, right screen shifted upwards

Post by socratis »

Great, thanks for letting us know. And thank you for marking the topic as [Solved]... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply