congard / nvidia-system-monitor-qt

Task Manager for Linux for Nvidia graphics cards
MIT License
161 stars 23 forks source link

Feature request: Make the window scrollable #27

Closed jankais3r closed 1 year ago

jankais3r commented 1 year ago

Hi,

I installed the flatpak release on Ubuntu Mate 22.04 and I don't see any charts in the GUI.

image

I first thought that maybe it's the pink line since the GPUs sit at 0% utilization, but even when I maxxed all of them to 100% the line didn't move. Any idea what could be causing this?

UPDATE Mystery solved - there are so many GPUs that the charts got squished into what looks like a line. When I vertically expanded the window, the charts appeared as expected. I don't know how difficult this would be in QT, but would it be possible to make the window scrollable? Right now I cannot access the bottom values since I have to make the window taller than my screen to see the charts at all, but that pushes the stats outside the screen area. image

congard commented 1 year ago

Hi, could you test the latest master, please? Manual building is described here and here

jankais3r commented 1 year ago

Hi,

Many thanks for working on my request so promptly. I compiled the latest version, but there are still some things to resolve.

image

congard commented 1 year ago

So, I've set min height of charts to 96 and enabled scrolling: image

Also, I've decreased vertical spacing for the legend layout.

Could you test the latest master, please?

jankais3r commented 1 year ago

Hi, this is a big improvement, but it still doesn't work 100%.

1) The scrollbar only shows up when the window can't fit the charts + 1 row of GPUs. It should appear much sooner, as soon as the first GPU row disappears.

https://user-images.githubusercontent.com/2159464/218342570-f437fb8e-87ae-492c-81d9-cc810afb0971.mov

2) The GPUs are not aligned image

Thanks a lot for your continued work on this.

congard commented 1 year ago

Well, I guess it should be ok now. Could you test the latest master, please?

jankais3r commented 1 year ago

Perfect now.

image

Thank you very much!