clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
522 stars 29 forks source link

libva: error: failed to resolve wl_drm_interface(): /usr/lib64/libEGL_mesa.so.0: undefined symbol: wl_drm_interface #3166

Closed paulcarroty closed 3 months ago

paulcarroty commented 3 months ago
$ vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva error: /usr/lib64/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_20
error: failed to resolve wl_drm_interface(): /usr/lib64/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
libva error: /usr/lib64/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
fenrus75 commented 3 months ago

hmmmm. odd.

will need to figure out where this is supposed to come from .. and then make it come from there ;-)

On Mon, Jul 29, 2024 at 5:08 AM Pavlo Rudy @.***> wrote:

vainfo Trying display: wayland libva info: VA-API version 1.22.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva error: /usr/lib64/dri/iHD_drv_video.so init failed libva info: va_openDriver() returns 1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_20 error: failed to resolve wl_drm_interface(): /usr/lib64/libEGL_mesa.so.0: undefined symbol: wl_drm_interface libva error: /usr/lib64/dri/i965_drv_video.so init failed libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/3166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FMMHCPFRZ3KJODY7YLZOYWFRAVCNFSM6AAAAABLUENFXOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTKMRUGM4DAMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fenrus75 commented 3 months ago

Trying display: wayland Trying display: x11 error: can't connect to X server! Trying display: drm libva info: VA-API version 1.22.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.22 (libva 2.21.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.2.4 () vainfo: Supported profile and entrypoints

is what I get. not quite the same

paulcarroty commented 3 months ago

There are two drivers:

libva picked the iHD driver in your case probably 'cause detected never hardware. Try to set LIBVA_DRIVER_NAME=i965.

paulcarroty commented 3 months ago

Probably related to https://github.com/intel/intel-vaapi-driver/issues/419 More info: https://www.reddit.com/r/archlinux/comments/1eeqsbv/libva_error_usrlibdrii965_drv_videoso_init_failed/?rdt=53458

paulcarroty commented 3 months ago

@fenrus75, can you apply this patch? https://github.com/intel/intel-vaapi-driver/pull/566 Success story in the comments.

Workaround: extract this package, rename /2100/2200/ and move content to /usr/lib64/.

fenrus75 commented 3 months ago

yup will do after my morning coffee

On Thu, Aug 1, 2024, 02:20 Pavlo Rudy @.***> wrote:

@fenrus75 https://github.com/fenrus75, can you apply this patch? intel/intel-vaapi-driver#566 https://github.com/intel/intel-vaapi-driver/pull/566 Success story in the comments.

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/3166#issuecomment-2262559959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FN7TQYQ332T5NVLPKLZPH4W5AVCNFSM6AAAAABLUENFXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRSGU2TSOJVHE . You are receiving this because you were mentioned.Message ID: @.***>

fenrus75 commented 3 months ago

(and done)

On Thu, Aug 1, 2024 at 5:24 AM Arjan van de Ven @.***> wrote:

yup will do after my morning coffee

On Thu, Aug 1, 2024, 02:20 Pavlo Rudy @.***> wrote:

@fenrus75 https://github.com/fenrus75, can you apply this patch? intel/intel-vaapi-driver#566 https://github.com/intel/intel-vaapi-driver/pull/566 Success story in the comments.

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/3166#issuecomment-2262559959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FN7TQYQ332T5NVLPKLZPH4W5AVCNFSM6AAAAABLUENFXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRSGU2TSOJVHE . You are receiving this because you were mentioned.Message ID: @.***>