Date: Wed, 21 Sep 2016 16:12:55 +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.1609211608510.1040@mail.fig.ol.no> In-Reply-To: <20160921155409.6fa03e04@freyja.zeit4.iv.bundesimmobilien.de> References: <20160921142312.3ff43b67@freyja.zeit4.iv.bundesimmobilien.de> <alpine.BSF.2.20.1609211508360.1040@mail.fig.ol.no> <20160921155409.6fa03e04@freyja.zeit4.iv.bundesimmobilien.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Sep 2016 15:54+0200, O. Hartmann wrote: > On Wed, 21 Sep 2016 15:10:10 +0200 (CEST) > Trond Endrestøl <Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > 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 > > > > Tried, but it doesn't work. The FreeBSD guest window is always stuck with > 800x600 pixels :-( Oh, I ignored the fact you're using UEFI in VBox. Until a proper KMS driver exists you and I are out of luck. I always use BIOS firmware for my VBox guests using X11. :-( All my UEFI VMs run as console-only. Running them in fullscreen at 1280x1024 gives me some comfort. -- +-------------------------------+------------------------------------+ | 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 15:51:03 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 ACBA9BE40DE for <freebsd-questions@mailman.ysv.freebsd.org>; Wed, 21 Sep 2016 15:51:03 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp205.alice.it (smtp205.alice.it [82.57.200.101]) by mx1.freebsd.org (Postfix) with ESMTP id 3E47AE4B for <freebsd-questions@freebsd.org>; Wed, 21 Sep 2016 15:51:02 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (62.211.162.64) by smtp205.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 57D7C4E801F3E0CB for freebsd-questions@freebsd.org; Wed, 21 Sep 2016 17:50:55 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id u8LForoT054508 for <freebsd-questions@freebsd.org>; Wed, 21 Sep 2016 17:50:54 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> From: Andrea Venturoli <ml@netfence.it> Subject: OpenGL over X11/SSH Message-ID: <2deff892-7ac3-e3e2-92fe-27e95f089ea0@netfence.it> Date: Wed, 21 Sep 2016 17:50:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 15:51:03 -0000 Hello. I apoligize if this is a FAQ, but I could not find any useful pointer. I'm used to connecting via ssh to a couple of "heavy duty" servers on my LAN; I've got X11 forward working and in fact I usually run emacs, xterm, sometimes even FireFox. Now I need to try an OpenGL-based program, but I'm not able to get it right. > % glxinfo > name of display: localhost:11.0 > libGL error: failed to open drm device: No such file or directory > libGL error: failed to load driver: r600 > libGL error: unable to load driver: swrast_dri.so > libGL error: failed to load driver: swrast > X Error of failed request: GLXBadContext > Major opcode of failed request: 154 (GLX) > Minor opcode of failed request: 6 (X_GLXIsDirect) > Serial number of failed request: 46 > Current serial number in output stream: 45 AFAICT this should work, albeit without hardware acceleration, which is fine to me since this is only going to be a test. Any help? bye & Thanks av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1609211608510.1040>