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

Offen
#374 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
c, linux, ubuntu

Rechercherichtung

Beginnen Sie damit, die aufgeführten vainfo-Aufrufe über SSH auf Ubuntu 24.04 mit den Versionen 2.22.0 und 2.12.0 zu reproduzieren, und verwenden Sie bei Bedarf die verknüpfte Testing-PPA. Vergleichen Sie die Ergebnisse der Anzeigeinitialisierung und stellen Sie fest, ob das Verhalten von 2.22.0 eine Regression ist; abgeschlossen bedeutet, dass die Ursache und das erwartete Verhalten geklärt sind und jede Korrektur durch einen geeigneten Test abgedeckt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
C
Sterne
244
Forks
175
Ø Merge
9 T. 7 Std.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus intel/libva-utils

Alle Issues in intel/libva-utils

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.