You are not logged in.

#1 2016-09-23 20:22:00

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

[SOLVED] Conky font flickering (temporal anti-aliasing issues)

Hallo,
i have font flickering in Conky ttf fonts (anti-aliasing issues). When i turn 'anti-aliasing' off in XFCE it doesn't happen. It happens more often the lower the update rate (more fps). I used 0.2 (5 fps).
Anyone know why this is happening and how i can fix that? Is it working for anyone without flickering?

XFCE
Compton composer
nouveau
hinting=slight
ttf-win7-fonts

Example video (best viewed at 100% size / pixel exact):
https://dl.dropboxusercontent.com/s/hzt … kering.mkv

Conky script:

conky.config = {
    alignment = 'top_left',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = yes,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    font = 'DejaVu Sans Mono:size=12',
    gap_x = 200,
    gap_y = 20,
    minimum_height = 50,
    minimum_width = 50,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'normal',
    stippled_borders = 0,
    update_interval = 0.2,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
    show_graph_scale = true,
    show_graph_range = true
}

conky.text = [[
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$hr
]]

Edit: Looks like this was the culprit: double_buffer = yes -> double_buffer = true

Last edited by Maniaxx (2016-09-23 21:35:17)


sys2064

Offline

Board footer

Powered by FluxBB