You are not logged in.

#1 2020-03-11 07:06:11

grobber
Member
Registered: 2018-02-09
Posts: 29

[SOLVED] best practices upon removing xf86-video-intel

I am on intel video, as per the output to lspci -k:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
        Subsystem: CLEVO/KAPOK Computer HD Graphics 620
        Kernel driver in use: i915
        Kernel modules: i915

I'm running linux-lts, and i3 as my window manager. I recently ran into Firefox lag on this system (both the arch Firefox package and the plain-vanilla Firefox install Mozilla provide), so I removed the xf86-video-intel package (as advised by some posts in the thread linked above, for instance, as well as, e.g., this discussion). I also made the corresponding change to xorg.conf:

/etc/X11/xorg.conf.d/20-intel.conf
---
Section "Device"
  Identifier  "Intel Graphics"
  Driver      "modesetting"
  Option      "AccelMethod"  "sna"
EndSection

This mostly works, but mpv returns some errors and now understandably falls back on vo/x11 and complains about it:

libEGL warning: DRI2: failed to authenticate
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/opengl] Suspected software renderer or indirect context.
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
[vo/gpu/vulkan/libplacebo] Found no suitable device, giving up.
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan device
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[vaapi] Failed to initialize VAAPI: unknown libva error
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.

I do get video playback and so on, but

Question: what is the best way to mitigate the errors, short of reinstalling xf86-video-intel?

Last edited by grobber (2020-03-12 01:23:33)

Offline

#2 2020-03-11 08:21:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [SOLVED] best practices upon removing xf86-video-intel

Remove that 20-intel.conf AccelMethod "sna" makes no sense on the modesetting driver. This disables the glamor acceleration modesetting would have.

Offline

#3 2020-03-11 12:31:20

grobber
Member
Registered: 2018-02-09
Posts: 29

Re: [SOLVED] best practices upon removing xf86-video-intel

Worked like a charm, thank you!

That option was indeed a stray leftover; simply removing it got rid of all of the errors / warnings.

Offline

#4 2020-03-11 13:05:56

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] best practices upon removing xf86-video-intel

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB