Gtk4 apps slow to open 2

Incredibly, more than two years later this problem has still not been fixed. All gnome gtk4 apps are very slow to start. This includes the Settings app, which is also a gtk4 app. There is generally a very long startup notification (spinning cursor). Perhaps, the worst affected is gnome-clocks. I tried Ubuntu, Fedora and Garuda Linux Gnome and found that this problem does not exist for those distros. On those distros gnome-clocks opens instantly, for example. For now I have switched to gtk3 apps wherever possible.

Hello @905 :wink:

Try this:

export GSK_RENDERER=gl; pamac-manager
export GSK_RENDERER=ngl; pamac-manager

ngl uses Vulkan instead of OpenGL and is the default renderer. If your hardware is old, use gl.

https://blog.gtk.org/2024/01/28/new-renderers-for-gtk/

Makes no difference.

For a start, please provide some system information:

inxi --admin --verbosity=8 --filter --no-host --width

This is the minimum information usually requested, and will allow others to discover other factors that might be contributing.

I do not believe this is a hardware problem particular to my machine. When trying gnome with other distros on the same machine there is no issue.

If you have a working and non-working distribution you can run diagnostic commands on both machines and compare data to find differences

@905 You could probably switch to unstable branch, since that branch is equal to ArchLinux Stable and Garuda. I use the unstable branch myself and see no real delay… maybe 1-3 seconds. Could you test that?

How does this belief prevent you from providing requested information?

Good luck.

inxi --admin --verbosity=8 --filter --no-host --width                  ✔ 
System:
  Kernel: 6.11.6-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.11-x86_64
    root=UUID=0a3ce957-5e92-408f-babe-76d6617790cb rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 47.1 tk: GTK v: 3.24.43 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 47.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 5567 v: N/A
    serial: <superuser required> Chassis: type: 9 serial: <superuser required>
  Mobo: Dell model: 01W6F7 v: A00 serial: <superuser required> part-nu: 0767
    uuid: <superuser required> UEFI: Dell v: 1.0.1 date: 08/11/2016
Battery:
  ID-1: BAT0 charge: 5.7 Wh (100.0%) condition: 5.7/42.0 Wh (13.5%) volts: 12.4
    min: 11.4 model: LGC-LGC3.553 DELL T2JX467 type: Li-ion serial: <filter>
    status: full
Memory:
  System RAM: total: 8 GiB available: 7.66 GiB used: 2.19 GiB (28.6%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 16 GiB slots: 2 modules: 1 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: ChannelA-DIMM0 type: no module installed
  Device-2: DIMM B type: DDR4 detail: synchronous size: 8 GiB speed:
    spec: 2400 MT/s actual: 2133 MT/s volts: note: check curr: 1 min: 1 max: 1
    width (bits): data: 64 total: 64 manufacturer: 163500000000
    part-no: 8ATF1G64HZ-2G3B1 serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-7200U bits: 64 type: MT MCP arch: Amber/Kaby Lake
    note: check gen: core 7 level: v3 note: check built: 2017 process: Intel 14nm
    family: 6 model-id: 0x8E (142) stepping: 9 microcode: 0xF6
  Topology: cpus: 1x dies: 1 clusters: 2 cores: 2 threads: 4 tpc: 2
    smt: enabled cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB
    desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 400 min/max: 400/3100 scaling: driver: intel_pstate
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 bogomips: 21607
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr
    mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
    pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep
    smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2
    tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic
    xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  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: reg_file_data_sampling status: Not affected
  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; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD 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:5916 class-ID: 0300
  Device-2: Realtek Integrated Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 0bda:568a
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: LG Display 0x0525 built: 2016 res: 1366x768
    dpi: 101 gamma: 1.2 chroma: red: x: 0.569 y: 0.345 green: x: 0.333 y: 0.561
    blue: x: 0.157 y: 0.118 white: x: 0.314 y: 0.329
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: 1366x768
  EDID-Warnings: 1: parse_edid: unknown flag 0
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    device-ID: 8086:5916 memory: 3.74 GiB unified: yes display-ID: :0.0
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_soc_avs bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.11.6-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:3165 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000
    bus-ID: 02:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  IF-ID-1: CloudflareWARP state: unknown speed: 10000 Mbps duplex: full
    mac: N/A
  IP v4: <filter> scope: global
  IP v6: <filter> scope: global
  IP v6: <filter> virtual: stable-privacy proto kernel_ll scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-8:4 chip-ID: 8087:0a2a
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 119.72 GiB (25.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT500MX500SSD1
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 023 scheme: GPT
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVD+-RW GU90N rev: A1C1
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 461.47 GiB size: 453.15 GiB (98.20%)
    used: 119.72 GiB (26.4%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 0a3ce957-5e92-408f-babe-76d6617790cb
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 304 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: E1D9-1DD6
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3 maj-min: 8:3 label: N/A
    uuid: d28768e1-9ced-4872-a2d7-042408542022
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-5:2 info: Realtek Integrated Webcam type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 0bda:568a class-ID: 0e02 serial: <filter>
  Device-2: 1-6:3 info: Realtek RTS5129 Card Reader Controller
    type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
    interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 0bda:0129 class-ID: ff00 serial: <filter>
  Device-3: 1-8:4 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:0a2a class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 39.0 C pch: 29.0 C mobo: 25.0 C sodimm: SODIMM C
  Fan Speeds (rpm): cpu: 0
Repos:
  Packages: 1285 pm: pacman pkgs: 1279 libs: 374
    tools: gnome-software,pamac,yay pm: flatpak pkgs: 6
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirrors.cicku.me/manjaro/unstable/$repo/$arch
    2: https://mirrors2.manjaro.org/unstable/$repo/$arch
    3: https://mirrors.manjaro.org/repo/unstable/$repo/$arch
Processes:
  CPU top: 5 of 225
  1: cpu: 44.8% command: firefox pid: 9685 mem: 511.5 MiB (6.5%)
  2: cpu: 19.3% command: firefox pid: 9889 mem: 261.3 MiB (3.3%)
  3: cpu: 7.1% command: gnome-terminal-server pid: 10070 mem: 62.6 MiB (0.7%)
  4: cpu: 6.7% command: firefox pid: 9822 mem: 241.2 MiB (3.0%)
  5: cpu: 5.1% command: zsh pid: 10078 mem: 11.7 MiB (0.1%)
  Memory top: 5 of 225
  1: mem: 511.5 MiB (6.5%) command: firefox pid: 9685 cpu: 44.8%
  2: mem: 374.6 MiB (4.7%) command: gnome-shell pid: 1466 cpu: 3.0%
  3: mem: 261.3 MiB (3.3%) command: firefox pid: 9889 cpu: 19.3%
  4: mem: 241.2 MiB (3.0%) command: firefox pid: 9822 cpu: 6.7%
  5: mem: 202.3 MiB (2.5%) command: firefox pid: 9765 cpu: 4.0%
Info:
  Processes: 225 Power: uptime: 2h 53m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 3.05 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.36

I AM on the Unstable branch. A month ago I was on the Stable branch. Which branch you use makes no difference.

Anything in the logs?

Maybe try starting the applications from the terminal and observing the output?

I may also note that your profile lists your desktop as XFCE and wonder if this was converted to Gnome, or was Gnome installed fresh?

2 Likes

You had not previously specified which branch you are using.

Without any clear indication of the branch being used it’s a fair assumption that you might have been using the Stable branch.

In this case it is also a fair suggestion to switch to Unstable (or Testing) for the purpose of comparison and testing against newer packages; a different environment.

If you are suggesting the issue you are experiencing is somehow Manjaro specific, thus far there doesn’t seem much information provided that might help confirm or deny that.

All I can suggest is working with – rather than against – those wishing to help, so that a solution might be reached.

If you haven’t found a solution after keeping a well maintained Manjaro Gnome system for more than two years (I too find this incredible) is to perhaps use one of the other distributions mentioned.

BIOS

I note that your BIOS is rather old. Updating to the latest (non-Beta) BIOS is often a smart move; and can often solve issues you might not even be aware of.

In this instance, BIOS version 1.2.7 released on 2019-05-09 – marked as critical – is available from the Dell site:

I’d suggest contacting Dell for instructions on applying the BIOS update; do this if only to address the security issues listed.

KERNEL

I notice you are using kernel 6.11.

Kernel 6.12 (LTS) is expected to be generally available this month. Switching kernels might improve things to some extent, though with a laptop of this vintage kernels 6.1 (LTS) or 6.6 (LTS) might also be worth trying.


Other possibly related articles:

Good luck.

I updated the BIOS. I have already tried the two older kernels you mention. That did not solve the problem. Thanks a lot for your help and time all the same.

I finally discovered the source of the problem: it is the papirus-maia icon theme. When I changed to the default Adwaita theme, all gtk4 themes start normally. The long startup notifications are gone. The gnome-clocks app starts instantly as in other distros.

1 Like

Updating to the adwaita-icon-theme-legacy-46.2-3 package also resolves some issues noted of late:

sudo pacman -Syu adwaita-icon-theme-legacy

well done. that does seem to make a dramatic difference. 2 years yikes!.
I use papirus-dark-maia. Adwaita icons looks horrible on Manjaro dark.

So is papirus-dark-maia icons part of the Manjaro official theme? it fits perfectly so i assume it is. Will the devs be able to fix this theme?