GModCEFCodecFix icon indicating copy to clipboard operation
GModCEFCodecFix copied to clipboard

Fix CEF on Arch Linux w/ glibc 2.35

Open GNUmod opened this issue 3 years ago • 9 comments

Someone found a workaround

GNUmod avatar Mar 09 '22 09:03 GNUmod

Try the latest version of GModCEFCodecFix, deployed yesterday.

WinterPhoenix avatar Mar 09 '22 14:03 WinterPhoenix

So I need to clone git repository?

ghost avatar Mar 09 '22 16:03 ghost

No. Just run the tool from Releases

WinterPhoenix avatar Mar 09 '22 17:03 WinterPhoenix

Doesn't work. Game menu does not appear.

ghost avatar Mar 10 '22 09:03 ghost

Did you verify Game Integrity before running the tool?

Are you on Arch?

Do you have user namespaces enabled in your kernel (CONFIG_USER_NS)?

If on Arch, do you have any other gotchas fixed for user namespaces? See "Unprivileged containers on linux-hardened and custom kernels" in https://wiki.archlinux.org/title/Linux_Containers

What does your chromium.log have to say about it?

WinterPhoenix avatar Mar 10 '22 13:03 WinterPhoenix

Did you verify Game Integrity before running the tool?

Yes, the tool reminded me of this.

Are you on Arch?

On Artix but I think there is no difference.

Do you have user namespaces enabled in your kernel (CONFIG_USER_NS)?

Don't know what it is but I use linux-tkg with modprobed-db. Maybe it didn't turn on? I'll try vanilla kernel later.

What does your chromium.log have to say about it?

Deleted old chromium.log and it no longer appears. Did I do something wrong?

And yet when I use this fix, everything works for me.

ghost avatar Mar 10 '22 18:03 ghost

Tried vanilla kernel and menu still doesn't appear.

Also checked CONFIG_USER_NS with zgrep CONFIG_USER_NS /proc/config.gz: CONFIG_USER_NS=y CONFIG_USER_NS_UNPRIVILEGED=y

And linux-tkg have it also enabled. LOL.

ghost avatar Mar 11 '22 10:03 ghost

If chromium.log isn't being written anymore after deleting it, that sounds like either CEF is failing to init to the point that it can write log files, or a permissions issue.

I don't much more insight into this at the moment. However, I'm seeing the same issue with SteamOS (based on Arch) on the Steam Deck. CEF works with x86-64, but not after CEFCodecFix is applied.

We'll probably end up looking further into it at some point. We want to make sure it works on SteamOS/Steam Deck.

WinterPhoenix avatar May 06 '22 22:05 WinterPhoenix

After a long time, I found a solution to the problem why this fix did not help run Chromium. The problem was simple! Just don't use Steam Linux Runtime in game options (I used it to fix cyrillic fonts).

ghost avatar May 16 '22 12:05 ghost

Try running the tool again. I think the problem should be solved as of Commit 8589422

WinterPhoenix avatar Jan 25 '23 09:01 WinterPhoenix