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

Add vulkan patch for segmentation fault error #1497

Merged
merged 3 commits into from
May 2, 2024

Conversation

grill2010
Copy link
Contributor

@grill2010 grill2010 commented Apr 24, 2024

Some users of my application reported a crash when using Vulkan in combination with an Nvidia GPU. Upon further investigation it seems that most likely only Nvidia GPUs from the 30xx series are affected (but not 100% sure). It seems to happen in other programs as well e.g. Chiaki and luckily @nowrep there found the issue/ workaround

streetpea/chiaki-ng#239 (comment)

This was also reported to ffmpeg now

https://trac.ffmpeg.org/ticket/10847

I applied the fix in a custom build of javacpp-presets and created a version of my application with this patch, the users who encountered this crash confirmed that it is no longer happening and the Vulkan decoder can be used successfully.

@grill2010
Copy link
Contributor Author

The patch seems to work for others as well

mpv-player/mpv#13375 (comment)

@saudet
Copy link
Member

saudet commented Apr 25, 2024

Sure, but please rename it to ffmpeg-vulkan.patch

@grill2010
Copy link
Contributor Author

Sure, done :)

@saudet saudet merged commit 61dda4e into bytedeco:master May 2, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants