Skip to content

[Bug]: Lua rings doesn't appear on Wayland #2223

@QkiZMR

Description

@QkiZMR

What happened?

Lua Rings are not appearing on the working Conky. No error in logs. Conky is installed from official Ubuntu repositories, but the problem appears same on conky-ubuntu-24.04-x86_64-v1.22.2.AppImage downloaded from GitHub releases.

On X11 everything works fine.

Version

1.22.0

Which OS/distro are you seeing the problem on?

Ubuntu

Conky config

conky.config= {
out_to_wayland = true,
alignment = "top_right",
background = true,
border_inner_margin = 0,
border_width = 0,
top_cpu_separate = true,
default_color = ffffff,
default_outline_color = "000000",
default_shade_color = "999999",
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = true,
draw_shades = false,
gap_x = 0,
gap_y = 20,
maximum_width = 222,
minimum_width = 222,
own_window = true,
own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager",
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 0,
own_window_type = "normal",
own_window_class = "conky",
show_graph_scale = true,
total_run_times = 0,
update_interval = 3,
text_buffer_size = 1024,
use_xft = true,
font = "Nokia Sans S60:size=8",
xftalpha = 1,
lua_load = "~/.conky/qkiz_rings.lua",
lua_draw_hook_post = "main_rings",
};

conky.text = [[
${offset 16}${font OpenLogos:size=20}u ${voffset -7}${font Nokia Sans S60:size=14}Ubuntu Linux ${execi 3600 lsb_release -a | grep "Release" | cut -f 2}${font}
${offset 18}${voffset 5}${font OpenLogos:size=20}t${font}${voffset -8} ${kernel} ${voffset -10}${font Poky:size=15}S${font} ${voffset -3}${machine}
${offset 35}${voffset 5}${font Poky:size=13}w${font} ${voffset -5}${addrs wlo1} ${voffset -6}${font Poky:size=13}s${font} ${voffset -4}${uptime}
${voffset 5}${alignc}MSI Katana 15 B13VFK
Shift mode: ${execi 5 cat /sys/devices/platform/msi-ec/shift_mode}${alignr}Fan mode: ${execi 5 cat /sys/devices/platform/msi-ec/fan_mode}
Super battery: ${execi 5 cat /sys/devices/platform/msi-ec/super_battery}${alignr}Battery mode: ${execi 5 cat /sys/devices/platform/msi-ec/battery_mode}
${font Poky:size=13}P${font} ${voffset -5}${font Nokia Sans S60:size=10}CPU${font} ${voffset -3}${hr}
${voffset 5}Freq:${freq cpu}MHz ${offset 10}Fan: ${hwmon 6 fan 1} RPM${alignr}Temp: ${acpitemp}°C
${voffset 2}0:${offset 6}${cpubar cpu0 10,70} ${cpu cpu0}%
${voffset -12}${offset 115}1: ${cpubar cpu1 10,70}${alignr}${cpu cpu1}%
${voffset 2}2:${offset 6}${cpubar cpu2 10,70} ${cpu cpu2}%
${voffset -12}${offset 115}3: ${cpubar cpu3 10,70}${alignr}${cpu cpu3}%
${voffset 2}4:${offset 6}${cpubar cpu4 10,70} ${cpu cpu4}%
${voffset -12}${offset 115}5: ${cpubar cpu5 10,70}${alignr}${cpu cpu5}%
${voffset 2}6:${offset 6}${cpubar cpu6 10,70} ${cpu cpu6}%
${voffset -12}${offset 115}7: ${cpubar cpu7 10,70}${alignr}${cpu cpu7}%
${voffset 2}8:${offset 6}${cpubar cpu8 10,70} ${cpu cpu8}%
${voffset -12}${offset 115}9: ${cpubar cpu9 10,70}${alignr}${cpu cpu9}%
${voffset 2}10:${cpubar cpu10 10,70} ${cpu cpu10}%
${voffset -12}${offset 109}11: ${cpubar cpu11 10,70}${alignr}${cpu cpu11}%
${voffset 2}12:${cpubar cpu12 10,70} ${cpu cpu12}%
${voffset -12}${offset 109}13: ${cpubar cpu13 10,70}${alignr}${cpu cpu13}%
${voffset 2}14:${cpubar cpu14 10,70} ${cpu cpu14}%
${voffset -12}${offset 109}15: ${cpubar cpu15 10,70}${alignr}${cpu cpu15}%
${voffset 5}${offset 5}${cpugraph cpu0 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu1 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu2 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu3 25,48 ffff00 ff0000 -t}
${voffset -5}${offset 5}${cpugraph cpu4 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu5 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu6 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu7 25,48 ffff00 ff0000 -t}
${voffset -5}${offset 5}${cpugraph cpu8 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu9 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu10 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu11 25,48 ffff00 ff0000 -t}
${voffset -5}${offset 5}${cpugraph cpu12 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu13 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu14 25,48 ffff00 ff0000 -t}${offset 6}${cpugraph cpu15 25,48 ffff00 ff0000 -t}
Load: ${loadavg}${alignr}Proc: ${running_processes}/${processes}
${voffset 0}${font Poky:size=13}S${font}${voffset -5}${font Nokia Sans S60:size=10}GPU${font} ${voffset -3}${hr}
${voffset 5}NVIDIA GeForce RTX 4060 ${alignr}Driver ver:${execi 3600 modinfo nvidia | grep -E "^version:" | awk '{print $2}'}
${offset 15}${voffset 19}${nvidia gpuutil}%
${offset 55}${voffset -25}${nvidiagraph gpuutil 30,95 ffff00 ff0000 -t 0}
${offset 155}${voffset -35}Freq:${nvidia gpufreqcur}Mhz
${offset 155}${voffset 3}Temp:${nvidia gputemp}°C
${offset 155}${voffset 3}Fan: ${hwmon 6 fan 2} RPM
${offset 15}${voffset 12}${nvidia memutil}%
${offset 55}${voffset -25}${nvidiagraph memutil 30,95 ffff00 ff0000 -t 0}
${offset 155}${voffset -35}Used:${nvidia memused}MB
${offset 155}${voffset 3}Free:${nvidia memfree}MB
${voffset 5}${font Poky:size=13}M${font}${voffset -5}${font Nokia Sans S60:size=10}MEM${font} ${voffset -3}${hr}
${voffset 7}${font}RAM:${mem} Free:${memeasyfree}
Cache: ${cached} Dirty: ${memdirty}
Swap: ${swapperc}% ${swap} / ${swapmax}
${memgraph 26,150 ffff00 ff0000 -t}${font Nokia Sans S60:size=6}${offset 34}${voffset -21}ram${voffset 8}${offset -13}swp${font}
${voffset 3}${font Poky:size=13}y${font}${voffset -5}${font Nokia Sans S60:size=10}DISK${font} ${voffset -3}${hr}
${font}${voffset 20}${offset 13}${fs_used_perc /}%
${offset 50}${voffset -20}${font}Disk /${alignr}Use:${fs_used /}/${fs_size /}
${offset 50}${voffset 3}Free:${fs_free /}${alignr}Temp: ${hwmon nvme temp 2} °C
${voffset 20}${offset 13}${fs_used_perc /home}%
${offset 50}${voffset -20}Disk /home${alignr}Use:${fs_used /home}/${fs_size /home}
${offset 50}${voffset 3}Free:${fs_free /home}${alignr}Temp: ${execi 10 sensors nvme-pci-0300 -j | jq '."nvme-pci-0300"."Composite"."temp1_input"' - | head -c 2} °C
${font Poky:size=13}w${font}${voffset -7}${font Nokia Sans S60:size=10}NET${font} ${voffset -3}${hr}
${font}${voffset 8}Download:${alignr 0}Upload:
${font Nokia Sans S60:size=7}${downspeedf wlo1} kB / ${totaldown wlo1}${alignr}${upspeedf wlo1} kB / ${totalup wlo1}
${downspeedgraph wlo1 30,105 scale }${alignr}${upspeedgraph wlo1 30,105 scale}
${voffset -5}${font Poky:size=13}r${font}${voffset -5}${font Nokia Sans S60:size=10}TOP${font} ${voffset -3}${hr}
${voffset 5}Top CPU${alignr}CPU%   MEM%
${offset 13}1. ${top name 1}${alignr}${top cpu 1}     ${top mem 1}
${offset 13}2. ${top name 2}${alignr}${top cpu 2}     ${top mem 2}
${offset 13}3. ${top name 3}${alignr}${top cpu 3}     ${top mem 3}
Top MEM${alignr}MEM%
${offset 13}1. ${top_mem name 1}${alignr}${top_mem mem 1}
${offset 13}2. ${top_mem name 2}${alignr}${top_mem mem 2}
${offset 13}3. ${top_mem name 3}${alignr}${top_mem mem 3}
Top IO${alignr}IO%   Read   Write
${offset 13}1. ${top_io name 1}${alignr}${top_io io_perc 1}%   ${top_io io_read 1}   ${top_io io_write 1}
${offset 13}2. ${top_io name 2}${alignr}${top_io io_perc 2}%   ${top_io io_read 2}   ${top_io io_write 2}
${offset 13}3. ${top_io name 3}${alignr}${top_io io_perc 3}%   ${top_io io_read 3}   ${top_io io_write 3}
]]

Stack trace

no stacktrace

Relevant log output

conky: desktop window (0x41e) is root window
conky: window type - normal
conky: drawing to created window (0x1800002)
conky: drawing to double buffer
conky: forked to background, pid is 486717
conky: FOUND: wayland
conky: FOUND: x11
conky: FOUND: file
conky: FOUND: ncurses
conky: FOUND: console
conky: '(null)' wayland session running 'KDE' desktop
conky: print_nvidia_value: NV-CONTROL X extension not present
conky: get_nvidia_barval: NV-CONTROL X extension not present

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrelated to incorrect existing implementation of some functionalityenv: xwaylandonly present when XWayland is usedtriageissue that hasn't been verified, categorized or acknowledged yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions