intel / libva

Libva is an implementation for VA-API (Video Acceleration API)
http://intel.github.io/libva/
Other
664 stars 302 forks source link

Spotify through Snap: iHD_drv_video.so init failed #833

Open VictorQueiroz opened 3 months ago

VictorQueiroz commented 3 months ago

I get three errors whenever I try to run spotify from the command line. One of them is related to this library, I suppose:

libva error: /snap/spotify/78/gnome-platform/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

I installed Spotify using Snap. Do you know how I can fix this and the possible causes, if not a specific Spotify problem?

How do we investigate the problem correctly?

I appreciate any help you can give me.

XinfengZhang commented 3 months ago

please share your device information firstly, check which graphics card you are using.

VictorQueiroz commented 2 months ago

please share your device information firstly, check which graphics card you are using.

Of course. I apologize for my oversight.

Here's the output of inxi -F, I hope it helps:

System:
  Host: vq-thinkcentre Kernel: 6.10.6-1-clear-thinkcentre-m70q arch: x86_64
    bits: 64
  Desktop: GNOME v: 46.4 Distro: Arch Linux
Machine:
  Type: Mini-pc System: LENOVO product: 11T40033BO v: ThinkCentre M70q Gen 3
    serial: PE0B9NFL
  Mobo: LENOVO model: 330B v: SDK0T76530 WIN 3556105688831 serial: N/A
    UEFI: LENOVO v: M43KT2CA date: 04/17/2024
CPU:
  Info: 6-core model: 12th Gen Intel Core i5-12400T bits: 64 type: MT MCP
    cache: L2: 7.5 MiB
  Speed (MHz): avg: 1886 min/max: 800/4200 cores: 1: 2657 2: 2182 3: 804
    4: 2514 5: 3400 6: 3295 7: 800 8: 801 9: 1597 10: 1662 11: 800 12: 2128
Graphics:
  Device-1: Intel Alder Lake-S GT1 [UHD Graphics 730] driver: i915 v: kernel
  Device-2: USB C Video Adaptor driver: N/A type: USB
  Device-3: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  Display: unspecified server: X.Org v: 21.1.99 with: Xwayland v: 24.1.2
    driver: X: loaded: modesetting dri: iris gpu: i915 resolution: 1920x1080
  API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 vendor: intel mesa v: 24.2.1-arch1.1 renderer: Mesa
    Intel UHD Graphics 730 (ADL-S GT1)
  API: Vulkan v: 1.3.279 drivers: intel surfaces: xcb,xlib
Audio:
  Device-1: Intel Alder Lake-S HD Audio driver: snd_hda_intel
  Device-2: Texas Instruments PCM2902 Audio Codec
    driver: hid-generic,snd-usb-audio,usbhid type: USB
  Device-3: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  API: ALSA v: k6.10.6-1-clear-thinkcentre-m70q status: kernel-api
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi
  IF: wlo1 state: down mac: 8a:5d:88:1e:b2:42
  Device-2: Intel Ethernet I219-LM driver: e1000e
  IF: eno2 state: up speed: 1000 Mbps duplex: full mac: 60:c7:27:05:d1:87
  Device-3: ASIX AX88179 Gigabit Ethernet driver: N/A type: USB
  IF-ID-1: br-c44479b3c466 state: down mac: 02:42:e4:76:58:84
  IF-ID-2: docker0 state: down mac: 02:42:a2:1e:e3:63
  IF-ID-3: sit0 state: down mac: 00:00:00:00
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb type: USB
  Report: hciconfig ID: hci0 state: up address: 00:A5:54:75:CF:AA bt-v: 5.2
Drives:
  Local Storage: total: 1.35 TiB used: 514.48 GiB (37.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB
  ID-2: /dev/sda vendor: SanDisk model: SSD PLUS 480GB size: 447.13 GiB
Partition:
  ID-1: / size: 250.92 GiB used: 76.84 GiB (30.6%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-2: /home size: 600.35 GiB used: 134.64 GiB (22.4%) fs: ext4
    dev: /dev/nvme0n1p4
Swap:
  ID-1: swap-1 type: partition size: 64 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: 65.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 30.94 GiB used: 15.01 GiB (48.5%)
    igpu: 160 MiB
  Processes: 479 Uptime: 5m Shell: Sudo inxi: 3.3.35

I am unsure if it's clear, but I am using X.org only.

XinfengZhang commented 2 months ago

hi @VictorQueiroz , please help to collect these info:

  1. ls /dev/dri/
  2. log of vainfo which media driver version are you using?