-
Notifications
You must be signed in to change notification settings - Fork 299
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
libva-2.7.0 tries to load iris_drv_video.so #396
Comments
the "iris" should come from DRI2 query function , suppose you are not using DRM, https://github.com/intel/libva/blob/master/va/drm/va_drm_utils.c#L39, it will just get iHD and i965 |
Don't know what do you mean by DRM, I am on F32 system with GNOME Xorg session, if that does help. |
That error happenned when using vainfo. When i run vlc, it hits the error, but proceeds into using iHD driver later:
EDIT: Sorry for accidental close and reopen, clicked the wrong button |
Hmm, @XinfengZhang , it seems like the culprit is in Intel driver change in Mesa 20.0: i965 to Iris driver. I've updated mesa and libva at once. I can reproduce this issue with libva-2.6.1 too. Looks like driver name mapping needs to be updated. |
The driver mapping will have to be handled at the xorg-x11-server level. |
Seems like the DRI2 mapping doesn't work with modesetting |
related intel/intel-vaapi-driver#502 |
@frantisekz as a temporary workaround, you can create a @XinfengZhang @kwizart I think we should do the DRI2 to VA mapping in libVA similar to what we do for the DRM to VA mapping. I don't think this should be the responsibility of the xserver or other. We shouldn't assume, anymore, that all DRI2 driver names have a corresponding video driver of the same name. What do you think? |
As reported intel#396 Update the driver mapping to take the new Iris intel driver into account Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Sorry that I've miss-read this comment. But @frantisekz reported to me that an iris capable hw can also use the older vaapi-intel-driver. It might be interesting for people having only that vaapi backend installed. (for any reason). But I wonder if at some point, any iris capable hardware will not run iHD ? A mapping will be interesting if we need to handle more than a one <-> one mapping. |
Iris and iHD are both for gen8+. There's still some feature disparity between iHD and i965 which might have some users to prefer i965 still, like this one: |
Fixes intel#396 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
@frantisekz @kwizart please try #406 |
Yes, that PR fixes the issue. Thanks! |
Fixes #396 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Fixes intel#396 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Fixes intel#396 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Since upgrade from libva-2.6 to libva-2.7.0-0.1.pre1, libva tries to open /usr/lib64/dri/iris_drv_video.so by default.
I believe this is wrong. I have installed both media-driver and intel-vaapi-driver. They provide /usr/lib64/dri/iHD_drv_video.so and /usr/lib64/dri/i965_drv_video.so .
I have Kaby Lake gen GPU, so I'd expect iHD_drv_video.so to be used by default when both are present. Currently, I need to specify LIBVA_DRIVER_NAME=iHD/i965 to get VAAPI working.
The text was updated successfully, but these errors were encountered: