From owner-freebsd-questions@freebsd.org Wed Sep 21 14:13:04 2016 Return-Path: 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 AA3E2BE34DA for ; Wed, 21 Sep 2016 14:13:04 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 53DC71661 for ; Wed, 21 Sep 2016 14:13:04 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u8LECtKl068561 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 21 Sep 2016 16:12:55 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u8LECtOg068558; Wed, 21 Sep 2016 16:12:55 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 21 Sep 2016 16:12:55 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: "O. Hartmann" cc: freebsd-questions Subject: Re: FreeBSD as VBox guest: vboxvideo allows only resolution of 800x600 In-Reply-To: <20160921155409.6fa03e04@freyja.zeit4.iv.bundesimmobilien.de> Message-ID: References: <20160921142312.3ff43b67@freyja.zeit4.iv.bundesimmobilien.de> <20160921155409.6fa03e04@freyja.zeit4.iv.bundesimmobilien.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 14:13:04 -0000 On Wed, 21 Sep 2016 15:54+0200, O. Hartmann wrote: > On Wed, 21 Sep 2016 15:10:10 +0200 (CEST) > Trond Endrestøl 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: 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 ; 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 ; 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 ; 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" From: Andrea Venturoli 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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.