From owner-freebsd-x11@FreeBSD.ORG Thu May 22 06:29:59 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42A491065682 for ; Thu, 22 May 2008 06:29:59 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id E97408FC29 for ; Thu, 22 May 2008 06:29:58 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Jz446-000LFL-LH; Thu, 22 May 2008 10:14:14 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 02C689F36; Thu, 22 May 2008 10:08:05 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id E03291702F; Thu, 22 May 2008 10:07:55 +0400 (MSD) Date: Thu, 22 May 2008 10:07:55 +0400 From: Dmitry Marakasov To: freebsd-x11@freebsd.org Message-ID: <20080522060755.GG1299@hades.panopticon> Mail-Followup-To: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp65.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - amdmi3.ru X-Source: X-Source-Args: X-Source-Dir: Subject: OpenGL accumulation buffer is very slow, testing needed X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 06:29:59 -0000 Hi! I was investigating the problem with broken OpenGL renderer in latest graphics/gnash versions and discovered that the cause of problem is accumulation buffer. I've done a simple test which shows terrible performance drop when accumulation buffer is used (about 1000x times!). I'm using FreeBSD 7.0, GeForce 3 NVidia videocard with nvidia-driver-96.43.05 and latest xorg-server-1.4 and libs. While my videocard is without doubt old and crappy, this still seems like a bug in X server or nvidia driver, as performance drop is _way_ too big and besides X server becomes unresponsive while running the test. I have at least one more report of the same problem (though no data on hardware yet), and taking into account that no problems were reported to Gnash developers by Linux users, it may be that there's something weong on FreeBSD side. The test is located here: http://amdmi3.ru/glaccum-test.tar.gz (2kb), it requires just OpenGL and SDL to run. Beware though that it may hang your X server (though, as tests exit after 20 seconds, it's unlikely). `glxinfo|grep "OpenGL.*string"` will also be useful. My results: OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce3/AGP/SSE2 OpenGL version string: 1.5.8 NVIDIA 96.43.05 ./without_accum Seconds: 20.00, frames: 10306, FPS: 515.299 ./with_accum Seconds: 20.12, frames: 10, FPS: 0.497 -- Dmitry A. Marakasov | jabber: amdmi3@jabber.ru amdmi3@amdmi3.ru | http://www.amdmi3.ru