From owner-freebsd-questions@freebsd.org Tue Jun 29 17:30:57 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3DEF064F844 for ; Tue, 29 Jun 2021 17:30:57 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GDs2S0M2sz3QdV for ; Tue, 29 Jun 2021 17:30:55 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x42c.google.com with SMTP id i8so212574wrc.0 for ; Tue, 29 Jun 2021 10:30:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wihLEF3QXFbbKILJKtnYl2yDV84QW8+Kcw9EusB9jMA=; b=rlePz5aTLyh+QKXRO5TehU/yqzgPTliBzUYNSMvKkPFxOlIuBv9VqgfLAHpA5jbNH0 mGhjwQJgig/v/Lsu5wo/GcFHmBsHNkZJKBrScMOoEHrQEtMzL6dgSIRg8LnAjcotIat0 UQ4ffBpPZA3NztyEn395o89OhdFJr1eTSVP9oIedj10+Wr84zaz8a834hKe0/EUm10Jq t92hglh9880LmMB7G2oYCuG795MxvmuvZvFfbFrHIIHPSp4zCQH0Da/pSNk14KtK8HB1 NaC6+8jfXNTPxCjhCp0InPKlq3UHB9IvEEI0aVaBxMcP7Jg95UxJoZNpd/RMtlrgyHOe 5PSA== X-Gm-Message-State: AOAM533S0CeWxyU2XZBZCzE0CGKMAh4bjXyonCAY3ZM7sRojLD6cB1zS SuMC9RP7pQXJuPIOOIPuTDxYIYMRF0EqAw== X-Google-Smtp-Source: ABdhPJxQjRuqMaYAHsroUBtc4zu1/wBH8eG26edTRjyTaXAutOIGSz2/XiTl3TqLraumNerNRazUVA== X-Received: by 2002:adf:8061:: with SMTP id 88mr34545397wrk.233.1624987854260; Tue, 29 Jun 2021 10:30:54 -0700 (PDT) Received: from gumby.homeunix.com (host-92-1-116-226.as13285.net. [92.1.116.226]) by smtp.gmail.com with ESMTPSA id b11sm3536244wmj.25.2021.06.29.10.30.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 10:30:53 -0700 (PDT) Date: Tue, 29 Jun 2021 18:30:52 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Old NVIDIA card, new FreeBSD = failure? Message-ID: <20210629183052.220dc202@gumby.homeunix.com> In-Reply-To: References: <36919.1624649280@segfault.tristatelogic.com> <24790.13300.679983.900189@jerusalem.litteratus.org> <778F35B8-10F3-4D4D-8200-A235FD9A0762@unrelenting.technology> <24791.42526.208238.436624@jerusalem.litteratus.org> <24792.26420.394563.785764@jerusalem.litteratus.org> <85b5b9b3-ad93-e8ac-2e86-b2f277ed7753@freebsd.org> <20210628231143.098884e5@gumby.homeunix.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GDs2S0M2sz3QdV X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-0.996]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42c:from]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[92.1.116.226:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42c:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42c:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2021 17:30:57 -0000 On Mon, 28 Jun 2021 17:19:05 -0700 Kevin Oberman wrote: > On Mon, Jun 28, 2021 at 3:11 PM RW via freebsd-questions < > freebsd-questions@freebsd.org> wrote: > > I wonder if hardware decoding is actually important on desktop > > processors. I'm using integrated Intel HD 2500 graphics from > > 8 years ago with the i915 driver and, AFAIK, I'm seeing 3d > > acceleration, but not getting hardware decoding for video. > > > > 1080p x264 decoding in software is using only about 28% of a core > > with vlc, 4k video on a 1080p display is about 180%. This is on an > > 8 year old, bottom of the range, quad core, sandy bridge i5 cpu. > > _______________________________________________ > > > On an 8 year old i915, I'm guessing Ivy Bridge, you should get video > acceleration with libva-intel-driver. Thanks, that does work. And it is ivy bridge rather than sandy bridge. > On my 10 year old Sandy Bridge system the CPU > utilization for playing an H.264 encoded video dropped CPU from 60% > to about 10%. I could even play video with a compile running as long > as the compile was niced. I've not noticed any impact on video from compiling, unless I run with the default value of kern.sched.preempt_thresh. Perhaps we've found the point at which hardware decoding became relatively insignificant. I've only recently got the Intel graphics working. I originally fell back to using an old nVidia card. If you followed the UPDATING advice exactly nVidia video support fell-off with kernel mode-setting, and I didn't notice. I only found out because someone pointed it out in this list, and he only noticed it in top.