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

Applications & Processes Tabs are Blank with No Items. Regression? #119

Open
robinkleem opened this issue Dec 8, 2023 · 12 comments
Open

Comments

@robinkleem
Copy link

I know that this issue has occurred in the past and was addressed. Perhaps there has been a regression?

Here are the key facts:

  • I am running the latest flatpak version of resources.
  • The Applications tab shows "System Processes" 0B Memory and o.o% Processor and nothing else (see image below)
  • Processes tab is entirely blank and shows nothing (see image below)
  • All other tabs, including GPU, are working as expected

If I run "net.nokyan.Resources" from the cli, the application starts and works (with the issues documented above), and I get the following output:

INFO  resources::application > Resources (net.nokyan.Resources)
 INFO  resources::application > Version: 1.2.1 ()
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
 DEBUG resources::application::imp > GtkApplication<Application>::activate

If I run "sudo net.nokyan.Resources" from the cli, the application fails to start and I get the following output:

error: app/net.nokyan.Resources/x86_64/stable not installed

I have tried toggling various settings using flatseal, but this did not make any difference.

I am happy to provide any other information that may be useful to help diagnose this issue.

IMAGES:
image
image

@nokyan
Copy link
Owner

nokyan commented Dec 8, 2023

Hi, thanks for reporting the issue.
Which operating system are you running?

@robinkleem
Copy link
Author

I am running NIxOS 24.05 (Uakari) with Intel CPU and Nvidia GPU. I'm happy to provide a more detailed hardware/software breakdown if it would be helpful. Please let me know specifically what you require. Thank you.

@nokyan
Copy link
Owner

nokyan commented Dec 11, 2023

I am running NIxOS 24.05 (Uakari) with Intel CPU and Nvidia GPU. I'm happy to provide a more detailed hardware/software breakdown if it would be helpful. Please let me know specifically what you require. Thank you.

Resources' process scanning unfortunately doesn't work as a Flatpak on NixOS since Resources needs to launch a seperate executable outside the Flatpak sandbox to do that and NixOS (as far as I know) doesn't support running ordinary executables. In #76, @Lukas-Heiligenbrunner seems to have made it work using NixOS' own package manager. Can you try that?

@robinkleem
Copy link
Author

Firstly, apologies for not reading the previously opened issue in enough detail. As of the moment (12/12/2023), gnome-resources does not appear to be available in the NixOS unstable repo. I will try the NixOS package as soon as it becomes available in the NixOS repo. Thank you.

@Lukas-Heiligenbrunner
Copy link
Contributor

Lukas-Heiligenbrunner commented Dec 12, 2023

Indeed it is :)
https://search.nixos.org/packages?channel=unstable&show=resources&from=0&size=50&sort=relevance&type=packages&query=resources

I'm wondering why everybody tries to put gnome in front of the name, although its only a gtk and not a gnome app, yet^^

@robinkleem
Copy link
Author

Firstly, @nokyan and @Lukas-Heiligenbrunner, thank you both for your respective work on this project. I do think once the bugs are ironed-out it will be the preeminent GUI based resources monitor for Linux distributions.

@Lukas-Heiligenbrunner, apologies, resources is indeed now part of the unstable repo now. For some or other reason when I try and run it without first installing it via nix-shell i.e. nix-shell -p resources then I get an error involving error: undefined variable 'gnome-resources. However if I install the application via configuration.nix then it installs and I can indeed browse the apps and process tabs which are correctly populated.

Unfortunately however the GPU tab does not populate with the correct information.

As documented for @nokyan, if I install the flatpak version of resources (net.nokyan.Resources) then the application and process tabs do not display correctly, however the GPU tab does display correctly.

@Lukas-Heiligenbrunner, I don't want to hijack this thread to document feedback about the Nix version of resources. Is there a separate location to post feedback for the Nix version instead?

@nokyan
Copy link
Owner

nokyan commented Dec 14, 2023

Firstly, @nokyan and @Lukas-Heiligenbrunner, thank you both for your respective work on this project. I do think once the bugs are ironed-out it will be the preeminent GUI based resources monitor for Linux distributions.

@Lukas-Heiligenbrunner, apologies, resources is indeed now part of the unstable repo now. For some or other reason when I try and run it without first installing it via nix-shell i.e. nix-shell -p resources then I get an error involving error: undefined variable 'gnome-resources. However if I install the application via configuration.nix then it installs and I can indeed browse the apps and process tabs which are correctly populated.

Unfortunately however the GPU tab does not populate with the correct information.

As documented for @nokyan, if I install the flatpak version of resources (net.nokyan.Resources) then the application and process tabs do not display correctly, however the GPU tab does display correctly.

@Lukas-Heiligenbrunner, I don't want to hijack this thread to document feedback about the Nix version of resources. Is there a separate location to post feedback for the Nix version instead?

Thank you very much for your kind words. :)
Could you send a screenshot of the GPU tab? I'm not familiar with NixOS and how packaging for it works but maybe there's something I could use to locate the issue.

@robinkleem
Copy link
Author

robinkleem commented Dec 14, 2023

@nokyan, here is a screen shot of the GPU tab of resouces running under Nixos.

image

Here is the GPU tab from the flatpak (your official version) running Nixos.

image

@harabedian
Copy link

harabedian commented May 7, 2024

I'm seeing the same problem, but I am running Elementary OS 6.1. That is, no processes or applications show up. I first had a flatpak installation. Then I tried installing it directly from the AppCenter. Same problem.

@nokyan
Copy link
Owner

nokyan commented May 7, 2024

I'm seeing the same problem, but I am running Elementary OS 6.1. That is, no processes or applications show up. I first had a flatpak installation. Then I tried installing it directly from the AppCenter. Same problem.

Can you run flatpak run net.nokyan.Resources in a terminal and send me the output?

@harabedian
Copy link

I'm seeing the same problem, but I am running Elementary OS 6.1. That is, no processes or applications show up. I first had a flatpak installation. Then I tried installing it directly from the AppCenter. Same problem.

Can you run flatpak run net.nokyan.Resources in a terminal and send me the output?

Ran the flatpak command you asked me to run and got the following output (see attachment).

resources_err.log

@nokyan
Copy link
Owner

nokyan commented May 18, 2024

I'm seeing the same problem, but I am running Elementary OS 6.1. That is, no processes or applications show up. I first had a flatpak installation. Then I tried installing it directly from the AppCenter. Same problem.

Can you run flatpak run net.nokyan.Resources in a terminal and send me the output?

Ran the flatpak command you asked me to run and got the following output (see attachment).

resources_err.log

So I installed elementary OS 6.1 in a VM and could reproduce your issue.
The problem is that elementary OS 6.1 is already 2.5 years old and ships a glibc that's too old for Resources' companion process that is spawned outside the Flatpak sandbox to gather process data. Consider updating to a newer version of elementary OS.

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

No branches or pull requests

4 participants