Green artifacts when using VAAPI decoding of H.265 video on amd GPU

Bug #1990591 reported by Aidan Chappuis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-amdgpu (Ubuntu)
New
Undecided
Unassigned

Bug Description

(Sorry if this is filed against the wrong package, I don't know enough graphics stuff to guess which)

When decoding H.265 (HEVC) video on an amd GPU (here, a 6600xt), green corruption-y artifacts appear in the top left corner and persist the whole time. The problem persists across video players (totem and VLC), but does not occur for h.264 encoded video, and goes away if decoding in vlc is set to VDPAU, VAAPI with DRM, or no hardware acceleration (that is, it exists only for h.265 video decoded with VAAPI acceleration without DRM). There's a random thread at https://www.reddit.com/r/linux_gaming/comments/x15rn4/found_cause_and_resolution_to_vaapi_h265/ by someone else describing the same exact problem.

To reproduce:
On a computer with an AMD discrete GPU, play a HEVC encoded video with any video player using VAAPI (the default GNOME player and VLC both exhibit the bug) to decode, and then look in the top left corner of the video.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xserver-xorg-video-amdgpu 22.0.0-1ubuntu0.1
ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
Uname: Linux 5.15.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: unknown
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 22 19:29:47 2022
DistUpgraded: 2022-04-30 00:07:10,213 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: jammy
DistroVariant: ubuntu
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c1) (prog-if 00 [VGA controller])
   Subsystem: Sapphire Technology Limited Navi 23 [Radeon RX 6600/6600 XT/6600M] [1da2:448e]
InstallationDate: Installed on 2020-04-25 (880 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: ASUS System Product Name
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-48-generic root=UUID=78160ce3-0a32-48d4-b13f-866e6d975edc ro
SourcePackage: xserver-xorg-video-amdgpu
UpgradeStatus: Upgraded to jammy on 2022-04-30 (145 days ago)
dmi.bios.date: 11/12/2021
dmi.bios.release: 6.5
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0605
dmi.board.asset.tag: Default string
dmi.board.name: PRIME Z690M-PLUS D4
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0605:bd11/12/2021:br6.5:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEZ690M-PLUSD4:rvrRev1.xx: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
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Aidan Chappuis (zoup123) wrote :
Aidan Chappuis (zoup123)
description: updated
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.