Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2016 15:10:10 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD as VBox guest: vboxvideo allows only resolution of 800x600
Message-ID:  <alpine.BSF.2.20.1609211508360.1040@mail.fig.ol.no>
In-Reply-To: <20160921142312.3ff43b67@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20160921142312.3ff43b67@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Sep 2016 14:23+0200, O. Hartmann wrote:

> Hello.
> 
> First, please CC me, I do not subscribe this list.
> 
> I run VirtualBox (lastes 5.1.X as of ports) on FreeBSD CURRENT and within this
> host, I try to run a FreeBSD/NanoBSD appliance. So far, so good. The guest
> works well so far, it has port emulators/virtualbox-ose-additions installed and
> has 
> 
> vboxguest_enable="YES"
> vboxservice_enable="YES"
> 
> enabled in rc.conf.local.
> 
> X11 is also up and running and its SCREEN definition is as follows:
> 
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Card-vboxvideo"
>         Monitor    "Monitor0"
> 
>         SubSection "Display"
>                 Viewport        0 0
>                 #Depth          24
>                 Depth           16
>                 #Modes          "1024x768 1366x768 1440x900 1600x900 1920x1200" 
> 		Modes           "1440x900"
>         EndSubSection
> 
> EndSection
> 
> The Guest OS has always a screensize size of 800x600 pixel. The UEFI initial
> console shows efifb with 1024x768 pixel, but whenever the graphics starts, it
> is reduced to 800x600.
> 
> The driver is configured as
> 
>  Section "Device"
>         Identifier  "Card-vboxvideo"
>         Driver      "vboxvideo"
> EndSection
> 
> In the lower menu bar, I could, theoretically, switch resolution with menu item
> "Virtual screen 1" to a bunch of settings - but only 800x600 is checked and is
> selected - nothing else works. I can't select any other resolution!
> 
> What is missing here? Something within the driver definition?
> 
> I have other guests in the very same VBox, like Windows 7 and I can change
> their resolution up to 1920x1080 (I have a screen that is cabapble of
> 1920x1200).
> 
> Thank you very much in advance,
> 
> Oliver

Have a look at my config file:

http://ximalas.info/~trond/create-zfs/canmount/xorg.conf

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Wed Sep 21 13:54:12 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92765BE2D0D
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Wed, 21 Sep 2016 13:54:12 +0000 (UTC)
 (envelope-from ohartman@zedat.fu-berlin.de)
Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de
 [130.133.4.66])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 55C6D6AE
 for <freebsd-questions@freebsd.org>; Wed, 21 Sep 2016 13:54:12 +0000 (UTC)
 (envelope-from ohartman@zedat.fu-berlin.de)
Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69])
 by outpost.zedat.fu-berlin.de (Exim 4.85)
 with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)
 (envelope-from <ohartman@zedat.fu-berlin.de>)
 id <1bmhyU-003egr-4t>; Wed, 21 Sep 2016 15:54:10 +0200
Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249]
 helo=freyja.zeit4.iv.bundesimmobilien.de)
 by inpost2.zedat.fu-berlin.de (Exim 4.85)
 with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256)
 (envelope-from <ohartman@zedat.fu-berlin.de>)
 id <1bmhyT-000Qwv-RG>; Wed, 21 Sep 2016 15:54:10 +0200
Date: Wed, 21 Sep 2016 15:54:09 +0200
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: Trond =?ISO-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc: freebsd-questions <freebsd-questions@freebsd.org>
Subject: Re: FreeBSD as VBox guest: vboxvideo allows only resolution of 800x600
Message-ID: <20160921155409.6fa03e04@freyja.zeit4.iv.bundesimmobilien.de>
In-Reply-To: <alpine.BSF.2.20.1609211508360.1040@mail.fig.ol.no>
References: <20160921142312.3ff43b67@freyja.zeit4.iv.bundesimmobilien.de>
 <alpine.BSF.2.20.1609211508360.1040@mail.fig.ol.no>
Organization: FU Berlin
X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd12.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 87.138.105.249
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Sep 2016 13:54:12 -0000

On Wed, 21 Sep 2016 15:10:10 +0200 (CEST)
Trond Endrest=F8l <Trond.Endrestol@fagskolen.gjovik.no> wrote:

> On Wed, 21 Sep 2016 14:23+0200, O. Hartmann wrote:
>=20
> > Hello.
> >=20
> > First, please CC me, I do not subscribe this list.
> >=20
> > I run VirtualBox (lastes 5.1.X as of ports) on FreeBSD CURRENT and with=
in
> > this host, I try to run a FreeBSD/NanoBSD appliance. So far, so good. T=
he
> > guest works well so far, it has port emulators/virtualbox-ose-additions
> > installed and has=20
> >=20
> > vboxguest_enable=3D"YES"
> > vboxservice_enable=3D"YES"
> >=20
> > enabled in rc.conf.local.
> >=20
> > X11 is also up and running and its SCREEN definition is as follows:
> >=20
> > Section "Screen"
> >         Identifier "Screen0"
> >         Device     "Card-vboxvideo"
> >         Monitor    "Monitor0"
> >=20
> >         SubSection "Display"
> >                 Viewport        0 0
> >                 #Depth          24
> >                 Depth           16
> >                 #Modes          "1024x768 1366x768 1440x900 1600x900
> > 1920x1200" Modes           "1440x900"
> >         EndSubSection
> >=20
> > EndSection
> >=20
> > The Guest OS has always a screensize size of 800x600 pixel. The UEFI in=
itial
> > console shows efifb with 1024x768 pixel, but whenever the graphics star=
ts,
> > it is reduced to 800x600.
> >=20
> > The driver is configured as
> >=20
> >  Section "Device"
> >         Identifier  "Card-vboxvideo"
> >         Driver      "vboxvideo"
> > EndSection
> >=20
> > In the lower menu bar, I could, theoretically, switch resolution with m=
enu
> > item "Virtual screen 1" to a bunch of settings - but only 800x600 is
> > checked and is selected - nothing else works. I can't select any other
> > resolution!
> >=20
> > What is missing here? Something within the driver definition?
> >=20
> > I have other guests in the very same VBox, like Windows 7 and I can cha=
nge
> > their resolution up to 1920x1080 (I have a screen that is cabapble of
> > 1920x1200).
> >=20
> > Thank you very much in advance,
> >=20
> > Oliver =20
>=20
> Have a look at my config file:
>=20
> http://ximalas.info/~trond/create-zfs/canmount/xorg.conf
>=20

Tried, but it doesn't work. The FreeBSD guest window is always stuck with
800x600 pixels :-(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1609211508360.1040>