You are not logged in.

#1 2019-10-17 09:34:33

cpoul
Member
Registered: 2019-09-21
Posts: 8

XPS 13 7390 Screen tearing

I just got the new XPS 13 7390 (without touchscreen, 1920x1080 res, i7-10510U) and I'm suffering from the classic screen tearing. I decided to buy a laptop without a discrete GPU because I thought the general consensus said, that integrated graphics are more solid than discrete. I know that this is bleeding edge hardware and I took the risk.

I have a clean install with LXQT and bspwm as WM.

The tearing happens whenever I have a full screen video on Chrome/FF OR whenever I DON'T have a fullscreen video on mpv. Strange huh?

I've read top to bottom the wiki for Intel Graphics/Hardware acceleration and tried almost all the combinations. By using the xf86-video-intel along with their X11 configs (TearFree etc), chrome gave me extreme glitches and was unresponsive, kitty (gpu terminal) too. Thus currently, I'm using the modeset driver. Moreover, I've installed intel-media-driver, libvdpau-va-gl and I've set the following envs

LIBVA_DRIVER_NAME=iHD
MESA_LOADER_DRIVER_OVERRIDE=iris
VDPAU_DRIVER=va_gl

Also I tried compton and I tweaked GPU related browser flags, without any luck.

A few outputs

➜ glxgears
    324 frames in 5.0 seconds = 64.609 FPS
    301 frames in 5.0 seconds = 60.031 FPS
➜ lshw
    description: Notebook
    product: XPS 13 7390 (0962)
    vendor: Dell Inc.
    serial: CGR31Z2
    width: 4294967295 bits
    capabilities: smbios-3.2 dmi-3.2 smp vsyscall32
    configuration: boot=normal chassis=notebook family=XPS sku=0962 uuid=44454C4C-4700-1052-8033-C3C04F315A32
  *-core
       description: Motherboard
       product: 0G2D0W
       vendor: Dell Inc.
       physical id: 0
       version: A00
       serial: /CGR31Z2/CNCMK0099E0274/
     *-firmware
          description: BIOS
          vendor: Dell Inc.
          physical id: 1
          version: 1.0.0
          date: 07/19/2019
          size: 1MiB
          capacity: 15MiB
          capabilities: pci pnp upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification netboot uefi
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
          vendor: Intel Corp.
          physical id: 400
          bus info: cpu@0
          version: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
          serial: To Be Filled By O.E.M.
          slot: CPU 1
          size: 2172MHz
          capacity: 4900MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities cpufreq
          configuration: cores=4 enabledcores=4 threads=8
        *-cache:0
             description: L1 cache
             physical id: 700
             slot: L1 Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: synchronous internal write-back unified
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 701
             slot: L2 Cache
             size: 1MiB
             capacity: 1MiB
             capabilities: synchronous internal write-back unified
             configuration: level=2
        *-cache:2
             description: L3 cache
             physical id: 702
             slot: L3 Cache
             size: 8MiB
             capacity: 8MiB
             capabilities: synchronous internal write-back unified
             configuration: level=3
     *-memory
          description: System Memory
          physical id: 1000
          slot: System board or motherboard
          size: 16GiB
        *-bank:0
             description: Row of chips LPDDR3 Synchronous 2133 MHz (0.5 ns)
             product: H9CCNNNCLGALAR-NVD
             vendor: SK Hynix
             physical id: 0
             serial: 00000000
             slot: MotherBoard
             size: 8GiB
             width: 64 bits
             clock: 2133MHz (0.5ns)
        *-bank:1
             description: Row of chips LPDDR3 Synchronous 2133 MHz (0.5 ns)
             product: H9CCNNNCLGALAR-NVD
             vendor: SK Hynix
             physical id: 1
             serial: 00000000
             slot: MotherBoard
             size: 8GiB
             width: 64 bits
             clock: 2133MHz (0.5ns)
     *-pci
          description: Host bridge
          product: Intel Corporation
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0c
          width: 32 bits
          clock: 33MHz
        *-display
             description: VGA compatible controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             logical name: /dev/fb0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
             configuration: depth=32 driver=i915 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
             resources: iomemory:600-5ff iomemory:400-3ff irq:139 memory:604a000000-604affffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff
        *-generic:0
             description: Signal processing controller
             product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
             vendor: Intel Corporation
             physical id: 4
             bus info: pci@0000:00:04.0
             version: 0c
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm cap_list
             configuration: driver=proc_thermal latency=0
             resources: iomemory:600-5ff irq:16 memory:604b110000-604b117fff
        *-generic:1 UNCLAIMED
             description: System peripheral
             product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
             vendor: Intel Corporation
             physical id: 8
             bus info: pci@0000:00:08.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm cap_list
             configuration: latency=0
             resources: iomemory:600-5ff memory:604b124000-604b124fff
        *-generic:2 UNCLAIMED
             description: Signal processing controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi cap_list
             configuration: latency=0
             resources: iomemory:600-5ff memory:604b123000-604b123fff
        *-usb
             description: USB controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci cap_list
             configuration: driver=xhci_hcd latency=0
             resources: iomemory:600-5ff irq:141 memory:604b100000-604b10ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.3.6-arch1-1-ARCH xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.03
                capabilities: usb-2.00
                configuration: driver=hub slots=12 speed=480Mbit/s
              *-usb:0
                   description: Video
                   product: Integrated_Webcam_HD
                   vendor: CN09357G8LG0097HA20TA01
                   physical id: 5
                   bus info: usb@1:5
                   version: 80.08
                   capabilities: usb-2.01
                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
              *-usb:1
                   description: Bluetooth wireless interface
                   vendor: Intel Corp.
                   physical id: 7
                   bus info: usb@1:7
                   version: 0.01
                   capabilities: bluetooth usb-2.01
                   configuration: driver=btusb maxpower=100mA speed=12Mbit/s
              *-usb:2
                   description: Modem
                   product: Goodix Fingerprint Device
                   vendor: HTMicroelectronics
                   physical id: a
                   bus info: usb@1:a
                   version: 1.00
                   serial: HTK32
                   capabilities: usb-2.00 atcommands
                   configuration: driver=cdc_acm maxpower=100mA speed=12Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.3.6-arch1-1-ARCH xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.03
                capabilities: usb-3.00
                configuration: driver=hub slots=6 speed=5000Mbit/s
        *-memory UNCLAIMED
             description: RAM memory
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 00
             width: 64 bits
             clock: 33MHz (30.3ns)
             capabilities: pm cap_list
             configuration: latency=0
             resources: iomemory:600-5ff iomemory:600-5ff memory:604b11c000-604b11dfff memory:604b122000-604b122fff
        *-serial:0
             description: Serial bus controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 15
             bus info: pci@0000:00:15.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:16 memory:4010000000-4010000fff
        *-serial:1
             description: Serial bus controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 15.1
             bus info: pci@0000:00:15.1
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:17 memory:4010001000-4010001fff
        *-communication UNCLAIMED
             description: Communication controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi cap_list
             configuration: latency=0
             resources: iomemory:600-5ff memory:604b11f000-604b11ffff
        *-pci:0
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:122 memory:9e300000-9e3fffff
           *-generic
                description: Unassigned class
                product: RTS525A PCI Express Card Reader
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=rtsx_pci latency=0
                resources: irq:140 memory:9e300000-9e300fff
        *-pci:1
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1c.6
             bus info: pci@0000:00:1c.6
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:123 memory:9e200000-9e2fffff
           *-network
                description: Wireless interface
                product: Wi-Fi 6 AX200
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlp2s0
                version: 1a
                serial: dc:71:96:6e:0b:13
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwlwifi driverversion=5.3.6-arch1-1-ARCH firmware=48.4fa0041f.0 ip=192.168.1.139 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: irq:18 memory:9e200000-9e203fff
        *-pci:2
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:124 ioport:4000(size=12288) memory:70000000-9e0fffff ioport:6000000000(size=1241513984)
           *-pci
                description: PCI bridge
                product: JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:03:00.0
                version: 02
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:16 ioport:4000(size=8192) memory:70000000-9dffffff ioport:6000000000(size=1241513984)
              *-pci:0
                   description: PCI bridge
                   product: JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                   vendor: Intel Corporation
                   physical id: 0
                   bus info: pci@0000:04:00.0
                   version: 02
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:126 memory:9df00000-9dffffff
                 *-generic
                      description: System peripheral
                      product: JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016]
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:05:00.0
                      version: 02
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix bus_master cap_list
                      configuration: driver=thunderbolt latency=0
                      resources: irq:16 memory:9df00000-9df3ffff memory:9df40000-9df40fff
              *-pci:1
                   description: PCI bridge
                   product: JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                   vendor: Intel Corporation
                   physical id: 1
                   bus info: pci@0000:04:01.0
                   version: 02
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:41410-4140f irq:127 ioport:4000(size=4096) memory:87000000-9defffff ioport:6025000000(size=620756992)
              *-pci:2
                   description: PCI bridge
                   product: JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                   vendor: Intel Corporation
                   physical id: 2
                   bus info: pci@0000:04:02.0
                   version: 02
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:128 memory:86f00000-86ffffff
                 *-usb
                      description: USB controller
                      product: JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016]
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:3b:00.0
                      version: 02
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress xhci cap_list
                      configuration: driver=xhci_hcd latency=0
                      resources: irq:142 memory:86f00000-86f0ffff
                    *-usbhost:0
                         product: xHCI Host Controller
                         vendor: Linux 5.3.6-arch1-1-ARCH xhci-hcd
                         physical id: 0
                         bus info: usb@3
                         logical name: usb3
                         version: 5.03
                         capabilities: usb-2.00
                         configuration: driver=hub slots=2 speed=480Mbit/s
                    *-usbhost:1
                         product: xHCI Host Controller
                         vendor: Linux 5.3.6-arch1-1-ARCH xhci-hcd
                         physical id: 1
                         bus info: usb@4
                         logical name: usb4
                         version: 5.03
                         capabilities: usb-3.00
                         configuration: driver=hub slots=2 speed=5000Mbit/s
              *-pci:3
                   description: PCI bridge
                   product: JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                   vendor: Intel Corporation
                   physical id: 4
                   bus info: pci@0000:04:04.0
                   version: 02
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:51510-5150f irq:129 ioport:5000(size=4096) memory:70000000-86efffff ioport:6000000000(size=620756992)
        *-pci:3
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1d.4
             bus info: pci@0000:00:1d.4
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:125 memory:9e100000-9e1fffff
           *-storage
                description: Non-Volatile memory controller
                product: NVMe SSD Controller SM981/PM981/PM983
                vendor: Samsung Electronics Co Ltd
                physical id: 0
                bus info: pci@0000:71:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: storage pm msi pciexpress msix nvm_express bus_master cap_list
                configuration: driver=nvme latency=0
                resources: irq:16 memory:9e100000-9e103fff
        *-isa
             description: ISA bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-multimedia
             description: Audio device
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=64
             resources: iomemory:600-5ff iomemory:600-5ff irq:169 memory:604b118000-604b11bfff memory:604b000000-604b0fffff
        *-serial:2
             description: SMBus
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.4
             bus info: pci@0000:00:1f.4
             version: 00
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: iomemory:600-5ff irq:16 memory:604b11e000-604b11e0ff ioport:efa0(size=32)
        *-serial:3
             description: Serial bus controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.5
             bus info: pci@0000:00:1f.5
             version: 00
             width: 32 bits
             clock: 33MHz
             configuration: driver=intel-spi latency=0
             resources: irq:0 memory:fe010000-fe010fff
  *-battery
       product: DELL H754V98
       vendor: LG
       physical id: 1
       version: 08/10/2019
       serial: 0CE7
       slot: Sys. Battery Bay
       capacity: 51990mWh
       configuration: voltage=7.6V
  *-power UNCLAIMED
       description: To Be Filled by O.E.M.
       product: To Be Filled by O.E.M.
       vendor: To Be Filled by O.E.M.
       physical id: 2
       version: To Be Filled by O.E.M.
       serial: To Be Filled by O.E.M.
       capacity: 32768mWh
➜ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: OpenGL/VAAPI backend for VDPAU

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
422     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
444     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                   --- not supported ---
MPEG2_MAIN                     --- not supported ---
H264_BASELINE                  51 16384  2048  2048
H264_MAIN                      51 16384  2048  2048
H264_HIGH                      51 16384  2048  2048
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE      51 16384  2048  2048
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  
R8G8B8A8         16384 16384    y  
R10G10B10A2      16384 16384    y  
B10G10R10A2      16384 16384    y  
A8               16384 16384    y  

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  -
SHARPNESS                        -
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              -  
VIDEO_SURFACE_HEIGHT             -  
CHROMA_TYPE                      -  
LAYERS                           -  

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 -  
CSC_MATRIX                       -  
NOISE_REDUCTION_LEVEL            -  
SHARPNESS_LEVEL                  -  
LUMA_KEY_MIN_LUMA                -  
LUMA_KEY_MAX_LUMA                -  
➜ vainfo
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Intel iHD driver - 1.0.0
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
➜ cat /etc/modprobe.d/i915.conf 
options i915 enable_fbc=1 fastboot=1 enable_psr=0
➜ cat /etc/mkinitcpio.conf 
MODULES=(intel_agp i915)
➜ lspci  | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 9b41 (rev 02)

Last edited by cpoul (2019-10-17 09:36:22)

Offline

#2 2019-10-17 11:49:12

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: XPS 13 7390 Screen tearing

Why are you using libvdpau-va-gl? Where did you set your environment overrides? Also, (and just for my own personal edification) have you tried with xf86-intel-video and also enabling both GuC and HuC loading (i.e passing enable_guc=-1)? If so what's the behavior? Is the behavior different with a full DE (i.e Gnome or Plasma)?

 $ dmesg | grep uC
[    4.539235] [drm] HuC: Loaded firmware i915/skl_huc_ver01_07_1398.bin (version 1.7)
[    4.549819] [drm] GuC: Loaded firmware i915/skl_guc_32.0.3.bin (version 32.0)
[    4.560061] i915 0000:00:02.0: GuC firmware version 32.0
[    4.560065] i915 0000:00:02.0: GuC submission disabled
[    4.560067] i915 0000:00:02.0: HuC enabled

Have you looked at Phoronix's latest write-up for same family hardware?

Last edited by CarbonChauvinist (2019-10-17 11:49:56)


"the wind-blown way, wanna win? don't play"

Offline

#3 2019-10-17 12:18:33

cpoul
Member
Registered: 2019-09-21
Posts: 8

Re: XPS 13 7390 Screen tearing

Excuse my ignorance on that topic, its out of my area of expertise. I was following the wiki, which states, to configure VDPAU with intel GPU, we need to set VDPAU_DRIVER to va_gl. Before installing libvdpau-va-gl, vainfo threw errors. I set the envs once in .profile and once in LXQT session manager. Also I used https://github.com/intel/media-driver because of Ice Lake support.

I tried multiple combinations of enable_guc in conjunction with the old driver but with no luck. I've followed both the wiki and this guide along with the recommendations in comments. To clarify something, I prefer not to use that option, because the wiki states that GVT-g doesn't work with this option and I'm very interested in deploying a VM on that machine, my work depends on a few osx/ms products and I would like a decent performance.

Thanks for the link, I've missed it somehow. I believe the Intel "Iris" Gallium3D driver is the env MESA_LOADER_DRIVER_OVERRIDE=iris which I have? May I test mesa 19.3 instead?

In another story, if on wayland then the tearing is gone. I tried sway, to avoid the whole DE bloat, and the performance was top notch. But I'm trying to avoid wayland for now, a lot of my workflow stands in X tools. In the case of a no solution, I'll migrate there

Offline

#4 2019-10-17 12:49:26

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

Re: XPS 13 7390 Screen tearing

All of the situations you describe are where I'd expect tearing to kick in because the software in question might disable the compositor, e.g. specifically for MPV see: https://wiki.archlinux.org/index.php/Mp … compositor

Fullscreen will probably trigger similar functionality in compton: https://wiki.archlinux.org/index.php/Compton#Flicker

Offline

#5 2019-10-17 13:14:38

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: XPS 13 7390 Screen tearing

In addition to V1del's notes re: fullscreen - I would double-check that you actually need to use the VDPAU try removing that from the equation and testing (what were the errors that vainfo was throwing without libvdpau-va-gl?).

Intel media driver makes sense, you should only have to set the following variables (maybe trying setting these in /etc/profile.d/):

export LIBVA_DRIVERS_PATH=<path-contains-iHD_drv_video.so>
export LIBVA_DRIVER_NAME=iHD

Others with more knowledge will chime in I'm sure.


"the wind-blown way, wanna win? don't play"

Offline

#6 2019-10-17 13:22:24

cpoul
Member
Registered: 2019-09-21
Posts: 8

Re: XPS 13 7390 Screen tearing

Hmm by adding in compton.conf

unredir-if-possible = false;

tearing gone! Should I let it in this state, swallow it and wait for similar issues to come up, or should I trace the root problem?

About the VDPAU, it threw a kind of "no such file or directory" error. It looked the drivers dir and there I had only 3 files (those wrapped in asterisks). After the installation of the lib it populated the rest

➜ ls /usr/lib/vdpau                           
*libvdpau_trace.so*  *libvdpau_trace.so.1*  *libvdpau_trace.so.1.0.0*  libvdpau_va_gl.so  libvdpau_va_gl.so.1
[/b]

As I said, I did many incremental experiments and I had out of the equation te vdpau at least 2-3 times.

In any case, thank you both!

[UPDATE]
Just to be sure and for the records, I disabled again vdpau & compton along with your above recommendations and the tearing reappeared

Last edited by cpoul (2019-10-17 13:26:02)

Offline

#7 2019-10-17 14:26:29

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

Re: XPS 13 7390 Screen tearing

To be certain to prevent tearing you have to keep the compositor enabled as far as I know. (FWIW on wayland nothing else happens, you simply cannot disable the compositor there with any method, but the protocol should be more efficient to alleviate any drawbacks)

The drawback of this is that this might give you some FPS loss if you are a heavy gamer or so. If this doesn't negatively affect your  perceived experience this pretty much is "the fix".

FWIW regarding the VDPAU discussion, I don't think this factors in here, your vainfo output showed that for VAAPI the correct driver would be used regardless, so you should generally configure all applications that have good VAAPI implementations to use VAAPI directly.

Last edited by V1del (2019-10-17 14:27:54)

Offline

Board footer

Powered by FluxBB