this post was submitted on 10 Jul 2023
30 points (100.0% liked)
Linux
48077 readers
1416 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Semi-random guess: try turning off hardware video acceleration in Brave (assuming it has an option for that—I've never actually used it).
(The chain of logic here: mesa uses llvm for some kind of realtime . . . something . . . if you have an AMD graphics card. Not clear on the details, but it's the only reason I have llvm installed. And the symptoms seem consistent with video accel breakage.)
Actually, I do have an AMD GPU and I did try that and it worked but I made the mistake of re-enabling it and now the settings page just looks like this:
Is there a way to change that setting through the terminal?
Try restarting your X server (or Wayland or whatever) first if you haven't done so, just in case flushing any surviving copy of the old llvm .so out of memory does the trick (unlikely, but it can't do any harm).
If it doesn't, well, the setting has to be stored somewhere, but if it isn't in a plain text file somewhere in .config, you'll need to talk to the people working on Brave to find out which file it is and how to edit it.
The last-ditch method would involve using a symlink to the new llvm .so to trick Brave into thinking the old llvm .so is still there. That may fix the hardware acceleration temporarily, or do nothing, or crash Brave or your system, so probably not worth it in this case. (For most other missing-library cases this trick is harmless, but I'm not sure of the interactions of llvm, mesa, kernel video drivers and the browser in this case.)
I just installed the flatpak version of Brave and that's working fine.
Makes sense, I guess—presumably it brought enough of its own libs with it that the discontinuity doesn't bother it.