>Synopsis:Conky XFT Crash 7.6
>Category: Graphical bug
>Environment:
System : OpenBSD 7.6
Details : OpenBSD 7.6 (GENERIC.MP) #338: Mon Sep 30 08:55:35 MDT 2024
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
Conky crashes on 7.6 with this video card, it works in a VM with the same
settings so it's video driver related and XFT related.
If XFT is disabled in conky then it does not cause a crash.
Conky: desktop window (1dd) is root window
Conky: window type - desktop
Conky: drawing to created window (0x600001)
Conky: drawing to single buffer
X connection to :0 broken (explicit kill or server shutdown).
[592650.018] Program source:
#version 130
#ifdef GL_ES
precision mediump float;
#endif
#define RepeatNone 0
#define RepeatNormal 1
#define RepeatPad 2
#define RepeatReflect 3
#define RepeatFix 10
uniform int source_repeat_mode;
uniform int mask_repeat_mode;
vec2 rel_tex_coord(vec2 texture, vec4 wh, int repeat)
{
vec2 rel_tex;
rel_tex = texture * wh.xy;
if (repeat == RepeatFix + RepeatNone)
return rel_tex;
else if (repeat == RepeatFix + RepeatNormal)
rel_tex = floor(rel_tex) + (fract(rel_tex) / wh.xy);
else if (repeat == RepeatFix + RepeatPad) {
if (rel_tex.x >= 1.0)
rel_tex.x = 1.0 - wh.z * wh.x / 2.;
else if (rel_tex.x < 0.0)
rel_tex.x = 0.0;
if (rel_tex.y >= 1.0)
rel_tex.y = 1.0 - wh.w * wh.y / 2.;
else if (rel_tex.y < 0.0)
rel_tex.y = 0.0;
rel_tex = rel_tex / wh.xy;
} else if (repeat == RepeatFix + RepeatReflect) {
if ((1.0 - mod(abs(floor(rel_tex.x)), 2.0)) < 0.001)
[592650.018] (EE)
Fatal server error:
[592650.018] (EE) GLSL compile failure
[592650.018] (EE)
[592650.018] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[592650.018] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[592650.018] (EE)
[592650.019] (EE) ws: /dev/wsmouse: unknown command 4
[592650.064] (II) AIGLX: Suspending AIGLX clients for VT switch
[592650.078] (EE) Server terminated with error (1). Closing log file.
Clue enough for you? :D
>How-To-Repeat:
Turn on XFT in conky
cat .conky/clock/circle
background yes
use_xft yes
xftfont Roboto:size=9
xftalpha 0.8
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
>Fix:
Sent with [Proton Mail](https://proton.me/mail/home) secure email.