You are not logged in.

#1 2016-11-09 22:16:20

tekkkz
Member
Registered: 2015-08-07
Posts: 68

External connected Display has freeze every 10 seconds

On my external connected monitor via
    (a) - dockingstation D3100
    (b) - pluggable thunderbolt3-to-hdmi-connector
I get a ca 1 second long freeze every 10 seconds.

In my journal, everytime the lag occurs, I get these Lines:

Nov 10 13:16:20 XPS kernel: evdi: [D] evdi_detect:69 (dev=1) Painter is connected
Nov 10 13:16:20 XPS kernel: evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff

What could cause these freezes?
How can I remove them?

Last edited by tekkkz (2016-11-10 12:17:07)

Offline

#2 2016-11-09 23:16:07

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: External connected Display has freeze every 10 seconds

New problem? If yes find update that broke things, bisect and report bug upstream. If not gather all the useful information that can help people help you and post it here. Asking what is wrong and how to fix it without providing any useful information is not going to work.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-11-10 09:37:23

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

So tell me where I get information which is useful for you.
In my journal, everytime the lag occurs, I get these Lines:

Nov 10 13:16:20 XPS kernel: evdi: [D] evdi_detect:69 (dev=1) Painter is connected
Nov 10 13:16:20 XPS kernel: evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff

Last edited by tekkkz (2016-11-10 12:17:17)

Offline

#4 2016-11-10 13:43:10

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: External connected Display has freeze every 10 seconds

I'm not going to play the twenty question game with you, I already gave you enough hints/advice on what you should look into and what you should provide. It seems to me that if you really want to you seem to know where to look and what to look for.

Do your homework and help others help you, we don't do hand holding here.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2016-11-10 13:45:50

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

I have added journal lines, is it enought? I really don't know what else I could add.

Offline

#6 2016-11-10 18:40:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: External connected Display has freeze every 10 seconds

Let's start with the environment. The edid gets downloaded frequently.
This could be a wonky connection, but if it's really "frequent" (as in 0.1 Hz), something is likely polling the screens.
=> log into a failsafe session (only an xterm) and see whether the problem exists there as well.

Online

#7 2016-11-10 21:40:40

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

I can't log into a failsafe because there my displays are not working.

Offline

#8 2016-11-10 22:16:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: External connected Display has freeze every 10 seconds

man xrandr

Online

#9 2016-11-11 05:14:44

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

seth, I don't know what this can help me. Could you please give more details?

And the bigger question is: how to launch into failsafe xterm?

Last edited by tekkkz (2016-11-11 05:15:54)

Offline

#10 2016-11-11 07:35:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: External connected Display has freeze every 10 seconds

tekkkz wrote:

And the bigger question is: how to launch into failsafe xterm?

tekkkz, right before wrote:

I can't log into a failsafe because there my displays are not working.

...

https://www.google.com/
https://wiki.archlinux.org/

You'd better use startx in this case, but as a general answer:

cat /usr/share/xsessions/failsafe.desktop

[Desktop Entry]
Name=Failsafe
Comment=Safe to fail
Exec=/usr/bin/xterm
TryExec=/usr/bin/xterm
Icon=xterm
Type=Application

And with your attitude, this is more help than you deserve.
We're not solving problems for you but help you to solve them yourself.
That's not gonna work if you don't get your ass up and rather blatantly lie about conditions instead.

Online

#11 2016-11-11 07:40:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: External connected Display has freeze every 10 seconds

tekkkz wrote:

And the bigger question is: how to launch into failsafe xterm?

tekkkz, right before wrote:

I can't log into a failsafe because there my displays are not working.

...

https://www.google.com/
https://wiki.archlinux.org/

You'd better use startx in this case, but as a general answer:

cat /usr/share/xsessions/failsafe.desktop

[Desktop Entry]
Name=Failsafe
Comment=Safe to fail
Exec=/usr/bin/xterm
TryExec=/usr/bin/xterm
Icon=xterm
Type=Application

And with your attitude, this is more help than you deserve.
We're not solving problems for you but help you to solve them yourself.
That's not gonna work if you don't get your ass up and rather blatantly lie about conditions instead.

Online

#12 2016-11-12 00:23:37

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

I found out that I get the lag every time when the brightness of my laptop screen is also set to 0. So where the hell is it managed that my laptop screen gets brighten out every 10 seconds? what rule is working there which is causing my freezes?

How can I find out what is setting the brightness to 0?

Offline

#13 2016-11-12 08:11:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: External connected Display has freeze every 10 seconds

You still didn't even mention which desktop environment this is, so we don't even have a *hint* on whether this is X11 or wayland.
https://bbs.archlinux.org/viewtopic.php?id=57855

Online

#14 2016-11-12 09:02:15

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

...

Last edited by tekkkz (2018-07-10 19:53:04)

Offline

#15 2016-11-12 15:13:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: External connected Display has freeze every 10 seconds

Are you kidding? I mean, are you just trolling to waste somebodys time or what is this?

*Everything* you observe is explained in the last post where you out of the void show a CUSTOM LOCAL recursive udev/script relation which operates on a 0.2 Hz frequency and also calls a backlight tool (from AUR)
You basically knew where the problem most likely stems from and come here and have us guess based on no information on your customized setup.
The only thing one *may* need to tell you is that the xrandr query polls all outputs what explains the edid download as well as (to a certain degree) the stalls.

Sorry, but I feel just pranked.

Online

#16 2016-11-12 15:20:50

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

I am sorry, but can you please tell me now how exactly I can fix this? When I remove the udev-rule, my screen gets still lightened out and I have the lag.

EDIT: I have found out that it has nothing todo with my script or udev-rule. It must have todo something with the displaylink stuff. It only freezes in i3, but when I am in lightdm (because locked) it doesn't have the minilag-freezes.

EDIT II: I have found out that there is a systemd rule from displaylink that reruns every 5 seconds. maybe we can work with this info to fix the laggy freeze problem.

Last edited by tekkkz (2016-11-13 13:08:38)

Offline

#17 2016-11-19 08:26:30

tekkkz
Member
Registered: 2015-08-07
Posts: 68

Re: External connected Display has freeze every 10 seconds

Here is a detailed error log of evdi:

Nov 19 09:22:07 XPS kernel: evdi: [V] painter_unlock:165 
Nov 19 09:22:07 XPS kernel: evdi: [V] evdi_painter_grabpix_ioctl:556 
Nov 19 09:22:07 XPS kernel: evdi: [V] painter_lock:159 
Nov 19 09:22:07 XPS kernel: evdi: [V] copy_pixels:121 
Nov 19 09:22:07 XPS kernel: evdi: [V] copy_pixels:139 copy rect 0,0-1920,1080
Nov 19 09:22:07 XPS kernel: evdi: [V] painter_unlock:165 
Nov 19 09:22:07 XPS kernel: evdi: [V] painter_lock:159 
Nov 19 09:22:07 XPS kernel: evdi: [V] painter_unlock:165 
Nov 19 09:22:07 XPS kernel: evdi: [V] evdi_user_framebuffer_dirty:232 
Nov 19 09:22:07 XPS kernel: evdi: [V] evdi_handle_damage:87 
Nov 19 09:22:07 XPS kernel: evdi: [V] painter_lock:159 
Nov 19 09:22:07 XPS kernel: evdi: [V] painter_unlock:165 
Nov 19 09:22:07 XPS kernel: evdi: [V] painter_lock:159 
Nov 19 09:22:07 XPS kernel: evdi: [V] evdi_painter_mark_dirty:333 (dev=1) 0,0-1920,1080

Offline

Board footer

Powered by FluxBB