After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792642 - housekeeping: Add a GPU memory usage notification
housekeeping: Add a GPU memory usage notification
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: housekeeping
unspecified
Other All
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2018-01-18 12:53 UTC by Bastien Nocera
Modified: 2019-03-20 11:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
housekeeping: Add a GPU memory usage notification (234.82 KB, patch)
2018-01-18 12:54 UTC, Bastien Nocera
rejected Details | Review

Description Bastien Nocera 2018-01-18 12:53:56 UTC
.
Comment 1 Bastien Nocera 2018-01-18 12:54:03 UTC
Created attachment 367012 [details] [review]
housekeeping: Add a GPU memory usage notification

Only works on supported nvidia GPUs and nvidia binary driver
combinations.
Comment 2 Bastien Nocera 2018-01-18 12:55:53 UTC
Review of attachment 367012 [details] [review]:

This could be interesting, but not to gnome-settings-daemon, it's far too hardware specific. Could this be packaged in some nvidia specific desktop package instead?
Comment 3 Bastien Nocera 2018-01-18 12:59:14 UTC
Hans, any ideas where this could live? It just needs some syntactic sugar to build independently, and a .desktop file to autostart when the NVidia driver is used.
Comment 4 Bastien Nocera 2018-01-18 13:06:12 UTC
Or maybe Lionel knows a way to implement this that'd work across GPUs?
Comment 5 Lionel Landwerlin 2018-01-18 13:15:32 UTC
No, sorry.
The closest would be some debug/sysfs parsing, but that still driver specific.
Comment 6 Bastien Nocera 2018-01-18 16:25:24 UTC
(In reply to Lionel Landwerlin from comment #5)
> No, sorry.
> The closest would be some debug/sysfs parsing, but that still driver
> specific.

In a way that works on the 3 biggest open source drivers for the Linux desktop then?
Comment 7 Lionel Landwerlin 2018-01-18 16:39:17 UTC
The DRM subsystem is just focused on the display side of things.
Most memory allocation for everything else is handled per driver :(
Since it is mostly used by 3d/compute userspace drivers (which are hardware specific again), there isn't much interest to make a generic layer to inspect allocations.
Comment 8 GNOME Infrastructure Team 2019-03-20 11:52:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/380.