delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/09/19/11:27:49

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Subject: Re: PCB OpenGL issues
From: Peter Clifton <pcjc2 AT cam DOT ac DOT uk>
To: geda-user AT delorie DOT com
Date: Mon, 19 Sep 2011 16:27:14 +0100
In-Reply-To: <4E773C3B.8000503@zepler.net>
References: <4E773C3B DOT 8000503 AT zepler DOT net>
X-Mailer: Evolution 3.1.91-
Message-ID: <1316446056.18439.7.camel@localhost>
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--=-NAFlHJxTlrEjY11/rB1l
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, 2011-09-19 at 13:57 +0100, Chris Smith wrote:
> Hi,
>=20
> I've just compiled pcb from GIT (git clone git://git.gpleda.org/pcb.git)
> on a new Ubuntu 10.04 i386 VM.  This is running as a VirtualBox guest on
> a Mac OSX Lion host with 3D acceleration enabled.

So the application you are running is inside the Ubuntu VM, with GTK
running its X11 backend - no native Cocoa bits. Hmm.

This is the kind of behaviour I might expect on Win32, without a patched
(fixed) version of GTK. On Linux - it "should" work.

What GTK version are you using?

> I have a problem in that the main canvas/drawing area doesn't seem to be
> attached to the application window: GTK menus and dialogs appear behind
> the canvas and when the application window is dragged around the screen
> the canvas stays where it is until the mouse button is released (at
> which point it relocates to the new position).

Do you have virtual box set to have a desktop, or is it forwarding
individual windows from programs into the OS X windowing system?

> Also, I note a lot of output on the console:
> "No stencil bits available.
> Cannot mask polygon holes or subcomposite layers
> No more stencil bits available, total of 0 already assigned"

That means the OpenGL support is lacking features we rely on for fast
polygon drawing and sub-compositing of our translucent layers.
(Sub-compositing avoids having darker patches where multiple translucent
tracks overlap within the same layer).

> Any idea what the problem is?

No, but the next step would be to report the output of the "glxinfo"
command, and to verify whether other simple GL apps like "glxgears" work
as expected or not.


I've not debugged PCB+GL running in a VM before, so this is new
territory for me. I appreciate your help tracking down the problems.

Best wishes,

--=20
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)

--=-NAFlHJxTlrEjY11/rB1l
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAABAgAGBQJOd19SAAoJEOo4D/b1x+QVxzkH/RXMqEKuM1imocEWZ28vUtz9
o412ZnFWlCs1QNT3iAasbuaxqEiSKvWHuC7RBpDvPu2/eBxv8Hu3FCLhf43YLmbw
qbrT4NguMmjUrk3MwcN3IXoUfK3w+Zw9ZBQTf2iao7zHk95hkcEZTv0dwi2tnt7X
fhZl+IiiAGj6wSys0e+5txRLS2mmqe+zEHU0jqqSngHX1g5gqnEr3imFdajB6/ag
iVxiYUyECBVjUGnTK7njMAvj2P2BCatW01/ulCggthldmbLXse7W4fzbvns6EFyv
vUyAkxePScUPOoxviyA0DLxm2CP6QSDOaBVX34PBn07x3GPTXAmzUjm81Xrh2yU=
=aZO/
-----END PGP SIGNATURE-----

--=-NAFlHJxTlrEjY11/rB1l--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019