Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shared encode/decode not being displayed on AMD #353

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

Steve-Tech
Copy link
Contributor

Hi,

The UI only shows the decode usage when encode_decode_shared is true but amdgpu will only use the encode usage field when it is shared, causing nvtop to never show any usage. I've now made it save the usage to the decode usage field when it's shared.
#352 seems related, but seemingly not solved.

I also made the ENC/DEC field longer, so that there's a proper usage bar and 100% doesn't look bad.
Before:
image
After:
image

Thanks,
Steve

Previously "ENC/DEC" took up most of the space leaving only 2 characters for the percentage & bar.
@Syllo
Copy link
Owner

Syllo commented Jan 19, 2025

Thank you!

I remember it used to advertise the shared decode/encode as decode but it could have changed with a kernel version or newer GPUs …
Adding both metrics will hopefully work for both cases 😅

@Syllo Syllo merged commit 3e8c6ae into Syllo:master Jan 19, 2025
3 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.

2 participants