nvtop icon indicating copy to clipboard operation
nvtop copied to clipboard

How to specify nvtop to monitor Nvidia gpu only when my PC has an integrated Intel GPU with CPU?

Open pengzhenghao opened this issue 1 year ago • 5 comments

Hi,

The error messgae will be:

nvtop: ./src/extract_gpuinfo_intel.c:226: parse_drm_fdinfo_intel: Assertion `!cache_entry_check && "We should not be processing a client id twice per update"' failed.
                           Aborted (core dumped)

pengzhenghao avatar Feb 22 '24 19:02 pengzhenghao

Hello, What version of nvtop are you using? If you have one of the latest version you have a menu through F2 where you can de-select the GPUs you don't want to monitor.

Syllo avatar Feb 23 '24 13:02 Syllo

I am using version 3.0.0

Sorry I have no idea how to uninstall/upgrade version to 3.1.0

pengzhenghao avatar Mar 05 '24 03:03 pengzhenghao

I started to see this error sporadically on a system with an integrated AMD GPU and a discrete NVIDIA GPU. For a while I didn't realise nvtop was capable of monitoring the iGPU (it always just showed the NVIDIA stas), then briefly it displayed both graphs and then started to crash on launch with this error message.

If this is the same error, then nvtop crashes before the interface loads (so you can't F2). This was with version 3.0.2 installed via apt, so possible an update to another library broke things. The problem seems to go away if I build from source (i.e. 3.1.0).

@pengzhenghao you can install/build from a clone of this repo (https://github.com/Syllo/nvtop?tab=readme-ov-file#build).

jveitchmichaelis avatar Mar 05 '24 20:03 jveitchmichaelis

Great! If I build it by myself then it works

pengzhenghao avatar Jun 01 '24 20:06 pengzhenghao

@jveitchmichaelis Exactly what happened to me. It was working yesterday, today is not.

If you are in Ubuntu 24.04, you can snap it.

sudo snap install nvtop

jonathanpmartins avatar Jul 31 '24 00:07 jonathanpmartins