Skip to content

Tweaked RX/TX collection and drawing#1521

Merged
aristocratos merged 2 commits intoaristocratos:mainfrom
TheSovietPancakes:main
Jan 31, 2026
Merged

Tweaked RX/TX collection and drawing#1521
aristocratos merged 2 commits intoaristocratos:mainfrom
TheSovietPancakes:main

Conversation

@TheSovietPancakes
Copy link
Copy Markdown
Contributor

fixes: #1426
This issue corrects a previous mistake I made where I forgot to update the section of btop_draw.cpp that handles drawing the TX: and RX: labels at the bottom of the GPU box. I have also modified linux/btop_collect.cpp to make it so RX/TX values are collected and displayed properly for both NVML and RSMI devices (although unfortunately my Radeon 9070 XT does not support the PCIe speed function so I could not test this platform).

Before:
image

After:
image
Notice how for the AMD card in "After", that the RX and TX labels are absent because no data could be collected for that card. I'm not sure if this was intended behavior, but I disabled drawing it here since it may lead the user to believe that no traffic is happening when in fact btop is just unable to read it. I can always change this back, however.

@aristocratos aristocratos merged commit 58c89fd into aristocratos:main Jan 31, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] GPU TX/RT goes too far down in some cases, after update.

2 participants