greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.89k stars 475 forks source link

Net block fills journal with errors #1790

Open Nemris opened 1 year ago

Nemris commented 1 year ago

Overview

After having updated i3status-rust to v0.30.3-1, I ported my old networkmanager block configuration to the net block, as follows:

[[block]]
block = "net"
device = "^wlp2s0$"
format = " $icon $ssid ($ip) \\| $signal_strength"

However, everytime I summon i3bar by holding the Meta key, the following error messages are written in the kernel logs at every update interval of the block:

Feb 27 00:24:53 master kernel: ERROR @wl_dev_intvar_get : 
Feb 27 00:24:53 master kernel: error (-1)
Feb 27 00:24:53 master kernel: ERROR @wl_cfg80211_get_tx_power : 
Feb 27 00:24:53 master kernel: error (-1)

By searching the issue tracker, it appears that #1414 was about a similar problem - however, I didn't happen upon this behavior while I was using the old networkmanager block.


System info

OS: Arch Linux Kernel: Linux master 6.2.9-arch1-1-nemris #65 SMP PREEMPT_DYNAMIC Mon, 03 Apr 2023 22:03:23 +0000 x86_64 GNU/Linux i3status-rust: v0.30.6-1 broadcom-wl-dkms: v6.30.223.271-36

Nemris commented 1 year ago

It appears that this issue is still present irrespective of updates, so I'll be disabling the net block for the time being. I'll remain available in case I can assist in testing fixes.

ammgws commented 1 year ago

Not sure what we can do - doesn't your link point to it being an issue with the broadcom driver?

Nemris commented 1 year ago

I suppose so, but why didn't this behavior emerge while using the old networkmanager block?

Do you have any pointers about how to investigate this further? Unless my Google-Fu failed me hard, I couldn't find much information about this specific error - and driver issues of this kind are a bit outside my area of expertise. Unfortunately, I can't just skip this specific driver either.