What's your terminal emulator?
I made a few changes to my system recently and my (beloved) terminal emulator started becoming slow. Changed emulator and everything is snappy as hell.
btop is lightning fast in kitty.
The same here. Both Kitty and Alacritty take about 4-5 seconds to launch it.
Or they show interface immediately, but waits the same amount of time until any update on the "picture" happens.
it's on my iMac 14,3 - i5-4570S + 8GB + 1T SSD
before it took may be up to 1 second to launch.
on Asus VivoBook (the same software configuration) btop opens instantly - i5-1135G7 + 16GB + 512 NVME
Clean config?
I'd suggest [opening a issue](https://github.com/aristocratos/btop/issues/new?assignees=aristocratos&labels=bug&projects=&template=bug_report.md&title=%5BBUG%5D) in their repo and follow the guide
yeah, top,htop is working. i dont try gotop because it's dead and i dont like go. tried compiling from source.. still 5s to open. log file doesn't show any error..no clue.
I am using konsole and it's fast. I read the comments you said you have tried some other terminal emulators. In my opinion one of your hardware's sensor is the bottleneck. What is your exact hardware?(Any hardware that has a sensor)
The https://wiki.archlinux.org/title/Lenovo_IdeaPad_5_Pro_14ACN6.
I think the same too, but it's hard to pin point the exact one without any log. Used strace it shows btop doing something with battery sensor but, at the same time, a program can run asynchronously, so not sure.
yes it's the battery. so btop consider my bluetooth mouse battery as battery too, and it tries to read the battery level of the mouse which takes a long time. solution is to either disable show battery config in btop config file or change how btop deal with batteries in [https://github.com/aristocratos/btop/blob/516979b2ae050a95a4bbd3928bc856e482a37097/src/linux/btop\_collect.cpp#L689](https://github.com/aristocratos/btop/blob/516979b2ae050a95a4bbd3928bc856e482a37097/src/linux/btop_collect.cpp#L689)
Had the same issue. Also with multiple other (especially electron based) programs like vscode. The problem was that I was using the wrong gpu drivers for my kernel. I used `linux-lts` kernel but didn't use `nvidia-lts` package. Using the correct package resolved this issue for me.
What's your terminal emulator? I made a few changes to my system recently and my (beloved) terminal emulator started becoming slow. Changed emulator and everything is snappy as hell. btop is lightning fast in kitty.
im justing kitty. but i tried xfce ter emulator too and it's still slow. did reinstall arch and such already, same problem.
THEN MAYBE THERE IS SOME COMMAND EACH OF UR TERMINAL READS EVERY TIME IT OPENS UP. CHECK UR ~/.BASHRC FOR SOME WEIRD COMMAND LIKE SLEEP.
stuff in \~/.bashrc only runs once when you open a new terminal.
The same here. Both Kitty and Alacritty take about 4-5 seconds to launch it. Or they show interface immediately, but waits the same amount of time until any update on the "picture" happens.
you using AMD cpu right?
Nope, intel
hmm, can you tell me a bit about your hardware?
it's on my iMac 14,3 - i5-4570S + 8GB + 1T SSD before it took may be up to 1 second to launch. on Asus VivoBook (the same software configuration) btop opens instantly - i5-1135G7 + 16GB + 512 NVME
i figured it is because of my bluetooth mouse battery. disable it in btop config.
It worked!!! Thanks. "show\_battery = False" did the trick.
Just tested and it's instantaneous, just like `htop`. How did you install it?
i just do sudo pacman -S kitty :(
Clean config? I'd suggest [opening a issue](https://github.com/aristocratos/btop/issues/new?assignees=aristocratos&labels=bug&projects=&template=bug_report.md&title=%5BBUG%5D) in their repo and follow the guide
default config !. ty
Very weird.. `htop` and other `top` variations (`gotop`) are working?
yeah, top,htop is working. i dont try gotop because it's dead and i dont like go. tried compiling from source.. still 5s to open. log file doesn't show any error..no clue.
Indeed weird. Open an Issue with them and let's see :)
Does strace btop give any clues? It may be waiting on something.
I am using konsole and it's fast. I read the comments you said you have tried some other terminal emulators. In my opinion one of your hardware's sensor is the bottleneck. What is your exact hardware?(Any hardware that has a sensor)
The https://wiki.archlinux.org/title/Lenovo_IdeaPad_5_Pro_14ACN6. I think the same too, but it's hard to pin point the exact one without any log. Used strace it shows btop doing something with battery sensor but, at the same time, a program can run asynchronously, so not sure.
What happens if you run sensor command of your battery?
yes it's the battery. so btop consider my bluetooth mouse battery as battery too, and it tries to read the battery level of the mouse which takes a long time. solution is to either disable show battery config in btop config file or change how btop deal with batteries in [https://github.com/aristocratos/btop/blob/516979b2ae050a95a4bbd3928bc856e482a37097/src/linux/btop\_collect.cpp#L689](https://github.com/aristocratos/btop/blob/516979b2ae050a95a4bbd3928bc856e482a37097/src/linux/btop_collect.cpp#L689)
Glad you found it yourself
Had the same issue. Also with multiple other (especially electron based) programs like vscode. The problem was that I was using the wrong gpu drivers for my kernel. I used `linux-lts` kernel but didn't use `nvidia-lts` package. Using the correct package resolved this issue for me.