resources icon indicating copy to clipboard operation
resources copied to clipboard

Intel iGPU info missing

Open GallopingTurtle opened this issue 1 year ago • 21 comments

Is there an existing issue for this?

  • [X] I searched the existing issues and did not find anything similar.

Current Behavior

Most of my GPU info is blanked out.

image

Expected Behavior

It to not be empty

Steps To Reproduce

No response

Environment

13th Gen Intel® Core™ i7-1365U × 12
Mesa Intel® Graphics (RPL-U)
Ubuntu 22.04.4 LTS
Wayland
GNOME 42.9
Flatpak install 1.6.0

Anything else?

No response

GallopingTurtle avatar Aug 26 '24 15:08 GallopingTurtle

Hi, thanks for the issue. I unfortunately don't have an Intel GPU to test with but if I remember correctly, especially integrated Intel GPUs just don't expose that information. Can you try the CLI program nvtop and send me a screenshot of it running?

nokyan avatar Aug 29 '24 17:08 nokyan

No GPU to monitor

GallopingTurtle avatar Aug 29 '24 18:08 GallopingTurtle

No GPU to monitor

That's interesting. I just noticed, in your Resoruces screenshot, Resources was apparently unable to find a name for the GPU. Can you use the following command and post the output? flatpak run --env=RUST_LOG=resources=debug net.nokyan.Resources

nokyan avatar Aug 29 '24 18:08 nokyan

The only gpu-related output was

INFO resources::utils::gpu > Found GPU "<unknown name>" (PCI slot: 0000:00:02.0 · PCI ID: 8086:a7a1 · Category: Intel)

GallopingTurtle avatar Aug 29 '24 18:08 GallopingTurtle

I'm also seeing the same:

INFO  resources::utils::gpu    > Found GPU "AlderLake-S GT1" (PCI slot: 0000:00:02.0 · PCI ID: 8086:4680 · Category: Intel)
# System Details Report
---

## Report details
- **Date generated:**                              2024-09-06 13:48:23

## Hardware Information:
- **Hardware Model:**                              Dell Inc. Precision 3660
- **Memory:**                                      32,0 GiB
- **Processor:**                                   12th Gen Intel® Core™ i7-12700 × 20
- **Graphics:**                                    Intel® UHD Graphics 770 (ADL-S GT1)
- **Disk Capacity:**                               1,0 TB

## Software Information:
- **Firmware Version:**                            2.17.0
- **OS Name:**                                     Fedora Linux 40 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               46
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.10.7-200.fc40.x86_64
user@ws:~$  dnf list installed "intel*"
Installed Packages
intel-audio-firmware.noarch                                20240811-2.fc40                                @updates                  
intel-gmmlib.x86_64                                        22.3.20-1.fc40                                 @updates                  
intel-gpu-firmware.noarch                                  20240811-2.fc40                                @updates                  
intel-media-driver.x86_64                                  24.2.5-1.fc40                                  @rpmfusion-nonfree-updates
intel-mediasdk.x86_64                                      23.2.2-5.fc40                                  @updates                  
intel-vpl-gpu-rt.x86_64                                    24.2.5-1.fc40                                  @updates

Is there something else I could do to help you debug the issue @nokyan?

Thanks!

XhmikosR avatar Sep 06 '24 10:09 XhmikosR

I'm also seeing the same:

INFO  resources::utils::gpu    > Found GPU "AlderLake-S GT1" (PCI slot: 0000:00:02.0 · PCI ID: 8086:4680 · Category: Intel)
# System Details Report
---

## Report details
- **Date generated:**                              2024-09-06 13:48:23

## Hardware Information:
- **Hardware Model:**                              Dell Inc. Precision 3660
- **Memory:**                                      32,0 GiB
- **Processor:**                                   12th Gen Intel® Core™ i7-12700 × 20
- **Graphics:**                                    Intel® UHD Graphics 770 (ADL-S GT1)
- **Disk Capacity:**                               1,0 TB

## Software Information:
- **Firmware Version:**                            2.17.0
- **OS Name:**                                     Fedora Linux 40 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               46
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.10.7-200.fc40.x86_64
user@ws:~$  dnf list installed "intel*"
Installed Packages
intel-audio-firmware.noarch                                20240811-2.fc40                                @updates                  
intel-gmmlib.x86_64                                        22.3.20-1.fc40                                 @updates                  
intel-gpu-firmware.noarch                                  20240811-2.fc40                                @updates                  
intel-media-driver.x86_64                                  24.2.5-1.fc40                                  @rpmfusion-nonfree-updates
intel-mediasdk.x86_64                                      23.2.2-5.fc40                                  @updates                  
intel-vpl-gpu-rt.x86_64                                    24.2.5-1.fc40                                  @updates

Is there something else I could do to help you debug the issue @nokyan?

Thanks!

Thanks a lot for the information. Could you run nvtop and send me a screenshot? nvtop is in Fedora's repos I think.

nokyan avatar Sep 06 '24 10:09 nokyan

I tried it, and got a warning that nvtop doesn't support all features for Intel GPUs (https://github.com/Syllo/nvtop?tab=readme-ov-file#intel) and then I get the following:

365141176-4402595f-bf04-46e3-b0bf-e942c785e8fe

XhmikosR avatar Sep 06 '24 11:09 XhmikosR

I believe this issue is the same as #181. intel_gpu_top does work for me too which is what I'm using, but it requires root.

Feel free to close one of the two issues @nokyan, and perhaps pin the remaining since I'm pretty sure this is a common issue :)

XhmikosR avatar Sep 07 '24 06:09 XhmikosR

I believe this issue is the same as #181. intel_gpu_top does work for me too which is what I'm using, but it requires root.

Feel free to close one of the two issues @nokyan, and perhaps pin the remaining since I'm pretty sure this is a common issue :)

I think #181 has more something to do with Haswell iGPUs exposing even less information than newer iGPUs. I'm gonna keep both open but pinning this one is a good idea, I'm gonna do that. :)

For reference: Intel integrated GPUs unfortunately expose less information than other GPUs of other makes, GPUs of pre-Broadwell CPUs (i. e. 4th generation "Haswell" and older) even less. intel_gpu_top can access most of the missing information, but requires root.

nokyan avatar Sep 07 '24 21:09 nokyan

Noooo the pin of shame! ;)

GallopingTurtle avatar Sep 09 '24 14:09 GallopingTurtle

Bumping as I also have this issue, is any more debug info needed?

patrulhasirius avatar Sep 29 '24 05:09 patrulhasirius

Bumping as I also have this issue, is any more debug info needed?

Hi, as I said two messages above, it's due to Intel iGPUs not exposing as many information as GPUs of other manufacturers.

nokyan avatar Sep 29 '24 10:09 nokyan

i noticed some more info has appeared!

image

this info has also appeared in nvtop

I did upgrade to 24.04 as well, not sure if that brought a new nvtop version

GallopingTurtle avatar Dec 10 '24 18:12 GallopingTurtle

i noticed some more info has appeared!

image

this info has also appeared in nvtop

I did upgrade to 24.04 as well, not sure if that brought a new nvtop version

Neat! I guess that's due to /usr/share/hwdata/pci.ids being updated to include the name of newer Intel iGPUs with your upgrade to 24.04.

nokyan avatar Dec 10 '24 19:12 nokyan

Image

I did not see iGPU usage on my Intel Core Ultra 2 (LNL) machine when I installed the release with flatpak, but after building from source this worked great. My screenshot shows inference on iGPU with OpenVINO. NPU also works out of the box. This is great. Thanks @nokyan ! Looking forward to the next release.

helena-intel avatar Oct 15 '25 15:10 helena-intel

Hi! Great to see this new Xe driver support, thank you. It did not work for me though. It's still using old i915 driver, so no info on the iGPU of my system (Ubuntu 25.10 btw) Is anything that I can do to help?

dm30 avatar Oct 29 '25 21:10 dm30

Hi! Great to see this new Xe driver support, thank you. It did not work for me though. It's still using old i915 driver, so no info on the iGPU of my system (Ubuntu 25.10 btw) Is anything that I can do to help?

Posting screenshots and debug logs certainly can't hurt. Did it work before Resources 1.9? As a side note though, i915 has very similar issues of just not exposing much information. intel_gpu_top can access more information but requires root though.

nokyan avatar Nov 02 '25 15:11 nokyan

Excuse the delay. I don't know about previous versions. I'm trying resources as I've seen coverage around the web about the new Xe driver which perhaps, I hoped, could show some info about the Xe-class iGPU in my system. How can I bring you the logs? Thank you so much.

Image Image

dm30 avatar Nov 04 '25 12:11 dm30

Excuse the delay. I don't know about previous versions. I'm trying resources as I've seen coverage around the web about the new Xe driver which perhaps, I hoped, could show some info about the Xe-class iGPU in my system. How can I bring you the logs? Thank you so much.

Thanks a lot for the screenshot. You can send me your debug logs by running flatpak run --env=RUST_LOG=resources=debug net.nokyan.Resources in your terminal, copying the output and just sending it here. Though looking at your screenshot, I don't think it's needed.

The xe driver is something different than Intel's GPU lineup called Xe, unfortunately. The xe driver is as far as I know still somewhat experimental which is why it's not enabled by default. You could look into how to enable it on your distro, though it's probably not something you should do without experience.

Regarding i915, yea, your screenshot is pretty much as good as it gets with monitoring Intel integrated GPUs, I'm afraid. :/ i915 just doesn't expose as many statistics as AMD's amdgpu driver does for example.

nokyan avatar Nov 04 '25 12:11 nokyan

Done! Thank you so much. I hoped perhaps the latest kernel and driver could do the magic. It's always tricky to understand the implications of Linux supporting something. For the end user often means nothing! Kind regards.

dm30 avatar Nov 04 '25 13:11 dm30

For me, iGPU on LNL works out of the box (with the new release) for apps that I run as user. But for GPU compute usage that runs inside containers (snap/docker) that are owned by root, I need to run resources as root. That worked when I built from source, but it seems it is tricky to run the flatpak release as root. sudo flatpak run net.nokyan.Resources returns error: "flatpak run" is not intended to be run as `sudo flatpak run`. Use `sudo -i` or `su -l` instead and invoke "flatpak run" from inside the new shell. but when launched from a sudo -i shell I still see no GPU usage and there are several warnings like this before it exits.

 WARN  resources::utils             > Unable to parse "/sys/class/net/enp85s0/speed" to usize → invalid digit found in string
 WARN  resources::utils             > Content of "/sys/class/net/enp85s0/speed" → -1
 WARN  resources::utils             > Unable to parse "/sys/class/net/enp85s0/speed" to usize → invalid digit found in string
 WARN  resources::utils             > Content of "/sys/class/net/enp85s0/speed" → -1
 WARN  resources::ui::window        > Unable to update process and app data! Is resources-processes running?

Is there a recommended way to run resources as root, apart from building yourself?

helena-intel avatar Nov 05 '25 09:11 helena-intel

Add Support for Intel HD Graphics 520

YahyaAtta avatar Dec 14 '25 12:12 YahyaAtta