[snap] Graphics corruption in menus on AMD graphics

Bug #1948052 reported by david may
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Several (but not all) of my Chromium Web Browser pulldown bookmarks menus are highly corrupted with flashing colors since using 21.10

Your first line refuses to accept Chromium, saying that it does not exist in Ubuntu.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2021-01-30 (377 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Package: chromium-browser 1:85.0.4183.83-0ubuntu2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.13.0-28.31-generic 5.13.19
Snap.Changes: no changes found
Snap.ChromeDriverVersion:
 mkdir: cannot create directory '/run/user/0': Permission denied
 ChromeDriver 98.0.4758.80 (7f0488e8ba0d8e019187c6325a16c29d9b7f4989-refs/branch-heads/4758@{#972})
Snap.ChromiumVersion:
 mkdir: cannot create directory '/run/user/0': Permission denied
 Chromium 98.0.4758.80 snap
Tags: impish
Uname: Linux 5.13.0-28-generic x86_64
UpgradeStatus: Upgraded to impish on 2021-10-12 (121 days ago)
UserGroups: N/A
_MarkForUpload: True

Paul White (paulw2u)
affects: ubuntu → chromium-browser (Ubuntu)
tags: added: impish
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

Hi David (and anyone else affected). Is this still happening with the latest update of the chromium snap in the stable channel?

If so, can you please share more information about your system by running `apport-collect 1948052`?

It would also be helpful if you could attach a screenshot or screencast demonstrating the problem. Thanks!

tags: added: snap
summary: - some chromium browser pulldown menus corrupted in 21.10
+ [snap] some pulldown menus corrupted in 21.10
Revision history for this message
david may (d-may-s) wrote : news

  For your information this error has been present since upgrading to
Impish Indri

The processor / graphics is an AMD Ryzen 3 3200G

The
motherboard is a Gigabyte X570 Aorus Pro Wifi with the latest BIOS.

I
have 8GB of DDR4 RAM.

The screen is driven off the HDMI port.

The
error not only occurs in the Google Chromium Web Browser menus but
occurs at random is various web pages.

It does not occur in Firefox Web
Browser or its viewed pages.

Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [snap] some pulldown menus corrupted in 21.10

Thanks David.
Can you please run the following command in a terminal?

    apport-collect 1948052

Revision history for this message
david may (d-may-s) wrote : Re: [Bug 1948052] Re: [snap] some pulldown menus corrupted in 21.10

dm@dm-X570-I-AORUS-PRO-WIFI:~$ sudo apport-collect 1948052
[sudo]
password for dm:
Package chromium-browser not installed and no hook
available, ignoring

Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [snap] some pulldown menus corrupted in 21.10

Ok, that's because the deb package (which wraps the snap) isn't installed.

Can you try the following:

    sudo apt -y install chromium-browser
    apport-collect 1948052

Revision history for this message
david may (d-may-s) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
david may (d-may-s) wrote : HookError_chromium_browser.txt

apport information

Revision history for this message
david may (d-may-s) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
david may (d-may-s) wrote : ProcEnviron.txt

apport information

Revision history for this message
david may (d-may-s) wrote : Snap.Connections.txt

apport information

Revision history for this message
david may (d-may-s) wrote : Snap.Info.chromium.txt

apport information

Revision history for this message
david may (d-may-s) wrote : Snap.Info.core.txt

apport information

Revision history for this message
david may (d-may-s) wrote : Snap.Info.core18.txt

apport information

Revision history for this message
david may (d-may-s) wrote : Snap.Info.gtk-common-themes.txt

apport information

Revision history for this message
david may (d-may-s) wrote : Re: [Bug 1948052] Re: [snap] some pulldown menus corrupted in 21.10

dm@dm-X570-I-AORUS-PRO-WIFI:~$ sudo apport-collect 1948052
ERROR:
hook /usr/share/apport/package-hooks/chromium-browser.py
crashed:
Traceback (most recent call last):
 File
"/usr/lib/python3/dist-packages/apport/report.py", line 228, in
_run_hook
 symb['add_info'](report, ui)
 File
"/usr/share/apport/package-hooks/chromium-browser.py", line 93, in
add_info
 user_prefs(report, os.path.join(user_profile_dir,
'Preferences'))
 File
"/usr/share/apport/package-hooks/chromium-browser.py", line 28, in
user_prefs
 with open(filename, 'r') as f:
FileNotFoundError: [Errno 2]
No such file or directory:
'/root/snap/chromium/common/chromium/Default/Preferences'

Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [snap] some pulldown menus corrupted in 21.10

You shouldn't run apport-collect as root (with sudo).

Can you please attach the output of `lspci -v`.

Can you also open chrome://gpu in chromium, click the "Copy Report to Clipboard" button, and paste it here? Thanks!

Revision history for this message
david may (d-may-s) wrote : Re: [Bug 1948052] Re: [snap] some pulldown menus corrupted in 21.10
Download full text (53.7 KiB)

dm@dm-X570-I-AORUS-PRO-WIFI:~$ sudo lspci -v
[sudo] password for
dm:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD]
Raven/Raven2 Root Complex
 Subsystem: Advanced Micro Devices, Inc. [AMD]
Raven/Raven2 Root Complex
 Flags: fast devsel

00:00.2 IOMMU: Advanced
Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
 Subsystem: Advanced Micro
Devices, Inc. [AMD] Raven/Raven2 IOMMU
 Flags: fast devsel, IRQ 26

Capabilities: [40] Secure device
 Capabilities: [64] MSI: Enable+
Count=1/4 Maskable- 64bit+
 Capabilities: [74] HyperTransport: MSI
Mapping Enable+ Fixed+

00:01.0 Host bridge: Advanced Micro Devices,
Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
 Flags:
fast devsel, IOMMU group 0

00:01.2 PCI bridge: Advanced Micro Devices,
Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] (prog-if 00 [Normal
decode])
 Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group
1
 Bus: primary=00, secondary=01, subordinate=07, sec-latency=0
 I/O
behind bridge: 0000f000-0000ffff [size=4K]
 Memory behind bridge:
fc500000-fcafffff [size=6M]
 Prefetchable memory behind bridge:
[disabled]
 Capabilities: [50] Power Management version 3
 Capabilities:
[58] Express Root Port (Slot+), MSI 00
 Capabilities: [a0] MSI: Enable+
Count=1/1 Maskable- 64bit+
 Capabilities: [c0] Subsystem: Advanced Micro
Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
 Capabilities:
[c8] HyperTransport: MSI Mapping Enable+ Fixed+
 Capabilities: [100]
Vendor Specific Information: ID=0001 Rev=1 Len=010
 Capabilities: [150]
Advanced Error Reporting
 Capabilities: [270] Secondary PCI Express

Capabilities: [2a0] Access Control Services
 Capabilities: [370] L1 PM
Substates
 Capabilities: [3c4] Designated Vendor-Specific: Vendor=1022
ID=0001 Rev=1 Len=44
 Kernel driver in use: pcieport

00:01.6 PCI
bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge
[6:0] (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel,
latency 0, IRQ 28, IOMMU group 2
 Bus: primary=00, secondary=08,
subordinate=08, sec-latency=0
 I/O behind bridge: [disabled]
 Memory
behind bridge: fcf00000-fcffffff [size=1M]
 Prefetchable memory behind
bridge: [disabled]
 Capabilities: [50] Power Management version 3

Capabilities: [58] Express Root Port (Slot+), MSI 00
 Capabilities: [a0]
MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [c0] Subsystem:
Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]

Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+

Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010

Capabilities: [150] Advanced Error Reporting
 Capabilities: [270]
Secondary PCI Express
 Capabilities: [2a0] Access Control Services

Capabilities: [370] L1 PM Substates
 Capabilities: [3c4] Designated
Vendor-Specific: Vendor=1022 ID=0001 Rev=1 Len=44
 Kernel driver in
use: pcieport

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD]
Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
 Flags: fast devsel,
IOMMU group 3

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD]
Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A (prog-if 00 [Normal
decode])
 Flags: bus master, fast devsel, latency 0, IRQ 29, IOMMU group
4
 Bus...

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [snap] some pulldown menus corrupted in 21.10
Download full text (6.0 KiB)

These log messages from chrome://gpu are probably relevant:

[14846:14846:0214/054358.968962:ERROR:sandbox_linux.cc(377)] :
InitializeSandbox() called with multiple threads in process
gpu-process.
  *
[14846:14846:0214/054359.464803:WARNING:angle_platform_impl.cc(49)] :
ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading
failed with no info log.
  *
[14846:14846:0214/054359.465038:ERROR:shared_context_state.cc(75)] :
Skia shader compilation error ------------------------ Errors: link
failed but did not provide an info log
  *
[14846:14846:0214/054359.857560:WARNING:angle_platform_impl.cc(49)] :
ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading
failed with no info log.
  *
[14846:14846:0214/054359.857693:ERROR:shared_context_state.cc(75)] :
Skia shader compilation error ------------------------ Errors: link
failed but did not provide an info log
  *
[14846:14846:0214/054400.303862:WARNING:angle_platform_impl.cc(49)] :
ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading
failed with no info log.
  *
[14846:14846:0214/054400.303984:ERROR:shared_context_state.cc(75)] :
Skia shader compilation error ------------------------ Errors: link
failed but did not provide an info log
  *
[14846:14846:0214/054400.596640:WARNING:angle_platform_impl.cc(49)] :
ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading
failed with no info log.
  *
[14846:14846:0214/054400.596801:ERROR:shared_context_state.cc(75)] :
Skia shader compilation error ------------------------ Errors: link
failed but did not provide an info log
  *
[14846:14846:0214/054401.785676:WARNING:angle_platform_impl.cc(49)] :
ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading
failed with no info log.
  *
[14846:14846:0214/054401.785876:ERROR:shared_context_state.cc(75)] :
Skia shader compilation error ------------------------ Errors: link
failed but did not provide an info log
  *
[14846:14846:0214/054401.849102:WARNING:angle_platform_impl.cc(49)] :
ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading
failed with no info log.
  *
[14846:14846:0214/054401.849361:ERROR:shared_context_state.cc(75)] :
Skia shader compilation error ------------------------ Errors: link
failed but did not provide an info log
  *
[14846:14846:0214/054401.943844:WARNING:angle_platform_impl.cc(49)] :
ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading
failed with no info log.
  *
[14846:14846:0214/054401.944382:ERROR:shared_context_state.cc(75)] :
Skia shader compilation error ------------------------ Errors: link
failed but did not provide an info log
  *
[14846:14884:0214/054412.777490:ERROR:node_controller.cc(585)] : Trying
to re-add dropped peer 70D0864B25B51522.5F03A3A27A983166
  *
[14846:14884:0214/054425.252779:ERROR:node_controller.cc(585)] : Trying
to re-add dropped peer F09CA60EB907F115.56B37661990A293B
  *
[14846:14846:0214/054432.328708:ERROR:gl_surface_presentation_helper.cc(260)]
: GetVSyncParametersIfAvailable() failed for 1 times!
  *
[14846:14846:0214/054432.346973:ERROR:gl_surface_presentation_helper.cc(260)]
: GetVSyncParametersIfAvailable() failed for 2 times!
  *
[14846:14846:0214/054434.134455:...

Read more...

Revision history for this message
Olivier Tilloy (osomon) wrote :

David, would you mind installing chrome from Google (from https://www.google.com/intl/en/chrome/) to test and report whether it is also affected by the same problem (error messages in chrome://gpu and corrupted menus)?

Revision history for this message
david may (d-may-s) wrote : Re: [Bug 1948052] Re: [snap] some pulldown menus corrupted in 21.10

Olivier, removing Chromium and loading it from your indicated
website has eliminated the menu problem.
Thanks a lot for all your
help.
I am sorry that I was not the most helpful client but my
activities are mostly microprocessor firmware so my operating system
experience is very limited!
Thanks again.

Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [snap] some pulldown menus corrupted in 21.10

David, I wasn't suggesting to remove chromium, rather to install chrome alongside to check whether they behave differently with regards to your problem.

Note that Chrome is Google's proprietary and branded version of Chromium, which is fully open-source. Chrome has some additional features that link to Google services.

It is useful to know that Chrome doesn't seem to be affected by the problem, that indicates that the problem is likely to be with the snap packaging.

Revision history for this message
david may (d-may-s) wrote : Re: [Bug 1948052] Re: [snap] some pulldown menus corrupted in 21.10

Olivier, I had not realised that Chromium and Chrome were two
different products, but as I only use the basis features of web browsers
it looks a if either will work for me.

I can always install Chromium
again if you need more information for the debug.

Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [snap] some pulldown menus corrupted in 21.10

If Chrome works for you, no need to re-install Chromium for now. The bug report and the debug information you provided already contain valuable information. Thanks!

summary: - [snap] some pulldown menus corrupted in 21.10
+ [snap] Graphics corruption with bookmark menus on AMD Ryzen 3 3200G
Changed in chromium-browser (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Olivier Tilloy (osomon) wrote :

From duplicate bug #1961606, the problem is also observable on context menus.

summary: - [snap] Graphics corruption with bookmark menus on AMD Ryzen 3 3200G
+ [snap] Graphics corruption in menus on AMD graphics
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Invoking Chromium with --disable-gpu should make the problem go away. But it is not a solution to the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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