Page 1 of 1

Browser slow cold start

Posted: Tue Jun 25, 2024 9:44 am
by n8ive999
I have been experiencing a strange situation on MX with a particular web browser.

Vivaldi (6.7.3329.39 Stable) has a very long cold start, i.e. approximately 60s.
I have started this thread on the Vivaldi forum,

https://forum.vivaldi.net/topic/98873/s ... oot?page=1

and the discussion seems to point to an issue with combination of MX and Vivaldi configurations, but as yet, everyone seems to be stumped by it.

Can you please shed some light on this?

My setup
Lenovo Thinkpad X201 core i7
MX23

Code: Select all

System:
  Kernel: 6.1.0-21-amd64 [6.1.90-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-21-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 36807K4 v: ThinkPad X201 serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 36807K4 serial: <superuser required> BIOS: LENOVO v: 6QET70WW (1.40 )
    date: 10/11/2012
Battery:
  ID-1: BAT0 charge: 0.2 Wh (100.0%) condition: 0.2/62.2 Wh (0.3%) volts: 12.4 min: 11.1
    model: LGC 42T4837 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Core i7 M 620 bits: 64 type: MT MCP arch: Westmere gen: core 1 level: v2
    built: 2010-11 process: Intel 32nm family: 6 model-id: 0x25 (37) stepping: 5 microcode: 0x7
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1229 high: 1268 min/max: 1199/2667 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1222 2: 1268 3: 1224 4: 1204 bogomips: 21280
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  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; IBRS_FW; STIBP: conditional; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Core Processor Integrated Graphics vendor: Lenovo driver: i915 v: kernel
    arch: Gen-5.75 process: Intel 45nm built: 2010 ports: active: LVDS-1,VGA-1 empty: DP-1,HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:0046 class-ID: 0300
  Device-2: Lenovo Integrated Webcam type: USB driver: uvcvideo bus-ID: 1-1.6:6
    chip-ID: 17ef:4816 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: intel
    dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2720x900 s-dpi: 96 s-size: 719x238mm (28.31x9.37") s-diag: 757mm (29.82")
  Monitor-1: LVDS-1 mapped: LVDS1 pos: bottom-l model: Lenovo 0x4011 built: 2009 res: 1280x800
    hz: 60 dpi: 125 gamma: 1.2 size: 261x163mm (10.28x6.42") diag: 308mm (12.1") ratio: 16:10
    modes: 1280x800
  Monitor-2: VGA-1 mapped: VGA1 pos: top-right model: VA1912wSERIES serial: <filter> built: 2008
    res: 1440x900 hz: 60 dpi: 89 gamma: 1.2 size: 410x256mm (16.14x10.08") diag: 483mm (19")
    ratio: 16:10 modes: max: 1440x900 min: 720x400
  API: OpenGL v: 2.1 Mesa 22.3.6 renderer: Mesa Intel HD Graphics (ILK) direct-render: Yes
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Lenovo 5 driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3b56 class-ID: 0403
  API: ALSA v: k6.1.0-21-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel 82577LM Gigabit Network vendor: Lenovo driver: e1000e v: kernel port: 1820
    bus-ID: 00:19.0 chip-ID: 8086:10ea class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Centrino Advanced-N 6200 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:4239 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Broadcom BCM2045B (BDC-2.1) type: USB driver: btusb v: 0.8 bus-ID: 1-1.4:9
    chip-ID: 0a5c:217f class-ID: fe01 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 1.2 lmp-v: 2.1
    sub-v: 4203 hci-v: 2.1 rev: 168
  Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch hold sniff park
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 465.76 GiB used: 156.17 GiB (33.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HTS545050B9A300 size: 465.76 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: C61H
    scheme: MBR
Partition:
  ID-1: / raw-size: 58.59 GiB size: 57.37 GiB (97.92%) used: 12 GiB (20.9%) fs: ext4 dev: /dev/sda2
    maj-min: 8:2
  ID-2: /home raw-size: 279.55 GiB size: 274.1 GiB (98.05%) used: 45.51 GiB (16.6%) fs: ext4
    dev: /dev/sda5 maj-min: 8:5
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 6.84 GiB used: 31.7 MiB (0.5%) priority: -2 dev: /dev/sda3
    maj-min: 8:3
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 3265
Repos:
  Packages: pm: dpkg pkgs: 2592 libs: 1355 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://debian.mirror.liquidtelecom.com/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://debian.mirror.liquidtelecom.com/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/freedownloadmanager.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/freedownloadmanager.gpg] https://debrepo.freedownloadmanager.org/ jammy main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo/ bookworm main 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: 273 Uptime: 5h 29m wakeups: 2 Memory: 7.56 GiB used: 4.19 GiB (55.5%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12 Client: shell wrapper
  v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 10:20 am
by CharlesV
A few things jump out immediately to me, your QSI shows:

1) Your swap is engage at 31mb at this time?
__ how heavy a load is your machine running at?

2) Your machine is 12 years old, how old is that hard drive?
__ THAT model HD is a 5400rpm, so it is slower then a fast drive.


Run vivaldi from a shell and post the messages please.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 11:18 am
by n8ive999
Thanks for the reply.

As the thread quoted will show, I run Brave on exactly the same specs, and get different results.
Current swap is irrelevant, as all tests are done just after startup, when RAM is at around 700M (out of 8G). My Swappiness=15.
There are also testimonies from other users (on Debian12) with more modern equipment showing the same results as I.

I'll try to get the shell messages at the next boot.

My current situation is MXlinux with Brave as the default browser; there is no problem with this. My question is why does Vivaldi show this inappropriate behaviour on exactly the same system? Especially when I prefer Vivaldi to Brave.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 11:37 am
by siamhie
n8ive999 wrote: Tue Jun 25, 2024 11:18 am Brave as the default browser; there is no problem with this. My question is why does Vivaldi show this inappropriate behavior on exactly the same system? Especially when I prefer Vivaldi to Brave.

You're comparing two different browsers. That would be like comparing Waterfox to LibreWolf. Sure, both are Firefox clones but are built differently from source.



How many extensions do you have installed? How many tabs open when you start the browser? Have you tried clearing the cache? Have you tried with a new user profile?

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 11:41 am
by j2mcgreg
Vivaldi can a bit of a resource hog and not great at releasing memory after the fact.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 11:48 am
by n8ive999
@siamhie @j2mcgreg
Read the full quoted thread.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 12:10 pm
by j2mcgreg
n8ive999 wrote: Tue Jun 25, 2024 11:48 am @siamhie @j2mcgreg
Read the full quoted thread.
I did and of all the rigs described, the one whose specs are closest to yours is still seven generations newer and is going to be much faster.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 12:14 pm
by siamhie
n8ive999 wrote: Tue Jun 25, 2024 11:48 am @siamhie @j2mcgreg
Read the full quoted thread.

I did and others in that thread also bought this up.
CharlesV wrote: Tue Jun 25, 2024 10:20 am
Run vivaldi from a shell and post the messages please.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 12:26 pm
by n8ive999
After reboot, on a cold start of Vivaldi, this is the only output from shell

Code: Select all

vivaldi-stable
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 12:44 pm
by n8ive999
j2mcgreg wrote: Tue Jun 25, 2024 12:10 pm
n8ive999 wrote: Tue Jun 25, 2024 11:48 am @siamhie @j2mcgreg
Read the full quoted thread.
I did and of all the rigs described, the one whose specs are closest to yours is still seven generations newer and is going to be much faster.
This does not explain why Brave starts 10 times faster.
And why others have the same issue.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 12:50 pm
by j2mcgreg
Your HDD is eleven years old and well past it's replace by date. Even when it was new it was rated slow. See here:
https://hdd.userbenchmark.com/SpeedTest ... 5050B9A300
You should replace it with an SSD.
As to Vivaldi's slow start, parts of it could be written on areas of the HDD that have already deteriorated.

Re: Browser slow cold start

Posted: Tue Jun 25, 2024 1:32 pm
by CharlesV
There is something up with either you rig or your config.

Vivaldi on my dell tester is 4 seconds cold start, after a reboot.

Code: Select all

System:
  Kernel: 6.6.11-1-liquorix-amd64 [6.6-15~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable rcupdate.rcu_expedited=1 BOOT_IMAGE=/boot/vmlinuz-6.6.11-1-liquorix-amd64
    root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.3_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: Dell product: Inspiron 5579 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 0T9FN2 v: A00 serial: <superuser required> UEFI-[Legacy]: Dell v: 1.19.0
    date: 12/15/2021
Battery:
  ID-1: BAT0 charge: 1.1 Wh (6.0%) condition: 18.3/42.0 Wh (43.5%) volts: 12.4 min: 11.4
    model: SMP DELL Y3F7Y6B type: Li-ion serial: <filter> status: charging
  Device-1: hid-0003:04F3:236E.0006-battery model: ELAN Touchscreen serial: N/A charge: N/A
    status: N/A
CPU:
  Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake gen: core 8 level: v3
    note: check built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142) stepping: 0xA (10)
    microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 650 high: 800 min/max: 400/1801 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 800 2: 800 3: 800 4: 800 5: 400 6: 800 7: 400 8: 400 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  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: IBRS, IBPB: conditional, STIBP: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:5917 class-ID: 0300
  Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-5:2
    chip-ID: 0bda:5696 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: BOE Display 0x06b4 built: 2016 res: 1920x1080 hz: 60 dpi: 142
    gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel UHD Graphics 620 (KBL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71
    class-ID: 0403
  API: ALSA v: k6.6.11-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell
    driver: ath10k_pci v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0
    chip-ID: 168c:003e class-ID: 0280 temp: 47.0 C
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-7:3 chip-ID: 0cf3:e007
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: 25a hci-v: 4.2
  Info: acl-mtu: 1024:8 sco-mtu: 50:8 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 238.47 GiB used: 47.37 GiB (19.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SD7TB6S256G1001 size: 238.47 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1201 scheme: MBR
Partition:
  ID-1: / raw-size: 198.89 GiB size: 194.71 GiB (97.90%) used: 47.37 GiB (24.3%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 53.0 C pch: 51.0 C mobo: 51.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: pm: dpkg pkgs: 2324 libs: 1104 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
    2: deb http://la.mxrepo.com/mx/repo/ bookworm ahs
  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: 340 Uptime: 1m wakeups: 1077 Memory: 7.36 GiB used: 1.17 GiB (15.9%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 6:32 am
by n8ive999
@CharlesV , if the problem is with my hardware, then all browsers would/should be equally affected, not so?
Yet, Brave is not affected, it opens in about 5s.

When I was running MX 21, I thought I must have screwed up something, so last week I completely reinstalled MX23, did a fresh install of Vivaldi, no profiles, no addons.
Same result.

I tested in a VM of LinuxMint.
Both browsers open in the same time. (35s - but VMs are generally slower anyway)

So, if Brave opens in 5s on native system, I would expect similar times for Vivaldi.

Other users who report this problem have been on Debian12. So it seems Debian is the common factor.

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 6:52 am
by j2mcgreg
@n8ive999 wrote:
if the problem is with my hardware, then all browsers would/should be equally affected, not so?
Yet, Brave is not affected, it opens in about 5s.
You are the only one reporting this issue. If there was a problem with Vivaldi in general, other users would be chiming in to report it. That they are not and because none of us can duplicate your problem, makes this unique to your rig.

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 6:58 am
by siamhie
Is there a difference with version 6.8.3381.46-1?

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 7:07 am
by siamhie
n8ive999 wrote: Wed Jun 26, 2024 6:32 am Yet, Brave is not affected, it opens in about 5s.

Brave is not Vivaldi. Stop the comparison.

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 7:37 am
by j2mcgreg
siamhie wrote: Wed Jun 26, 2024 7:07 am
n8ive999 wrote: Wed Jun 26, 2024 6:32 am Yet, Brave is not affected, it opens in about 5s.

Brave is not Vivaldi. Stop the comparison.
+1

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 11:26 am
by CharlesV
n8ive999 wrote: Wed Jun 26, 2024 6:32 am @CharlesV , if the problem is with my hardware, then all browsers would/should be equally affected, not so?
Yet, Brave is not affected, it opens in about 5s.

When I was running MX 21, I thought I must have screwed up something, so last week I completely reinstalled MX23, did a fresh install of Vivaldi, no profiles, no addons.
Same result.

I tested in a VM of LinuxMint.
Both browsers open in the same time. (35s - but VMs are generally slower anyway)

So, if Brave opens in 5s on native system, I would expect similar times for Vivaldi.

Other users who report this problem have been on Debian12. So it seems Debian is the common factor.
I disagree with the "it cannot be my hardware if other ..." .. it is VERY possible that you could be having an issue with your hard drive and it is affecting the cache or other area that vivaldi sits upon.

How old IS that hard drive ?

Also, and possibly more to the point, is that this could be something in the vivaldi config, cache or something entirely different. The error you posted seems to point to something with the video or a driver.

is Hardware acceleration ON?

Have you tried cleaning the system cache?
personally run stacer and I clear EVERYTHING other than trash, no longer than every two weeks (many times twice a week! While this may seem extreme, it keeps my machine running optimally ( imo )

Have you tried saving your extensions, bookmarks etc etc, then purging vivaldi ?
( then restart and then reload ONLY vivaldi to test - adding in extensions next, test and then finally bookmarks etc. )

IN four systems I have access too, vivaldi runs nearly 3 seconds on first startup, but my machines are ssd and very fast. My testers are not as fast and even those open vivaldi VERY quickly. That, along with nobody else complaining about this here ... I firmly do not believe that it is an 'mx' thing . (nor debian actually.) .. Your system is throwing an error..

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 11:54 am
by j2mcgreg
@CharlesV wrote:
How old IS that hard drive ?
The benchmark I linked to in post #11 shows that it hit retail in late summer 2013.

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 11:57 am
by CharlesV
j2mcgreg wrote: Wed Jun 26, 2024 11:54 am @CharlesV wrote:
How old IS that hard drive ?
The benchmark I linked to in post #11 shows that it hit retail in late summer 2013.
Oooya .. replace :-)

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 4:19 pm
by siamhie
j2mcgreg wrote: Wed Jun 26, 2024 11:54 am @CharlesV wrote:
How old IS that hard drive ?
The benchmark I linked to in post #11 shows that it hit retail in late summer 2013.

Not to mention that it's interface is Serial-ATA/300.
vendor: Hitachi model: HTS545050B9A300 size: 465.76 GiB block-size:
physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400


Disk Interface Serial-ATA/300
Buffer-Host Max. Rate 300 MB/seconds
Buffer Size 8192 KB
Drive Ready Time (typical) 3.5 seconds

https://www.hdsentinel.com/storageinfo_ ... 5050B9A300


Code: Select all

Machine:
  Type: Laptop System: LENOVO product: 36807K4 v: ThinkPad X201 serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 36807K4 serial: <superuser required> BIOS: LENOVO v: 6QET70WW (1.40 )
    date: 10/11/2012

Honestly, I would be looking at antiX for this type of machine.

Re: Browser slow cold start

Posted: Wed Jun 26, 2024 4:26 pm
by siamhie
I have a couple of links you can look at but I don't think they will help much on a computer that old (2012).


Improve performance in Vivaldi
https://vivaldi.com/blog/improve-perfor ... n-vivaldi/


12 Ways to Speed Up Your Vivaldi Browser
https://www.makeuseof.com/ways-speed-up-vivaldi/

Re: Browser slow cold start

Posted: Thu Jun 27, 2024 2:34 am
by JmaCWQ
MX-21 here, I find Vivaldi and Brave both slow to awaken on a cold start.
They've been like that for as long as I can remember, I figured it was just a Chromium based thing.
They both take around 40 seconds vs Firefox & Firefox ESR that usually take around 10 seconds.
Same extensions in both, UBO & tabs to the front, same bookmarks etc., even without extensions running they still take a lot longer than FF or FF-ESR.
I find the differences comparable on other machines I have too, MX-21 and MX-23.

Code: Select all

Snapshot created on: 20240623_0133
System:    Kernel: 5.10.0-30-amd64 [5.10.218-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-30-amd64 root=UUID=<filter> ro quiet 
           nosplash consoleblank=0 
           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_x64 Wildflower June 03  2023 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop System: Dell product: OptiPlex 9020 v: 01 serial: <filter> Chassis: 
           type: 15 serial: <filter> 
           Mobo: Dell model: 00V62H v: A01 serial: <filter> BIOS: Dell v: A09 date: 11/20/2014 
CPU:       Info: Quad Core model: Intel Core i5-4590 bits: 64 type: MCP arch: Haswell family: 6 
           model-id: 3C (60) stepping: 3 microcode: 28 cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26337 
           Speed: 1397 MHz min/max: 800/3700 MHz Core speeds (MHz): 1: 1397 2: 1397 3: 1397 
           4: 1397 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: reg_file_data_sampling status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, 
           RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics vendor: Dell 
           driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0412 class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa 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: VGA-1 res: 1920x1080 hz: 60 dpi: 96 size: 509x286mm (20.0x11.3") 
           diag: 584mm (23") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 20.3.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-30-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Ethernet I217-LM vendor: Dell driver: e1000e v: kernel port: f060 
           bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 338.84 GiB (36.4%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EZEX-75M2NA0 
           size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD 
           rpm: 7200 serial: <filter> rev: 1A01 scheme: MBR 
Partition: ID-1: / raw-size: 919.51 GiB size: 904 GiB (98.31%) used: 338.84 GiB (37.5%) fs: ext4 
           dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 12 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda2 maj-min: 8:2 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 2887 note: see --pkg apt: 2882 lib: 1537 flatpak: 5 
           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/mx.list 
           1: deb http://mx.debian.nz/mx/repo/ bullseye main 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: 209 Uptime: 1h 8m wakeups: 1 Memory: 31.26 GiB used: 1.73 GiB (5.5%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)