GTK App scaling on Gnome under Wayland

Hello

I have a weird bug that magnifies my cursor on Gnome.

You’ll see in the video below that the cursor changes size as well as a weird black border around Nautilus.

This does not happen with QT apps nor with every GTK app. Terminal and Firefox main the correct cursor size without the black border. I’ve noticed this only on Nautilus and Gnome Tweaks (as of now).

Edit: Got rid of the black border by uninstalling amdvlk. It was in a package list that I used when setting up my new laptop. Cursor is still huge though.

Edit 2: It a Xcursor-breeze issue - the cursor size ballooning. Switching to babita “solves” the issue, so I’m marking this as solved.

inxi
❯ inxi -Fazy
System:
  Kernel: 6.11.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz-6.11-x86_64
    root=UUID=ec8d4781-4c9d-4fd2-acc7-a0f65a1d70b3 rw rootflags=subvol=@ quiet
    processor.max_cstate=1 fbcon=nodefer apparmor=1 security=apparmor
    cryptdevice=UUID=c4b3e68a-fbae-4005-9bae-95a0b552b214:cr_root
    root=/dev/mapper/cr_root udev.log_priority=3
  Desktop: GNOME v: 47.2 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: ASUSTeK product: ASUS Vivobook S 14 M5406WA_M5406WA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: M5406WA v: 1.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: M5406WA.303
    date: 07/23/2024
Battery:
  ID-1: BAT1 charge: 50.1 Wh (66.9%) condition: 74.9/74.9 Wh (100.0%)
    volts: 16.2 min: 16.0 model: ASUS A32-K55 type: Li-ion serial: N/A
    status: discharging
CPU:
  Info: model: AMD Ryzen AI 9 HX 370 w/ Radeon 890M bits: 64 type: MT MCP
    arch: N/A level: v4 note: check family: 0x1A (26) model-id: 0x24 (36)
    stepping: 0 microcode: 0xB204011
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 12 threads: 24 tpc: 2
    smt: enabled cache: L1: 960 KiB desc: d-12x48 KiB; i-12x32 KiB L2: 12 MiB
    desc: 12x1024 KiB L3: 24 MiB desc: 1x16 MiB, 1x8 MiB
  Speed (MHz): avg: 1402 min/max: 599/4367 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 1402 2: 1402 3: 1402
    4: 1402 5: 1402 6: 1402 7: 1402 8: 1402 9: 1402 10: 1402 11: 1402 12: 1402
    13: 1402 14: 1402 15: 1402 16: 1402 17: 1402 18: 1402 19: 1402 20: 1402
    21: 1402 22: 1402 23: 1402 24: 1402 bogomips: 95876
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  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 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: Enhanced / Automatic IBRS; IBPB: conditional;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Strix [Radeon 880M / 890M]
    vendor: ASUSTeK driver: amdgpu v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
    DP-7, HDMI-A-1, Writeback-1 bus-ID: 63:00.0 chip-ID: 1002:150e
    class-ID: 0380 temp: 49.0 C
  Device-2: Shinetech USB2.0 FHD UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:2 chip-ID: 3277:0060
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x419d built: 2022 res: 2880x1800 dpi: 242
    gamma: 1.2 size: 302x189mm (11.89x7.44") diag: 356mm (14") ratio: 16:10
    modes: max: 2880x1800 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    gfx1150 LLVM 18.1.8 DRM 3.59 6.11.11-1-MANJARO) device-ID: 1002:150e
    memory: 500 MiB unified: no display-ID: :0.0
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
    Audio driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 63:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    driver: snd_acp_pci v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 63:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 63:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.11.11-1-MANJARO status: kernel-api tools: N/A
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: Foxconn driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 62:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp98s0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:2 chip-ID: 0489:e0f5
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 931.51 GiB used: 247.7 GiB (26.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD BLACK SN850X 1000GB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 620361WD temp: 34.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 119.21 GiB size: 119.21 GiB (100.00%)
    used: 23.31 GiB (19.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: cr_root
  ID-2: /boot raw-size: 954 MiB size: 921.8 MiB (96.63%)
    used: 211.7 MiB (23.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-3: /boot/efi raw-size: 244 MiB size: 240.2 MiB (98.46%)
    used: 274 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-4: /home raw-size: 794.35 GiB size: 794.35 GiB (100.00%)
    used: 224.18 GiB (28.2%) fs: f2fs dev: /dev/dm-1 maj-min: 254:1
    mapped: cr_home
  ID-5: /var/log raw-size: 119.21 GiB size: 119.21 GiB (100.00%)
    used: 23.31 GiB (19.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: cr_root
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 51.9 C mobo: 42.0 C gpu: amdgpu temp: 50.0 C
  Fan Speeds (rpm): cpu: 0
Info:
  Memory: total: 24 GiB note: est. available: 22.55 GiB used: 4.63 GiB (20.6%)
  Processes: 533 Power: uptime: 2m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 9 GiB services: gsd-power, power-profiles-daemon, upowerd
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1248 libs: 378 tools: gnome-software,pamac,yay
    pm: flatpak pkgs: 0 Compilers: gcc: 14.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.36

Black border was caused by amdvlk and the cursor size issue is related to the Xcursor-Breeze theme.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.