Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1018937: chromium: incorrect sse3 not present error

110 views
Skip to first unread message

Arthur Marsh

unread,
Sep 2, 2022, 4:00:04 AM9/2/22
to
Package: chromium
Version: 104.0.5112.101-1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?

Upgrading chromium (105.0.5195.52-1) over (104.0.5112.101-1).

when attempting to launch chromium had an X window system error message
referring me to http://www.crbug.com/1123353

This machine has an Athlon II X4 640 processor which does support SSE3,
however /proc/cpuinfo does not list ss3, instead listing pni,
see kernel source Documentation/x86/cpuinfo.rst, which also refers to
tools/arch/x86/kcpuid which when built and run lists:

CPU features:
=============

sse3
mwait
cmpxchg16b
popcnt
fpu
vme
de
pse
tsc
msr
pae
mce
cx8
apic
sep
mtrr
pge
mca
cmov
pat
pse36
clflush
mmx
fxsr
sse
sse2
hit
mwait_ext
mwait_irq_break
lahf_lm
lzcnt
prefetchw
sysret
exec_dis
1gb_page
rdtscp
nonstop_tsc

It appears that chromium is incorrectly testing for sse3.

* What exactly did you do (or not do) that was effective (or
ineffective)?

I tried using a stock Debian kernel (same issue) and also tried running
chromium from unstable on my other pc running i386 (a Pentium Prescott
machine which does actually support sse3) with the same result.

Downgraded back to 104.0.5112.101-1 worked.

* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
APT prefers experimental
APT policy: (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-trunk-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages chromium depends on:
ii chromium-common 104.0.5112.101-1
ii libasound2 1.2.7.2-1
ii libatk-bridge2.0-0 2.38.0-4
ii libatk1.0-0 2.38.0-1
ii libatomic1 12.2.0-1
ii libatspi2.0-0 2.44.1-1
ii libc6 2.34-7
ii libcairo2 1.16.0-6
ii libcups2 2.4.2-1+b1
ii libdbus-1-3 1.14.0-2devuan1
ii libdrm2 2.4.112-3
ii libevent-2.1-7 2.1.12-stable-5+b1
ii libexpat1 2.4.8-1
ii libflac8 1.3.4-2
ii libfontconfig1 2.13.1-4.4
ii libfreetype6 2.12.1+dfsg-3
ii libgbm1 22.2.0~rc3-1
ii libgcc-s1 12.2.0-1
ii libglib2.0-0 2.73.3-3
ii libgtk-3-0 3.24.34-3
ii libjpeg62-turbo 1:2.1.2-1
ii libjsoncpp25 1.9.5-4
ii liblcms2-2 2.13.1-1
ii libminizip1 1.1-8+b1
ii libnspr4 2:4.34.1-1
ii libnss3 2:3.82-1
ii libopenjp2-7 2.5.0-1
ii libopus0 1.3.1-2
ii libpango-1.0-0 1.50.9+ds-1
ii libpng16-16 1.6.37-5
ii libpulse0 15.0+dfsg1-4+b1
ii libre2-9 20220601+dfsg-1
ii libsnappy1v5 1.1.9-2
ii libstdc++6 12.2.0-1
ii libwayland-client0 1.21.0-1
ii libwebp7 1.2.2-2+b1
ii libwebpdemux2 1.2.2-2+b1
ii libwebpmux3 1.2.2-2+b1
ii libx11-6 2:1.8.1-2
ii libxcb1 1.15-1
ii libxcomposite1 1:0.4.5-1
ii libxdamage1 1:1.1.5-2
ii libxext6 2:1.3.4-1
ii libxfixes3 1:6.0.0-1
ii libxkbcommon0 1.4.1-1
ii libxml2 2.9.14+dfsg-1+b1
ii libxrandr2 2:1.5.2-2+b1
ii libxslt1.1 1.1.35-1
ii xdg-desktop-portal-gtk [xdg-desktop-portal-backend] 1.14.0-1
ii zlib1g 1:1.2.11.dfsg-4.1

Versions of packages chromium recommends:
ii chromium-sandbox 104.0.5112.101-1

Versions of packages chromium suggests:
pn chromium-driver <none>
pn chromium-l10n <none>
pn chromium-shell <none>

Versions of packages chromium-common depends on:
ii libc6 2.34-7
ii libstdc++6 12.2.0-1
ii libx11-6 2:1.8.1-2
ii libxext6 2:1.3.4-1
ii sse3-support 13
ii x11-utils 7.7+5
ii xdg-utils 1.1.3-4.1
ii zlib1g 1:1.2.11.dfsg-4.1

Versions of packages chromium-common recommends:
ii chromium-sandbox 104.0.5112.101-1
ii fonts-liberation 1:1.07.4-11
ii libgl1-mesa-dri 22.2.0~rc3-1
pn libu2f-udev <none>
ii notification-daemon 3.20.0-4+b1
ii plasma-workspace [notification-daemon] 4:5.25.4-3
ii system-config-printer 1.5.16-1
pn upower <none>
ii xfce4-notifyd [notification-daemon] 0.6.3-1

Versions of packages chromium-sandbox depends on:
ii libc6 2.34-7

-- no debconf information

Francesco Muzio

unread,
Sep 2, 2022, 5:10:04 PM9/2/22
to
problem caused by this commit:
https://salsa.debian.org/chromium-team/chromium/-/commit/836b9da55c776a27d884d0405f385dcb7ef6f12e

But the checking must consider the presence of "sse3" OR "pni" (that is
a synonym) in /proc/cpuinfo

I have also a CPU that support sse3 and sse4a but declares "pni" in
flags instead of sse3

Arthur Marsh

unread,
Sep 3, 2022, 8:10:04 AM9/3/22
to
Package: chromium
Version: 105.0.5195.52-1
Followup-For: Bug #1018937

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?

When I ran under a kernel rebuilt to report "sse3" rather than "pni", by
using this patch:

diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatur
es.h
index ef4775c6db01..13d5ad9c6666 100644
--- a/arch/x86/include/asm/cpufeatures.h
+++ b/arch/x86/include/asm/cpufeatures.h
@@ -113,7 +113,7 @@
#define X86_FEATURE_TSC_KNOWN_FREQ ( 3*32+31) /* TSC has known frequency */

/* Intel-defined CPU features, CPUID level 0x00000001 (ECX), word 4 */
-#define X86_FEATURE_XMM3 ( 4*32+ 0) /* "pni" SSE-3 */
+#define X86_FEATURE_XMM3 ( 4*32+ 0) /* "sse3" SSE-3 */
#define X86_FEATURE_PCLMULQDQ ( 4*32+ 1) /* PCLMULQDQ instruction */
#define X86_FEATURE_DTES64 ( 4*32+ 2) /* 64-bit Debug Store */
#define X86_FEATURE_MWAIT ( 4*32+ 3) /* "monitor" MONITOR/MWAIT support */

I could install and successfully run chromium 105.0.5195.52-1.

So it appears that chromium is incorrectly checking for sse3.

* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
APT prefers experimental
APT policy: (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-rc3+ (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages chromium depends on:
ii chromium-common 105.0.5195.52-1
ii libasound2 1.2.7.2-1
ii libatk-bridge2.0-0 2.38.0-4
ii libatk1.0-0 2.38.0-1
ii libatomic1 12.2.0-1
ii libatspi2.0-0 2.44.1-1
ii libbrotli1 1.0.9-2+b4
ii libc6 2.34-7
ii libcairo2 1.16.0-6
ii libcups2 2.4.2-1+b1
ii libdbus-1-3 1.14.0-2devuan1
ii libdouble-conversion3 3.2.1-1
ii libwoff1 1.0.2-2
ii libx11-6 2:1.8.1-2
ii libxcb1 1.15-1
ii libxcomposite1 1:0.4.5-1
ii libxdamage1 1:1.1.5-2
ii libxext6 2:1.3.4-1
ii libxfixes3 1:6.0.0-1
ii libxkbcommon0 1.4.1-1
ii libxml2 2.9.14+dfsg-1+b1
ii libxnvctrl0 470.141.03-1
ii libxrandr2 2:1.5.2-2+b1
ii libxslt1.1 1.1.35-1
ii xdg-desktop-portal-gtk [xdg-desktop-portal-backend] 1.14.0-1
ii zlib1g 1:1.2.11.dfsg-4.1

Versions of packages chromium recommends:
ii chromium-sandbox 105.0.5195.52-1

Versions of packages chromium suggests:
pn chromium-driver <none>
pn chromium-l10n <none>
pn chromium-shell <none>

Versions of packages chromium-common depends on:
ii libc6 2.34-7
ii libdouble-conversion3 3.2.1-1
ii libstdc++6 12.2.0-1
ii libx11-6 2:1.8.1-2
ii libxnvctrl0 470.141.03-1
ii x11-utils 7.7+5
ii xdg-utils 1.1.3-4.1
ii zlib1g 1:1.2.11.dfsg-4.1

Versions of packages chromium-common recommends:
ii chromium-sandbox 105.0.5195.52-1
ii fonts-liberation 1:1.07.4-11
ii libgl1-mesa-dri 22.2.0~rc3-1
pn libu2f-udev <none>
ii notification-daemon 3.20.0-4+b1
ii plasma-workspace [notification-daemon] 4:5.25.4-3
ii system-config-printer 1.5.16-1
pn upower <none>
ii xfce4-notifyd [notification-daemon] 0.6.3-1

Versions of packages chromium-sandbox depends on:
ii libc6 2.34-7

-- Configuration Files:
/etc/chromium/policies/recommended/duckduckgo.json [Errno 2] No such file or directory: '/etc/chromium/policies/recommended/duckduckgo.json'

-- no debconf information

Andres Salomon

unread,
Sep 3, 2022, 12:10:04 PM9/3/22
to
Thanks for the report. This will be fixed in the next upload.

https://salsa.debian.org/chromium-team/chromium/-/commit/483025b5ff30fed9a2cb89a9634a9e91b9a8b2a6

On Sat, Sep 3, 2022 at 14:32, rp <rafp...@tiscali.it> wrote:
> I am Raffaele Porta, from Italy. Debian user since 2005.
>
> problem:
>
> if ! grep -q sse3 /proc/cpuinfo; ....
>
> will match "ssse3" as well and that's maybe ok.
>
> But sse3 string is NOT present in /proc/cpuinfo for any cpu (intel or
> amd), instead there is "pni" string (Prescott New Instructions)
> always present if sse3 support is present.
> So, I think, this checks if cpu has support for ssse3, not sse3.
>
> The matter is that AMD Athlon II x2 is sse3 capable (pni in
> /proc/cpuinfo) but not ssse3 and, with your test, chromium won't run
> on my AMD (and, i think, many other recent AMDs processors too).
>
> Raffaele Porta, Italy.
0 new messages