this post was submitted on 10 Jul 2023
30 points (100.0% liked)

Linux

48082 readers
1159 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Brave is my primary web browser but every page I visit isn't being rendered correctly at all and some pages are completely broken. I have a system backup from a few days ago but I'd prefer not to have to use it if I can. I think Brave is the only thing that was affected but I think I should try to revert the update if it's possible.

top 26 comments
sorted by: hot top controversial new old
[–] [email protected] 22 points 1 year ago (3 children)

Simple fix: Install firefox and never use a chromium based browser again. :-P

[–] [email protected] 2 points 1 year ago

I already have Firefox installed. I use both because some websites work better on Brave while some work better on Firefox.

[–] [email protected] 1 points 1 year ago (1 children)

Using Chromium de-googled there's no harm done. Chrome's engine is much faster than Firefox's I'm afraid. It's much easier seen on older hardware, where you can actually feel the difference in speed big time. It happened to me recently on a laptop with only 600 passmark CPU points.

[–] [email protected] 9 points 1 year ago

Comparing browsers peformance is not that simple, due to the immense complexity. The only part that's significantly faster in chrome is the JS engine (V8). The CSS engine, for example, is much faster in firefox (try stylebench if you don't believe me) - at least it was last time I tried it. Here are some benchmark results for comparison: https://arewefastyet.com/linux64/benchmarks/overview?numDays=60

Also, firefox uses much less resources (CPU/Ram), so it consumes less battery and doesn't slow down other programs as much while it's running in the background.

[–] [email protected] -3 points 1 year ago (1 children)

If you're gonna be like that I could also suggest to OP to move to Windows or MacOS 🤷‍♂️

[–] [email protected] 4 points 1 year ago (1 children)

Given the stranglehold that Chrome-based browsers have on the market, I'd say it's the opposite.

[–] [email protected] 1 points 1 year ago

That's not the point, because it's not what the OP asked for

[–] [email protected] 7 points 1 year ago (2 children)

What about running the Flatpak version of Brave? Flatpaks are containerized and should contain compatible libraries.

[–] [email protected] 3 points 1 year ago

Yeah, that version works. thanks.

[–] [email protected] 3 points 1 year ago

Whenever something goes really wrong, Flatpak saves the day

[–] [email protected] 5 points 1 year ago (1 children)

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.)

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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?

[–] [email protected] 1 points 1 year ago (1 children)

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.)

[–] [email protected] 1 points 1 year ago (1 children)

I just installed the flatpak version of Brave and that's working fine.

[–] [email protected] 1 points 1 year ago

Makes sense, I guess—presumably it brought enough of its own libs with it that the discontinuity doesn't bother it.

[–] [email protected] 1 points 1 year ago (1 children)

You could check synaptic package manager to maybe see about rolling it back https://forums.linuxmint.com/viewtopic.php?t=179192

Though keep in mind that trying to roll back a particular dependency couldbee a good way to run into problem's.

You could also try re-install Brave and/or try installing as a flatpak to see if those fix it without rolling back

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I don't know if the link you gave is relevant to my issue because it seems to be for reverting Mint system updates while I'm just trying to revert a library update.

Also, how would it cause problems if the previous version worked fine?

[–] [email protected] 1 points 1 year ago (1 children)

Sorry, I've never tried to revert a package but I "think" synaptic can revert packages (system or otherwise) and shared it because I wanted to make sure it works on Linux mint. Maybe I should have clarified that's more of a "best guess" on my part than something I'm sure of.

The risk of rolling it back is even if brave works fine with an older version, if a different piece of software was tested with the newer version and expects it you could end up with a situation where other pieces of software that depend on it either break or keep trying to force you to update.

If you have a system backup and all you're risking is time then I'd say go for it, just wanted to bring up the potential risks and some other options as well.

[–] [email protected] 2 points 1 year ago (1 children)

I tried using Synaptic but it's only listing the current version so I guess I can't use that.

As for the system backup, it's a few days old but I don't think I did anything with it that I couldn't replace. I just mostly don't want to because, assuming that Brave is the only thing that broke, Firefox works fine still. If I can't get Brave or another Chromium browser to work, I can just use Firefox for the time being and hope the issue gets fixed later. Although, I'd need to know how to set up and use multiple Firefox profiles. which I used to know how to do on Windows but I was never able to find out how to do this on Linux.

[–] [email protected] 2 points 1 year ago (1 children)

In the case of Firefox profiles maybe I can actually provide some useful info this time.

"firefox -ProfileManager" brings up the GUI profile manager and "firefox -P [profile name]" boots a particular profile.

Anyway, good luck.

[–] [email protected] 1 points 1 year ago

That works, I can't seem to get it to work quite like how I had it on Windows but manually launching a second instance with the other profile from the first instance is fine. If you must know why I'm doing it like this, I use one profile that doesn't have any extension installed and another that does.

[–] [email protected] 0 points 1 year ago

Hmm, yeah. We need ostree after all. So unfortunate Fedora is the only group of people working on it.

[–] [email protected] -2 points 1 year ago* (last edited 1 year ago) (1 children)

Recently checked ,Ubuntu already removed more old version libllvm15 from their repo ,only new one available.But I am not recommended u to use brave browser they are lieing about privacy things,if u really need chromium engine and deleted bad things of google ,try ungoogled chromium :)

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I don't really use it for the privacy stuff, I only used it because it performs better than Microsoft Edge (which yes, there is a Linux version of Edge).

[–] [email protected] 2 points 1 year ago (1 children)

Vivaldi is a very impressive chromium browser.

[–] [email protected] 2 points 1 year ago

I have heard of that browser before but I've never used it. I might try it out.

load more comments
view more: next ›