From owner-freebsd-ports@FreeBSD.ORG Tue Jul 16 14:42:55 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7C4E5F6C for ; Tue, 16 Jul 2013 14:42:55 +0000 (UTC) (envelope-from bluegreengold@hushmail.com) Received: from smtp5.hushmail.com (smtp5.hushmail.com [65.39.178.142]) by mx1.freebsd.org (Postfix) with ESMTP id 694CFA97 for ; Tue, 16 Jul 2013 14:42:55 +0000 (UTC) Received: from smtp5.hushmail.com (localhost [127.0.0.1]) by smtp5.hushmail.com (Postfix) with SMTP id 85A9C601A7 for ; Tue, 16 Jul 2013 14:42:54 +0000 (UTC) Received: from smtp.hushmail.com (w4.hushmail.com [65.39.178.50]) by smtp5.hushmail.com (Postfix) with ESMTP for ; Tue, 16 Jul 2013 14:42:54 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 72EB4C0450; Tue, 16 Jul 2013 14:42:54 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 16 Jul 2013 10:42:54 -0400 To: freebsd-ports@freebsd.org Subject: OpenGL i386 Virtualbox strangeness From: bluegreengold@hushmail.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20130716144254.72EB4C0450@smtp.hushmail.com> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 14:42:55 -0000 I'm experiencing erratic behavior with opengl in a i386 freebsd. It's on a fresh install, with only sudo, Xorg, Fluxbox, Blender mesademos, and lives installed from ports. Everything is configured correctly AFAIK. I am trying to run an opengl program from an xterm window. The problem I am having is that after successfully running a single instance of an application using OpenGL, if I terminate the program, ie the gears demo from mesa- demos, further attempts to run an opelgl application fails. The output I get is this: $gears OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x28bf6d00 OpenGL Warning: Retry with 0xd1 returned 1 visuals OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x28bf6d00 OpenGL Warning: Retry with 0xd1 returned 1 visuals 1785 frames in 5.00 seconds = 357.00 FPS 2614 frames in 5.00 seconds = 522.800 FPS $ gears OpenGL Error: packspuConnectToServer: no connection on first create! I experienced the same packspuConnectToServer error with a more complex install, sometimes programs would run, but then after a single instance, not run again. Sometimes they would never run from a cold boot. Rebooting doesn't necessary resolve the issue. However, even without rebooting, waiting for a while seems to reset something and I can connect again (at least some of the time). (I just checked now after 20 minutes and gears would run again, once, and then the same error). The behavior seems rather temperamental, and I don't know where I should be looking. Is there an openGL guru out there who has any idea of what I need to do so that I can connect to the server reliably? thanks