LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2016, 05:51 PM   #16
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019

Nope. Not in the modesetting driver. I think they assume you'll be using a compositor.
 
1 members found this post helpful.
Old 12-12-2016, 04:36 AM   #17
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
Unhappy

Quote:
Originally Posted by zakame View Post
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.
 
Old 12-13-2016, 12:06 PM   #18
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 297

Rep: Reputation: Disabled
+1 facing that issues here.

Code:
Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
Display Server: X.Org 1.19.0 driver: intel Resolution: 1366x768@60.02hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 13.0.1
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 View Post
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.
 
Old 12-13-2016, 02:53 PM   #19
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 297

Rep: Reputation: Disabled
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.
 
Old 12-13-2016, 05:20 PM   #20
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 297

Rep: Reputation: Disabled
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
 
Old 12-19-2016, 10:35 AM   #21
toodr
Member
 
Registered: Jul 2004
Location: Haskovo, Bulgaria
Distribution: Slackware64-current
Posts: 61

Rep: Reputation: 16
Just to add my 2 cents.

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

4.Desktop Computer "noname" with nvidia pcie card:
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) driver:nouveau

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:

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
EndSection

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?
 
2 members found this post helpful.
Old 12-22-2016, 09:43 AM   #22
toodr
Member
 
Registered: Jul 2004
Location: Haskovo, Bulgaria
Distribution: Slackware64-current
Posts: 61

Rep: Reputation: 16
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.
 
2 members found this post helpful.
Old 12-22-2016, 09:48 AM   #23
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 297

Rep: Reputation: Disabled
Quote:
Originally Posted by toodr View Post
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.
Yeah, me too.

Thanks for sharing this tip, toodr.
 
2 members found this post helpful.
Old 12-28-2016, 11:06 PM   #24
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 859

Original Poster
Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by toodr View Post
Just to add my 2 cents.

[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:

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
EndSection

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.
 
Old 01-08-2017, 09:23 PM   #25
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
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.
 
Old 01-08-2017, 10:03 PM   #26
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
I have desktop lags here.

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.
 
Old 01-09-2017, 03:54 PM   #27
toodr
Member
 
Registered: Jul 2004
Location: Haskovo, Bulgaria
Distribution: Slackware64-current
Posts: 61

Rep: Reputation: 16
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.
 
1 members found this post helpful.
Old 01-12-2017, 05:24 AM   #28
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
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.
 
Old 01-12-2017, 07:56 AM   #29
ppencho
Member
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
Intel vs. Modesetting X.Org DDX Performance Impact:
http://www.phoronix.com/scan.php?pag...ing-2017&num=1

(Pff, the forum LINK tags do not work here )

I am going to upgrade to the latest X tomorrow. If no issues I will keep using Modesetting.
 
Old 01-12-2017, 03:51 PM   #30
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ppencho View Post
(Pff, the forum LINK tags do not work here )
It's a URL tag. It can either be:

Code:
[url]http://some.random.website[/url]
Or

Code:
[url=http://some.random.website]Some Random Website's Title[/url]
They will produce the following respectively:

http://some.random.website

Some Random Website's Title
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest Xorg in -current seems to be broken Lenard Spencer Slackware 50 11-19-2015 05:28 PM
[SOLVED] Xorg segfault after latest upgrade -current yenn Slackware 14 05-14-2012 05:41 PM
Mesa 7.7 in current causes rendering issues on Intel gpu jazzor Slackware 0 03-02-2010 06:21 AM
[SOLVED] Latest slackware64-current xorg and kernel update woes veeall Slackware 10 07-19-2009 12:31 AM
Display corruption and system lockup (Xorg server 1.4/xf86-intel 2.3.1) NathanPardoe Linux - Hardware 6 06-08-2008 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration