You are not logged in.

#1 2018-06-20 17:55:57

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

[SOLVED] Conky Flickers when I Show Desktop

My graphics setup:

lspci | grep VGA =

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)

Here's the whole lspci -v output:  https://pastebin.com/PcGit5uz

Now the issue is that when I show desktop (and also when I restore windows) in Xfce, my conky disappears for a half second. So I see here:

https://wiki.archlinux.org/index.php/co … flickering

apparently that I must have dbe, but I don't:

$ ls /usr/lib/xorg/modules
drivers     input      libfbdevhw.so  libglamoregl.so  libshadowfb.so  libvbe.so    libwfb.so
extensions  libexa.so  libfb.so       libint10.so      libshadow.so    libvgahw.so
$ grep LoadModule /var/log/Xorg.0.log
[   145.079] (II) LoadModule: "glx"
[   145.080] (II) LoadModule: "intel"
[   145.080] (II) LoadModule: "modesetting"
[   145.080] (II) LoadModule: "fbdev"
[   145.080] (II) LoadModule: "vesa"
[   145.098] (II) LoadModule: "dri3"
[   145.098] (II) LoadModule: "dri2"
[   145.098] (II) LoadModule: "present"
[   145.142] (II) LoadModule: "libinput"

it seems. But I don't see how to get dbe, if that's indeed what I need. I also don't have any files in /etc/X11/xorg.conf.d in reality, not that I need one I guess. This is a brand-new install of everything, just last week.

All I want really is for conky not to disappear for that half second b/c the whole reason I show desktop is to see what conky says. smile

Last edited by CaptainKirk (2018-06-21 13:36:12)

Offline

#2 2018-06-20 20:03:25

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] Conky Flickers when I Show Desktop

You're probably running conky on the root window?
Did you try to deactivate the xfwm compositor?

Offline

#3 2018-06-20 23:49:01

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: [SOLVED] Conky Flickers when I Show Desktop

seth wrote:

You're probably running conky on the root window?

I don't know. I just put

conky &

in my .initrc.

seth wrote:

Did you try to deactivate the xfwm compositor?

With "enable display compositing" disabled there is no difference.

Thank you.

Last edited by CaptainKirk (2018-06-20 23:53:21)

Offline

#4 2018-06-21 05:32:39

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] Conky Flickers when I Show Desktop

I don't know.

Your conkyrc does…
What happens if you replace xfwm w/ eg. openbox?

Offline

#5 2018-06-21 12:11:35

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: [SOLVED] Conky Flickers when I Show Desktop

Here is my .conkyrc:

conky.config = {  
use_xft		=	true,
double_buffer	=	true,
update_interval	=	1,
alignment		="top_left",
gap_x		=	10,
gap_y		=	10,
no_buffers	=	true,
pad_percents	=	3
 }
 
conky.text = [[...

I ran now openbox --replace & exit and the problem wasn't any better. I then restarted my X session and I don't see conky at all. I ran it in a terminal and see:

$ conky &
[1] 8301
$ conky: desktop window (600291) is subwindow of root window (167)
conky: drawing to desktop window
conky: drawing to double buffer

but I still see nothing.

Offline

#6 2018-06-21 12:18:17

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: [SOLVED] Conky Flickers when I Show Desktop

Used now xfwm4 --replace to go back and conky & output is the same, but I see it now. smile

Offline

#7 2018-06-21 12:52:44

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] Conky Flickers when I Show Desktop

--replace only replaces the current WM process, it does not somehow "install" openbox or xfwm4 as your WM (ie. the absent conky was likely with xfwm4 as WM)

I get similar effects (conky and xcompmgr operating on the root window), but not w/o.

Try

own_window true
own_window_type override
own_window_transparent yes
own_window_colour 000000

conky will then use a _NET_WM_TYPE_DESKTOP window (copying the root window pixmap to appear "transparent") and stay away from the root window.

Offline

#8 2018-06-21 13:04:21

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: [SOLVED] Conky Flickers when I Show Desktop

seth wrote:

--replace only replaces the current WM process, it does not somehow "install" openbox or xfwm4 as your WM (ie. the absent conky was likely with xfwm4 as WM)

Is that not a valid test? It indeed killed xfwm4 and launched openbox as WM and then I re-launched conky and it didn't work. At least I didn't see anything.

Using your code in conky creates its own window, like any other app and unfortunately defeats the purpose. sad

I use Conky to show me certain things, like the date/time and a little calendar, that I can quick-view with Super-D and then put back my desktop with Super-D.

With it's own window, I can't do that.

Resizing the window shows a bit of flicker, but a lot less than when it was on the root window.

Offline

#9 2018-06-21 13:20:41

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] Conky Flickers when I Show Desktop

Me, bug.

own_window true
own_window_type desktop
own_window_transparent yes
own_window_colour 000000

An "override" window should not be decorated or resizable, though.

What I meant was

I then restarted my X session and I don't see conky at all.

restarting the session voids the previous "openbox --replace" call

Offline

#10 2018-06-21 13:27:47

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: [SOLVED] Conky Flickers when I Show Desktop

seth wrote:

An "override" window should not be decorated or resizable, though.

Mine is decorated resizable and movable.

seth wrote:

restarting the session voids the previous "openbox --replace" call

DIdn't seem to as I used "Save session for future logins", but anyhow I tested again just to be sure and after  "openbox --replace"  conky shows nothing.

However you solution of a window may work just as well -- I can just click on the window instead of Super-D. smile

Thank you.

Offline

#11 2018-06-21 13:35:55

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: [SOLVED] Conky Flickers when I Show Desktop

Sorry, my bad. The code must have "override" in quotes:

own_window = true,
own_window_type = "override",
own_window_transparent = yes,
own_window_colour = 000000,


With that, it works perfectly and shows on my desktop and does not disappear on "Show Desktop" and works perfectly with zero flickering.

Thank you, Seth!

Offline

Board footer

Powered by FluxBB