From owner-freebsd-java@FreeBSD.ORG Thu Nov 13 14:49:14 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D13016A4CE for ; Thu, 13 Nov 2003 14:49:14 -0800 (PST) Received: from amsfep11-int.chello.nl (amsfep11-int.chello.nl [213.46.243.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4875F43FDD for ; Thu, 13 Nov 2003 14:49:12 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from bowtie.nl ([213.46.7.58]) by amsfep11-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20031113224910.IJIE1413.amsfep11-int.chello.nl@bowtie.nl>; Thu, 13 Nov 2003 23:49:10 +0100 Message-ID: <3FB40A69.8060005@bowtie.nl> Date: Thu, 13 Nov 2003 23:49:13 +0100 From: Marc van Kempen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: java3d port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 22:49:14 -0000 Hi, I saw a post from Gavin Kenny last year, reporting that he had linux java3d running on FreeBSD 4.4. I just tried doing it on FreeBSD 5.1, drm support is in the kernel since 5.0 so I apparently donīt need the drm-kmod port, I installed the linux_mesa3d port and the linux_dri-4.3.0_1.tbz. My XFree86 version is 4.3.0_1, java version is linux-sun-jdk1.4.2. When I try running a demo I get the following error: ************************************************************************ *** ERROR: Canvas3D constructed with a null GraphicsConfiguration *** This will cause a NullPointerException in a subsequent release ************************************************************************ An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 4 occurred at PC=0x3551D4E1 Function=(null)+0x3551D4E1 Library=/usr/X11R6/lib/libGL.so.1 NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at javax.media.j3d.Canvas3D.callDisplayList(Native Method) at javax.media.j3d.DisplayListRenderMethod.render(DisplayListRenderMethod.java:43) at javax.media.j3d.RenderMolecule.render(RenderMolecule.java:1852) at javax.media.j3d.TextureBin.renderList(TextureBin.java:1296) at javax.media.j3d.TextureBin.renderList(TextureBin.java:1268) at javax.media.j3d.TextureBin.render(TextureBin.java:1258) at javax.media.j3d.TextureBin.render(TextureBin.java:1211) at javax.media.j3d.AttributeBin.render(AttributeBin.java:389) at javax.media.j3d.EnvironmentSet.render(EnvironmentSet.java:426) at javax.media.j3d.LightBin.render(LightBin.java:361) at javax.media.j3d.RenderBin.renderOpaque(RenderBin.java:5013) at javax.media.j3d.Renderer.doWork(Renderer.java:1226) at javax.media.j3d.J3dThread.run(J3dThread.java:250) Dynamic libraries: Can not get information for pid = 91299 Heap at VM Abort: Heap def new generation total 576K, used 394K [0x2c770000, 0x2c810000, 0x2cc50000) eden space 512K, 73% used [0x2c770000, 0x2c7cdb18, 0x2c7f0000) from space 64K, 31% used [0x2c7f0000, 0x2c7f50a0, 0x2c800000) to space 64K, 0% used [0x2c800000, 0x2c800000, 0x2c810000) tenured generation total 1408K, used 911K [0x2cc50000, 0x2cdb0000, 0x30770000) the space 1408K, 64% used [0x2cc50000, 0x2cd33de0, 0x2cd33e00, 0x2cdb0000) compacting perm gen total 7424K, used 7350K [0x30770000, 0x30eb0000, 0x34770000) the space 7424K, 99% used [0x30770000, 0x30e9d920, 0x30e9da00, 0x30eb0000) Local Time = Thu Nov 13 22:48:16 2003 Elapsed Time = 4 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode) # # An error report file has been saved as hs_err_pid91285.log. # Please refer to the file for further information. # Has anyone been able to get this running on FreeBSD? (accelerated or not) Regards, Marc.