Bug 262156 - www/chromium: Broken NVidia GPU Acceleration after 98.x update
Summary: www/chromium: Broken NVidia GPU Acceleration after 98.x update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rene Ladan
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-02-23 17:24 UTC by Oleh Hushchenkov
Modified: 2022-02-23 23:57 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback+
koobs: merge-quarterly+


Attachments
chrome://gpu v97 (15.05 KB, text/plain)
2022-02-23 18:29 UTC, Oleh Hushchenkov
no flags Details
chrome://gpu v98 (7.85 KB, text/plain)
2022-02-23 18:30 UTC, Oleh Hushchenkov
no flags Details
0001-add-back-support-for-libpci-so-that-non-MESA-drivers.patch (6.62 KB, patch)
2022-02-23 19:30 UTC, Robert Nagy
no flags Details | Diff
0001-add-back-support-for-libpci-so-that-non-MESA-drivers.patch (8.09 KB, patch)
2022-02-23 20:51 UTC, Robert Nagy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh Hushchenkov 2022-02-23 17:24:26 UTC
After update to v98 gpu acceleration is broken on nvidia.

Previously it was fixed by https://svnweb.freebsd.org/ports?view=revision&revision=477781
Comment 1 Robert Nagy 2022-02-23 18:10:57 UTC
(In reply to Oleh Hushchenkov from comment #0)

Please attach the contents of chrome://gpu

Thanks
Comment 2 Oleh Hushchenkov 2022-02-23 18:29:52 UTC
Created attachment 232054 [details]
chrome://gpu v97
Comment 3 Oleh Hushchenkov 2022-02-23 18:30:15 UTC
Created attachment 232055 [details]
chrome://gpu v98
Comment 4 Oleh Hushchenkov 2022-02-23 18:33:26 UTC
(In reply to Robert Nagy from comment #1)
Uploaded both, for v97 and v98.

Thank you.
Comment 5 Robert Nagy 2022-02-23 19:30:54 UTC
Created attachment 232056 [details]
0001-add-back-support-for-libpci-so-that-non-MESA-drivers.patch

I've revived those changes and I've also made a package for you to test (13.0).

You can get it at https://nerd.hu/tmp/chromium-98.0.4758.102_2.pkg
Comment 6 Oleh Hushchenkov 2022-02-23 20:08:15 UTC
(In reply to Robert Nagy from comment #5)
I installed the package from the link but nothing changed.

Thanks.
Comment 7 Robert Nagy 2022-02-23 20:47:06 UTC
(In reply to Oleh Hushchenkov from comment #6)

Ah, I think i've missed a bit. Please re-download the package and try.


SHA256 (chromium-98.0.4758.102_2.pkg) = 1b31d55d1c3bc7a0db9e3ea8a6c98b0fb2981c8d99b1c48f402db88b458245a4
Comment 8 Robert Nagy 2022-02-23 20:51:47 UTC
Created attachment 232058 [details]
0001-add-back-support-for-libpci-so-that-non-MESA-drivers.patch
Comment 9 Oleh Hushchenkov 2022-02-23 21:14:39 UTC
(In reply to Robert Nagy from comment #7)
I confirm, now it works.

Thank you for quick fix.
Comment 10 commit-hook freebsd_committer freebsd_triage 2022-02-23 21:59:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73fbbd6e9f7ae3369ca9510f0f9ddd90d87435bf

commit 73fbbd6e9f7ae3369ca9510f0f9ddd90d87435bf
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-02-23 21:57:09 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-02-23 21:59:09 +0000

    www/chromium: fix GPU acceleration on NVIDIA

    PR:             262156
    Reported by:    o.hushchenkov@gmail.com
    Fixes:          a23dfd21 "www/chromium: update to 98.0.4758.102"

 www/chromium/Makefile                              |  2 +-
 ...ngle_src_gpu__info__util_SystemInfo__internal.h |  7 +-
 ...rc_gpu__info__util_SystemInfo__libpci.cpp (new) | 90 ++++++++++++++++++++++
 ...angle_src_gpu__info__util_SystemInfo__linux.cpp | 20 ++++-
 ...y_angle_src_gpu__info__util_SystemInfo__x11.cpp | 12 +--
 5 files changed, 119 insertions(+), 12 deletions(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2022-02-23 22:00:43 UTC
A commit in branch 2022Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a944a40c1adc0f52ea2e7020df0290e792384ac

commit 0a944a40c1adc0f52ea2e7020df0290e792384ac
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-02-23 21:57:09 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-02-23 22:00:01 +0000

    www/chromium: fix GPU acceleration on NVIDIA

    PR:             262156
    Reported by:    o.hushchenkov@gmail.com
    Fixes:          a23dfd21 "www/chromium: update to 98.0.4758.102"

    (cherry picked from commit 73fbbd6e9f7ae3369ca9510f0f9ddd90d87435bf)

 www/chromium/Makefile                              |  2 +-
 ...ngle_src_gpu__info__util_SystemInfo__internal.h |  7 +-
 ...rc_gpu__info__util_SystemInfo__libpci.cpp (new) | 90 ++++++++++++++++++++++
 ...angle_src_gpu__info__util_SystemInfo__linux.cpp | 20 ++++-
 ...y_angle_src_gpu__info__util_SystemInfo__x11.cpp | 12 +--
 5 files changed, 119 insertions(+), 12 deletions(-)
Comment 12 Kubilay Kocak freebsd_committer freebsd_triage 2022-02-23 23:57:52 UTC
^Triage: Assign to committer that resolved and track merge.