- 
                Notifications
    
You must be signed in to change notification settings  - Fork 169
 
Open
Description
Hello! I'm currently trying to bump the media stack for LNL and BMG support in Ubuntu 24.04, and I'm running into some issues after updating vainfo
### Install version 2.22.0 ###
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ vainfo
Trying display: wayland
Trying display: x11
error: can't connect to X server!
error: failed to initialize display
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Trying display: x11
error: can't connect to X server!
error: failed to initialize display
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo --display drm
error: failed to initialize display 'drm'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo --display wayland
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: failed to initialize display 'wayland'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ vainfo --display wayland
Trying display: wayland
error: failed to initialize display 'wayland'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ vainfo --display drm
error: failed to initialize display 'drm'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ DISPLAY=:0 vainfo --display drm
error: failed to initialize display 'drm'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ DISPLAY=:0 sudo vainfo --display wayland
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: failed to initialize display 'wayland'
### Install version 2.12.0 (24.04 current latest) ###
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.3.4 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain               :	VAEntrypointEncSliceLP
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointEncSliceLP
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile1            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileVP9Profile3            :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointEncSlice
      VAProfileHEVCMain422_10         :	VAEntrypointVLD
      VAProfileHEVCMain422_10         :	VAEntrypointEncSlice
      VAProfileHEVCMain422_12         :	VAEntrypointVLD
      VAProfileHEVCMain422_12         :	VAEntrypointEncSlice
      VAProfileHEVCMain444            :	VAEntrypointVLD
      VAProfileHEVCMain444            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         :	VAEntrypointVLD
      VAProfileHEVCMain444_10         :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          :	VAEntrypointVLD
      VAProfileHEVCSccMain10          :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         :	VAEntrypointVLD
      VAProfileHEVCSccMain444         :	VAEntrypointEncSliceLP
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointEncSliceLP
Is this working as expected in 2.22.0, or is this a regression?
For your convenience, here is my test PPA for updating the graphics stack in 24.04:
https://launchpad.net/~mckeesh/+archive/ubuntu/testing
To use it, you can run the following:
sudo add-apt-repository ppa:mckeesh/testing
sudo apt update
sudo apt upgrade -y intel-media-va-driver-non-free libva2 libigdgmm12 vainfo
Metadata
Metadata
Assignees
Labels
No labels