You are not logged in.

#1 2023-08-05 14:12:03

tommasovirgilii
Member
Registered: 2023-08-05
Posts: 3

vaapitest: ERROR, issue with firefox slow starting after booting.

Hello, immediately after i boot in my system and i open my window manager i type the command "firefox &" to start the browsing, but i have to wait 10 seconds, then this appear

[GFX1-]: vaapitest: ERROR
[GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connectio

ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.

and then firefox appears. Then after I've done this once and i close the browser i can open it a lot faster, like in less then 1 second.
Can someone help me fixing this issue?

Offline

#2 2023-08-05 15:19:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: vaapitest: ERROR, issue with firefox slow starting after booting.

the "mesa_glthread overridden" is harmless, the top 2 lines suggest you haven't setup hw acceleration correctly .

How to do that depends on your videocard(s) , check https://wiki.archlinux.org/title/Hardwa … celeration

Welcome to archlinux forums

Last edited by Lone_Wolf (2023-08-05 15:19:56)


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-08-05 16:51:12

tommasovirgilii
Member
Registered: 2023-08-05
Posts: 3

Re: vaapitest: ERROR, issue with firefox slow starting after booting.

Thanks a lot, i'll try to check what you suggested. What do you think looking at this.

$ vainfo
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.19 (libva 2.19.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile -
2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc


and running intel-gpu-top i see Video always to 0

Last edited by tommasovirgilii (2023-08-05 17:06:39)

Offline

#4 2023-08-06 10:50:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: vaapitest: ERROR, issue with firefox slow starting after booting.

It looks ok, but i965 is an old driver and Sandybridge is also rather old .

please post full outputs of

$ lspci -k
$ glxinfo -B     #comes_with_mesa-utils

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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-08-06 12:21:43

tommasovirgilii
Member
Registered: 2023-08-05
Posts: 3

Re: vaapitest: ERROR, issue with firefox slow starting after booting.

$ lspci -k
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    Subsystem: Lenovo 2nd Generation Core Processor Family DRAM Controller
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    Subsystem: Lenovo 2nd Generation Core Processor Family Integrated Graphics Controller
    Kernel driver in use: i915
    Kernel modules: i915
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family MEI Controller
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family KT Controller
    Kernel driver in use: serial
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
    Subsystem: Lenovo ThinkPad T520
    Kernel driver in use: e1000e
    Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
    Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition Audio Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family PCI Express Root Port 1
    Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family PCI Express Root Port 2
    Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family PCI Express Root Port 4
    Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family PCI Express Root Port 5
    Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
    Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset LPC Controller (rev 04)
    Subsystem: Lenovo QM67 Express Chipset LPC Controller
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 04)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller
    Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
    Subsystem: Lenovo 6 Series/C200 Series Chipset Family SMBus Controller
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
    Subsystem: Intel Corporation Centrino Advanced-N 6205 (802.11a/b/g/n)
    Kernel driver in use: iwlwifi

[t@arch ~]$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 3000 (SNB GT2) (0x126)
    Version: 23.1.4
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics
3000 (SNB GT2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 23.1.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.3 (Compatibility Profile) Mesa 23.1.4
OpenGL shading language version string: 3.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 23.1.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

    Kernel modules: iwlwifi
0d:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 04)
    Subsystem: Lenovo PCIe SDXC/MMC Host Controller
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci_pci

Offline

#6 2023-08-07 10:26:47

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: vaapitest: ERROR, issue with firefox slow starting after booting.

Please use [ code ] tags for program output, not [ quote ] . see https://bbs.archlinux.org/help.php#bbcode

Outputs confirm the va info output is correct amnd your system has 1 videocard, an intel integrated gpu .

getting HW videoa accel working in browsers can be tricky, check https://wiki.archlinux.org/title/Firefo … celeration thoroughly .

Last edited by Lone_Wolf (2023-08-07 10:27:38)


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB