From owner-freebsd-x11@FreeBSD.ORG Sat Nov 19 18:22:53 2005 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1556716A420 for ; Sat, 19 Nov 2005 18:22:53 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57DC943D46 for ; Sat, 19 Nov 2005 18:22:51 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr1.xs4all.nl (8.13.3/8.13.3) with ESMTP id jAJIMo1b005336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 19 Nov 2005 19:22:50 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <437F6D7A.9070401@xs4all.nl> Date: Sat, 19 Nov 2005 19:22:50 +0100 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <437E8B98.8090700@nieser.net> In-Reply-To: <437E8B98.8090700@nieser.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: nvidia X driver and OpenGL performance problem 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: Sat, 19 Nov 2005 18:22:53 -0000 Hans Nieser wrote: > Hi list, > > Recently I've been trying out games such as the Doom 3 demo (Linux > binaries), Quake 2, Quake 3 Demo (Linux binaries) and the new Quake 4 > port (also Linux binaries) under FreeBSD, and although they run without > any errors or visual oddities, the performance has been somewhat > dissappointing - they all run about 3 to 4 times slower than they do on > Windows and are hardly playable (except for Quake 3 / 2, but those > obviously require much less of the video hardware). This seems to be the > case with all OpenGL games / apps. glxgears with its default settings > (that is, I just typed 'glxgears' with no options) renders about 7200 > FPS on average. Well here's an interesting twist; when I log into X/Gnome as root, the games run a heck of a lot smoother (note that su/sudo doesn't have the same effect, I really have to login as root). Quake 4 went from 10-20 fps in the first level to 40-50 fps on average. I'm guesssing however that playing games as root (online games, that is) might not be a good idea. Now I just need to figure out what exactly makes games run slower for non-root users.