Hi Nathan,
I can confirm hardware acceleration is now working in Chromium browser version 114.0.5735.198 (Official Build) snap (64-bit).
Hardware acceleration still DOES NOT work in Firefox version 115.0 (64-bit) Mozilla Firefox snap for Ubuntu canonical-002-1.0.
Using Xorg on Kubuntu 23.04.
Best,
Ivan
On 7/4/23 08:54, Nathan Teodosio wrote: > This problem should now be solved for Chromium (>=114.0.5735.198). > Please confirm or deny it if you are a Chromium user previously affected > by this bug. > > ** Description changed: > > Possible, proposed solutions > ---------------------------- > > Option 1: Please install from these channels and report back with > success or failure. > > snap refresh --channel candidate/core22 firefox > - snap refresh --edge chromium > > Option 2: > > - chromium --ozone-platform=wayland > - MOZ_ENABLE_WAYLAND=1 firefox > + chromium --ozone-platform=wayland > + MOZ_ENABLE_WAYLAND=1 firefox > > If nothing works, it is possible around the issue by disabling hardware > acceleration. > > Original bug report > ------------------- > > Snap packages which use hardware accelerated graphics are broken after > the last routine system upgrade via apt. My system is using AMD Radeon > RX 5500 XT graphics card from ASUS, with stock amdgpu kernel drivers. > Two snap packages which are now unusable are Mozilla Firefox and > Chromium browsers. Both display animated speckled color garbage inside > their windows, overlayed with the correct image. Disabling hardware > acceleration in the settings for the snap version of Firefox fixed it. > Also, Firefox version installed from the original Mozilla tarball into > /opt/ works just fine with the acceleration enabled on the same system, > as well as glmark2 benchmark. Looks like the issue is only affecting > snap packages. > > $ snap list firefox chromium > Name Version Rev Tracking Publisher Notes > chromium 109.0.5414.119 2295 latest/stable canonical✓ - > firefox 109.0.1-1 2311 latest/stable mozilla✓ - > > $ dpkg -l snapd|grep ^ii > ii snapd 2.58+22.10 amd64 Daemon and tooling that enable snap packages > > $ dpkg -l mesa\* | grep ^ii > ii mesa-utils 8.5.0-1 amd64 Miscellaneous Mesa utilities -- symlinks > ii mesa-utils-bin:amd64 8.5.0-1 amd64 Miscellaneous Mesa utilities -- native applications > ii mesa-va-drivers:amd64 22.2.5-0ubuntu0.1 amd64 Mesa VA-API video acceleration drivers > ii mesa-vdpau-drivers:amd64 22.2.5-0ubuntu0.1 amd64 Mesa VDPAU video acceleration drivers > ii mesa-vulkan-drivers:amd64 22.2.5-0ubuntu0.1 amd64 Mesa Vulkan graphics drivers > > $ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 22.10 > Release: 22.10 > Codename: kinetic > > $ uname -a > Linux xxxxxx 5.19.0-29-generic #30-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 4 12:14:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux > > ProblemType: Bug > DistroRelease: Ubuntu 22.10 > Package: snap (not installed) > ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17 > Uname: Linux 5.19.0-29-generic x86_64 > ApportVersion: 2.23.1-0ubuntu3 > Architecture: amd64 > CasperMD5CheckResult: unknown > CurrentDesktop: KDE > Date: Wed Feb 1 22:55:48 2023 > InstallationDate: Installed on 2020-08-02 (913 days ago) > InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) > SourcePackage: snap > UpgradeStatus: Upgraded to kinetic on 2023-02-02 (0 days ago) > --- > ProblemType: Bug > ApportVersion: 2.23.1-0ubuntu3 > Architecture: amd64 > CasperMD5CheckResult: unknown > CurrentDesktop: KDE > DRM.card0-DP-1: > enabled: enabled > dpms: On > status: connected > edid-base64: AP///////wAebQd34yoBAAQcAQS1PCJ4nz4xrlBHrCcMUFQhCABxQIGAgcCpwNHAgQABAQEBTdAAoPBwPoAwIGUMWFQhAAAaKGgAoPBwPoAIkGUMWFQhAAAaAAAA/QAwPYeHOAEKICAgICAgAAAA/ABMRyBIRFIgNEsKICAgAfsCAxlxRJAEAwEjCQcHgwEAAOMFwADjBgUBAjqAGHE4LUBYLEUAWFQhAAAeVl4AoKCgKVAwIDUAWFQhAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKQ== > modes: 3840x2160 3840x2160 3840x2160 3840x2160 3840x2160 2560x1440 1920x1200 1920x1080 1920x1080 1920x1080 1600x1200 1680x1050 1600x900 1280x1024 1440x900 1280x800 1152x864 1280x720 1280x720 1280x720 1024x768 800x600 720x480 720x480 640x480 640x480 640x480 > DRM.card0-DP-2: > enabled: disabled > dpms: Off > status: disconnected > edid-base64: > modes: > DRM.card0-DP-3: > enabled: disabled > dpms: Off > status: disconnected > edid-base64: > modes: > DRM.card0-HDMI-A-1: > enabled: disabled > dpms: Off > status: disconnected > edid-base64: > modes: > DiskUsage: > Filesystem Type Size Used Avail Use% Mounted on > /dev/nvme0n1p2 ext4 916G 222G 648G 26% / > tmpfs tmpfs 16G 0 16G 0% /dev/shm > /dev/nvme0n1p2 ext4 916G 222G 648G 26% / > DistroRelease: Ubuntu 22.10 > InstallationDate: Installed on 2020-08-02 (914 days ago) > InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) > MachineType: ASUS System Product Name > Package: chromium-browser 1:85.0.4183.83-0ubuntu2 > PackageArchitecture: amd64 > ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-29-generic root=UUID=1a37d538-d59f-477b-96f0-f949ce9b4553 ro quiet splash vt.handoff=7 > ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17 > Snap.Changes: no changes found > Snap.ChromeDriverVersion: ChromeDriver 109.0.5414.119 (772095164c7d5d4e73160f858efed3b5e87eca83-refs/branch-heads/5414@{#1458}) > Snap.ChromiumVersion: > update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib/snapd": permission denied > Chromium 109.0.5414.119 snap > Tags: kinetic snap > Uname: Linux 5.19.0-29-generic x86_64 > UpgradeStatus: Upgraded to kinetic on 2023-02-02 (0 days ago) > UserGroups: adm cdrom dialout dip dovecot lpadmin lxd plugdev sambashare scanner ssl-cert sudo www-data > _MarkForUpload: True > dmi.bios.date: 12/12/2022 > dmi.bios.release: 5.17 > dmi.bios.vendor: American Megatrends Inc. > dmi.bios.version: 4304 > dmi.board.asset.tag: Default string > dmi.board.name: ROG CROSSHAIR VIII HERO (WI-FI) > dmi.board.vendor: ASUSTeK COMPUTER INC. > dmi.board.version: Rev X.0x > dmi.chassis.asset.tag: Default string > dmi.chassis.type: 3 > dmi.chassis.vendor: Default string > dmi.chassis.version: Default string > dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4304:bd12/12/2022:br5.17:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnROGCROSSHAIRVIIIHERO(WI-FI):rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU: > dmi.product.family: To be filled by O.E.M. > dmi.product.name: System Product Name > dmi.product.sku: SKU > dmi.product.version: System Version > dmi.sys.vendor: ASUS >
Hi Nathan,
I can confirm hardware acceleration is now working in Chromium browser
version 114.0.5735.198 (Official Build) snap (64-bit).
Hardware acceleration still DOES NOT work in Firefox version 115.0
(64-bit) Mozilla Firefox snap for Ubuntu canonical-002-1.0.
Using Xorg on Kubuntu 23.04.
Best,
Ivan
On 7/4/23 08:54, Nathan Teodosio wrote: ------- ------- ------- platform= wayland WAYLAND= 1 firefox platform= wayland WAYLAND= 1 firefox bin:amd64 8.5.0-1 amd64 Miscellaneous Mesa utilities -- native applications drivers: amd64 22.2.5-0ubuntu0.1 amd64 Mesa VA-API video acceleration drivers drivers: amd64 22.2.5-0ubuntu0.1 amd64 Mesa VDPAU video acceleration drivers drivers: amd64 22.2.5-0ubuntu0.1 amd64 Mesa Vulkan graphics drivers ature: Ubuntu 5.19.0- 29.30-generic 5.19.17 esult: unknown esult: unknown //wAebQd34yoBAA QcAQS1PCJ4nz4xr lBHrCcMUFQhCABx QIGAgcCpwNHAgQA BAQEBTdAAoPBwPo AwIGUMWFQhAAAaK GgAoPBwPoAIkGUM WFQhAAAaAAAA/ QAwPYeHOAEKICAg ICAgAAAA/ ABMRyBIRFIgNEsK ICAgAfsCAxlxRJA EAwEjCQcHgwEAAO MFwADjBgUBAjqAG HE4LUBYLEUAWFQh AAAeVl4AoKCgKVA wIDUAWFQhAAAaAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAKQ= = 4183.83- 0ubuntu2 ture: amd64 /boot/vmlinuz- 5.19.0- 29-generic root=UUID= 1a37d538- d59f-477b- 96f0-f949ce9b45 53 ro quiet splash vt.handoff=7 ature: Ubuntu 5.19.0- 29.30-generic 5.19.17 erVersion: ChromeDriver 109.0.5414.119 (772095164c7d5d 4e73160f858efed 3b5e87eca83- refs/branch- heads/5414@ {#1458} ) rsion: snapd/hostfs/ usr/share/ xubuntu- docs /usr/share/ xubuntu- docs none bind,ro 0 0): cannot open directory "/var/lib/snapd": permission denied asset.tag: Default string asset.tag: Default string version: Default string MegatrendsInc. :bvr4304: bd12/12/ 2022:br5. 17:svnASUS: pnSystemProduct Name:pvrSystemV ersion: rvnASUSTeKCOMPU TERINC. :rnROGCROSSHAIR VIIIHERO( WI-FI): rvrRevX. 0x:cvnDefaultst ring:ct3: cvrDefaultstrin g:skuSKU: version: System Version
> This problem should now be solved for Chromium (>=114.0.5735.198).
> Please confirm or deny it if you are a Chromium user previously affected
> by this bug.
>
> ** Description changed:
>
> Possible, proposed solutions
> -------
>
> Option 1: Please install from these channels and report back with
> success or failure.
>
> snap refresh --channel candidate/core22 firefox
> - snap refresh --edge chromium
>
> Option 2:
>
> - chromium --ozone-
> - MOZ_ENABLE_
> + chromium --ozone-
> + MOZ_ENABLE_
>
> If nothing works, it is possible around the issue by disabling hardware
> acceleration.
>
> Original bug report
> -------------------
>
> Snap packages which use hardware accelerated graphics are broken after
> the last routine system upgrade via apt. My system is using AMD Radeon
> RX 5500 XT graphics card from ASUS, with stock amdgpu kernel drivers.
> Two snap packages which are now unusable are Mozilla Firefox and
> Chromium browsers. Both display animated speckled color garbage inside
> their windows, overlayed with the correct image. Disabling hardware
> acceleration in the settings for the snap version of Firefox fixed it.
> Also, Firefox version installed from the original Mozilla tarball into
> /opt/ works just fine with the acceleration enabled on the same system,
> as well as glmark2 benchmark. Looks like the issue is only affecting
> snap packages.
>
> $ snap list firefox chromium
> Name Version Rev Tracking Publisher Notes
> chromium 109.0.5414.119 2295 latest/stable canonical✓ -
> firefox 109.0.1-1 2311 latest/stable mozilla✓ -
>
> $ dpkg -l snapd|grep ^ii
> ii snapd 2.58+22.10 amd64 Daemon and tooling that enable snap packages
>
> $ dpkg -l mesa\* | grep ^ii
> ii mesa-utils 8.5.0-1 amd64 Miscellaneous Mesa utilities -- symlinks
> ii mesa-utils-
> ii mesa-va-
> ii mesa-vdpau-
> ii mesa-vulkan-
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 22.10
> Release: 22.10
> Codename: kinetic
>
> $ uname -a
> Linux xxxxxx 5.19.0-29-generic #30-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 4 12:14:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
>
> ProblemType: Bug
> DistroRelease: Ubuntu 22.10
> Package: snap (not installed)
> ProcVersionSign
> Uname: Linux 5.19.0-29-generic x86_64
> ApportVersion: 2.23.1-0ubuntu3
> Architecture: amd64
> CasperMD5CheckR
> CurrentDesktop: KDE
> Date: Wed Feb 1 22:55:48 2023
> InstallationDate: Installed on 2020-08-02 (913 days ago)
> InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
> SourcePackage: snap
> UpgradeStatus: Upgraded to kinetic on 2023-02-02 (0 days ago)
> ---
> ProblemType: Bug
> ApportVersion: 2.23.1-0ubuntu3
> Architecture: amd64
> CasperMD5CheckR
> CurrentDesktop: KDE
> DRM.card0-DP-1:
> enabled: enabled
> dpms: On
> status: connected
> edid-base64: AP/////
> modes: 3840x2160 3840x2160 3840x2160 3840x2160 3840x2160 2560x1440 1920x1200 1920x1080 1920x1080 1920x1080 1600x1200 1680x1050 1600x900 1280x1024 1440x900 1280x800 1152x864 1280x720 1280x720 1280x720 1024x768 800x600 720x480 720x480 640x480 640x480 640x480
> DRM.card0-DP-2:
> enabled: disabled
> dpms: Off
> status: disconnected
> edid-base64:
> modes:
> DRM.card0-DP-3:
> enabled: disabled
> dpms: Off
> status: disconnected
> edid-base64:
> modes:
> DRM.card0-HDMI-A-1:
> enabled: disabled
> dpms: Off
> status: disconnected
> edid-base64:
> modes:
> DiskUsage:
> Filesystem Type Size Used Avail Use% Mounted on
> /dev/nvme0n1p2 ext4 916G 222G 648G 26% /
> tmpfs tmpfs 16G 0 16G 0% /dev/shm
> /dev/nvme0n1p2 ext4 916G 222G 648G 26% /
> DistroRelease: Ubuntu 22.10
> InstallationDate: Installed on 2020-08-02 (914 days ago)
> InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
> MachineType: ASUS System Product Name
> Package: chromium-browser 1:85.0.
> PackageArchitec
> ProcKernelCmdLine: BOOT_IMAGE=
> ProcVersionSign
> Snap.Changes: no changes found
> Snap.ChromeDriv
> Snap.ChromiumVe
> update.go:85: cannot change mount namespace according to change mount (/var/lib/
> Chromium 109.0.5414.119 snap
> Tags: kinetic snap
> Uname: Linux 5.19.0-29-generic x86_64
> UpgradeStatus: Upgraded to kinetic on 2023-02-02 (0 days ago)
> UserGroups: adm cdrom dialout dip dovecot lpadmin lxd plugdev sambashare scanner ssl-cert sudo www-data
> _MarkForUpload: True
> dmi.bios.date: 12/12/2022
> dmi.bios.release: 5.17
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: 4304
> dmi.board.
> dmi.board.name: ROG CROSSHAIR VIII HERO (WI-FI)
> dmi.board.vendor: ASUSTeK COMPUTER INC.
> dmi.board.version: Rev X.0x
> dmi.chassis.
> dmi.chassis.type: 3
> dmi.chassis.vendor: Default string
> dmi.chassis.
> dmi.modalias: dmi:bvnAmerican
> dmi.product.family: To be filled by O.E.M.
> dmi.product.name: System Product Name
> dmi.product.sku: SKU
> dmi.product.
> dmi.sys.vendor: ASUS
>