vainfo can't initialize any display in Ubuntu 24.04 with version 2.22.0 over SSH

Ouverte
#374 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
c, linux, ubuntu

Piste de recherche

Commencez par reproduire les invocations de vainfo indiquées via SSH sur Ubuntu 24.04 avec les versions 2.22.0 et 2.12.0, en utilisant la PPA de test liée si nécessaire. Comparez les résultats de l’initialisation de l’affichage et déterminez si le comportement de 2.22.0 constitue une régression ; le travail est considéré comme terminé lorsque la cause et le comportement attendu sont établis et que toute correction est couverte par un test approprié.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

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
Langage dominant
C
Étoiles
244
Forks
175
Merge moyen
9 j 7 h
PR mergées (30 j)
1

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de intel/libva-utils

Toutes les issues de intel/libva-utils

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.