From owner-freebsd-questions@freebsd.org Fri Sep 23 06:38:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2B83BE55C0 for ; Fri, 23 Sep 2016 06:38:33 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp207.alice.it (smtp207.alice.it [82.57.200.103]) by mx1.freebsd.org (Postfix) with ESMTP id 797873A1 for ; Fri, 23 Sep 2016 06:38:32 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (62.211.162.64) by smtp207.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 57C7E4C003F819E9; Fri, 23 Sep 2016 08:38:31 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id u8N6cUkK099968; Fri, 23 Sep 2016 08:38:30 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu From: Andrea Venturoli Subject: Re: firefox crash To: Ralf Mardorf , "freebsd-questions@freebsd.org" References: <20160919172525.2857fcee@archlinux.localdomain> <20160920053641.e9075ee2.freebsd@edvax.de> <810b54d9-9769-eb99-8809-ea22a09f6d65@hiwaay.net> <1e50daef-c0e6-813b-2295-be8d413b4eb5@hiwaay.net> <20160921075019.3e68d68b@archlinux.localdomain> <1bce8b64-b993-6e1e-2fee-f7c3cfe0c4ca@netfence.it> <20160922100646.26ef2406@archlinux.localdomain> Message-ID: <5d9a7a6b-b951-20e4-5557-f9bcd03924b2@netfence.it> Date: Fri, 23 Sep 2016 08:38:30 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20160922100646.26ef2406@archlinux.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 06:38:34 -0000 On 09/22/16 10:06, Ralf Mardorf via freebsd-questions wrote: (I'm resending this because I don't see it on the list; please forgive me if you receive this twice). > You noticed the follow-up? Yes, I think my problem is solved (no crash in two days)! > Well, a practical workaround is always to build the port yourself using > different OPTIONs :-) That's what I've always done: however I did not know which option to tweak until I saw your message yesterday. > Jokes aside, your point is of course valid. It seems there are still a > large enough number of i386 CPUs in production that can't work with > the SSE/SSE2-optimisations in ffmpeg. My CPU is actually 64b; it's running i386 since it was an upgrade to an old system, built more than 10 (possibly even 15) years ago. I just never felt an urge to convert since it's working fine enough for me. However I notice an ever-growing number of ports that don't seem to get too much attention on this architecture. > We might need to drop these > optimisations in the set of default OPTIONs on i386. I guess so; knowing my CPU should support SSE I've always enabled it, however. Maybe some warning is better? > In your particular case: What exact CPU is this? From dmesg: > CPU: AMD Phenom(tm) II X4 925 Processor (2800.23-MHz 686-class CPU) > Origin="AuthenticAMD" Id=0x100f42 Family=0x10 Model=0x4 Stepping=2 > Features=0x178bfbff > Features2=0x802009 > AMD Features=0xee500800 > AMD Features2=0x37ff > SVM: NP,NRIP,NAsids=64 > TSC: P-state invariant Is this known to be buggy (and perhaps fixable via a BIOS upgrade)? Or is it a ffmpeg bug? Clang "feature"? ...? > Could you confirm > that building an ffmpeg package without the SSE OPTION resolves the > issue for you? Yes. I wasn't able to watch Youtube before; I can now (not that I care that much, but it's a quite sure test :). I had FireFox crashing every few minutes (as soon as I landed on a page with a nice animated advertisement that AdBlock Plus would let through); now, as I said, it hasn't crashed in the last two days. bye & Thanks av.