brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.27k stars 620 forks source link

Conky-git is flickering every time it updates values on the screen. #910

Closed rado84-github closed 4 years ago

rado84-github commented 4 years ago

Issue Conky-git is flickering every time it updates values on the screen.

Information Conky version is the latest conky-git that is available in the Arch repo. I tried all possible settings for own window type and other stuff but it still flickers. The curious thing is that it didn't flicker with kernel versions 5.0.3 through 5.2.5. I made a video using simplescreenrecorder that shows the flickering: https://www87.zippyshare.com/v/A343Cxyy/file.html You might wanna download it within 30 days cuz after that time passes, it will be automatically removed by zippyshare. I was hoping that installing conky-git would fix the problem but it didn't.

Do we require your config? If no, delete this part. Otherwise, place your config inside lua triple backticks. [DELETE ME]

# ******************************************
# "CPU Panel for i7" theme for Conky by Valso (IvoAndonov)
# ******************************************

background no
double_buffer no

alignment top_right

border_width 0
cpu_avg_samples 2
default_color color2
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline yes
draw_shades no

gap_x 14
gap_y 14
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no

own_window yes
own_window_type dock #types: normal, desktop, dock, override, panel
own_window_transparent yes
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

minimum_size 200 300
stippled_borders 0
update_interval 4.0
uppercase no
use_spacer none

show_graph_scale no
show_graph_range no

use_xft yes
xftalpha 0.1
# xftfont Noto Sans:size=15
color0 FFFFFF   #white
color1 FF0000   #red
color2 E2B582   #baige
color3 00BF00   #nVidia green
color4 00BFFF   #sky blue
color5 000000   #black
color6 E57231   #orange
color7 A17FFF   #light purple
color8 C2C2C2   #silver

TEXT
${color4}${font Noto Sans:style=Bold:pixelsize=20}${alignc}Intel Core i7-4770
${color6}${font Noto Sans:style=Bold:pixelsize=20}CPU Load ${alignr}${cpu cpu0}%
${color2}CPU Temp ${color2}${alignr}${hwmon 0 temp 1}° C
${color7}CPU Freq ${color7}${alignr}${freq_g} GHz

${color3}${font Noto Sans:style=Bold:pixelsize=20}${alignc}nVIDIA GTX 1050 Ti 4GB
${color6}GPU Temp${alignr}${execi 60 nvidia-settings -query GPUCoreTemp| grep gpu | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}° C

${color1}${font Noto Sans:style=Bold:pixelsize=20}${alignc}KERNEL VERSION
${color8}${font Noto Sans:style=Bold:pixelsize=20}${alignc}${kernel}

${color2}RAM: ${color2}${alignr}${mem} ${color0}/ ${color2}${memmax}
${color2}${membar 25}

${color8}${top_mem name 1} $alignr ${top_mem mem_res 1}
${color8}${top_mem name 2} $alignr ${top_mem mem_res 2}
${color8}${top_mem name 3} $alignr ${top_mem mem_res 3}
# ${color8}${top_mem name 4} $alignr ${top_mem mem_res 4}
# ${color8}${top_mem name 5} $alignr ${top_mem mem_res 5}

#A note to anyone who reads this config file: the lines below are commented because they're not being displayed properly when enabled and I've left them for a time when I figure out how to make them work.

#${alignc}${color2}Used space
#${color2}${alignc}SSD: ${fs_used /mnt/} ${color0}/ ${color2}${fs_size}
#${color2}${alignc}WD-1000: ${fs_used /media/1000GB/} ${color0}/ ${color2}${fs_size /media/1000GB/}
#${color2}${alignc}WD-500: ${fs_used /media/500GB/} ${color0}/ ${color2}${fs_size /media/500GB/}
#${color2}${fs_bar 25}
lasers commented 4 years ago

I see double_buffer = false.

Try https://github.com/brndnmtthws/conky/wiki/FAQ#conky-wont-stop-flickering Also, https://github.com/brndnmtthws/conky/wiki/Configurations#converting-old-configs-to-110

rado84-github commented 4 years ago

Thanks, lasers, that fixed it! I don't know what double buffer was for, so I didn't touch it.