Conky widget not displayed properly after installing nvidia driver

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
siamhie
Global Moderator
Posts: 3815
Joined: Fri Aug 20, 2021 5:45 pm

Re: Conky widget not displayed properly after installing nvidia driver

#11 Post by siamhie »

Eadwine Rose wrote: Tue Aug 12, 2025 1:21 pm Is there somewhere in the whatchamacallit (it's hot here ;) ) a max height stated?
There's no maximum height shown in the conky.conf section. Only minimum.

Code: Select all

minimum_width = 220, minimum_height = 220,

@Lola
Post your MX-Cowon_MildBlue configuration.
It will be in the ~/.conky folder under MX-CowonMildBlue.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

Lola
Posts: 10
Joined: Sun Aug 11, 2024 3:02 pm

Re: Conky widget not displayed properly after installing nvidia driver

#12 Post by Lola »

The Conky config is as follows:

Code: Select all

conky.config = {
--#####################
-- - Conky settings - #
--#####################
	update_interval = 1,
	total_run_times = 0,
	net_avg_samples = 1,
	cpu_avg_samples = 1,

	imlib_cache_size = 0,
	double_buffer = true,
	no_buffers = true,

--####################
-- - Text settings - #
--####################
	use_xft = true,
    font = 'Roboto-Light:size=100',
	override_utf8_locale = true,
	text_buffer_size = 2048,
	xftalpha = 0.9,

--############################
-- - Window specifications - #
--############################
	own_window_class = 'Conky',
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,

	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
--own_window_argb_visual yes
--own_window_argb_value 100

	alignment = 'top_right',
	gap_x = 40,
	gap_y = 40,
	minimum_width = 200, minimum_height = 220,

	
--########################
-- - Templates - 		#
--########################

template1 = '${color4}${font RobotoMono-Light:bold:pixelsize=12}${offset 8}',
template2 = '${offset 4} ${color4}batt${offset 6}',

	
--########################
-- - Graphics settings - #
--########################
	draw_shades = false,

	--hour
	default_color = 'aabbcc',
	default_shade_color = '1d1d1d',
	color0 = 'ffffff',
	--date
	color1 = 'aabbcc',
	--min
	color2 = '77ddff',
	--text
	color3 = '77ddff',
	--percentages
	color4 = 'aabbcc',

--lua_load ~/.conky/conkybg.lua
--lua_draw_hook_pre conky_draw_bg

	own_window_argb_value = 0,
	own_window_argb_visual = true,
	own_window_colour = '000000',
	lua_load = 'lua/conky.lua',

};

-- fluxbox adjustment
-- if os.getenv("XDG_SESSION_DESKTOP") == 'fluxbox' then
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
   _VERSION ~= 'Lua 5.1' and return_code then
   conky.config.own_window_transparent = true
   conky.config.own_window_argb_visual = false
end

conky.text = [[
${if_match "${lua time A}" == "${time %A}"}${lua set_time A}\
${else}${lua set_time a}${endif}\
${if_match "${lua time B}" == "${time %B}"}${lua set_time B}\
${else}${lua set_time b}${endif}\
${voffset -176}
${lua hours}
${color2}${offset 36}${voffset -95}${time %M}
${voffset -130}${offset 10}\
${if_match "${lua cjk}" == "false"}\
${font Roboto-Light:bold:size=12}\
${else}\
${font wqy-microhei:bold:size=12}\
${endif}\
${color1}${lua date}
${offset 150}${voffset -175}\
${if_match "${lua cjk}" == "false"}\
${font Roboto-Light:size=12}\
${else}\
${font wqy-microhei:size=12}\
${endif}\
${color2}${lua AM_PM}
#system
${offset 0}${voffset 160}\
${font Roboto-Light:bold:pixelsize=14}${offset 12}${color3}hdd \
${offset 2}${color4}\
${font RobotoMono-Light:bold:pixelsize=12}${fs_used_perc /}%\
${font Roboto-Light:bold:pixelsize=14}\
${offset 4}${color3} mem \
${offset 2}${color4}\
${font RobotoMono-Light:bold:pixelsize=12}${lua memperc}%\
${font Roboto-Light:bold:pixelsize=14}\
${offset 2}${offset 4}${color3}cpu\
${color4}${font RobotoMono-Light:bold:pixelsize=12}${lua cpu}%\
#battery
${offset 0}${voffset 10}\
${if_existing /sys/class/power_supply/BAT0/present/ 1}${template1}
${template2}${battery_bar 8,80 BAT0} ${battery_percent BAT0}% ${endif}\
${if_existing /sys/class/power_supply/BAT0}${template1}
${template2}${battery_bar 8,80 BAT0} ${battery_percent BAT0}% ${endif}\
${if_existing /sys/class/power_supply/BAT1}${template1}
${template2}${battery_bar 8,80 BAT1} ${battery_percent BAT1}% ${endif}
${voffset -190}
]];
It is the same as the reference file posted by @CharlesV. The only difference was that minimum_height was set to 200. Increasing it has no effect on the bug.

Meanwhile, I've been testing the other Conky widgets. They likewise have issues with text alignment. The cropping only seems to affect Cowon widgets. MX-Conkyglass:conkys is one widget that works correctly.

User avatar
ForkTheWire
Posts: 65
Joined: Sat Dec 16, 2023 7:41 am

Re: Conky widget not displayed properly after installing nvidia driver

#13 Post by ForkTheWire »

@Lola I have a suspicion, might be wrong but check this out:
OG post: viewtopic.php?p=805321#p805321
Other User case: viewtopic.php?p=810449#p810449
During the xfce4.20 update a few things needed readjusting. My Conkies were misbehaving, similarly looking to your screenshots.
Check your QSI though to find out your screen DPI.

Edit: Please disregard the above... I keep reminding myself not to post at night, as I often end up writing irrelevant things. I completely overlooked the mention of KDE instead of Xfce. My apologies!
Last edited by ForkTheWire on Sun Aug 17, 2025 3:51 am, edited 1 time in total.

User avatar
siamhie
Global Moderator
Posts: 3815
Joined: Fri Aug 20, 2021 5:45 pm

Re: Conky widget not displayed properly after installing nvidia driver

#14 Post by siamhie »

OK, your conky code is identical to the one I have.

Lola wrote: Wed Aug 13, 2025 5:04 am It is the same as the reference file posted by @CharlesV. The only difference was that minimum_height was set to 200. Increasing it has no effect on the bug.
That only changes the minimum height conky is suppose to display the window. Currently set to 220 pixels.

Code: Select all

minimum_height=integer_number

Minimum height of the window.

What is the make and model of the monitor? Maybe a change in the DPI occurred with the new drivers.

Code: Select all

Graphics:
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x343mm (23.70x13.50") s-diag: 693mm (27.28")
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.54x13.23")
    diag: 686mm (27.01") modes: N/A
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

Lola
Posts: 10
Joined: Sun Aug 11, 2024 3:02 pm

Re: Conky widget not displayed properly after installing nvidia driver

#15 Post by Lola »

Here's my monitor info from a previous forum post I made, so from quite a while ago:

Code: Select all

Graphics:
  Device-1: NVIDIA GK110 [GeForce GTX TITAN] vendor: ASUSTeK GTXTITAN-6GD5 driver: nouveau
    v: kernel non-free: series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx
    process: TSMC 28nm built: 2012-18 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s ports: active: HDMI-A-1 empty: DP-1,DVI-D-1,DVI-I-1 bus-ID: 01:00.0
    chip-ID: 10de:1005 class-ID: 0300 temp: 51.0 C
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Samsung S27C750 serial: <filter> built: 2013
    res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.3 Mesa 23.1.2-1~mx23ahs renderer: NVF0 direct-render: Yes
And here is the info from my current QSI:

Code: Select all

Graphics:
  Device-1: NVIDIA GK110 [GeForce GTX TITAN] vendor: ASUSTeK GTXTITAN-6GD5 driver: nvidia
    v: 470.256.02 non-free: series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler
    code: GKxxx process: TSMC 28nm built: 2012-18 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1005 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x343mm (23.70x13.50") s-diag: 693mm (27.28")
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.54x13.23")
    diag: 686mm (27.01") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 470.256.02 renderer: NVIDIA GeForce GTX TITAN/PCIe/SSE2
    direct-render: Yes
So under Screen-1 the DPI has changed from 96 to 81, while under Monitor-1 the DPI remains the same at 82.

User avatar
siamhie
Global Moderator
Posts: 3815
Joined: Fri Aug 20, 2021 5:45 pm

Re: Conky widget not displayed properly after installing nvidia driver

#16 Post by siamhie »

Lola wrote: Wed Aug 13, 2025 11:57 am Here's my monitor info from a previous forum post I made, so from quite a while ago:

Code: Select all

Graphics:
  Device-1: NVIDIA GK110 [GeForce GTX TITAN] vendor: ASUSTeK GTXTITAN-6GD5 driver: nouveau
    v: kernel non-free: series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx
    process: TSMC 28nm built: 2012-18 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s ports: active: HDMI-A-1 empty: DP-1,DVI-D-1,DVI-I-1 bus-ID: 01:00.0
    chip-ID: 10de:1005 class-ID: 0300 temp: 51.0 C
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Samsung S27C750 serial: <filter> built: 2013
    res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.3 Mesa 23.1.2-1~mx23ahs renderer: NVF0 direct-render: Yes
And here is the info from my current QSI:

Code: Select all

Graphics:
  Device-1: NVIDIA GK110 [GeForce GTX TITAN] vendor: ASUSTeK GTXTITAN-6GD5 driver: nvidia
    v: 470.256.02 non-free: series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler
    code: GKxxx process: TSMC 28nm built: 2012-18 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1005 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x343mm (23.70x13.50") s-diag: 693mm (27.28")
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.54x13.23")
    diag: 686mm (27.01") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 470.256.02 renderer: NVIDIA GeForce GTX TITAN/PCIe/SSE2
    direct-render: Yes
So under Screen-1 the DPI has changed from 96 to 81, while under Monitor-1 the DPI remains the same at 82.

Seems the nouveau driver works better out of the box.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

Lola
Posts: 10
Joined: Sun Aug 11, 2024 3:02 pm

Re: Conky widget not displayed properly after installing nvidia driver

#17 Post by Lola »

I've switched back to the Nouveau driver, and Conky works correctly again. The moral of this story is: don't use the official nvidia driver on Linux, stick with nouveau (at least with an outdated GPU).

User avatar
Eadwine Rose
Administrator
Posts: 15321
Joined: Wed Jul 12, 2006 2:10 am

Re: Conky widget not displayed properly after installing nvidia driver

#18 Post by Eadwine Rose »

Nope.. moral is: if it ain't broke, don't fix it. ;)
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

django013
Posts: 211
Joined: Sat Feb 11, 2023 3:25 am

Re: Conky widget not displayed properly after installing nvidia driver

#19 Post by django013 »

@Lola
check KDE-settings: "behaviour - fonts", there's a setting, that might be changed by installing nvidia driver
KDE_Fonts_DPI.png
With that checkbox unchecked, kde uses some kind of dynamic dpi settings for fonts, which results in odd appearance.
Your dpi-number might be different. That's not important. Important is, that the checkbox is checked
You do not have the required permissions to view the files attached to this post.
MC: ASUS PRIME A320M-K, AMD Ryzen 5 3600, NVIDIA Quadro P400
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER

Post Reply

Return to “MX Help”