[SOLVED] [current] [intel gpu] Screen corruption after the latest xorg update
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can reproduce X11 corruption and/or unresponsiveness with accelerated graphics (e.g. compton enabled, or via mpv with opengl video,) with latest xf86-video-intel package on -current. Reverting to 14.2/previous -current version (git_20160601_b617f80) seems to be a workaround for now.
Turns out I was reverting to the `modesetting' driver instead of the older intel, so not much of a workaround.
Re-upgraded to latest xf86-video-intel-git package, I still get minor display issues (sometimes visual glitches like from a television.) Somewhat reduced when I'm using the intel driver with "DRI" forced to 3.
Sometimes screen freezes and I have to change console (ctrl+alt+f1-6|12) and get back to X (ctrl+alt+f7) to unfreeze, others compton miserably crashes and I'm forced to kill X (ctrl+alt+backspace).
Quote:
Originally Posted by GazL
After much experimentation, what I've found works best for my Intel Corporation Broadwell-U Integrated Graphics (rev 09) is to use the 'intel' driver (with no additional driver options specified in xorg.conf) in conjunction with compton -backend xrender -vsync drm.
That's my case here. I've just did those changes to /etc/X11/xorg.conf.d/20-gpu.conf and ~/.config/awesome-raw/compton.conf. Thank you for sharing this, @GazL.
I'll experiment with these new settings and let you know if they worked.
After working with the new settings for a couple of hours, I can see no more screen freezes. It used to freeze after some minutes after the upgrade.
Overall performance has dropped. Tearing is back when watching any video in full screen on the external FullHD monitor. This is just what is expected when using xrender and drm. Wallpapers are also gone when external monitor is attached (just a boring gray background instead). Works fine when working with the built-in monitor only.
Seems there are some bits to be polished yet on those new drivers.
Hummm... freezes are indeed gone, but crashes are still here. It just happened...
At least I was able to grab a log:
Code:
Dec 13 21:07:57 minsky kernel: [ 5154.950797] [drm] stuck on render ring
Dec 13 21:07:57 minsky kernel: [ 5154.951483] [drm] GPU HANG: ecode 6:0:0x87e8fffd, in Xorg [3972], reason: Ring hung, action: reset
Dec 13 21:07:57 minsky kernel: [ 5154.951486] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Dec 13 21:07:57 minsky kernel: [ 5154.951488] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Dec 13 21:07:57 minsky kernel: [ 5154.951489] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Dec 13 21:07:57 minsky kernel: [ 5154.951491] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Dec 13 21:07:57 minsky kernel: [ 5154.951493] [drm] GPU crash dump saved to /sys/class/drm/card0/error
Dec 13 21:07:57 minsky kernel: [ 5154.953602] drm/i915: Resetting chip after gpu hang
This has bothered me for some time after the latest upgrades.
I have 4 machines (3 Dell laptops & 1 Desktop).
All of them upgraded to the latest Slackware64_current + Eric's KDE5, kernells are 4.4.38.
All freeze regularly, with the same symptoms as decribed in this thread, some minutes after boot up or up to 1 or 2 hours of use. Intensive use does not make any difference.
But they have different hardware.
1.Dell 3000 series - with integrated graphics cotroller:
00:02.0 VGA compatible controller: Intel Corporation Device 22b1 (rev 21) driver:intel
2.Dell Inspiron1750 - with intel G45 integrated graphics controller:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) driver:intel
3.Dell Studio1535 - with ATI card:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3450/3470] driver:radeon
At first I thought that it may be some misfunctioning KDE 5 plugin (yr.no weather plugin, or nextcloud desktop sync plugin).
I uninstalled them both plugins but the freezes continued.
So I had to read the forums, to see if anyone has had the same problem.
In some Arch linux thread, and A Mageia thread people were suggesting various fixes (mainly for the intel driver).
But I suspect that it is not only the intel driver, but rather something else. All these machines of mine had hardware acceleration enabled,
and DRI 2 running, but none had DRI 3 enabled. People suggested that intel driver had been having problems with DRI 2, but would function correctly under DRI 3. So I added a config file for X server (as advized in one of the forums) with an option "DRI" "3", into a file 20-intel.conf in /etc/X11/xorg.conf.d/ directory, as follows:
And this seems to fix this issue (at least for now, 24 hours later).
I added this file on all of the 4 computers.
For nvidia card - the line Driver "intel" becomes Driver "nouveau".
For ATI card it becomes Driver "radeon".
I will keep monitoring for freezes for another 2-3 day before I can declare it solved.
My question is: Is it possible that KDE 5 requires DRI 3 to be enabled (or expects it to be enabled by default).
Or am I missing something?
Just for the record. Thre DRI - 3 option has fixed the freezing of all 4 computers (see above).
I have not had any PLASMA5 freeze for the past 3 days. Neither Intel GPUs, nor ATI, or Nvidia.
Just for the record. Thre DRI - 3 option has fixed the freezing of all 4 computers (see above).
I have not had any PLASMA5 freeze for the past 3 days. Neither Intel GPUs, nor ATI, or Nvidia.
[snip]
In some Arch linux thread, and A Mageia thread people were suggesting various fixes (mainly for the intel driver).
But I suspect that it is not only the intel driver, but rather something else. All these machines of mine had hardware acceleration enabled,
and DRI 2 running, but none had DRI 3 enabled. People suggested that intel driver had been having problems with DRI 2, but would function correctly under DRI 3. So I added a config file for X server (as advized in one of the forums) with an option "DRI" "3", into a file 20-intel.conf in /etc/X11/xorg.conf.d/ directory, as follows:
And this seems to fix this issue (at least for now, 24 hours later).
Indeed. After 3 days of using my computer, I can say that this issue was practically fixed with this workaround. Thanks, toodr!
I say practically, not totally fixed, because I'm still seeing some artifacts in alienbob's latest libreoffice, but only on that application. All others behave OK.
Since this is a good workaround, I'm marking the thread as solved.
I'd suggest, if possible, to add some info on these lines to next CHANGES_AND_HINTS.TXT or the Release Notes.
This is not solved for me. Even on `DRI "3"` I'm still seeing screen corruption issues, and worse, I could not use external displays via xrandr properly (the other screen gets fully distorted and unusable upon plugging in.) I could get to use external displays again on `DRI "2"` but the screen still flickers now and then.
When navigate from kde4 menus ,some times 2-3 seconds to appear the menu , other times never appears , need to move a little the mouse inside de menu to return to see section.
intel driver need this config ...
Quote:
--with-default-dri=3
Last edited by USUARIONUEVO; 01-08-2017 at 10:06 PM.
I have to try that as well for the intel driver.
As for the flickering - there is only one application in which I get a little bit of flickering. This is libreoffice (Eric's), but it happens seldom (once every 2 or 3 days) after having used flash in firefox heavily, and I get out of KDE 5 , restart the Xserver (Ctrl+Alt+Backspace) and log back in. Then the flickering is gone. Anyway it does not happen with every component of Libreoffice, mainly libreoffice-base is flickering, calc does not.
Well, this morning's Xorg updates to current seem to have changed things again. The compton --backend xrender workaround I was using nolonger seems to do the job for me (though from what others said above it wasn't working for some of them before) and I'm seeing some artefacts again.
Looks like I'll have to run through all the options again looking for today's least worst combo.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.