Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2010 08:28:24 +0000
From:      Bernhard Froehlich <decke@bluelife.at>
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        FreeBSD Ports <ports@freebsd.org>, vbox@FreeBSD.org
Subject:   Re: Virtualbox UI and remote X clients
Message-ID:  <72fd2bbeb2274a80f912c63de552d742@bluelife.at>
In-Reply-To: <1DBB2A85-B3F8-4F90-9DC1-D4BEEFAFD94E@FreeBSD.org>
References:  <A02E5D3C-FBE1-44F6-9806-E2AFCAC9B221@FreeBSD.org> <1dad91bb50fce77a99073c0f3ece5818@bluelife.at> <1DBB2A85-B3F8-4F90-9DC1-D4BEEFAFD94E@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Oct 2010 17:04:35 -0500, Ade Lovett <ade@FreeBSD.org> wrote:
> On Oct 22, 2010, at 16:21 , Bernhard Froehlich wrote:
>> Could you please post that errors?
> 
> freebsd% setenv DISPLAY remote:0
> freebsd% VirtualBox
> 
> Wait for UI to pop up, click on 'Settings' for any virtual host,
> VirtualBox crashes with:
> 
> Qt WARNING: QGLContext::makeCurrent(): Cannot make invalid context current.
> Segmentation fault
> 
> 
> (remote) in this case has been (so far):
> 
> MacOSX 10.6 with Apple's X11.app
> MacOSX 10.6 with XQuartz.app
> Windows XP with cygwin/X
> Windows 7 with cygwin/X
> Xvnc on the FreeBSD box, then using either the Mac or Windows box to
> fire up a vnc client to get to the Xvnc.

That makes more sense now. Looks like the 2D acceleration
unconditionally requires OpenGL. You will find a lot of MythTV users
with exactly that problem and they usually switch to Qt rendering. Don't
know if vbox has such a possibility.

I think it makes sense to add an OpenGL option that disables it all
together. Can you try if it works for you when you reenable VIDEOHWACCEL
in the Makefile and add CONFIGURE_ARGS+=--disable-opengl somewhere?

>> It sounds like an upstream bug so it
>> would be good to collect a few details like why it happens on your
>> system bug I cannot reproduce it here with Intel graphics.
> 
> Please re-read what I said.  The host machine (running the
> virtualboxes) has NO graphics of any kind.  It's FreeBSD
> 8.1-STABLE/amd64 hooked up to a VT320 terminal as a serial console. 
> It has X11 libraries and the various toolkits (QT etc) installed, but
> no Xorg server (other than Xvnc), no X11 drivers
> (graphics/keyboard/mouse).
> 
> 3.2.8 was fine
> 3.2.8_1 broke things
> 3.2.10 (unsurprisingly) hasn't changed


-- 
Bernhard Fröhlich
http://www.bluelife.at/



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