aristocratos / btop

A monitor of resources
Apache License 2.0
19.21k stars 605 forks source link

[REQUEST] #922

Open psiho opened 2 weeks ago

psiho commented 2 weeks ago

btop stopped working for me long ago, but I found some time to ask now. It seems issue is with rocm-smi-lib which doesn't play well with integrated GPU on AMD 5700G. Issue is described here: https://github.com/ROCm/rocm_smi_lib/issues/167 Workarround seems to be to disable integrated GPU :)

after starting btop I get:

/usr/src/debug/rocm-smi-lib/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc:133: uint64_t get_multiplier_from_str(char): Assertion 'false' failed.
zsh: IOT instruction (core dumped)

Can this somehow be disabled from btop? I'd be happy without GPU monitoring (or is it used for rendering?)

imwints commented 1 week ago

From the README.md:

For x86_64 Linux the flag GPU_SUPPORT is automatically set to true, to manually disable gpu support set the flag to false, like:

make GPU_SUPPORT=false (or cmake -DBTOP_GPU=false with CMake)

psiho commented 1 week ago

I'm aware of (re)compiling it with that flag but it's a pain to install and maintain it outside of package manager. I'm really trying to avoid custom builds on this system and was hoping it can be disabled in some runtime option or have alternative version in AUR.

imwints commented 1 week ago

This is not possible