Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#71495 - [chromium] chromium & google-chrome live caption never working
Attached to Project:
Arch Linux
Opened by Jack Crick (wisecrick) - Tuesday, 13 July 2021, 17:08 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
Opened by Jack Crick (wisecrick) - Tuesday, 13 July 2021, 17:08 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
|
DetailsDescription:
I use Linux & Windows to watch some video website, both turned on Live Caption. But Google Chrome on Windows works, while google-chrome (from aur) & chromium (from package) never show the caption. Could anyone please solve the problem? It's a very useful feature. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any https://bbs.archlinux.org/viewtopic.php?id=267905 |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:16 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/chromium/issues/2
Saturday, 25 November 2023, 20:16 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/chromium/issues/2
I install debian 10 + gnome + google chrome in a lxc container, and the live caption works... But I still think it should works in a native archlinux environment.
W1016 14:01:51.121939 306447 language_pack_utils.cc:137] Error reading from /home/sandsmark/.config/chromium/SODALanguagePacks/en-US/1.0.2/SODAModels/configs: error 'Operation not permitted' while opening directory '/home/sandsmark/.config/chromium/SODALanguagePacks/en-US/1.0.2/SODAModels/configs': Operation not permitted
The files have -rw------- perms (owned by the user).
I'm not sure if it is some sandboxing config that's different in arch, or if the models are supposed to be shipped in the package, but it seems solvable.
edit: Changing the permissions so that the dir and contents are readable by other users doesn't help, but if you turn off the sandbox (run chromium with --no-sandbox) it manages to load and initialize. It unfortunately even then doesn't render anything, it seems to be continuously resetting the session (or it could be a red herring and it is supposed to loop like that).
Attached log excerpts with and without sandboxing.
edit2: Looking at the code, it seems like it tries to load some standalone library pre-sandbox (https://chromium.googlesource.com/chromium/src/+/refs/heads/main/components/soda/constants.cc#27 + https://chromium.googlesource.com/chromium/src/+/refs/heads/main/content/utility/speech/speech_recognition_sandbox_hook_linux.cc#53). Assuming it is instead built-in, I guess the problem is that the library initialization is not run pre-sandbox and therefore isn't able to run what it wants. Alternatively the problem is that libsoda.so is required, and it is supposed to be gotten from somewhere.
libsoda.so is not open source nor part of chromium, so SODA/1.0.9/SODAFiles/libsoda.so is downloaded on demand and seems to have some DRM (e. g. the API key).