Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video won't show with waylandvk, segfaults with x11vk #14204

Closed
6 tasks done
DemonicSavage opened this issue May 21, 2024 · 3 comments
Closed
6 tasks done

Video won't show with waylandvk, segfaults with x11vk #14204

DemonicSavage opened this issue May 21, 2024 · 3 comments
Labels

Comments

@DemonicSavage
Copy link

DemonicSavage commented May 21, 2024

mpv Information

mpv v0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Apr 18 2024 06:31:17
libplacebo version: v6.338.2
FFmpeg version: n6.1.1
FFmpeg library versions:
   libavutil       58.29.100
   libavcodec      60.31.102
   libavformat     60.16.100
   libswscale      7.5.100
   libavfilter     9.12.100
   libswresample   4.12.100

Other Information

  • Linux version: Arch Linux
  • Kernel Version: 6.9.1-zen1-1-zen
  • GPU Model: RX 7800 XT
  • Mesa/GPU Driver Version: Mesa 24.0.7-arch1.3
  • Window Manager and Version: KWin 6.0.4.1-1
  • Source mpv: Arch repos
  • Introduced in version:

Reproduction Steps

mpv --no-config --vo=gpu-next --gpu-context=x11vk [FILE]
mpv --no-config --vo=gpu-next --gpu-context=waylandvk [FILE]

Expected Behavior

File plays normally

Actual Behavior

With x11vk, there is a segfault. With waylandvk, the file plays, but shows no video (or even the mpv window)

Log File

Wayland: https://pastebin.com/rPC9VhH6
X11: https://pastebin.com/QwqZUATf

X11 segfault backtrace: https://pastebin.com/k2ipvy7r

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
@DemonicSavage DemonicSavage changed the title Video won't show with Vulkan context on Wayland, segfaults on X11 Video won't show with Vulkan context on waylandvk, segfaults on x11vk May 21, 2024
@DemonicSavage DemonicSavage changed the title Video won't show with Vulkan context on waylandvk, segfaults on x11vk Video won't show with waylandvk, segfaults with x11vk May 21, 2024
@DemonicSavage
Copy link
Author

An update: After a reboot, waylandvk also segfaults.
New logs: https://pastebin.com/yx16r835
Backtrace: https://pastebin.com/WtCcRS5f

@llyyr
Copy link
Contributor

llyyr commented May 21, 2024

The segfaults are in /usr/lib/libshaderc_shared.so.1, seems like a broken system. You also don't have debug symbols for shaderc so hard to say anything concrete

@DemonicSavage
Copy link
Author

It does seem libshaderc was the culprit - apparently I was using a weird AUR version of it. Using the official shaderc from the [extra] repo made it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants