Code Monkey home page Code Monkey logo

Comments (39)

nokyan avatar nokyan commented on July 30, 2024

Hi, thanks for reporting the issue.
AMD GPUs should be supported since the amdgpu driver usually exposes most information in SysFS. Since your GPU is still relatively new, it's maybe not in the PCI ID database yet which Resources uses for recognizing the GPU and choosing how to find its statistics. Which distribution are you using?

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

I am using Fedora 39.

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

So I ran the sudo update-pciids command and checked the PCI ID database, and it does contain the 7800 XT. And it is able to be grabbed as seen by my lspci output.

image

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

For reference I tried runnning on Ubuntu 23.10, no dice. Installing the 22.04 LTS and amdgpu drivers from the radeon repo to see if that helps.

from resources.

nokyan avatar nokyan commented on July 30, 2024

Thank you for the additional information and testing. Unfortunately the only AMD GPU that I have is the integrated one of my Ryzen laptop, so I'm quite limited in regards to testing AMD GPUs. I'm partially reworking the GPU part of Resources anyway right now, could you check out the gpu-restructure-new branch of this repo and see if that works? Flatpak building instructions are in the README.md.

from resources.

abhigit23 avatar abhigit23 commented on July 30, 2024

image

I have a similar kind of issue:-
GPU usage and video memory frequency not showing for Vega 8 integrated gpu. I'm using Fedora Silverblue 39

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

Thank you for the additional information and testing. Unfortunately the only AMD GPU that I have is the integrated one of my Ryzen laptop, so I'm quite limited in regards to testing AMD GPUs. I'm partially reworking the GPU part of Resources anyway right now, could you check out the gpu-restructure-new branch of this repo and see if that works? Flatpak building instructions are in the README.md.

Built and ran. Unfortunately, I have the same issue.
image

from resources.

nokyan avatar nokyan commented on July 30, 2024

image

I have a similar kind of issue:- GPU usage and video memory frequency not showing for Vega 8 integrated gpu. I'm using Fedora Silverblue 39

Some stuff like memory frequency is apparently not exposed by integrated GPUs, the iGPU in my Ryzen laptop also doesn't expose its memory frequency (which sort of makes sense since it's using normal system RAM anyway). No power usage and GPU usage is odd though. Do you mind installing nvtop and check whether it sees more stats? You could also try to build the gpu-restructure-new branch of Resources from source, if you're comfortable with that.

from resources.

nokyan avatar nokyan commented on July 30, 2024

Thank you for the additional information and testing. Unfortunately the only AMD GPU that I have is the integrated one of my Ryzen laptop, so I'm quite limited in regards to testing AMD GPUs. I'm partially reworking the GPU part of Resources anyway right now, could you check out the gpu-restructure-new branch of this repo and see if that works? Flatpak building instructions are in the README.md.

Built and ran. Unfortunately, I have the same issue. image

Could you send me the debug logs form stdout?

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

Thank you for the additional information and testing. Unfortunately the only AMD GPU that I have is the integrated one of my Ryzen laptop, so I'm quite limited in regards to testing AMD GPUs. I'm partially reworking the GPU part of Resources anyway right now, could you check out the gpu-restructure-new branch of this repo and see if that works? Flatpak building instructions are in the README.md.

Built and ran. Unfortunately, I have the same issue. image

Could you send me the debug logs form stdout?

Where would I find that?

from resources.

nokyan avatar nokyan commented on July 30, 2024

Thank you for the additional information and testing. Unfortunately the only AMD GPU that I have is the integrated one of my Ryzen laptop, so I'm quite limited in regards to testing AMD GPUs. I'm partially reworking the GPU part of Resources anyway right now, could you check out the gpu-restructure-new branch of this repo and see if that works? Flatpak building instructions are in the README.md.

Built and ran. Unfortunately, I have the same issue. image

Could you send me the debug logs form stdout?

Where would I find that?

In the terminal where you've run flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources from. Or, if you use VSCode with the Flatpak extension, it should show up in its own terminal tab at the bottom. Either way, it should look something like this:

image

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

Thank you for the additional information and testing. Unfortunately the only AMD GPU that I have is the integrated one of my Ryzen laptop, so I'm quite limited in regards to testing AMD GPUs. I'm partially reworking the GPU part of Resources anyway right now, could you check out the gpu-restructure-new branch of this repo and see if that works? Flatpak building instructions are in the README.md.

Built and ran. Unfortunately, I have the same issue. image

Could you send me the debug logs form stdout?

Where would I find that?

In the terminal where you've run flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources from. Or, if you use VSCode with the Flatpak extension, it should show up in its own terminal tab at the bottom. Either way, it should look something like this:

image

Okay the reason I asked is because my terminal output is pretty darn uneventful.

image

from resources.

nokyan avatar nokyan commented on July 30, 2024

Thank you for the additional information and testing. Unfortunately the only AMD GPU that I have is the integrated one of my Ryzen laptop, so I'm quite limited in regards to testing AMD GPUs. I'm partially reworking the GPU part of Resources anyway right now, could you check out the gpu-restructure-new branch of this repo and see if that works? Flatpak building instructions are in the README.md.

Built and ran. Unfortunately, I have the same issue. image

Could you send me the debug logs form stdout?

Where would I find that?

In the terminal where you've run flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources from. Or, if you use VSCode with the Flatpak extension, it should show up in its own terminal tab at the bottom. Either way, it should look something like this:
image

Okay the reason I asked is because my terminal output is pretty darn uneventful.

image

Are you sure you're in the gpu-restructure-new branch? Because it definitely should contain more debug statements, also referencing disks and network interfaces.

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

Silly me you're absolutely right. I forgot to checkout the branch!

Yes, everything is working but viewing the Manufacturer of the card (which is a minor nit).

image

Thanks!

from resources.

abhigit23 avatar abhigit23 commented on July 30, 2024

image
I have a similar kind of issue:- GPU usage and video memory frequency not showing for Vega 8 integrated gpu. I'm using Fedora Silverblue 39

Some stuff like memory frequency is apparently not exposed by integrated GPUs, the iGPU in my Ryzen laptop also doesn't expose its memory frequency (which sort of makes sense since it's using normal system RAM anyway). No power usage and GPU usage is odd though. Do you mind installing nvtop and check whether it sees more stats? You could also try to build the gpu-restructure-new branch of Resources from source, if you're comfortable with that.

image

nvtop is showing memory frequency as well as GPU usage but no power.

from resources.

nokyan avatar nokyan commented on July 30, 2024

Silly me you're absolutely right. I forgot to checkout the branch!

Yes, everything is working but viewing the Manufacturer of the card (which is a minor nit).

image

Thanks!

Great to see!

Do you mind testing a few things since I don't have a modern dedicated AMD GPU? :)

  • Does Resources properly detect the name of your GPU? Resources should say it right in the titlebar when you've got the GPU view open. If not, could you send me the line in debug logs starting with "Found GPU […]"?
  • Can you confirm (with nvtop or running a somewhat intensive game or benchmark) whether GPU frequency and memory frequency are correctly read? While the card does seem to be idling in your screenshot, 21 MHz seems very low for that
  • Can you check whether the video encoder and decoder usage are properly read? Opening a local video or (if your browser supports hardware-accelerated video decoding) streaming a YouTube video should make the decoder usage graph go up

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

Great to see!

Do you mind testing a few things since I don't have a modern dedicated AMD GPU? :)

* Does Resources properly detect the name of your GPU? Resources should say it right in the titlebar when you've got the GPU view open. If not, could you send me the line in debug logs starting with "Found GPU […]"?

* Can you confirm (with [nvtop](https://github.com/Syllo/nvtop) or running a somewhat intensive game or benchmark) whether GPU frequency and memory frequency are correctly read? While the card does seem to be idling in your screenshot, 21 MHz seems _very_ low for that

* Can you check whether the video encoder and decoder usage are properly read? Opening a local video or (if your browser supports hardware-accelerated video decoding) streaming a YouTube video should make the decoder usage graph go up

21Mhz is roughly correct. AMDs modern GPUs idle at extremely low frequency and power levels.

Running a Stable Diffusion XL workload:
image

However, it appears decoder reading is not correct.

image

Debug Output:

 INFO  resources::application > Version: 1.2.1-16d0fee (Devel)
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
 DEBUG resources::application::imp > GtkApplication<Application>::activate
 DEBUG resources::utils::gpu       > Found GPU "AMD Radeon Graphics" at PCI slot 0000:0a:00.0 with PCI ID 1002:747e
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme0n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sdb
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme1n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sda
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/wlo1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp4s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp7s0

EDIT: Disregard, it seems my hardware acceleration isn't working.

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

Okay I fixed my hardware acceleration, which is now running in VLC, and it is not registering on Resources with the same 0% output

from resources.

nokyan avatar nokyan commented on July 30, 2024

So I've just found out why Resources doesn't find the proper name of your GPU: it turns out that the library I was using to match PCI IDs to devices is not reading from the local PCI ID database file on your machine, it has its own snapshot of pci.ids, which is unfortunately over a year old and of course didn't include the RX 7800 XT. Guess I'm gonna have to write that part myself.

Regarding hardware acceleration, on my Ryzen laptop I've never gotten hardware-accelerated video decoding to work in VLC and only after tinkering in Firefox, have you confirmed with nvtop that it works? It does work for me in Clapper though.

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

So I've just found out why Resources doesn't find the proper name of your GPU: it turns out that the library I was using to match PCI IDs to devices is not reading from the local PCI ID database file on your machine, it has its own snapshot of pci.ids, which is unfortunately over a year old and of course didn't include the RX 7800 XT. Guess I'm gonna have to write that part myself.

Regarding hardware acceleration, on my Ryzen laptop I've never gotten hardware-accelerated video decoding to work in VLC and only after tinkering in Firefox, have you confirmed with nvtop that it works? It does work for me in Clapper though.

I have confirmed it works based on the insanely reduced CPU usage, but I can install nvtop to double check

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

image

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

image

Accelerated decoding is not being read, however, every other issue has been fixed.

CLI output:

dawson@localhost-live:~/Apps/resources$ flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources
 INFO  resources::application > Resources (net.nokyan.Resources.Devel)
 INFO  resources::application > Version: 1.2.1-210db33 (Devel)
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
Fontconfig error: Cannot load config file "/run/host/font-dirs.xml": No such file: /run/host/font-dirs.xml
 DEBUG resources::application::imp > GtkApplication<Application>::activate

(resources:2): Gtk-WARNING **: 11:26:00.949: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
 DEBUG resources::utils::pci       > Parsing pci.ids…
 DEBUG resources::utils::pci       > Successfully parsed pci.ids
 DEBUG resources::utils::gpu       > Found GPU "AMD Radeon RX 7800 XT" at PCI slot 0000:0a:00.0 with PCI ID 1002:747e
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme0n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sdb
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme1n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sda
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp4s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp7s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/wlo1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet8

from resources.

nokyan avatar nokyan commented on July 30, 2024

image

Accelerated decoding is not being read, however, every other issue has been fixed.

CLI output:

dawson@localhost-live:~/Apps/resources$ flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources
 INFO  resources::application > Resources (net.nokyan.Resources.Devel)
 INFO  resources::application > Version: 1.2.1-210db33 (Devel)
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
Fontconfig error: Cannot load config file "/run/host/font-dirs.xml": No such file: /run/host/font-dirs.xml
 DEBUG resources::application::imp > GtkApplication<Application>::activate

(resources:2): Gtk-WARNING **: 11:26:00.949: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
 DEBUG resources::utils::pci       > Parsing pci.ids…
 DEBUG resources::utils::pci       > Successfully parsed pci.ids
 DEBUG resources::utils::gpu       > Found GPU "AMD Radeon RX 7800 XT" at PCI slot 0000:0a:00.0 with PCI ID 1002:747e
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme0n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sdb
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme1n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sda
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp4s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp7s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/wlo1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet8

Thanks for testing, does displaying per-process VRAM usage and GPU usage work? In Resources' settings, you should be able to enable "Video memory" for both processes and applications.

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

image
image
image

Logs:

dawson@localhost-live:~/Apps/resources$ flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources
 INFO  resources::application > Resources (net.nokyan.Resources.Devel)
 INFO  resources::application > Version: 1.2.1-969dcce (Devel)
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
Fontconfig error: Cannot load config file "/run/host/font-dirs.xml": No such file: /run/host/font-dirs.xml
 DEBUG resources::application::imp > GtkApplication<Application>::activate

(resources:2): Gtk-WARNING **: 10:28:22.545: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
 DEBUG resources::utils::pci       > Parsing pci.ids…
 DEBUG resources::utils::pci       > Successfully parsed pci.ids
 DEBUG resources::utils::gpu       > Found GPU "AMD Radeon RX 7800 XT" at PCI slot 0000:0a:00.0 with PCI ID 1002:747e
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme0n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sdb
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme1n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sda
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/wlo1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp4s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp7s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/br-14c42a1c9335
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet8
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/docker0

I pulled and compiled from the gpu-fix branch since it has your latest commits.

from resources.

nokyan avatar nokyan commented on July 30, 2024

image image image

Logs:

dawson@localhost-live:~/Apps/resources$ flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources
 INFO  resources::application > Resources (net.nokyan.Resources.Devel)
 INFO  resources::application > Version: 1.2.1-969dcce (Devel)
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
Fontconfig error: Cannot load config file "/run/host/font-dirs.xml": No such file: /run/host/font-dirs.xml
 DEBUG resources::application::imp > GtkApplication<Application>::activate

(resources:2): Gtk-WARNING **: 10:28:22.545: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
 DEBUG resources::utils::pci       > Parsing pci.ids…
 DEBUG resources::utils::pci       > Successfully parsed pci.ids
 DEBUG resources::utils::gpu       > Found GPU "AMD Radeon RX 7800 XT" at PCI slot 0000:0a:00.0 with PCI ID 1002:747e
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme0n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sdb
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/nvme1n1
 DEBUG resources::ui::window       > A drive has been added (or turned visible): /sys/block/sda
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/wlo1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp4s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/enp7s0
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet1
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/br-14c42a1c9335
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/vmnet8
 DEBUG resources::ui::window       > A network interface has been added (or turned visible): /sys/class/net/docker0

I pulled and compiled from the gpu-fix branch since it has your latest commits.

Thanks, the screenshots help a lot! Since Resources is also unable to get per-process VRAM and GPU usage stats in your screenshots, the issue seems to be with reading per-process GPU-related stats in general, which is necessary for encoder and decoder stats as they can't be accessed centrally per-GPU (for non-NVIDIA GPUs) but instead need to be collected per process and then summed up for the GPU(s). Since nvtop has no problems, it's got to be a problem with Resources. I'll keep digging for the problem. ^^

from resources.

nokyan avatar nokyan commented on July 30, 2024

Could you run the following bash snippet? for file in /proc/*/fdinfo/*; do grep "gfx" $file && grep "vram" $file; done
This will go through all processes to collect their GPU usages and memory usages and print them in the console. Output is probably going to be quite long, I don't need all of it.

from resources.

nokyan avatar nokyan commented on July 30, 2024

I believe I found the issue: your GPU is on your PCI slot 0000:0a:00.0, the regex I wrote to detect PCI IDs didn't account for hexadecimal numbers, only decimal numbers. I pushed the fix in gpu-fix. Could you test it? :)

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

It works! Although technically the decoder is being used when watching a Youtube video. Im assuming this is a limitation of the amd drivers?
image
image

from resources.

nokyan avatar nokyan commented on July 30, 2024

It works! Although technically the decoder is being used when watching a Youtube video. Im assuming this is a limitation of the amd drivers? image image

Great to see! In your earlier screenshots, nvtop also shows the encoder usage going up, so I did some digging and apparently with RDNA 3, AMD unified the encoder and decoder usages (Syllo/nvtop#218). Resources can already show a unified enc/dec graph because it's unified for Intel aswell, I'll see if I can figure something out to distinguish between post-RDNA 3 and pre-RDNA 3 GPUs.

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

It seems you might have regressed features for nvidia gpus with the new feature branch.

image

production flatpak:
image

from resources.

nokyan avatar nokyan commented on July 30, 2024

It seems you might have regressed features for nvidia gpus with the new feature branch.

image

production flatpak: image

Thanks for reporting. It looks like Resources doesn't recognize the GPU as NVIDIA and tries to use fallback methods for GPU data. Could you send the debug logs for the newer, non-production Resources?

from resources.

nokyan avatar nokyan commented on July 30, 2024

I've changed the GPU categorization logic in the gpu-fix-2 branch to now also consider the GPU driver, do you mind testing that?

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

It finds the GPU now, however, it appears to not find the Video Encoding usage.

image

dawson@dawsons-desktop-fedora:~/Apps/Git/resources$ flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources
 INFO  resources::application > Resources (net.nokyan.Resources.Devel)
 INFO  resources::application > Version: 1.2.1-01d74b6 (Devel)
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
Fontconfig error: Cannot load config file "/run/host/font-dirs.xml": No such file: /run/host/font-dirs.xml
 DEBUG resources::application::imp > GtkApplication<Application>::activate

(resources:2): Gtk-WARNING **: 07:30:41.956: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
 DEBUG resources::utils::pci       > Parsing pci.ids…
 DEBUG resources::utils::pci       > Successfully parsed pci.ids
 DEBUG resources::utils::gpu::nvidia > Successfully connected to NVML
 DEBUG resources::utils::gpu         > Found GPU "NVIDIA GeForce RTX 3080" at PCI slot 0000:08:00.0 with PCI ID 10de:2206

(resources:2): Gtk-CRITICAL **: 07:30:43.431: Unable to connect to the accessibility bus at 'unix:path=/run/user/1000/at-spi/bus_0': Could not connect: No such file or directory
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/nvme0n1
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/sdb
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/nvme1n1
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/sda
 DEBUG resources::ui::window         > A network interface has been added (or turned visible): /sys/class/net/wlo1
 DEBUG resources::ui::window         > A network interface has been added (or turned visible): /sys/class/net/enp4s0
 DEBUG resources::ui::window         > A network interface has been added (or turned visible): /sys/class/net/enp7s0

from resources.

nokyan avatar nokyan commented on July 30, 2024

It finds the GPU now, however, it appears to not find the Video Encoding usage.

image

dawson@dawsons-desktop-fedora:~/Apps/Git/resources$ flatpak-builder --run flatpak_app build-aux/net.nokyan.Resources.Devel.json resources
 INFO  resources::application > Resources (net.nokyan.Resources.Devel)
 INFO  resources::application > Version: 1.2.1-01d74b6 (Devel)
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
Fontconfig error: Cannot load config file "/run/host/font-dirs.xml": No such file: /run/host/font-dirs.xml
 DEBUG resources::application::imp > GtkApplication<Application>::activate

(resources:2): Gtk-WARNING **: 07:30:41.956: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
 DEBUG resources::utils::pci       > Parsing pci.ids…
 DEBUG resources::utils::pci       > Successfully parsed pci.ids
 DEBUG resources::utils::gpu::nvidia > Successfully connected to NVML
 DEBUG resources::utils::gpu         > Found GPU "NVIDIA GeForce RTX 3080" at PCI slot 0000:08:00.0 with PCI ID 10de:2206

(resources:2): Gtk-CRITICAL **: 07:30:43.431: Unable to connect to the accessibility bus at 'unix:path=/run/user/1000/at-spi/bus_0': Could not connect: No such file or directory
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/nvme0n1
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/sdb
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/nvme1n1
 DEBUG resources::ui::window         > A drive has been added (or turned visible): /sys/block/sda
 DEBUG resources::ui::window         > A network interface has been added (or turned visible): /sys/class/net/wlo1
 DEBUG resources::ui::window         > A network interface has been added (or turned visible): /sys/class/net/enp4s0
 DEBUG resources::ui::window         > A network interface has been added (or turned visible): /sys/class/net/enp7s0

Odd that encoder/decoder usage doesn't work. Does nvtop show it correctly?

from resources.

funkemunky avatar funkemunky commented on July 30, 2024

The decoder not showing information was my fault. I was switching between my AMD and Nvidia GPU and I forgot to install the correct lib-va driver for Nvidia. Works as intended. However, I have run into a new issue that I am unsure is the result of your software.

Any idea why the CPU frequency isn't being reported? Same issue on the production release.

image

from resources.

nokyan avatar nokyan commented on July 30, 2024

The decoder not showing information was my fault. I was switching between my AMD and Nvidia GPU and I forgot to install the correct lib-va driver for Nvidia. Works as intended. However, I have run into a new issue that I am unsure is the result of your software.

Any idea why the CPU frequency isn't being reported? Same issue on the production release.

image

Can you run lscpu in your terminal and send the output?

from resources.

funkemunky avatar funkemunky commented on July 30, 2024
rchitecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 5800X 8-Core Processor
    CPU family:          25
    Model:               33
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    BogoMIPS:            7586.01
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mc
                         a cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall n
                         x mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_go
                         od nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl p
                         ni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2api
                         c movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_le
                         gacy svm extapic cr8_legacy abm sse4a misalignsse 3dnow
                         prefetch osvw ibs skinit wdt tce topoext perfctr_core p
                         erfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw
                         _pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 
                         avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap c
                         lflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cq
                         m_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_sh
                         stk clzero irperf xsaveerptr rdpru wbnoinvd arat npt lb
                         rv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid 
                         decodeassists pausefilter pfthreshold avic v_vmsave_vml
                         oad vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdp
                         id overflow_recov succor smca fsrm debug_swap
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    4 MiB (8 instances)
  L3:                    32 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:         
  Gather data sampling:  Not affected
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Not affected
  Spec rstack overflow:  Mitigation; Safe RET
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer
                          sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIB
                         P always-on, RSB filling, PBRSB-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected

from resources.

nokyan avatar nokyan commented on July 30, 2024

Can you try the regexify branch?

from resources.

nokyan avatar nokyan commented on July 30, 2024

Closing this because it has been resolved with Resources 1.3 (still not on Flathub unfortunately). If there's still an issue related to this, don't hesitate to reopen :)

from resources.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.