Brave Browser Wont Open  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
MXRobo
Posts: 1834
Joined: Thu Nov 14, 2019 12:09 pm

Brave Browser Wont Open

#1 Post by MXRobo »

Hello MX'ers!

First post in some time, and it's in the "Help Me" section! - - Anyway.

Brave browser won't open, it appears to attempt to open (and maybe it does/doesn't for milliseconds) but then it shuts down immediately.

History:

Code: Select all

2024-11-13  21:56:39  upgrade  vivaldi-stable                          amd64  7.0.3495.11-1                    7.0.3495.14-1
2024-11-13  21:56:29  upgrade  brave-browser                           amd64  1.71.123                         1.73.89
2024-11-13  10:08:42  upgrade  firefox                                 amd64  132.0.1~mozillabinaries-1mx21+1  132.0.2~mozillabinaries-1mx21+1
2024-11-12  10:25:48  upgrade  python3-proton-vpn-network-manager      all    0.9.4                            0.9.7
I think that it was working after the upgrade yesterday, but when I started the laptop today and tried to open Brave Browser – it wouldn't open. One caveat, if possibly relevant - the first attempt to open Brave Browser today was through an unsubscribe link in Thunderbird – I have Brave Browser set as the default browser.

I normally open Brave in firejail via keyboard shortcuts, but it won't open (or stay open) without firejail either.

I do get the "RESTORE", "Brave didn't shutdown correctly" notification, and again it appears to attempt to open ALL of the windows as I can see the titles displayed of the first tab in each window. I do have about 12 windows open for a total of over 1,000 tabs open.
One reach, I seem to notice that one of the " titles displayed of the first tab in each window" appears more frequently (I also think that I may have this tab opened in more than one window), could it be possibly causing a glitch? Maybe that's my imagination too.
I ask, because is there anyway to delete that specific tab from the/a brave history config file – again, if it may be causing the problem – reaching.

Should I perhaps drop back to the previous Brave version hoping that it's possibly a bug and that there is a fix with the next release?
If so how?
But web searches don't bring up any similar problems recently - within the last month.

May sound odd, but I do have a lot of tabs open (excluding about a thousand tabs :p ), regarding researching projects that I'm CURRENTLY undertaking and/or contemplating - recent bookmarks too.
QSI:

Code: Select all

Snapshot created on: 20240803_1654
System:    Kernel: 6.11.7-1-liquorix-amd64 [6.11-11~mx21ahs] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: audit=0 intel_pstate=disable 
           BOOT_IMAGE=/boot/vmlinuz-6.11.7-1-liquorix-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower November 22  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X512DA_F512DA v: 1.0 
           serial: <filter> 
           Mobo: ASUSTeK model: X512DA v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: X512DA.310 date: 12/24/2019 
Battery:   ID-1: BAT0 charge: 17.0 Wh (60.1%) condition: 28.3/37.1 Wh (76.2%) volts: 7.8 min: 7.8 
           model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Not charging cycles: 25 
CPU:       Info: Dual Core model: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx bits: 64 
           type: MT MCP arch: Zen family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108102 
           cache: L2: 1024 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 20761 
           Speed: 1397 MHz min/max: 1400/2600 MHz boost: enabled Core speeds (MHz): 1: 1237 
           2: 3242 3: 2336 4: 1697 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: reg_file_data_sampling status: Not affected 
           Type: retbleed mitigation: untrained return thunk; SMT vulnerable 
           Type: spec_rstack_overflow mitigation: Safe RET 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP: disabled; RSB 
           filling; PBRSB-eIBRS: Not affected; BHI: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] 
           vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 02:00.0 chip-ID: 1002:15d8 
           class-ID: 0300 
           Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-6.2:5 
           chip-ID: 13d3:56dd class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: loaded: amdgpu 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") 
           diag: 394mm (15.5") 
           OpenGL: renderer: AMD Radeon Vega 3 Graphics (raven2 LLVM 14.0.5 DRM 3.59 
           6.11.7-1-liquorix-amd64) 
           v: 4.6 Mesa 22.0.5 direct render: Yes 
Audio:     Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel 
           bus-ID: 02:00.1 chip-ID: 1002:15de class-ID: 0403 
           Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp3x v: kernel 
           alternate: snd_rn_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x,snd_acp_pci,snd_rpl_pci_acp6x,snd_pci_ps,snd_sof_amd_renoir,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63 
           bus-ID: 02:00.5 chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 02:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k6.11.7-1-liquorix-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
           Sound Server-3: PipeWire v: 0.3.19 running: no 
Network:   Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel bus-ID: 01:00.0 
           chip-ID: 8086:24fd class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           IF-ID-1: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
           bus-ID: 1-6.1:4 chip-ID: 8087:0a2b class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: N/A rfk-block: 
           hardware: no software: no address: <filter> 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch hold sniff 
           link-mode: slave accept 
Drives:    Local Storage: total: 119.24 GiB used: 83.77 GiB (70.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SD9SN8W128G1102 size: 119.24 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: 6002 scheme: GPT 
Partition: ID-1: / raw-size: 24 GiB size: 23.46 GiB (97.73%) used: 17.35 GiB (74.0%) fs: ext4 
           dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%) used: 440 KiB (0.0%) 
           fs: vfat dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 16.01 GiB size: 15.67 GiB (97.86%) used: 13.19 GiB (84.2%) 
           fs: ext4 dev: /dev/sda3 maj-min: 8:3 
           ID-4: /tmp raw-size: 4 GiB size: 3.84 GiB (96.10%) used: 7.6 MiB (0.2%) fs: ext4 
           dev: /dev/sda6 maj-min: 8:6 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda4 
           maj-min: 8:4 
Sensors:   System Temperatures: cpu: 66.0 C mobo: N/A gpu: amdgpu temp: 66.0 C 
           Fan Speeds (RPM): cpu: 2400 
Repos:     Packages: 2575 note: see --pkg apt: 2563 lib: 1240 flatpak: 12 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/librewolf.list 
           1: deb [arch=amd64] http://deb.librewolf.net bullseye main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb https://mxrepo.com/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list 
           1: deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com stable non-free
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 271 Uptime: 58m wakeups: 3 Memory: 9.67 GiB used: 3.25 GiB (33.6%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI
From terminal:

Code: Select all

$ /usr/bin/brave-browser-stable %U
[12082:12082:1114/102025.784014:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
[1114/102101.867598:ERROR:directory_reader_posix.cc(43)] opendir /home/rmxz/.config/BraveSoftware/Brave-Browser/Crash Reports/attachments/4cb971c8-8f85-4297-8c77-10a350413b2b: No such file or directory (2)
/usr/bin/brave-browser-stable: line 39: 12082 Trace/breakpoint trap   "$HERE/brave" "$@"
Again, from terminal:

Code: Select all

$ /usr/bin/brave-browser-stable
[12526:12526:1114/102230.479535:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
[12526:12526:1114/102307.028629:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /dev/shm/.org.chromium.Chromium.9tLshk failed: Too many open files (24)
/usr/bin/brave-browser-stable: line 39: 12526 Trace/breakpoint trap   "$HERE/brave" "$@"
Neither one stays open, displays RESTORE notification.

Just noticed this: When I logged into the MX forum from Firefox, my password manager blocked me and then sent a verification email, which must open in Brave (as it's set as the default browser [maybe within Thunderbird too]).
Oddly the one password manager tab did open in Brave, and remained open, however, after pressing RESTORE, it again attempted to open all fo the the other tabs but would not open, or immediately closed. Luckily the he one password manager tab did stay open long enough to be able to login to the forum.

I do like the speed and other features of the Brave browser, but I do find it occasionally buggy, on several occasion for the past two years; almost certainly too buggy to have my password manager use it as the default browser.

Thanks for considering.
Cheers!

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: Brave Browser Wont Open

#2 Post by CharlesV »

Those error messages look like :
a) Your config or cache is corrupt, and
b) you have WAY too many tabs open.

Try clearing the cache with MX Cleanup (App cache ) . If that still doesnt work , then you may have to kill your config and start fresh.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Eadwine Rose
Administrator
Posts: 14618
Joined: Wed Jul 12, 2006 2:10 am

Re: Brave Browser Wont Open

#3 Post by Eadwine Rose »

"I do have about 12 windows open for a total of over 1,000 tabs open."

If you think you can take home the entire store in your car in one run, what happens to the car?? ;)
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
thinkpadx
Posts: 670
Joined: Thu Aug 13, 2020 8:34 pm

Re: Brave Browser Wont Open

#4 Post by thinkpadx »

eadwine - is it time to put my boots on?

:-))))

MXRobo
Posts: 1834
Joined: Thu Nov 14, 2019 12:09 pm

Re: Brave Browser Wont Open

#5 Post by MXRobo »

Strap them on!

EDIT SOLUTION (mostly) below, although I'm fairly certain that CharlesV's solution in post #2 would have worked.

Thank you CharlesV.

Good News!

I may not have all of the windows and tabs reopened, but I have most of them open again.
And I had minimally fifteen (15) windows open and I possibly had closer to 2,000 tabs open as opposed to 1,000.
What I did is as the last section – if anyone is interested.
================================================

The following is what I typed yesterday, but obviously didn't submit to the forum:

How would I do that?
I suppose that I can use the terminal or use Thunar > Open root Thunar here – either way.
But do you think that I could try just removing one at a time as it seems as though the restorable tabs may be in the Session Folder?

Code: Select all

sudo rm -rf /home/USER/.config/BraveSoftware/Brave-Browser/Default/Sessions/
sudo rm -rf /home/USER/.config/BraveSoftware/Brave-Browser/Default/Session Storage/
sudo rm -rf /home/USER/.config/BraveSoftware/Brave-Browser/Default//
OR /

Code: Select all

sudo rm -rf /home/USER/.config/BraveSoftware/
By the way, /home/USER/.config/brave/ folder is empty.

I copied and saved the Bookmarks (and Sessions) folders in: /home/USER/.config/BraveSoftware/Brave-Browser/Default/

I'm just trying to see if I'm on the right track, I rarely mess with system files except Timeshift restore points.
More of a GUI guy.
==============

What I did or was considering:

I was considering:
Copying and saving my "open tabs" – probably:
sudo rm -rf /home/USER/.config/BraveSoftware/Brave-Browser/Default/Sessions/
sudo rm -rf /home/USER/.config/BraveSoftware/Brave-Browser/Default/Session Storage/

Copying and saving my "bookmarks" – I forget where they have been located.

Then deleting the other .configs, and then testing by reinstalling the copied .configs.
Not sure if that would have worked without some permission or ownership modifications, maybe I should use an "E" flag or something.

EDIT SOLUTION SOLVED (mostly):
Anyway, I imported Brave's bookmarks into Firefox and it appeared to be current - so that was reassuring.

This happened before, and I think that I did this the last time too.
Open Brave, did NOT press RESTORE, and it opened fine – as generally expected.
Then, I pressed CTRL+SHIFT+T and opened the previously opened windows and their associated tabs.
This worked until one window was opened (probably the corrupt one, or Brave has a maximum number of windows (maybe 18), or tabs (maybe 2,000) that can be restored or opened.

Real terminal guru stuff, but it's working – but only maybe 1,400 tabs. :p
Why not 10K tabs open?

Maybe Brave isn't as buggy as I suspected.

Thanks!
Last edited by MXRobo on Wed Dec 18, 2024 11:50 am, edited 1 time in total.

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: Brave Browser Wont Open

#6 Post by CharlesV »

Good job! Sounds like you found the issue.

I personally have found the chrome engine to be very poor for me. I like to kill all cache and cookies VERY often ( as in like every 20 websites or less!), and chrome REALLY doesnt like that and will tear itself up with removing cookies / cache while in use. (At least for me.)

Brave is the exception - it seems to be much better on how it deals with it all - probably because it is far more security conscious. But FireFox is the one that really makes everything work better.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

MXRobo
Posts: 1834
Joined: Thu Nov 14, 2019 12:09 pm

Re: Brave Browser Wont Open

#7 Post by MXRobo »

CharlesV wrote: Thu Nov 14, 2024 11:45 am Those error messages look like :
a) Your config or cache is corrupt, and
b) you have WAY too many tabs open.

Try clearing the cache with MX Cleanup (App cache ) . If that still doesnt work , then you may have to kill your config and start fresh.
I haven't really found a solution.
I had something that enabled me to use the browser, but it's still buggy, and was shutting down occasionally.
I was putting this off because I didn't want to reset all of the extensions, particularly LibRedirect. (I can export it's settings, but I'll just redo).
I'd like to finally fix it correctly.

Can you please tell me how to kill my configs?
I tried all of the commands that I posted in post #5 to no avail - although I did select RESTORE when I opened Brave.
I haven't logged out and back in, I'll try that. EDIT didn't help.

EDIT: QSI:

Code: Select all

Snapshot created on: 20240803_1654
System:    Kernel: 6.11.10-1-liquorix-amd64 [6.11-15~mx21ahs] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: audit=0 intel_pstate=disable 
           BOOT_IMAGE=/boot/vmlinuz-6.11.10-1-liquorix-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower November 22  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X512DA_F512DA v: 1.0 
           serial: <filter> 
           Mobo: ASUSTeK model: X512DA v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: X512DA.310 date: 12/24/2019 
Battery:   ID-1: BAT0 charge: 16.0 Wh (59.5%) condition: 26.9/37.1 Wh (72.5%) volts: 7.8 min: 7.8 
           model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Not charging cycles: 26 
CPU:       Info: Dual Core model: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx bits: 64 
           type: MT MCP arch: Zen family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108102 
           cache: L2: 1024 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 20762 
           Speed: 3472 MHz min/max: 1400/2600 MHz boost: enabled Core speeds (MHz): 1: 3494 
           2: 3487 3: 2327 4: 2331 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: reg_file_data_sampling status: Not affected 
           Type: retbleed mitigation: untrained return thunk; SMT vulnerable 
           Type: spec_rstack_overflow mitigation: Safe RET 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP: disabled; RSB 
           filling; PBRSB-eIBRS: Not affected; BHI: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] 
           vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 02:00.0 chip-ID: 1002:15d8 
           class-ID: 0300 
           Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-6.2:5 
           chip-ID: 13d3:56dd class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: loaded: amdgpu 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") 
           diag: 394mm (15.5") 
           OpenGL: renderer: AMD Radeon Vega 3 Graphics (raven2 LLVM 14.0.5 DRM 3.59 
           6.11.10-1-liquorix-amd64) 
           v: 4.6 Mesa 22.0.5 direct render: Yes 
Audio:     Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel 
           bus-ID: 02:00.1 chip-ID: 1002:15de class-ID: 0403 
           Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp3x v: kernel 
           alternate: snd_rn_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x,snd_acp_pci,snd_rpl_pci_acp6x,snd_pci_ps,snd_sof_amd_renoir,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63 
           bus-ID: 02:00.5 chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 02:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k6.11.10-1-liquorix-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
           Sound Server-3: PipeWire v: 0.3.19 running: no 
Network:   Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel bus-ID: 01:00.0 
           chip-ID: 8086:24fd class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           IF-ID-1: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
           bus-ID: 1-6.1:4 chip-ID: 8087:0a2b class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: N/A rfk-block: 
           hardware: no software: no address: <filter> 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch hold sniff 
           link-mode: slave accept 
Drives:    Local Storage: total: 119.24 GiB used: 84.47 GiB (70.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SD9SN8W128G1102 size: 119.24 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: 6002 scheme: GPT 
Partition: ID-1: / raw-size: 24 GiB size: 23.46 GiB (97.73%) used: 17.61 GiB (75.1%) fs: ext4 
           dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%) used: 440 KiB (0.0%) 
           fs: vfat dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 16.01 GiB size: 15.67 GiB (97.86%) used: 13.63 GiB (87.0%) 
           fs: ext4 dev: /dev/sda3 maj-min: 8:3 
           ID-4: /tmp raw-size: 4 GiB size: 3.84 GiB (96.10%) used: 5.7 MiB (0.1%) fs: ext4 
           dev: /dev/sda6 maj-min: 8:6 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda4 
           maj-min: 8:4 
Sensors:   System Temperatures: cpu: 59.0 C mobo: N/A gpu: amdgpu temp: 58.0 C 
           Fan Speeds (RPM): cpu: 2400 
Repos:     Packages: 2636 note: see --pkg apt: 2619 lib: 1289 flatpak: 17 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb https://mxrepo.com/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list 
           1: deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com stable non-free
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 285 Uptime: 1h 7m wakeups: 3 Memory: 9.67 GiB used: 2.32 GiB (24.0%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

Code: Select all

Sensors:  System Temperatures: cpu: 66.0 C mobo: N/A gpu: amdgpu temp: 65.0 C 
           Fan Speeds (RPM): cpu: 2300 

Code: Select all

Sensors:   System Temperatures: cpu: 54.0 C mobo: N/A gpu: amdgpu temp: 54.0 C 
           Fan Speeds (RPM): cpu: 2300 
Temp possibly an issue too.

Thank You.
Last edited by MXRobo on Wed Dec 18, 2024 12:02 pm, edited 1 time in total.

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: Brave Browser Wont Open  [Solved]

#8 Post by CharlesV »

Personally... I would do the following:

1) Save your bookmarks and data you want out.
2) save the entire ~/.config/BraveSoftware folder out to a different location. (ie back it up some place!)
3) timeshift - create a snapshot

4) uninstall Brave
5) Remove the following:
__ /opt/brave.com
__ ~/config/BraveSoftware
__ /usr/share/appdata/brave-browser.appdata.xml

6) Using something like stacer ... remove the following;
__ Packages Caches
__ Application Caches
__ ( if they are large, and your machine is running well otherwise, then also Logs and crash reports )

7) Reboot

8 ) Reinstall Brave
__ Test it fresh and see how it is working.

9) Reinstall your Brave Data and test again
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

MXRobo
Posts: 1834
Joined: Thu Nov 14, 2019 12:09 pm

Re: Brave Browser Wont Open

#9 Post by MXRobo »

Thank you CharlesV for the numbered list, concise.

I previously saved/exported bookmarks and a password manager.
What do you mean by "data you want out"?
I can only think of exporting extension savings, Ublock-Origin doesn't work correctly on Brave anyway, so I don't need to save/export any more extension info.

I can use another browser, and I'm going to install MX-25 when it comes out, my SSD is small, and I bought new ones during Black Friday. I can get by just fine until then, and I have another laptop - also with a small SSD.

=======================
Regarding "4) uninstall Brave"
I assume that I can do this with MXPI?

Regarding:
5) Remove the following:
__ /opt/brave.com
__ ~/config/BraveSoftware
__ /usr/share/appdata/brave-browser.appdata.xml

I assume that I can use:
sudo rm -f /opt/brave.com
sudo rm -rf /home/USER/.config/BraveSoftware/
sudo rm -f /usr/share/appdata/brave-browser.appdata.xml

Prepost edit, or with Open root thunar here.


I may skip "6) Using something like stacer ... remove the following;" UNLESS it doesn't work without this.
I'll probably remove the logs for space.
I have MX-Cleanup on autoclean, and I'll change to all as opposed to last 2 days.
Also, I'll look in "Disk Usage Analyzer"
Again, if need I'll try Stacer, my apps are a little bare because of the small SSD.

I'll get back later, I have to go.

Thank you CharlesV.
Cheers!

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: Brave Browser Wont Open

#10 Post by CharlesV »

Data .. if you have cookies or site data you want - but primarily bookmarks. (I dont ever advocate saving passwords - although I have a few ;-p )

I have found that application cache can cause some grief when things are going wrong. I personally sweep application cache "a lot" and while MX Cleanup works very well, with stacer you can drill down to a specific application cache. (ie you could remove JUST the Brave application cache and not remove any others.)

Good luck!
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “MX Help”