You are not logged in.
Is Xorg log relavent?
If not, neither is xf86-video-amdgpu
Was your mpv crash post meant to indicate a change after its removal or just "i get this when trying to play a video"?
Also "wayland" isn't thing, the actual compositor matters A LOT => which one?
And since the OP runs X11, if you assume to face the same issue, you should check the behavior on that display server (window manager doesn't matter) as well, though the amdgpu error certainly matches https://bbs.archlinux.org/viewtopic.php … 5#p2189695 which is however different from the OP
https://gitlab.freedesktop.org/drm/amd/-/issues/3561 looks related but also vulkan specific?
Offline
I tested the regression (broken HW AV Decode) after removing xf86-video-amdgpu to verify it has effect on the failure. The failure of mpv happens with 6.10.x kernel. No failures on 6.9.x kernels.
I believe kwin is used as session compositor for Wayland
KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.
==========================
Version
=======
KWin version: 6.1.4
Qt Version: 6.7.2
Qt compile version: 6.7.2
XCB compile version: 1.17.0
Operation Mode: Xwayland
Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes
X11
===
Vendor: The X.Org Foundation
Vendor Release: 12401002
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0
Decoration
==========
Plugin: org.kde.kwin.aurorae
Theme: __aurorae__svg__KDE-Story-Blue-Dark-Aurorae-6
Plugin recommends border size: No
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 12
font: Noto Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 3
largeSpacing: 12
Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: false
Atomic Mode Setting on GPU 1: true
Cursor
======
themeName: Bibata-Rainbow-Modern
themeSize: 24
Options
=======
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 10
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 2
windowsBlockCompositing: true
allowTearing: true
Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 75
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0
Screens
=======
Number of Screens: 2
Screen 0:
---------
Name: DP-4
Enabled: 1
Geometry: 0,480,3440x1440
Scale: 1
Refresh Rate: 59973
Adaptive Sync: incapable
Screen 1:
---------
Name: HDMI-A-1
Enabled: 1
Geometry: 3440,0,1200x1920
Scale: 1
Refresh Rate: 59950
Adaptive Sync: incapable
Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon HD 7800 Series (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.57, 6.10.5-x64v2-xanmod1)
OpenGL version string: 4.6 (Core Profile) Mesa 24.3.0-devel (git-93e96da945)
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 24.3
X server version: 1.24.1
Linux kernel version: 6.10.5
Direct rendering: Requires strict binding: no
Virtual Machine: no
OpenGL 2 Shaders are used
Loaded Effects:
---------------
touchpoints
snaphelper
shakecursor
screenshot
outputlocator
mouseclick
colorpicker
zoom
screenedge
blur
contrast
sessionquit
logout
login
slidingpopups
windowaperture
translucency
slideback
slide
glide
diminactive
fullscreen
fadingpopups
morphingpopups
frozenapp
maximize
cube
sheet
dialogparent
wobblywindows
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
screentransform
kscreen
Currently Active Effects:
-------------------------
blur
contrast
diminactive
Effect Settings:
----------------
touchpoints:
lineWidth: 1
ringLife: 300
ringSize: 20
ringCount: 2
snaphelper:
shakecursor:
screenshot:
outputlocator:
mouseclick:
color1: #ff0000
color2: #00ff00
color3: #0000ff
lineWidth: 1
ringLife: 300
ringSize: 20
ringCount: 2
showText: true
font: Noto Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
enabled: false
colorpicker:
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1
screenedge:
blur:
contrast:
sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false
logout:
pluginId: logout
isActiveFullScreenEffect: false
login:
pluginId: login
isActiveFullScreenEffect: false
slidingpopups:
slideInDuration: 70
slideOutDuration: 70
windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false
translucency:
pluginId: translucency
isActiveFullScreenEffect: false
slideback:
slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true
glide:
duration: 56
inRotationEdge: Bottom
inRotationAngle: 3
inDistance: 30
inOpacity: 0.4
outRotationEdge: Top
outRotationAngle: 3
outDistance: 30
outOpacity: 0
diminactive:
dimStrength: 25
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimFullScreen: true
fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false
fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false
morphingpopups:
pluginId: morphingpopups
isActiveFullScreenEffect: false
frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false
maximize:
pluginId: maximize
isActiveFullScreenEffect: false
cube:
activeView:
delegate:
data:
configuration:
visible: false
activated: false
animationDuration: 71
mainDelegate:
sheet:
duration: 106
dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false
wobblywindows:
stiffness: 0.06
drag: 0.9
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveWobble: true
resizeWobble: true
windowview:
activeView:
delegate:
animationDuration: 106
ignoreMinimized: false
mode:
partialActivationFactor: 0
gestureInProgress: false
searchText:
selectedIds:
tileseditor:
activeView:
delegate:
animationDuration: 200
overview:
activeView:
delegate:
animationDuration: 106
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset:
searchText:
highlightwindow:
blendchanges:
startupfeedback:
type: 1
screentransform:
kscreen:
Loaded Plugins:
---------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
Available Plugins:
------------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
Offline
I tried Seth's suggestion. I believe I achieved running AMDGPU as a kernel module by removing the xf86-video-amdgpu package. The relevant dmesg snippet is below.
[ 0.000000] Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root="UUID=120242ba-1eba-4081-b5d2-f01814164b13" rw radeon.si_support=0 amdgpu.si_support=1
[ 0.252752] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root="UUID=120242ba-1eba-4081-b5d2-f01814164b13" rw radeon.si_support=0 amdgpu.si_support=1
[ 1.069922] ACPI: bus type drm_connector registered
[ 1.138157] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
[ 1.139014] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[ 2.764908] [drm] radeon kernel modesetting enabled.
[ 2.765067] radeon 0000:03:00.0: SI support disabled by module param
[ 7.997881] [drm] amdgpu kernel modesetting enabled.
[ 7.998202] amdgpu: Virtual CRAT table created for CPU
[ 7.998233] amdgpu: Topology: Add CPU node
[ 7.999313] [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6809 0x1028:0x0B06 0x00).
[ 7.999362] [drm] register mmio base: 0xDFE00000
[ 7.999365] [drm] register mmio size: 262144
[ 7.999488] [drm] add ip block number 0 <si_common>
[ 7.999494] [drm] add ip block number 1 <gmc_v6_0>
[ 7.999496] [drm] add ip block number 2 <si_ih>
[ 7.999499] [drm] add ip block number 3 <gfx_v6_0>
[ 7.999502] [drm] add ip block number 4 <si_dma>
[ 7.999505] [drm] add ip block number 5 <si_dpm>
[ 7.999508] [drm] add ip block number 6 <dce_v6_0>
[ 7.999510] [drm] add ip block number 7 <uvd_v3_1>
[ 8.012056] [drm] BIOS signature incorrect 0 0
[ 8.012162] amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 8.012169] amdgpu: ATOM BIOS: 113-C4170400-100
[ 8.012192] kfd kfd: amdgpu: PITCAIRN not supported in kfd
[ 8.041717] amdgpu 0000:03:00.0: vgaarb: deactivate vga console
[ 8.041725] amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 8.042064] [drm] PCIE gen 3 link speeds already enabled
[ 8.042073] [drm] vm size is 256 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[ 8.042622] amdgpu 0000:03:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[ 8.042628] amdgpu 0000:03:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[ 8.042640] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 8.042642] [drm] RAM width 256bits GDDR5
[ 8.042897] [drm] amdgpu: 2048M of VRAM memory ready
[ 8.042901] [drm] amdgpu: 24122M of GTT memory ready.
[ 8.042928] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 8.043705] amdgpu 0000:03:00.0: amdgpu: PCIE GART of 1024M enabled (table at 0x000000F400200000).
[ 8.046359] [drm] Internal thermal controller with fan control
[ 8.046374] [drm] amdgpu: dpm initialized
[ 8.046447] [drm] AMDGPU Display Connectors
[ 8.046449] [drm] Connector 0:
[ 8.046450] [drm] DP-1
[ 8.046451] [drm] HPD4
[ 8.046453] [drm] DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
[ 8.046456] [drm] Encoders:
[ 8.046457] [drm] DFP1: INTERNAL_UNIPHY2
[ 8.046459] [drm] Connector 1:
[ 8.046460] [drm] DP-2
[ 8.046461] [drm] HPD5
[ 8.046462] [drm] DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
[ 8.046465] [drm] Encoders:
[ 8.046465] [drm] DFP2: INTERNAL_UNIPHY2
[ 8.046467] [drm] Connector 2:
[ 8.046468] [drm] DVI-I-1
[ 8.046469] [drm] HPD6
[ 8.046469] [drm] DDC: 0x1958 0x1958 0x1959 0x1959 0x195a 0x195a 0x195b 0x195b
[ 8.046472] [drm] Encoders:
[ 8.046473] [drm] DFP3: INTERNAL_UNIPHY
[ 8.046474] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 8.049857] [drm] Found UVD firmware Version: 64.0 Family ID: 13
[ 8.571331] [drm] UVD initialized successfully.
[ 8.571387] amdgpu 0000:03:00.0: amdgpu: SE 2, SH per SE 2, CU per SH 5, active_cu_number 12
[ 8.867740] amdgpu 0000:03:00.0: amdgpu: Runtime PM not available
[ 8.868225] [drm] Initialized amdgpu 3.57.0 20150101 for 0000:03:00.0 on minor 1
[ 8.988447] fbcon: amdgpudrmfb (fb0) is primary device
[ 9.057949] amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 10.019807] systemd[1]: Starting Load Kernel Module drm...
[ 10.042216] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 10.042526] systemd[1]: Finished Load Kernel Module drm.
With regards to Vaapi accelerated playback, I am essentially getting the same result as with xf86-video-amdgpu package installed.
This is the VLC error trace:
[000064a8b5cf6af0] main playlist: playlist is empty
[00007a4048c0e3c0] avcodec decoder: Using Mesa Gallium driver 24.1.6-arch1.1 for ATI FirePro W5000 (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.57, 6.10.6-arch1-1) for hardware decoding
amdgpu: The CS has been rejected, see dmesg for more information (-22).
Aborted (core dumped)
And this is the relevant part of dmesg:
[ 743.450675] [drm:amdgpu_uvd_cs_pass2 [amdgpu]] *ERROR* msg/fb buffer ff010be000-ff010c0000 out of 256MB segment!
Offline
So not just an incompatibility w/ the DDX driver - wrt. the upstream bug
mpv --hwdec=vaapi someporn.mp4
causes this as well? (In case the auto-selection selects vulkan now)
Can you confirm that the LTS kernel is still fine?
The problem wa introduced w/ the first 6.10 release? (we might end up having to bisect this)
---
https://github.com/mpv-player/mpv/issue … 2295362723 seems on different (new) HW and though they claim it's fixed w/ 6.10.4 though that upstream bug points at mesa 24.1.6 (which you're currently running) https://gitlab.freedesktop.org/drm/amd/ … te_2532543
Offline
uname -a
Linux eos 6.10.6-1-ck-generic-v2 #1 SMP PREEMPT_DYNAMIC Tue Aug 20 12:40:11 EDT 2024 x86_64 GNU/Linux
mpv --hwdec=vaapi Safety_defective_on_Bobcat_22LR.mp4
(+) Video --vid=1 (*) (h264 1280x720 29.847fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
amdgpu: The CS has been rejected, see dmesg for more information (-22).
[1] 5283 IOT instruction (core dumped) mpv --hwdec=vaapi Safety_defective_on_Bobcat_22LR.mp4
vainfo
Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6-arch1.1 for AMD Radeon HD 7800 Series (radeonsi, pitcairn, ACO, DRM 3.57, 6.10.6-1-ck-generic-v2)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
sudo dmesg | grep amdgpu
[ 3.781619] [drm] amdgpu kernel modesetting enabled.
[ 3.781735] amdgpu: Virtual CRAT table created for CPU
[ 3.781750] amdgpu: Topology: Add CPU node
[ 3.798589] amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 3.798592] amdgpu: ATOM BIOS: 113-xxx-xxx
[ 3.798602] kfd kfd: amdgpu: PITCAIRN not supported in kfd
[ 3.802625] amdgpu 0000:01:00.0: vgaarb: deactivate vga console
[ 3.802628] amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 3.802630] amdgpu 0000:01:00.0: amdgpu: PCIE atomic ops is not supported
[ 3.803181] amdgpu 0000:01:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[ 3.803184] amdgpu 0000:01:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[ 3.803250] [drm] amdgpu: 2048M of VRAM memory ready
[ 3.803252] [drm] amdgpu: 7932M of GTT memory ready.
[ 3.803891] amdgpu 0000:01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 0x000000F400400000).
[ 3.805056] [drm] amdgpu: dpm initialized
[ 4.358068] amdgpu 0000:01:00.0: amdgpu: SE 2, SH per SE 2, CU per SH 5, active_cu_number 20
[ 4.657755] amdgpu 0000:01:00.0: amdgpu: overdrive feature is not supported
[ 4.657841] amdgpu 0000:01:00.0: amdgpu: Runtime PM not available
[ 4.658738] [drm] Initialized amdgpu 3.57.0 20150101 for 0000:01:00.0 on minor 2
[ 4.719160] fbcon: amdgpudrmfb (fb0) is primary device
[ 4.755071] amdgpu 0000:01:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 39.582964] [drm:amdgpu_uvd_cs_pass2 [amdgpu]] *ERROR* msg/fb buffer ff012a2000-ff012a4000 out of 256MB segment!
Offline
No regresion with 6.9.7 as well as LTS
uname -a
Linux eos 6.9.7-x64v2-xanmod1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu, 08 Aug 2024 02:46:09 +0000 x86_64 GNU/Linux
mpv --hwdec=vaapi Safety_defective_on_Bobcat_22LR.mp4
(+) Video --vid=1 (*) (h264 1280x720 29.847fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
Using hardware decoding (vaapi).
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 1280x720 vaapi[nv12]
AV: 00:01:20 / 00:01:20 (100%) A-V: 0.000
Exiting... (End of file)
Offline
Hook into https://gitlab.freedesktop.org/drm/amd/-/issues/3561 - check with the reporter there whether 6.10.4 has *actually* fixed their VAAPI issue (because the other, closed bug is on completely different HW)
Offline
@seth
mpv --hwdec=vaapi someporn.mp4
Yes, mpv with '--hwdec=vaapi' caused the same issue:
mpv --hwdec=vaapi cumshots.mp4
(+) Video --vid=1 (*) (h264 1280x720 29.970fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
amdgpu: The CS has been rejected, see dmesg for more information (-22).
Aborted (core dumped)
dmesg:
[ 83.488268] [drm:amdgpu_uvd_cs_pass2 [amdgpu]] *ERROR* msg/fb buffer ff00e22000-ff00e24000 out of 256MB segment
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6-arch1.1 for ATI FirePro W5000 (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.57, 6.10.6-arch1-1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
And I can confirm that both mpv, vlc and firefox are working fine with vaapi acceleration on the LTS kernel. (I just installed the kernel and give a quick try; boot partition was too small, had to sort it first... And so far there is no info about stability.)
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6-arch1.1 for ATI FirePro W5000 (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.54, 6.6.47-1-lts)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
The problem wa introduced w/ the first 6.10 release? (we might end up having to bisect this)
Ehh, I do not update that often and cannot pinpoint the kernel version when it broke
Offline
https://wiki.archlinux.org/title/Arch_Linux_Archive
Make sure to have the LTS kernel installed (to have a kernel that will boot for sure, though I don't really expect issues with this) and try the last 6.9 and first 6.10 kernel (short-term downgrading the kernel in isolation is usually ok and won't cause other issues)
Offline
video source: https://dvdloc8.com/clip.php?movieid=27032&clipid=1
mpv --hwdec=vaapi Videos/Gravity\ -\ 2K\ Trailer.mp4
VAAPI Working 100%:
Linux eos 6.9.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000 x86_64 GNU/Linux
VAAPI Block Artifacts:
Linux eos 6.10.0-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 20:03:00 +0000 x86_64 GNU/Linux
Linux eos 6.10.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 24 Jul 2024 22:25:43 +0000 x86_64 GNU/Linux
Linux eos 6.10.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 03 Aug 2024 17:56:17 +0000 x86_64 GNU/Linux
Linux eos 6.10.2-arch1-2 #1 SMP PREEMPT_DYNAMIC Sat, 04 Aug 2024 17:56:17 +0000 x86_64 GNU/Linux
Linux eos 6.10.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 04 Aug 2024 05:11:32 +0000 x86_64 GNU/Linux
Linux eos 6.10.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000 x86_64 GNU/Linux
VAAPI Crash: Debug message as above
Linux eos 6.10.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 12:33:46 +0000 x86_64 GNU/Linux
Linux eos 6.10.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000 x86_64 GNU/Linux
Linux eos 6.10.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 x86_64 GNU/Linux
Last edited by Beiruty (2024-08-23 15:21:12)
Offline
I can confirm that 6.9.9 kernel is working fine.
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6-arch1.1 for ATI FirePro W5000 (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.57, 6.9.9-arch1-1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I personally found Kernel 6.10.1 working fine too. That is a mpv/vaapi crash did not occur right on starting to play an mkv. I did not see any artifacts, but I must say that for me they did not come spontaneously. In my experience the system worked fine, but after some on time, or suspend/resume cycles the artifacts started to come.
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6-arch1.1 for ATI FirePro W5000 (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.57, 6.10.1-arch1-1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I can also confirm @Beiruty's finding that on Kernel 6.10.4.1 mpv/vaapi crash happens right on starting a playback.
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6-arch1.1 for ATI FirePro W5000 (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.57, 6.10.4-arch1-1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Offline
Hook into https://gitlab.freedesktop.org/drm/amd/-/issues/3561 - check with the reporter there whether 6.10.4 has *actually* fixed their VAAPI issue (because the other, closed bug is on completely different HW)
Offline
After some on-time I started having issues with vaapi playback, even on the LTS Kernel. Hardware acceleration is still reported, but it is choppy and I can see some minor artifacts, on either of the players (mpv, vlc or firefox).
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6-arch1.1 for ATI FirePro W5000 (radeonsi, pitcairn, LLVM 18.1.8, DRM 3.54, 6.6.47-1-lts)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I am seeing these kind of lines in dmesg:
[11140.637224] [drm:si_dpm_set_power_state [amdgpu]] *ERROR* si_restrict_performance_levels_before_switch failed
Offline
Are the temperatures ok?
What if you enfore a performance level or power profile, https://wiki.archlinux.org/title/AMDGPU … nce_levels ?
Offline
I can confirm that 6.10.3 kernel is working fine.
vainfo
Trying display: wayland
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.21.0)
vainfo: Driver version: Mesa Gallium driver 24.1.6 for AMD Radeon R4 Graphics (radeonsi, kabini, LLVM 18.1.6, DRM 3.57, 6.10.3-200.fc40.x86_64)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
Last edited by daxduck (2024-08-26 08:47:16)
Offline
@daxduck
Can you try to download and play video I shared?
video source: https://dvdloc8.com/clip.php?movieid=27032&clipid=1
Last edited by Beiruty (2024-08-26 08:58:45)
Offline
@daxduck
Can you try to download and play video I shared?
video source: https://dvdloc8.com/clip.php?movieid=27032&clipid=1
I am still facing that glitch issue
amdgpu: The CS has been rejected, see dmesg for more information (-22).
Aborted (core dumped)
[drm:amdgpu_uvd_cs_pass2 [amdgpu]] *ERROR* msg/fb buffer ff010be000-ff010c0000 out of 256MB segment!
Only solved the above issue by downgrading from 6.10.6 to 6.10.3
Offline
From the table in #35 daxduck seems to suffer only from the VAPPI crash introduced in 6.10.4, not the artifacting in all of 6.10
Since I'm a total geography buff I know that daxduck kabini chip is a sea island, unlike the pitcairn chip (which is a southern island) that seems predominant in this thread.
Offline
I believe that this thread has a lot of relevant information and key developers to contact for guidance and informatiom
https://gitlab.freedesktop.org/drm/amd/-/issues/1776
Offline
I hit this issue that is most likely the same we are facing in this regression.
Bug ticket is still open:
https://gitlab.freedesktop.org/drm/amd/-/issues/3599
Offline
Indeed, that issue seems very related. They also have these weird "out of 256MB segment" errors in dmesg. They experience the error on GCN3 hardware, which is somewhat (but not much) newer than our GCN1s. Let's keep an eye at them and see if they get anywhere with it.
Offline
fyi all affected: Just tested kernel version '6.11.5-arch1-1'; the issue is still not fixed.
Offline
There is hope:
https://gitlab.freedesktop.org/drm/amd/ … te_2627028
Offline
I can confirm that 6.12.6 kernel on fedora fixed this issue
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.2.8 for AMD Radeon R4 Graphics (radeonsi, kabini, LLVM 19.1.0, DRM 3.59, 6.12.6-200.fc41.x86_64)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
Offline