You are not logged in.

#1 2021-03-30 22:27:39

garabulho
Member
Registered: 2021-03-30
Posts: 8

[Solved] Choppy videos with Intel driver

My new laptop a Dell XPS 9310 is running a dual boot with win10 and a fresh new Arch. Everything it's ok but the videos. Audio is perfect but image stops for a instant every few seconds like something was wrong with decode. I have tried with several video files and youtube videos in chromium and firefox with no different result. I have installed gnome 3.40 and intel-media-driver for harware accel.

I appreciate your help

$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers [8086:9a14] (rev 01)
    Subsystem: Dell Device [1028:09ff]
00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Xe Graphics [8086:9a49] (rev 01)
    DeviceName: To Be Filled by O.E.M.
    Subsystem: Dell Device [1028:09ff]
    Kernel driver in use: i915
    Kernel modules: i915

$ vainfo
vainfo: VA-API version: 1.11 (libva 2.11.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.1.2 ()

uname -a
Linux minhoca 5.11.10-arch1-1 #1 SMP PREEMPT Fri, 26 Mar 2021 00:11:29 +0000 x86_64 GNU/Linux

$ cat .local/share/xorg/Xorg.0.log

[    10.940] (II) LoadModule: "intel"
[    10.940] (WW) Warning, couldn't open module intel
[    10.940] (EE) Failed to load module "intel" (module does not exist, 0)
[    10.940] (II) LoadModule: "modesetting"
[    10.940] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    10.941] (II) Module modesetting: vendor="X.Org Foundation"
[    10.941]     compiled for 1.20.10, module version = 1.20.10
[    10.941]     Module class: X.Org Video Driver
[    10.941]     ABI class: X.Org Video Driver, version 24.1
[    10.941] (II) LoadModule: "fbdev"
[    10.941] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    10.942] (II) Module fbdev: vendor="X.Org Foundation"
[    10.942]     compiled for 1.20.8, module version = 0.5.0
[    10.942]     Module class: X.Org Video Driver
[    10.942]     ABI class: X.Org Video Driver, version 24.1
[    10.942] (II) LoadModule: "vesa"
[    10.942] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    10.942] (II) Module vesa: vendor="X.Org Foundation"
[    10.942]     compiled for 1.20.9, module version = 2.5.0
[    10.942]     Module class: X.Org Video Driver
[    10.942]     ABI class: X.Org Video Driver, version 24.1
[    10.942] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    10.942] (II) FBDEV: driver for framebuffer: fbdev
[    10.942] (II) VESA: driver for VESA chipsets: vesa
[    10.942] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    10.942] (II) modeset(0): using drv /dev/dri/card0
[    10.942] (WW) Falling back to old probe method for fbdev
[    10.942] (II) Loading sub module "fbdevhw"
[    10.942] (II) LoadModule: "fbdevhw"
[    10.942] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    10.942] (II) Module fbdevhw: vendor="X.Org Foundation"
[    10.942]     compiled for 1.20.10, module version = 0.0.2
[    10.942]     ABI class: X.Org Video Driver, version 24.1
[    10.942] (EE) open /dev/fb0: Permission denied
[    10.942] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    10.942] (II) modeset(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[    10.942] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    10.942] (==) modeset(0): RGB weight 888
[    10.942] (==) modeset(0): Default visual is TrueColor
[    10.942] (II) Loading sub module "glamoregl"
[    10.942] (II) LoadModule: "glamoregl"
[    10.942] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    10.945] (II) Module glamoregl: vendor="X.Org Foundation"
[    10.945]     compiled for 1.20.10, module version = 1.0.1
[    10.945]     ABI class: X.Org ANSI C Emulation, version 0.4
[    11.026] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) Xe Graphics (TGL GT2)
[    11.026] (II) modeset(0): glamor initialized

Last edited by garabulho (2021-04-05 14:45:10)

Offline

#2 2021-03-31 12:26:31

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

Re: [Solved] Choppy videos with Intel driver

That xorg log misses lots of lines .

I have installed gnome 3.40

https://wiki.archlinux.org/index.php/Xorg#General wrote:

If a problem occurs, view the log stored in either /var/log/ or, for the rootless X default since v1.16, in ~/.local/share/xorg/. GDM users should check the systemd journal.

If you are using GDM please run journalctl -b as root and post the output.
It will likely be large, consider using  a pastebin client


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-04-02 21:58:18

garabulho
Member
Registered: 2021-03-30
Posts: 8

Re: [Solved] Choppy videos with Intel driver

My journal -b output http://ix.io/2UQY and  Xorg.0.log  http://ix.io/2UR1

I'm completely lost. I have installed an ubuntu in another partition to try and the videos run fine with the same i915 driver configuration but in my arch something goes wrong :-(

Thank you for the answer

Offline

#4 2021-04-03 10:21:59

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

Re: [Solved] Choppy videos with Intel driver

The xorg log looks ok but you're not using gdm it seems.

Apr 02 23:33:16 minhoca gnome-shell[585]: Registering session with GDM
Apr 02 23:33:16 minhoca gnome-shell[585]: Error registering session with GDM: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.DisplayManager was not provided by any .service files

What are you using to start X ?

gnome 3.40 is not yet available from archlinux normal repos, where did you get it from ?


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

#5 2021-04-05 14:44:09

garabulho
Member
Registered: 2021-03-30
Posts: 8

Re: [Solved] Choppy videos with Intel driver

I'm using official repos.

Yesterday unexpectedly I fix the issue. I upgraded systemd package to 248 and rebuilt kernel image. :-o

Last edited by garabulho (2021-04-05 14:45:41)

Offline

Board footer

Powered by FluxBB