Linux mint тиринг intel

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

[SOLVED] Intel HD Graphics Diagonal Tear

Post by riffbiker » Thu Aug 04, 2016 12:15 pm

I have an issue with the default Intel Graphics Driver in Mint 18 as installed in a new-build computer. I shall refer to the issue as a form of ‘video-tearing’, but it is not the usual shimmer in movie video replay, but on larger desktop documents. It takes the form of an intermittent but repeatable on-screen diagonal video ‘tearing’, evident when scrolling, eg, within Firefox or a PDF. Video player reproduction is not affected.

Solutions tried — none make any difference:
1. Enabling ‘TearFree’ via adding a correctly written and installed ’20-intel.conf’ file and confirming enablement in Terminal
2. Disabling hardware graphics acceleration in Firefox (default is hardware acceleration enabled)
3. Disabling ‘compositing for full-screen windows’ — default is OFF (ie. compositing is on) anyway
4. Uninstalling the Intel driver — THIS WORKS BUT CAUSES ISSUES!
Removing the Intel Driver thereby forcing fallback on the ‘generic modesetting Xorg’ driver cured this issue. However, it introduced another rather strange issue in OpenOffice (which I use in preference to LibreOffice) whereby the text ‘autoinput’ (auto-complete) is almost transparent until entered, when the text correctly becomes black.
5. Investigated installing an earlier Intel Driver, (v 2:2.21.6-0ubuntu4.1) is reported as a stable release — however it will not install due to dependency issues. The required dependency packages appear deprecated and are not available in the Linux Mint 18 repository.

I have not given the detailed Terminal Commands and procedures I used as — anyone who recognises this issue will be familiar with such techniques. I can elaborate if anyone is interested.

It would seem the Intel Driver is the problem, but it is the latest version. Short of using a separate graphics board, does anyone have any further ideas — or if a ‘bug’, can we consider getting Intel to look into their driver. Thanks in advance.

Configuration:
Main Board: ASUS H81I Plus — UEFI (BIOS)
Processor: Intel Core i3 4130T with Integrated Intel HD Graphics 4400
OS: Linux Mint 18 Sarah x64 with Linux Kernel v 4.4.0-31
Intel Graphics Driver: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1 (Mint 18 default)

Riffbiker
Computer Engineer

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Portreve Level 13
Posts: 4872 Joined: Mon Apr 18, 2011 12:03 am Location: Within 20,004 km of YOU! Contact:

Читайте также:  Linux nvidia control panel

Re: Intel HD Graphics Diagonal Tear

Post by Portreve » Thu Aug 04, 2016 7:53 pm

riffbiker wrote: I have an issue with the default Intel Graphics Driver in Mint 18 as installed in a new-build computer. I shall refer to the issue as a form of ‘video-tearing’, but it is not the usual shimmer in movie video replay, but on larger desktop documents. It takes the form of an intermittent but repeatable on-screen diagonal video ‘tearing’, evident when scrolling, eg, within Firefox or a PDF. Video player reproduction is not affected.

Flying this flag in support of freedom 🇺🇦

Recommended keyboard layout: English (intl., with AltGR dead keys)

Also check out Thor Hartmannsson’s Linux Tips YouTube Channel

Re: Intel HD Graphics Diagonal Tear

Post by riffbiker » Fri Aug 05, 2016 9:29 am

Thank you very much for your response. You have steered me in the correct direction and at time of writing I appear to have resolved this issue!

In fact, it required two changes — and it was that which proved challenging to find. As mentioned in my original problem description, enabling ‘TearFree’ via adding a correctly written and installed ’20-intel.conf’ file (as per your most helpful description) and confirming enablement in the Terminal did not appear to work — ALONE! It improved desktop tearing, but still left reduced tearing in Firefox.

What I did not know, without the enlightenment coming from this esteemed Community, was that hardware graphics acceleration is disabled in Firefox for Linux by default — WHATEVER the Firefox Preferences are set to! It is disabled at a lower level!

So, my thanks again to you and all the contributors on your linked thread.


THIS IS WHAT I HAVE NOW DONE TO RESOLVE THE ISSUE AS DESCRIBED
This set of instructions apply to Firefox v47 (and earlier)

1. Add a correctly written and installed configuration file for in-processor INTEL HD Graphics
1.1 Portreve has kindly described how to do this here: Portreve Link
1.2 After Restart, confirm that TearFree is enabled with this Terminal Command (Cinnamon)
cat /var/log/Xorg.0.log | grep TearFree
It should correctly report: ‘intel(0): TearFree enabled’
2. Enable Firefox (v 47.0) graphic hardware acceleration
2.1 Launch Firefox
2.2 Type < about:config >without the brackets — It will warn ‘Here Be Dragons’ — click ‘I’ll Be Careful, I Promise!
2.3 In the Search Bar enter < layers.acceleration.force-enabled >without the brackets
2.4 It will state ‘false’ — double click it to change to ‘true’ and close the Firefox Tab
2.5 Restart Firefox
2.6.1 Confirm GPU Acceleration is active — do this:
2.6.2 In Firefox, type < about:support >without the brackets
2.6.3 Under the heading ‘Graphics’, discover GPU Accelerated Windows
2.6.4 It should read: 1/1 OpenGL (OMTC) — this means hardware acceleration is active
2.6.5 If it displays: 0/1 Basic (OMTC) — this means hardware acceleration is inactive
2.6.7 Close the Firefox Tab

Читайте также:  Linux mint начало работы

ADDENDUM: 8 August 2016
Firefox 48 for Linux is being rolled out and some of the above is deprecated, ie. it is no longer possible to see ‘GPU Accelerated Windows’ in the Graphics section of ‘about:support’. However, the rest of the instructions remain true.

For your convenience, the instructions as at 8 August 2016 for Firefox 48:
THIS IS WHAT I HAVE NOW DONE TO RESOLVE THE ISSUE AS DESCRIBED
This set of instructions apply to Firefox v48 (and later. )
1. Add a correctly written and installed configuration file for in-processor INTEL HD Graphics
1.1 Portreve has kindly described how to do this here: Portreve Link
1.2 After Restart, confirm that TearFree is enabled with this Terminal Command (Cinnamon)
cat /var/log/Xorg.0.log | grep TearFree
It should correctly report: ‘intel(0): TearFree enabled’
2. Enable Firefox (v 48.0) graphic hardware acceleration
2.1 Launch Firefox
2.2 Type < about:config >without the brackets — It will warn ‘Here Be Dragons’ — click ‘I’ll Be Careful, I Promise!
2.3 In the Search Bar enter < layers.acceleration.force-enabled >without the brackets
2.4 It will state ‘false’ — double click it to change to ‘true’ and close the Firefox Tab
2.5 Restart Firefox

Hopefully, this should resolve all Intel Graphics Screen-Tearing issues under Linux Mint 18

My grateful thanks to Portreve — and the many other contributors on his link (and other sources) for helping me find a solution — which I hope helps you also.

Best Regards,
Riffbiker
Computer Engineer

Источник

Блог начинающего линуксоида.

В недавно вышедшем Linux Mint 18.2 с рабочим столом Xfce было произведено обновление оконного менеджера Xfwm4, в котором добавлена поддержка вертикальной синхронизации через DRI 3/Present и OpenGL. То есть это решает проблему тиринга уже на аппаратном уровне, однако в LM 18.2 (как и в Ubuntu 16.04) по умолчанию не включён интерфейс DRI 3, потому толку от этого нововведения 0. Так что нужно его включить.

Данный способ работает со свободными видеодрайверами для карт Intel и AMD.

Суть способа сводится в создании кастомного файла конфигурации Xorg, в котором указываются необходимые опции. Создадим такой файл:

sudo touch /etc/X11/xorg.conf.d/20-intel.conf «соответственно для AMD это будет 20-radeon.conf»

Открываем его в любимом текстовом редакторе (через sudo) и вставляем следующий конфиг:

Section «Device»
Identifier «Intel Graphics»
Driver «intel»
Option «AccelMethod» «sna»
Option «DRI» «3»
Option «TearFree» «true»
EndSection

Читайте также:  Забыл пароль при входе линукс

Section «Device»
Identifier «Radeon Graphics»
Driver «radeon»
Option «AccelMethod» «glamor»
Option «DRI» «3»
Option «TearFree» «true»
EndSection

Сохраняем и перезаходим в систему (можно и перезагрузиться). После перезагрузки тиринг должен полностью исчезнуть.

Update : добавил пакет с Xfwm 4.13 (собранный с поддержкой DRI3/Present и OpenGL) в свой репозиторий для Debian 9. Если не хотите подключать весь репозиторий — вот отдельный пакет.

Источник

Linux Mint Forums

[SOLVED] Screen tearing Mint19.3 Intel graphics

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

[SOLVED] Screen tearing Mint19.3 Intel graphics

Post by art gertner » Sun Mar 01, 2020 3:21 pm

This is my first post on the forum. As title suggests I have an issue with rather bad screen tearing. I’ve searched the forum and tried few methods that worked for others but nothing seems to solve it.

I am running Cinnamon 4.4.8

The machine in question is DELL latitude e7280. Screen tearing affects all applications (I know about firefox specific issue, this is not my case), Interesting detail: screen tearing is much worse on external display and barely happens on built in display.

Some info about graphics
inxi -G

Graphics: Device-1: Intel Skylake GT2 [HD Graphics 520] driver: i915 v: kernel Display: x11 server: X.Org 1.19.6 driver: intel resolution: 1680x1050~60Hz, 1920x1200~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) v: 4.5 Mesa 19.2.8 
Kernel driver in use: i915
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-40-generic root=UUID= ro elevator=deadline i915.enable_guc=2 quiet splash [ 0.045832] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-40-generic root=UUID= ro elevator=deadline i915.enable_guc=2 quiet splash [ 1.837202] i915 0000:00:02.0: vgaarb: deactivate vga console [ 1.839012] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 1.839457] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27) [ 1.861576] [drm] HuC: Loaded firmware i915/skl_huc_ver01_07_1398.bin (version 1.7) [ 1.871744] [drm] GuC: Loaded firmware i915/skl_guc_32.0.3.bin (version 32.0) [ 1.882229] i915 0000:00:02.0: GuC firmware version 32.0 [ 1.882230] i915 0000:00:02.0: GuC submission disabled [ 1.882230] i915 0000:00:02.0: HuC enabled [ 1.883353] [drm] Initialized i915 1.6.0 20190619 for 0000:00:02.0 on minor 0 [ 1.917954] fbcon: i915drmfb (fb0) is primary device [ 1.917957] i915 0000:00:02.0: fb0: i915drmfb frame buffer device [ 3.305005] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun [ 3.305061] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun [ 7.064521] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 58.899152] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TripleBuffer" "on" Option "SwapbufferWait" "on" Option "TearFree" "true" Option "AccelMethod" "sna" EndSection 

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Источник

Оцените статью
Adblock
detector