this post was submitted on 13 May 2024
35 points (94.9% liked)

Linux

48179 readers
1506 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Something like nvtop perhaps?

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 6 months ago (1 children)

I don't have a Nvidia GPU, so I can't test it, maybe Mission Center works.

From their GitLab readme:

Monitor overall GPU usage, video encoder and decoder usage, memory usage and power consumption, powered by the popular NVTOP project

[–] [email protected] 3 points 6 months ago (1 children)

That looks like a nice project. Though sadly didn't work for NVK. I'm assuming it would work with a proprietary driver since it's based on nvtop.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (1 children)

Does nvk expose anything thru sysfs?
Take a look at "/sys/class/drm/card*/device/"

[–] [email protected] 2 points 6 months ago (1 children)

It says "nouveau" on uevent but that's all I guess. AMD driver is also open source, how does that work for it? Nvidia recently opened the kernel parts of the driver, it's possible that my system haven't got those parts yet. Maybe there is still time for NVK. All I can say is, Wayland experience is better with NVK comparing to proprietary driver.

[–] [email protected] 2 points 6 months ago

AMD drivers expose API thru sysfs and system monitors just parse that. Seems like nouveau does not expose anything like that. You can still put a thumbsup on nvtop issue about nouveau support.

[–] piexil 3 points 6 months ago (1 children)

Afaik there is no way to view usage for nouveau yet

[–] [email protected] 1 points 6 months ago

I see. I'm quite surprised with the current developments of NVK. It already has a better Wayland experience and runs mid-range games great. Though I'm going back to proprietary driver for now and would like to revisit NVK in the near future.

[–] Rustmilian 1 points 6 months ago* (last edited 6 months ago) (1 children)
[–] [email protected] 1 points 6 months ago

Not exactly what I want but still tried it. It shows my GPU as 0%. Is it perhaps it's set to Nvidia proprietary driver somehow? btop was showing GPU as well when I was using proprietary driver but now it doesn't show a GPU.