nvtop
nvtop copied to clipboard
nvtop does not recognize xe driver Intel GPU
When running the Intel xe driver instead of the i915 driver. nvtop does not recognize the GPU (it recognizes the GPU when using the i915 kernel module)
nuc12:~ # nvtop
No GPU to monitor.
nuc12:~ # lspci -s 00:02.0 -vv
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Intel Corporation Device 3024
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 181
IOMMU group: 0
Region 0: Memory at 603c000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at 4000000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 3000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, IntMsgNum 0
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+ FLReset+ TEE-IO-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis- NROPrPrP- LTR-
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
AtomicOpsCtl: ReqEn-
IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Address: fee00018 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 14
PASIDCtl: Enable- Exec- Priv-
Capabilities: [200 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable-, Smallest Translation Unit: 00
Capabilities: [300 v1] Page Request Interface (PRI)
PRICtl: Enable- Reset-
PRISta: RF- UPRGI- Stopped+ PASID+
Page Request Capacity: 00008000, Page Request Allocation: 00000000
Capabilities: [320 v1] Single Root I/O Virtualization (SR-IOV)
IOVCap: Migration- 10BitTagReq- IntMsgNum 0
IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy- 10BitTagReq-
IOVSta: Migration-
Initial VFs: 7, Total VFs: 7, Number of VFs: 0, Function Dependency Link: 00
VF offset: 1, stride: 1, Device ID: 4626
Supported Page Size: 00000553, System Page Size: 00000001
Region 0: Memory at 0000000000000000 (64-bit, non-prefetchable)
Region 2: Memory at 0000000000000000 (64-bit, prefetchable)
VF Migration: offset: 00000000, BIR: 0
Kernel driver in use: xe
Kernel modules: xe
I encountered the same issue on Ubuntu 24.10 and Manjaro with intel DG1 using xe driver
Hi guys, Xe support isn't in packaged version yet, since it was only merged on the 31st of August in #303 and nvtop hasn't had a new release since February. Also #331 fixes a logic error which reported incorrect memory usage, if you guys wanted to compile and test that.
I have tested 6e91c745cd051d902fc57e9195068df03eb192bb on the ADL and here is the screen capture.
Device 0 [Alder Lake-P Integrated Graphics Controller] Integrated GPU RX: N/A TX: N/A
GPU 300MHz MEM N/A MHz TEMP N/A°C CPU-FAN POW N/A W
GPU[N/A] MEM[N/A]
PID USER DEV TYPE GPU GPU MEM CPU HOST MEM Command
3354 root 0 Graphic N/A 96MiB 2% 3433MiB /usr/lib/kodi/kodi.bin --standalone -fs --audio-backend=alsa+pulseau
I am running Linux 6.11.10 on an iris xe laptop and my gpu is recognized in 3.0.2:
Device 0 [TigerLake-LP GT2 (Iris Xe Graphics)] Integrated GPU RX: N/A TX: N/A
GPU 350MHz MEM N/A MHz TEMP N/A°C CPU-FAN POW N/A W
Works for me, too.
Device 0 [TigerLake-LP GT2 (Iris Xe Graphics)] Integrated GPU RX: N/A TX: N/A
GPU 100MHz MEM N/A MHz TEMP N/A°C CPU-FAN POW N/A W
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
$ uname -a
Linux [redacted] 6.8.0-50-generic #51~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 21 12:03:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
I guess the issue it's fixed, albeit the code is not available as a new release yet. @Syllo Fancy to cut a new release? I was about to ask a @heitbaum to close the issue, bit I'm wary of somebody falling into it and not finding this issue open and filing a dupe.
Tested with 3.2.0 Working with xe driver