[amdgpu] Firefox window is visually corrupted after upgrading to Ubuntu 23.04

Bug #2016925 reported by Nicolás Abel Carbone
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading from Ubuntu 22.10 to Ubuntu 23.04, every time I open firefox the windows is heavily visually corrupted. It seems to work fine under the corruption, but it is completely unusuable.

The tar version of Firefox works fine. In the attached screenshot you can see the snap version of Firefox (corrupted) and the tar version of Firefox (working fine).

I tried uninstalling (with --purge) and reinstalling and refreshing firefox to no avail.

All other applications, including 3D games, are working fine. I am using an AMD RX5500 with default mesa drivers.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: firefox 1:1snap1-0ubuntu3
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 18 18:04:26 2023
InstallationDate: Installed on 2020-11-04 (895 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SnapChanges:
 ID Estado Generado Listo Resumen
 1215 Done 2023-04-18T17:42:17-03:00 2023-04-18T17:44:05-03:00 Eliminar snap "firefox"
 1216 Done 2023-04-18T17:45:37-03:00 2023-04-18T17:47:25-03:00 Instalar snap "firefox"
 1217 Done 2023-04-18T17:48:16-03:00 2023-04-18T17:48:30-03:00 Eliminar snap "firefox"
 1218 Done 2023-04-18T17:48:39-03:00 2023-04-18T17:48:49-03:00 Instalar snap "firefox"
SourcePackage: firefox
UpgradeStatus: Upgraded to lunar on 2023-04-18 (0 days ago)

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :
Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

Switching to the beta firefox snap channel solves the issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Tony Mansson (tony-mansson) wrote :

The issue is intermittent. It happened twice for me after reboot, the first time on first reboot after upgrade to Lunar, then a few days later. On both occasions it disappeared after some time (tens of minutes), but I don't know what I did to fix it..
# Percona Toolkit System Summary Report ######################
        Date | 2023-05-13 14:07:41 UTC (local TZ: CEST +0200)
    Hostname | Bullen
      Uptime | 5 days, 3:02, 2 users, load average: 0,72, 0,62, 0,68
    Platform | Linux
     Release | Ubuntu 23.04 (lunar)
      Kernel | 6.2.0-20-generic
Architecture | CPU = 64-bit, OS = 64-bit
   Threading | NPTL 2.37
     SELinux | No SELinux detected
 Virtualized | No virtualization detected
# Processor ##################################################
  Processors | physical = 1, cores = 12, virtual = 24, hyperthreading = yes
      Speeds | 1x3462.775, 1x3464.922, 1x3510.290, 1x3564.914, 1x3592.028, 1x3593.501, 1x3596.300, 1x3597.296, 1x3597.434, 1x3597.810, 1x3598.240, 1x3598.367, 1x3599.356, 1x3599.598, 1x3599.606, 1x3599.672, 1x3599.699, 1x3599.822, 1x3599.868, 1x3600.093, 1x3671.525, 1x3690.418, 1x3700.563, 1x4322.343
      Models | 24xAMD Ryzen 9 3900X 12-Core Processor
      Caches | 24x512 KB
# Memory #####################################################
       Total | 31,1G

Revision history for this message
Tony Mansson (tony-mansson) wrote :

More info: The bug affect all snaps but not ordinary executables. All snaps launch distorted. After a recent reboot I tried several times to launch Firefox, every time the bug appeared, and all my tabs where unreadable. Then I started Thunderbird (which is NOT a snap) and clicked on a link in a mail so that a new tab opened in Firefox. Suddenly Firefox was normal, and all tabs (also the old ones) where readable just fine! Other snaps e.g. chromium still launches with the bug.
When staring the snap "openscad-nightly", the initial splash screen (Welcome to OpenScad) is normal, but when I click on e.g. "Open Recent" I get a distorted window.
So far I haven't been able to recognize any message on stderr that are common when launching snap programs, but there are plenty of apparmor="DENIED" in dmesg, if that's any clue.

I'd be happy to provide log files if someone has any specific request

tags: added: amdgpu
summary: - Firefox window is visually corrupted after upgrading to Ubuntu 23.04
+ [amdgpu] Firefox window is visually corrupted after upgrading to Ubuntu
+ 23.04
no longer affects: snapd (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.