Public bug reported:
When trying to play back media that's supported by vaapi on my AMD
system (Framework 16, Ryzen 9 7940HS, Radeon 780M) mpv, vlc, jellyfin
media player and other apps crash:
~ mpv converted.mkv
(+) Video --vid=1 (*) (av1 720x576 25.000fps)
(+) Audio --aid=1 --alang=eng (*) 'Stereo' (opus 2ch 48000Hz)
File tags:
Title: merged
fish: Job 1, 'mpv converted.mkv' terminated by signal SIGSEGV (Address boundary
error)
The following appears in dmesg:
[95794.070170] vo[282856]: segfault at 0 ip 00007633d468ef1f sp
00007633bf3fe9e0 error 4 in libva-wayland.so.2.2000.0[7633d468e000+2000] likely
on CPU 8 (core 4, socket 0)
[95794.070205] Code: 48 89 e5 41 57 41 56 49 89 f6 41 55 49 89 d5 41 54 53 48
81 ec 98 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 45 c8 48 8b 47 68 <8b> 38 e8
8a f4 ff ff 48 85 c0 0f 84 01 01 00 00 48 8b 78 10 48 89
Disabling vaapi with --hwdec=none for instance allows mpv to playback
that file.
Firefox does not seem to have this problem, hardware accelerated
decoding works fine.
It happens with any codec supported by vaapi on my system:
~ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Authorization required, but no authorization protocol specified
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9-0ubuntu0.2 for AMD Radeon
780M (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.8.0-48-generic)
vainfo: Supported profile and entrypoints
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libva-wayland2 2.20.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: sway
Date: Sun Nov 10 20:36:01 2024
SourcePackage: libva
UpgradeStatus: Upgraded to noble on 2024-04-22 (202 days ago)
** Affects: libva (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble third-party-packages wayland-session
** Description changed:
When trying to play back media that's supported by vaapi on my AMD
system, mpv, vlc, jellyfin media player and other apps crash:
- ```
+ {{{
~ mpv converted.mkv
- (+) Video --vid=1 (*) (av1 720x576 25.000fps)
- (+) Audio --aid=1 --alang=eng (*) 'Stereo' (opus 2ch 48000Hz)
+ (+) Video --vid=1 (*) (av1 720x576 25.000fps)
+ (+) Audio --aid=1 --alang=eng (*) 'Stereo' (opus 2ch 48000Hz)
File tags:
- Title: merged
+ Title: merged
fish: Job 1, 'mpv converted.mkv' terminated by signal SIGSEGV (Address
boundary error)
- ```
+ }}}
The following appears in dmesg:
```
[95794.070170] vo[282856]: segfault at 0 ip 00007633d468ef1f sp
00007633bf3fe9e0 error 4 in libva-wayland.so.2.2000.0[7633d468e000+2000] likely
on CPU 8 (core 4, socket 0)
[95794.070205] Code: 48 89 e5 41 57 41 56 49 89 f6 41 55 49 89 d5 41 54 53 48
81 ec 98 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 45 c8 48 8b 47 68 <8b> 38 e8
8a f4 ff ff 48 85 c0 0f 84 01 01 00 00 48 8b 78 10 48 89
```
Disabling vaapi with --hwdec=none for instance allows mpv to playback
that file.
Firefox does not seem to have this problem, hardware accelerated
decoding works fine.
It happens with any codec supported by vaapi on my system:
```
~ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Authorization required, but no authorization protocol specified
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9-0ubuntu0.2 for AMD Radeon
780M (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.8.0-48-generic)
vainfo: Supported profile and entrypoints
- VAProfileH264ConstrainedBaseline: VAEntrypointVLD
- VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
- VAProfileH264Main : VAEntrypointVLD
- VAProfileH264Main : VAEntrypointEncSlice
- VAProfileH264High : VAEntrypointVLD
- VAProfileH264High : VAEntrypointEncSlice
- VAProfileHEVCMain : VAEntrypointVLD
- VAProfileHEVCMain : VAEntrypointEncSlice
- VAProfileHEVCMain10 : VAEntrypointVLD
- VAProfileHEVCMain10 : VAEntrypointEncSlice
- VAProfileJPEGBaseline : VAEntrypointVLD
- VAProfileVP9Profile0 : VAEntrypointVLD
- VAProfileVP9Profile2 : VAEntrypointVLD
- VAProfileAV1Profile0 : VAEntrypointVLD
- VAProfileAV1Profile0 : VAEntrypointEncSlice
- VAProfileNone : VAEntrypointVideoProc
+ VAProfileH264ConstrainedBaseline: VAEntrypointVLD
+ VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
+ VAProfileH264Main : VAEntrypointVLD
+ VAProfileH264Main : VAEntrypointEncSlice
+ VAProfileH264High : VAEntrypointVLD
+ VAProfileH264High : VAEntrypointEncSlice
+ VAProfileHEVCMain : VAEntrypointVLD
+ VAProfileHEVCMain : VAEntrypointEncSlice
+ VAProfileHEVCMain10 : VAEntrypointVLD
+ VAProfileHEVCMain10 : VAEntrypointEncSlice
+ VAProfileJPEGBaseline : VAEntrypointVLD
+ VAProfileVP9Profile0 : VAEntrypointVLD
+ VAProfileVP9Profile2 : VAEntrypointVLD
+ VAProfileAV1Profile0 : VAEntrypointVLD
+ VAProfileAV1Profile0 : VAEntrypointEncSlice
+ VAProfileNone : VAEntrypointVideoProc
```
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libva-wayland2 2.20.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: sway
Date: Sun Nov 10 20:36:01 2024
SourcePackage: libva
UpgradeStatus: Upgraded to noble on 2024-04-22 (202 days ago)
** Description changed:
When trying to play back media that's supported by vaapi on my AMD
system, mpv, vlc, jellyfin media player and other apps crash:
- {{{
+ `
~ mpv converted.mkv
(+) Video --vid=1 (*) (av1 720x576 25.000fps)
(+) Audio --aid=1 --alang=eng (*) 'Stereo' (opus 2ch 48000Hz)
File tags:
Title: merged
fish: Job 1, 'mpv converted.mkv' terminated by signal SIGSEGV (Address
boundary error)
- }}}
+ `
The following appears in dmesg:
```
[95794.070170] vo[282856]: segfault at 0 ip 00007633d468ef1f sp
00007633bf3fe9e0 error 4 in libva-wayland.so.2.2000.0[7633d468e000+2000] likely
on CPU 8 (core 4, socket 0)
[95794.070205] Code: 48 89 e5 41 57 41 56 49 89 f6 41 55 49 89 d5 41 54 53 48
81 ec 98 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 45 c8 48 8b 47 68 <8b> 38 e8
8a f4 ff ff 48 85 c0 0f 84 01 01 00 00 48 8b 78 10 48 89
```
Disabling vaapi with --hwdec=none for instance allows mpv to playback
that file.
Firefox does not seem to have this problem, hardware accelerated
decoding works fine.
It happens with any codec supported by vaapi on my system:
```
~ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Authorization required, but no authorization protocol specified
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9-0ubuntu0.2 for AMD Radeon
780M (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.8.0-48-generic)
vainfo: Supported profile and entrypoints
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
```
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libva-wayland2 2.20.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: sway
Date: Sun Nov 10 20:36:01 2024
SourcePackage: libva
UpgradeStatus: Upgraded to noble on 2024-04-22 (202 days ago)
** Description changed:
When trying to play back media that's supported by vaapi on my AMD
- system, mpv, vlc, jellyfin media player and other apps crash:
+ system (Ryzen 9 7940HS, , mpv, vlc, jellyfin media player and other apps
+ crash:
- `
+
~ mpv converted.mkv
(+) Video --vid=1 (*) (av1 720x576 25.000fps)
(+) Audio --aid=1 --alang=eng (*) 'Stereo' (opus 2ch 48000Hz)
File tags:
Title: merged
fish: Job 1, 'mpv converted.mkv' terminated by signal SIGSEGV (Address
boundary error)
- `
+
The following appears in dmesg:
- ```
[95794.070170] vo[282856]: segfault at 0 ip 00007633d468ef1f sp
00007633bf3fe9e0 error 4 in libva-wayland.so.2.2000.0[7633d468e000+2000] likely
on CPU 8 (core 4, socket 0)
[95794.070205] Code: 48 89 e5 41 57 41 56 49 89 f6 41 55 49 89 d5 41 54 53 48
81 ec 98 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 45 c8 48 8b 47 68 <8b> 38 e8
8a f4 ff ff 48 85 c0 0f 84 01 01 00 00 48 8b 78 10 48 89
- ```
Disabling vaapi with --hwdec=none for instance allows mpv to playback
that file.
Firefox does not seem to have this problem, hardware accelerated
decoding works fine.
It happens with any codec supported by vaapi on my system:
- ```
+
~ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Authorization required, but no authorization protocol specified
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9-0ubuntu0.2 for AMD Radeon
780M (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.8.0-48-generic)
vainfo: Supported profile and entrypoints
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
- ```
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libva-wayland2 2.20.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: sway
Date: Sun Nov 10 20:36:01 2024
SourcePackage: libva
UpgradeStatus: Upgraded to noble on 2024-04-22 (202 days ago)
** Description changed:
When trying to play back media that's supported by vaapi on my AMD
- system (Ryzen 9 7940HS, , mpv, vlc, jellyfin media player and other apps
- crash:
-
+ system (AMD Ryzen 9 7940HS, Radeon 780M) , mpv, vlc, jellyfin media
+ player and other apps crash:
~ mpv converted.mkv
(+) Video --vid=1 (*) (av1 720x576 25.000fps)
(+) Audio --aid=1 --alang=eng (*) 'Stereo' (opus 2ch 48000Hz)
File tags:
Title: merged
fish: Job 1, 'mpv converted.mkv' terminated by signal SIGSEGV (Address
boundary error)
-
The following appears in dmesg:
[95794.070170] vo[282856]: segfault at 0 ip 00007633d468ef1f sp
00007633bf3fe9e0 error 4 in libva-wayland.so.2.2000.0[7633d468e000+2000] likely
on CPU 8 (core 4, socket 0)
[95794.070205] Code: 48 89 e5 41 57 41 56 49 89 f6 41 55 49 89 d5 41 54 53 48
81 ec 98 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 45 c8 48 8b 47 68 <8b> 38 e8
8a f4 ff ff 48 85 c0 0f 84 01 01 00 00 48 8b 78 10 48 89
Disabling vaapi with --hwdec=none for instance allows mpv to playback
that file.
Firefox does not seem to have this problem, hardware accelerated
decoding works fine.
It happens with any codec supported by vaapi on my system:
-
~ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Authorization required, but no authorization protocol specified
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9-0ubuntu0.2 for AMD Radeon
780M (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.8.0-48-generic)
vainfo: Supported profile and entrypoints
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
-
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libva-wayland2 2.20.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: sway
Date: Sun Nov 10 20:36:01 2024
SourcePackage: libva
UpgradeStatus: Upgraded to noble on 2024-04-22 (202 days ago)
** Description changed:
When trying to play back media that's supported by vaapi on my AMD
- system (AMD Ryzen 9 7940HS, Radeon 780M) , mpv, vlc, jellyfin media
- player and other apps crash:
+ system (Framework 16, Ryzen 9 7940HS, Radeon 780M) mpv, vlc, jellyfin
+ media player and other apps crash:
~ mpv converted.mkv
(+) Video --vid=1 (*) (av1 720x576 25.000fps)
(+) Audio --aid=1 --alang=eng (*) 'Stereo' (opus 2ch 48000Hz)
File tags:
Title: merged
fish: Job 1, 'mpv converted.mkv' terminated by signal SIGSEGV (Address
boundary error)
The following appears in dmesg:
[95794.070170] vo[282856]: segfault at 0 ip 00007633d468ef1f sp
00007633bf3fe9e0 error 4 in libva-wayland.so.2.2000.0[7633d468e000+2000] likely
on CPU 8 (core 4, socket 0)
[95794.070205] Code: 48 89 e5 41 57 41 56 49 89 f6 41 55 49 89 d5 41 54 53 48
81 ec 98 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 45 c8 48 8b 47 68 <8b> 38 e8
8a f4 ff ff 48 85 c0 0f 84 01 01 00 00 48 8b 78 10 48 89
Disabling vaapi with --hwdec=none for instance allows mpv to playback
that file.
Firefox does not seem to have this problem, hardware accelerated
decoding works fine.
It happens with any codec supported by vaapi on my system:
~ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Authorization required, but no authorization protocol specified
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9-0ubuntu0.2 for AMD Radeon
780M (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.8.0-48-generic)
vainfo: Supported profile and entrypoints
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libva-wayland2 2.20.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: sway
Date: Sun Nov 10 20:36:01 2024
SourcePackage: libva
UpgradeStatus: Upgraded to noble on 2024-04-22 (202 days ago)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2087805
Title:
Segfaults using vaapi on AMD (mpv, vlc...)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libva/+bug/2087805/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs