You are not logged in.

#1 2015-07-25 06:38:03

ntisithoj
Member
Registered: 2015-03-09
Posts: 11

virtualbox 5.0.0-1 now longer enabling VGA-1

running: Linux sServerArchVM 4.1.2-2-ARCH #1 SMP PREEMPT Wed Jul 15 08:30:32 UTC 2015 x86_64 GNU/Linux

This seems to be new with 5.* of VB...  I have two monitors defined witj 128M of video memory in the VB settings, but the guest does not see the second screen.  the VB environment does see two because it shows "Virtual Screen 1" and "Virtual Screen 2" in the VB menu -> View for the instance.   Also, it shows both screens with a list of resolutions for each if i right click on the display status icon in the VB status bar.  But in the "virtual screen 2" selection everything is grayed except for the "enable" box, which is unchecked.  Checking it does nothing. 

As an alternative solution I was wondering if it was possible to simply make the one screen 3690x1280, and stretch it across both monitors, which works but I can't get the screen res to go higher than 2500x.

of course, I have all the guest packages installed, built the dkms modules, and and have vboxvideo module loaded on the guest.

randr also only sees VGA-0

I created this file 10-monitor.conf in /etc/X11/xorg.conf.d

Section "Monitor"
            Identifier      "Monitor0"
            HorizSync 1.0 - 10000.0
            VertRefresh 1.0 - 10000.0
            Option          "DPMS"
    EndSection
     
    Section "Monitor"
            Identifier      "Monitor1"
            HorizSync 1.0 - 10000.0
            VertRefresh 1.0 - 10000.0
            Option          "DPMS"
    EndSection
     
    Section "Device"
            Identifier      "Device0"
            Driver          "vboxvideo"
            Screen          0
    EndSection
     
    Section "Device"
            Identifier      "Device1"
            Driver          "vboxvideo"
            Screen          1
    EndSection
     
    Section "Screen"
            Identifier      "Screen0"
            Device          "Device0"
            Monitor         "Monitor0"
            DefaultDepth    24
            SubSection "Display"
                    Depth 24
                    Modes "1920x1280"
            EndSubsection
    EndSection
     
     
    Section "Screen"
            Identifier      "Screen1"
            Device          "Device1"
            Monitor         "Monitor1"
            DefaultDepth    24
            SubSection "Display"
                    Depth 24
                    Modes "1920x1280"
            EndSubsection
    EndSection
     
    Section "ServerLayout"
            Identifier      "Multihead"
            Screen          0 "Screen0"
            Screen          1 "Screen1" RightOf "Screen0"
            Option          "Xinerama" "1"
    EndSection

but this resulted in the error message

undefined symbol vgahwfreehwrec

which left me in the dark.

I originally asked about this in the VB forum, but they said as Arch is an unsupported OS, I would have to has here.  Here is a related post from there ->  https://forums.virtualbox.org/viewtopic … rs#p329309, and the poster mentions Arch bug #45748 but I could not find that bug on https://bugs.archlinux.org/


the stranger clue is that this condition only exists when I do a restart of the VM.  If I restore a saved state it works fine, assuming that old saved state had both screens enabled.


has anyone else had this sort of problem?  or does anyone have any ideas for solution or workaround?

Thanks

Last edited by ntisithoj (2015-07-25 07:33:49)

Offline

#2 2015-07-27 13:49:42

ryan0270
Member
Registered: 2010-08-31
Posts: 25

Re: virtualbox 5.0.0-1 now longer enabling VGA-1

I am running into the same problem here. When I do View->Virtual Screen 2->Enable, nothing happens. Similarly, in fullscreen mode when I try to set the second virtual screen to use a specific host screen nothing happens. I have another virtual machine running Linux Mint where these functions work so this appears to be an interaction with the VBox 5 and arch.

This is on an up-to-date arch guest system (July 27, 2015).

#  pacman -Qi virtualbox-guest-modules | grep Version
Version        : 5.0.0-1
#  pacman -Qi virtualbox-guest-utils | grep Version
Version        : 5.0.0-1
# uname -a
Linux arch_vbox1 4.1.2-2-ARCH #1 SMP PREEMPT Wed Jul 15 08:30:32 UTC 2015 x86_64 GNU/Linux

Offline

#3 2015-07-27 16:31:01

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: virtualbox 5.0.0-1 now longer enabling VGA-1

Offline

#4 2015-07-27 17:10:07

ntisithoj
Member
Registered: 2015-03-09
Posts: 11

Re: virtualbox 5.0.0-1 now longer enabling VGA-1

so, if I remove the arch guest modules and build them myself from the official VBoxGuestAdditions.iso is should work?

Offline

#5 2015-07-27 19:47:50

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: virtualbox 5.0.0-1 now longer enabling VGA-1

Yes, or apparently you can just downgrade to the last 4.x version of the modules. Using the official modules will pollute your system a bit.

Offline

#6 2015-07-28 13:12:42

ryan0270
Member
Registered: 2010-08-31
Posts: 25

Re: virtualbox 5.0.0-1 now longer enabling VGA-1

Unfortunately for me, attempting to downgrade virtualbox-guest-utils to 4.3.20-1 results in an error.

...
warning: downgrading package virtualbox-guest-utils (5.0.0-1 => 4.3.20-1)
resolving dependencies...
warning: cannot resolve "X-ABI-VIDEODRV_VERSION=18", a dependency of "virtualbox-guest-utils"

I'm guessing this would be fixed by downgrading other packages but then I'm starting a chain of downgrading a bunch of stuff. At this point I guess I'm hoping for a quick fix to bug.

Offline

#7 2015-09-16 21:17:06

dobo
Member
Registered: 2010-07-09
Posts: 21

Re: virtualbox 5.0.0-1 now longer enabling VGA-1

There's something wrong in X11 vboxvideo driver compiled from source. I've described in FS#45748 how to extract and replace library to precompiled one. After applying this workaround dual monitor support should work.

Offline

Board footer

Powered by FluxBB