[RPL-P] igt-gpu-tool enablement

Bug #2049714 reported by Chao Qin
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Kobuk project
In Progress
Medium
Hector CAO
intel
Fix Released
Undecided
Unassigned
intel-gpu-tools (Ubuntu)
Fix Released
Undecided
Hector CAO
Noble
Fix Released
Undecided
Hector CAO

Bug Description

[Description]
  igt-gpu-tool enabling for Raptor Lake-P

[Hardware Information]
  Architecture:
    Intel
  Platform(s):
    Raptor Lake-P
  Date HW is expected at Canonical:

  Component(s):
    itg-gpu-tool

[Software Information]
  Target Version:
    22.04
  Target Kernel:

  Commit IDs / External Links:
  https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/1b32bcdb2d9965090234739aba891a90743e01c4

[Business Justification]

[Testing guidance]

[External ID]

Tags: jammy
Revision history for this message
Sherry Sheng Hooi Sim (sherrysim) wrote (last edit ):

Hi @Mariano & @Bun

Can you help review on this new NEX feature request on RPL-P? Can we include this in upcoming point release on Feb'2024 https://launchpad.net/ubuntu/+milestone/ubuntu-22.04.4

Revision history for this message
Mariano Finochietto (marianofino) wrote :

Hi @sherrysim is this a backport to an existing tool in 22.04 or is this a new tool?

Revision history for this message
Ricardo Martins (ricardofcmartins) wrote :

igt-gpu-tool is the name of the project. The package on Ubuntu is intel-gpu-tools

tags: added: jammy
removed: kobuk
Changed in kobuk:
importance: Undecided → Medium
assignee: nobody → Hector CAO (hectorcao)
Revision history for this message
Anuj Mittal (anujm1) wrote :

To add more information, this commit adds new DEV IDs for NEX DG2 SKUs in igt-gpu-tool project. It'd be needed when using igt-gpu-tool with RPL-P with these DG2 SKUs in Ubuntu 22.04.

Revision history for this message
Anuj Mittal (anujm1) wrote :

These DG2 devices are for NEX SKUs but those exist as just normal DG variants in other drivers currently like Mesa, i915 and Compute-runtime.

Actually there are two more SKUs that will be added shortly. So we would like to add them as well to igt-gpu-tools. 56BE and 56BF

Hector CAO (hectorcao)
Changed in kobuk:
status: New → In Progress
Revision history for this message
Hector CAO (hectorcao) wrote :

@chaoqin, @anujm : I took a look at the patch https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/1b32bcdb2d9965090234739aba891a90743e01c4 and see several changes that are not related to RPL-P enablement, could you please confirm that this commit covers more than what we beed to backport for this ticket ? (I see for example modifications for JSL, MTL, ...)

Revision history for this message
Anuj Mittal (anujm1) wrote :

Backporting just the INTEL_DG2_G10_IDS ones will be enough to get DG2 recognized. We're going to use these devices with RPL.

 INTEL_VGA_DEVICE(0x56BA, info), \
 INTEL_VGA_DEVICE(0x56BB, info), \
 INTEL_VGA_DEVICE(0x56BC, info), \
 INTEL_VGA_DEVICE(0x56BD, info)

Revision history for this message
Dongwon Kim (dongwonk) wrote :

I just realized the base kernel for 22.04 doesn't have any of DG2 IDs, which means these GPU devices won't be supported anyway there. So unless you have a plan to update the kernel, it may not make sense to add the support only to igt-gpu-tool. But I do see kernel 6.8 (https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/tree/include/drm/i915_pciids.h?h=master-next) for Ubuntu 24.04 version has IDs for all those DG2 devices. Can you help to update igt-gpu-tool for this version of OS at least with the commit above (https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/1b32bcdb2d9965090234739aba891a90743e01c4)?

Hector CAO (hectorcao)
information type: Private → Public
Changed in intel:
status: New → Fix Released
Changed in intel-gpu-tools (Ubuntu Noble):
status: New → In Progress
assignee: nobody → Hector CAO (hectorcao)
Revision history for this message
Hector CAO (hectorcao) wrote :

Hi @dongwonk, @chaoqin,

I uploaded a package for Ubuntu 24.04 with the fix at : https://launchpad.net/~hectorcao/+archive/ubuntu/lp2049714

Could you please take a look and validate it on appropriate hardware ?

Revision history for this message
Dongwon Kim (dongwonk) wrote :

I am getting error during apt-get update. Other sources like
Get:13 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1,699 kB]
works ok so I assume this is not a proxy issue.
Any advice?

Ign:6 https://ppa.launchpadcontent.net/hectorcao/lp2049714/ubuntu jammy InRelease
Err:7 https://ppa.launchpadcontent.net/hectorcao/lp2049714/ubuntu jammy Release
  404 Not Found [IP: 10.1.192.48 911]

Revision history for this message
Hector CAO (hectorcao) wrote :

@dongwonk : i see that you are probably testing on jammy, that is the wrong release, the package to be tested is for 24.04 (you can install it with the daily build ISO).

regarding the networking problem, that is probably proxy problem, a work-around is to download the debian package at https://ppa.launchpadcontent.net/hectorcao/lp2049714/ubuntu/pool/main/i/intel-gpu-tools/intel-gpu-tools_1.28-1ubuntu1_amd64.deb , and install it with dpkg

let me know if you have any further question

Revision history for this message
Dongwon Kim (dongwonk) wrote :

@hectorcao

I installed 24.04 and was able to try the test version from your PPA location w/ our DG2 device. And It worked good!. Thanks!

Hector CAO (hectorcao)
Changed in intel-gpu-tools (Ubuntu Noble):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.