-
Notifications
You must be signed in to change notification settings - Fork 87
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
[regression] Terminates with segfault in InitializeGmm/InitContext #95
Comments
Just for the records, my downstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007992 Also, vlc is affected, too,... if it's really dependant on VAAPI, then that must select it automatically (cause I didn't configure it to specifically). |
Confirm bug on Debian Unstable with libigdgmm12 version 22.1.1+ds1-1 , even vainfo crashes with segfault. Downgraded to previous version as workaround. bt log:
|
Hi paulmenzel, Thank you for raising this issue. Thanks. |
Hi paulmenzel, We have root caused the issue and fix is on its way. We will release the fix asap. -Thanks |
Awesome. Thank you for the update. It’d be great, if you added the line
at the end of the commit message. Then GitHub is going to automatically close the issue. |
@paulmenzel what's the media-driver version you used? Have you re-build driver after GmmLib updated? |
Just in case it helps save anyone else debugging time, this also affects Google Chrome (via the
followed by all WebGL pages failing to load. |
I do not build anything myself, and just install the Debian packages. But no, it looks like [it was not rebuilt] as the upload is from February 23rd, 2022. But why should it be rebuilt? The library interface should be compatible, as the SO name was not increased.
PS: You can check the Debian versions at https://packages.debian.org, and even download the packages. Installing Debian in a VM is also very easy with grml-debootstrap for example. |
Just to reiterate what @paulmenzel already said as the Debian maintainer of the media driver stack: if a rebuild fixes the issue, then gmmlib broke its ABI and needs to bump the SONAME. |
Rebuilding intel-media-driver fixes it for me. |
We identified that one of the Gmmlib patch caused break in backward compatibility. The fix is merged in 29152fc. The release is in progress. We will post the release tag soon. |
Thank you for analyzing this. I would have hoped you heeded my suggestions regarding the commit. Fix Regression on debian (#97) is a misleading commit message, as the regression probably is not Debian specific at all, and lacks any details, what commit introduced it, and how it is fixed, and why that fix is correct now. |
Indeed, We will definitely heed to the aspects which you have brought about. One of the patch in intel-gmmlib-22.0.3 has caused the backward compatibly break in Gmmlib. This got introduced as a bug during the implementation of some feature. So the current version intel-gmmlib-22.1.1 is unstable. Kindly refrain from using this. The fix 29152fc for this is already merged and release tag will be posted soon. Usually, We fix the regression first, merge it to the external repo following standard flow and create a release tag, then update the external PR/issue with the details and then close it. And currently, we are waiting to release the tag after which we would update all details in this issue and close. As in reply for #88 (comment), Going forward will make sure to incorporate the addressable suggestions w.r.t the better readability of the commit details. |
Gmmlib latest tag released: intel-gmmlib-22.1.2.
|
This is resolved in intel-gmmlib-22.1.2. |
After updating Debian’s libigdgmm12 package from 22.0.2+ds1-1 to 22.1.1+ds1-1, all program’s using hardware acceleration terminate with segmentation fault:
Installing the package with debug symbols, shows the trace below for
mpv --hwdec=vaapi /usr/share/help/pt/gnome-help/figures/display-dual-monitors.webm
:The text was updated successfully, but these errors were encountered: