From owner-cvs-ports Tue Feb 11 1:57:41 2003 Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9285737B401; Tue, 11 Feb 2003 01:57:38 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2327D43F3F; Tue, 11 Feb 2003 01:57:37 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.6/8.12.6) with ESMTP id h1B9vkFq039720; Tue, 11 Feb 2003 10:57:46 +0100 (CET) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.6/8.12.6/Submit) id h1B9vjkh039719; Tue, 11 Feb 2003 10:57:45 +0100 (CET) Date: Tue, 11 Feb 2003 10:57:45 +0100 From: Stijn Hoop To: "Thomas E. Zander" Cc: Alexandr Kovalenko , Oliver Braun , ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: ports/multimedia/mplayer Makefile distinfo pkg-plist ports/multimedia/mplayer/files patch-ad Message-ID: <20030211095745.GA17571@pcwin002.win.tue.nl> References: <200302101928.h1AJS6Gs088748@repoman.freebsd.org> <20030210200115.GA832@nevermind.kiev.ua> <20030211013436.GB576@trillian.mugiri.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <20030211013436.GB576@trillian.mugiri.au> User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! Sender: owner-cvs-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 11, 2003 at 09:34:36AM +0800, Thomas E. Zander wrote: > Am Mon, dem 10. Feb 2003, um 22:01 +0200 Uhr schrubte Alexandr Kovalenko: > > We should also note that if you are planning to play QT movies, you > > should add CPU_ENABLE_SSE to your kernel so that mplayer will not crash > > attempting to play it (looks like either mplayer or QT win32 libs can't > > detect if SSE is enabled). >=20 > No, that is not a qt-specific problem. > Mplayer checks which cpu it is running on and assumes (as I would do if > I were a program :-) ) that it can use SSE if it is a SSE-capable CPU. I think this is a bad assumption. There should be a mechanism for mplayer to detect whether it can use SSE instructions without 'guessing' by checking the CPU type. As another poster asked, how do I know I can use the option? It's not exactly common knowledge that the kernel option might be needed. But I also think it is strange that the fact that SSE instructions are available cannot be detected (and used) at runtime by the kernel. Is this unwise to do for performance reasons? Anyone care to elaborate? A quick grep through /usr/src shows that there are not too many places that this option is used although it seems to affect process register storage, so I imagine it could be a performance hit if another check is needed per process context switch. However I'm absolutely no kernel developer, so this is mostly guessing. Anyone with more clue reading this? --Stijn --=20 An Orb is for life, not just for Christmas. --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+SMkZY3r/tLQmfWcRAoRaAJ9LQIGz1Z1bHcUfFFWUtwbPZ1S80ACgg2QN v+it7PLqil+0MoxwpGSlL4k= =tsUB -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-ports" in the body of the message