Out of apparently nowhere, I now find that the Firefox app (running as a snap on Ubuntu) is very distorted when launched. And it experiences further strangeness (like imprints of previous content) as I proceed to use it.
Aside from the regular system updates, I haven't made any config changes recently. Also, every other app (including other snaps) is working properly.
Here are some screenshots showing the problem. You can see that the titlebar and mouse pointer are unaffected:


Here's some system information I thought might be relevant:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
$ sudo snap info firefox
name: firefox
summary: Mozilla Firefox web browser
publisher: Mozilla✓
store-url: https://snapcraft.io/firefox
contact: https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
license: unset
description: |
Firefox is a powerful, extensible web browser with support for modern web application
technologies.
commands:
- firefox
- firefox.geckodriver
snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
tracking: latest/stable/ubuntu-22.04
refresh-date: 12 days ago, at 07:44 GMT
channels:
latest/stable: 110.0.1-2 2023-02-28 (2391) 251MB -
latest/candidate: 111.0-2 2023-03-10 (2432) 253MB -
latest/beta: 111.0b8-1 2023-03-03 (2404) 191MB -
latest/edge: 112.0a1 2023-03-13 (2439) 197MB -
esr/stable: 102.8.0esr-2 2023-02-16 (2364) 185MB -
esr/candidate: 102.9.0esr-2 2023-03-10 (2431) 186MB -
esr/beta: ↑
esr/edge: ↑
installed: 110.0.1-2 (2391) 251MB -
$ lspci -v | egrep -i --color 'vga'
2f:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5) (prog-if 00 [VGA controller])
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:2f:00.0
logical name: /dev/fb0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=amdgpu latency=0 resolution=3840,2160
resources: irq:100 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:f000(size=256) memory:fcc00000-fcc7ffff memory:c0000-dffff