No dual monitor setup

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mattwarner2
Posts: 1
Joined: 23. Jul 2015, 03:21

No dual monitor setup

Post by mattwarner2 »

I'm using VirtualBox with a Windows 8.1 host and Arch Linux guest. Since I upgraded to 5.0, my guest won't start with dual monitors, and only recognizes that one monitor is plugged in. I've configured the VirtualBox display settings to show two monitors, so I don't know what I'm missing.
Attachments
xrandr.png
xrandr.png (93.78 KiB) Viewed 14714 times
display.png
display.png (24.14 KiB) Viewed 14714 times
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: No dual monitor setup

Post by loukingjr »

Have the Arch Linux guest additions been updated to work with VB 5.0?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Tony Milne
Posts: 2
Joined: 23. Jul 2015, 12:46

Re: No dual monitor setup

Post by Tony Milne »

I am having the same issue and I am running on the same host. The Archlinux guest additions (virtualbox-guest-modules) have been updated to version 5.0.0-1.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: No dual monitor setup

Post by loukingjr »

Since Arch Linux is not a supported guest I guess it's time to ask over at the Arch Linux forum.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Tony Milne
Posts: 2
Joined: 23. Jul 2015, 12:46

Re: No dual monitor setup

Post by Tony Milne »

Ok, will do. Thanks.

Edit:-

While the bug does not reference version 5 of virtual box, I believe task 45748 on the archlinux bug tracker is relevant (excuse the lack of a link, but my account is not old enough to post links).
LoLei
Posts: 1
Joined: 25. Jul 2015, 14:23

Re: No dual monitor setup

Post by LoLei »

Having the same issue here, could it be a bug coming from the new version of VB?
archnodualscreen.PNG
archnodualscreen.PNG (30.79 KiB) Viewed 14625 times
archnodualscreen2.PNG
archnodualscreen2.PNG (45.52 KiB) Viewed 14625 times
EDIT/SOLUTION: Rolling back virtualbox-guest-* packages to 4.3.28 fixes the issue of the second screen not appearing in xrandr at all.
archnodualscreen4.PNG
archnodualscreen4.PNG (26.09 KiB) Viewed 14587 times
Now the second monitor appears as "disconnected" in xrandr, before the downgrade it did not appear at all.
Still not ideal though, anyone know how to fix that? :?:
mears11
Posts: 3
Joined: 27. Feb 2014, 09:35

Re: No dual monitor setup

Post by mears11 »

Anyone find a solution yet? Same issue here after upgrading.
pinball
Posts: 3
Joined: 21. Aug 2015, 01:35

Re: No dual monitor setup

Post by pinball »

mears11 wrote:Anyone find a solution yet? Same issue here after upgrading.
I am on 5.0.8
vboxguest is also 5.0.8

i have two monitors configured, as shown in the pictures submitted by other posters
on my laptop i have two virtualbox windows, one for each configured monitor
when i run the virtual machine on my desktop, i only have one virtualbox window

running xrandr i get VGA-0 connected primary
VGA-1 disconnected

There might be a bug in virtualbox that only surfaces with certain kinds of hardware.

the host OS is windows 10 both on the working laptop and the nonworking desktop.

Any idea what logfiles to look at to see what went wrong when virtuabox tried to create the second window?

i have the bug on two deskttop systems, both of them running AMD graphics adaptors

all 3 systems show
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
when running lspci

the ciient os is ubuntu 14 something
realrunner
Posts: 1
Joined: 7. Nov 2015, 00:44

Re: No dual monitor setup

Post by realrunner »

I have the same setup and symptoms as @pinball. Anyone have any ideas?
AnssiH
Posts: 1
Joined: 12. Nov 2015, 13:06

Re: No dual monitor setup

Post by AnssiH »

Same happened to me after I upgraded my guest extensions to 5.0.8 on Mageia 5, on Windows host (tested host Virtualbox versions 4.x and 5.0.10).

I used the attached workaround/hack in vboxvideo driver to force 2 monitors and it seems to have worked. I upgraded vboxvideo to 5.0.10 at the same time, so not 100% sure if it was the upgrade or the hack that made it work.
Attachments
vboxvideo-2-displays.patch
Hack to force 2 displays in vboxvideo driver
(754 Bytes) Downloaded 546 times
SammyB
Posts: 1
Joined: 21. Dec 2015, 17:36

Re: No dual monitor setup

Post by SammyB »

AnssiH wrote:Same happened to me after I upgraded my guest extensions to 5.0.8 on Mageia 5, on Windows host (tested host Virtualbox versions 4.x and 5.0.10).

I used the attached workaround/hack in vboxvideo driver to force 2 monitors and it seems to have worked. I upgraded vboxvideo to 5.0.10 at the same time, so not 100% sure if it was the upgrade or the hack that made it work.
AnssiH - I'm at 5.0.10 so and had the same problem. I am going to try your "patch" - do I paste the file into a specific directory or copy the contents into a specific file?
protectivedad
Posts: 1
Joined: 18. Jan 2016, 16:03

Re: No dual monitor setup

Post by protectivedad »

I had this problem on all the 5.0 versions I tried including the last one 5.0.12 before I somehow solved it.

What was happening for me was after the session had started up my first Virtual Screen was set to the proper Host Screen but my second and third had no selection. Under xrandr it showed on VGA-0 connected the rest were disconnected.

I tried selecting the proper Host Screen under the Virtual Screen 2 and 3 and restarting my session. But it always came back up unselected and xrandr showed disconnected.

Somehow I got my second to show up and I have not a clue how. I was trying different Xorg configuration files, etc.

But I know the last thing I did to get the third screen to show up. Instead of waiting for the X session to fully start and then setting the Host Screen, I set the host screen as the session was starting. That seemed to do the trick. X then probed and recognized my third monitor. I'm guessing that maybe it has to do with VirtualBox not assigning a default host screen to the second and third virtual screens and the selections done after the X session starting not being saved. So by selecting them during startup and X then recognizing them they now "stick".

All the Xorg and othe changes I did I have reversed out and my virtual screens are all still working.
Post Reply