GPU meter is always zero on a double GPU headed PC
A problem description: The GPU meter added in my htop layout always stays zeroed. Although at the same time nvtop shows existing real load on the GPU.
Expected behavior: the htop's GPU counter show real % load.
Extra information:
- I've checked this behavior on three different PCs. On two different one-GPU-equipped PCs (Intel and AMD) everything works as expected and only on a dual-GPU setup (Intel + NVIDIA) I have experienced the unexpected behavior.
- Configuration details and screenshots below:
PC configuration
System:
Host: HOST Kernel: 6.13.8-arch1-1 arch: x86_64 bits: 64
Desktop: GNOME v: 48.0 Distro: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7B48 v: 1.0
serial:
Auto generated HTOPRC
─────────────────────────────────────────────────────────────────────────────────────────── │ File: .config/htop/htoprc ─────────────────────────────────────────────────────────────────────────────────────────── 1 │ # Beware! This file is rewritten by htop when settings are changed in the interface. 2 │ # The parser is also very primitive, and not human-friendly. 3 │ htop_version=3.4.0-dev-3.4.0 4 │ config_reader_min_version=3 5 │ fields=0 48 17 18 38 39 40 2 111 46 47 49 1 6 │ hide_kernel_threads=0 7 │ hide_userland_threads=0 8 │ hide_running_in_container=0 9 │ shadow_other_users=0 10 │ show_thread_names=0 11 │ show_program_path=1 12 │ highlight_base_name=1 13 │ highlight_deleted_exe=1 14 │ shadow_distribution_path_prefix=0 15 │ highlight_megabytes=1 16 │ highlight_threads=1 17 │ highlight_changes=0 18 │ highlight_changes_delay_secs=5 19 │ find_comm_in_cmdline=1 20 │ strip_exe_from_cmdline=1 21 │ show_merged_command=0 22 │ header_margin=1 23 │ screen_tabs=0 24 │ detailed_cpu_time=1 25 │ cpu_count_from_one=1 26 │ show_cpu_usage=1 27 │ show_cpu_frequency=1 28 │ show_cpu_temperature=1 29 │ degree_fahrenheit=0 30 │ show_cached_memory=1 31 │ update_process_names=0 32 │ account_guest_in_cpu_meter=1 33 │ color_scheme=6 34 │ enable_mouse=1 35 │ delay=15 36 │ hide_function_bar=0 37 │ header_layout=two_50_50 38 │ column_meters_0=AllCPUs 39 │ column_meter_modes_0=1 40 │ column_meters_1=Tasks LoadAverage Uptime Blank GPU Blank Memory Swap CPU 41 │ column_meter_modes_1=2 2 2 2 1 2 1 1 3 42 │ tree_view=0 43 │ sort_key=46 44 │ tree_sort_key=47 45 │ sort_direction=-1 46 │ tree_sort_direction=-1 47 │ tree_view_always_by_pid=0 48 │ all_branches_collapsed=0 49 │ screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE IO_RATE PERCENT_CPU PERCENT_MEM TIME Command 50 │ .sort_key=PERCENT_CPU 51 │ .tree_sort_key=PERCENT_MEM 52 │ .tree_view_always_by_pid=0 53 │ .tree_view=0 54 │ .sort_direction=-1 55 │ .tree_sort_direction=-1 56 │ .all_branches_collapsed=0 57 │ screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command 58 │ .sort_key=IO_RATE 59 │ .tree_sort_key=PID 60 │ .tree_view_always_by_pid=0 61 │ .tree_view=0 62 │ .sort_direction=-1 63 │ .tree_sort_direction=1 64 │ .all_branches_collapsed=0 ───────────────────────────────────────────────────────────────────────────────────────────
I would really appreciate any help on this. Thank you in advance!
Just as an extra idea I guess my htop is trying to read my iGPU load, which isn't in use instead of discrete GPU which is really in use.. Although I can't find an option to set this up manually.
I am also facing the same issue.
I have an nvidia and amd integrated gpu. The nvidia gpu usage is not showing in htop.
Htop - cfb561f
OS - Arch linux
I have a NVIDIA discrete GPU in my desktop which does not have an iGPU, and htop is failing to show GPU usage. Potentially an issue with NVIDIA rather than with the dual-GPU setup?