You are not logged in.

#1 2021-12-30 19:29:55

Strangiato
Member
Registered: 2020-01-10
Posts: 357

Sporadic libva error while playing youtube video

Hi

I use fully updated Arch + Gnome (Wayland session).
Sometimes Gnome Shell hangs for a few seconds/minutes while I play a video in youtube with Opera internet browser running on Xwayland, then video playback is aborted and Gnome Shell works again.

journalctl gives me these messages when the problem occurs:

dez 30 13:25:30 arch-laptop opera.desktop[2927]: libva error: /usr/lib/dri/i965_drv_video.so init failed
dez 30 13:25:31 arch-laptop opera.desktop[2927]: [2927:2927:1230/132531.003386:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

I use intel iGPU from intel i3 3110M cpu:

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device 3977
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Memory at e0000000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 3000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915

Apparently va-api is working well.

$ vainfo
vainfo: VA-API version: 1.13 (libva 2.13.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD

Any idea what is going on?

Offline

#2 2021-12-31 12:21:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Sporadic libva error while playing youtube video

Is xf86-video-intel installed ?

If yes, try removing it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-12-31 21:33:22

Strangiato
Member
Registered: 2020-01-10
Posts: 357

Re: Sporadic libva error while playing youtube video

Lone_Wolf wrote:

Is xf86-video-intel installed ?

If yes, try removing it.

it's not installed.

Offline

#4 2022-01-16 21:13:39

Strangiato
Member
Registered: 2020-01-10
Posts: 357

Re: Sporadic libva error while playing youtube video

it happened again a few minutes ago. journalctl log is a bit different this time.

jan 16 18:06:56 arch-laptop opera.desktop[2463]: [2463:2463:0116/180656.176832:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=512
jan 16 18:07:10 arch-laptop opera.desktop[12938]: libva error: /usr/lib/dri/i965_drv_video.so init failed
jan 16 18:07:10 arch-laptop opera.desktop[12938]: [12938:12938:0116/180710.186631:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
jan 16 18:07:44 arch-laptop opera.desktop[12742]: [12742:1:0116/180744.739925:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

Last edited by Strangiato (2022-01-16 21:48:41)

Offline

#5 2022-01-17 11:53:50

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Sporadic libva error while playing youtube video

Maybe a sandbox issue.
Do other browsers (preferably using another engine then opera) have this issue ?

Does it happen if you use a mediaplayer to play videos from the internet ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB