Finding my igpu in a system with a discrete gpu

sudo garuda-inxi
doas ([email protected]) password: 
System:
Kernel: 5.18.12-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=7325060a-014c-4c0f-a8ba-b8d209f1be3b rw [email protected]
intel_iommu=on i915.enable_gvt=1 i915.enable_fbc=0 quiet
cryptdevice=UUID=c1153f24-b444-4f58-abc3-4419803dcde0:luks-c1153f24-b444-4f58-abc3-4419803dcde0
root=/dev/mapper/luks-c1153f24-b444-4f58-abc3-4419803dcde0 quiet splash
rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
intel_iommu=on ibt=off
Console: pty pts/1 wm: kwin_x11 DM: SDDM Distro: Garuda Linux
base: Arch Linux
Machine:
Type: Desktop Mobo: PCWARE model: IPMH310G v: x.x serial: N/A
UEFI: American Megatrends v: F11 DB date: 03/29/2019
CPU:
Info: model: Intel Core i5-8400 socket: LGA1151 (U3E1) note: check bits: 64
type: MCP arch: Coffee Lake gen: core 8 built: 2018 process: Intel 14nm
family: 6 model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB
desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB
desc: 1x9 MiB
Speed (MHz): avg: 3592 high: 3739 min/max: 800/4000 base/boost: 3800/8300
scaling: driver: intel_pstate governor: performance volts: 1.0 V
ext-clock: 100 MHz cores: 1: 3550 2: 3672 3: 3463 4: 3612 5: 3516 6: 3739
bogomips: 33599
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: Gigabyte
driver: nvidia v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Turing process: TSMC 12nm
built: 2018-22 pcie: gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 3
speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:21c4 class-ID: 0300
Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
display-ID: :0
Message: GL data unavailable for root.
Audio:
Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0
class-ID: 0403
Device-2: NVIDIA TU116 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aeb
class-ID: 0403
Sound Server-1: ALSA v: k5.18.12-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.55 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: d000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
driver: btusb v: 0.8 bus-ID: 1-10:4 chip-ID: 0a12:0001 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
RAID:
Supported mdraid levels: raid0
Device-1: md0 maj-min: 9:0 type: mdraid level: raid-0 status: active
state: clean size: 3.64 TiB
Info: report: N/A blocks: 3906642944 chunk-size: 512k super-blocks: 1.2
Components: Online:
0: sda maj-min: 8:0 size: 1.82 TiB state: active sync
1: sdb maj-min: 8:16 size: 931.51 GiB state: active sync
2: sdd maj-min: 8:48 size: 931.51 GiB state: active sync
Drives:
Local Storage: total: raw: 3.86 TiB usable: 3.86 TiB used: 2.51 TiB (65.0%)
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102
family: BarraCuda 3.5 (SMR) size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: 0001 temp: 37 C
SMART: yes state: enabled health: PASSED on: 1768h+43m+21.815s
cycles: 336 read: 26.73 TiB written: 12.25 TiB Pre-Fail:
attribute: Spin_Retry_Count value: 100 worst: 100 threshold: 97
ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DM003-1SB102
family: Barracuda 7200.14 (AF) size: 931.51 GiB block-size:
physical: 4096 B logical: 512 B sata: 3.0 speed: 6.0 Gb/s type: HDD
rpm: 7200 serial: <filter> rev: CC43 temp: 32 C
SMART: yes state: enabled health: PASSED on: 2y 239d 2h cycles: 3072
read: 81.99 TiB written: 53.22 TiB Old-Age: UDMA CRC errors: 775116
alert: Bad cable/connection? Pre-Fail: attribute: Spin_Retry_Count
value: 100 worst: 100 threshold: 97
ID-3: /dev/sdc maj-min: 8:32 vendor: Kingston model: SV300S37A240G
family: Driven SSDs size: 223.57 GiB block-size: physical: 512 B
logical: 512 B sata: 3.0 speed: 6.0 Gb/s type: SSD serial: <filter>
rev: BBF0 temp: 27 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 2y 293d 16h cycles: 3491
read: 52324 GiB written: 46490 GiB
ID-4: /dev/sdd maj-min: 8:48 vendor: Seagate model: ST1000DM003-1CH162
family: Barracuda 7200.14 (AF) size: 931.51 GiB block-size:
physical: 4096 B logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: HDD
rpm: 7200 serial: <filter> rev: CC49 temp: 33 C
SMART: yes state: enabled health: PASSED on: 3y 160d 15h cycles: 4159
read: 94.61 TiB written: 54.1 TiB Old-Age: UDMA CRC errors: 372286
alert: Bad cable/connection? Pre-Fail: attribute: Spin_Retry_Count
value: 100 worst: 100 threshold: 97
Partition:
ID-1: / raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 97.98 GiB (43.9%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-c1153f24-b444-4f58-abc3-4419803dcde0
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 724 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/sdc1
maj-min: 8:33
ID-3: /home raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 97.98 GiB (43.9%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-c1153f24-b444-4f58-abc3-4419803dcde0
ID-4: /var/log raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 97.98 GiB (43.9%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-c1153f24-b444-4f58-abc3-4419803dcde0
ID-5: /var/tmp raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 97.98 GiB (43.9%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-c1153f24-b444-4f58-abc3-4419803dcde0
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.57 GiB used: 2.5 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 33.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 290 Uptime: 14m wakeups: 0 Memory: 15.57 GiB
used: 5.26 GiB (33.8%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: 2300
pacman: 2294 lib: 576 flatpak: 6 Shell: garuda-inxi (doas) default: Bash
v: 5.1.16 running-in: konsole inxi: 3.3.19
Garuda (2.6.5-1):
System install date:     2022-06-17
Last full system update: 2022-07-21
Is partially upgraded:   Yes
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:

I have a system with an intel i5-8400 and a discrete nvidia Gtx 1660 Super with proprietary drivers. Currently my system only uses the discrete gpu for video but i would like to pass throught my integrated gpu to an already working windows qemu VM for better performance, but the igpu does not appear in the vmm menus.

I already know i need to enable intel GVT-g for that and you can see on my grub configuration that i have done some of the steps. The problem now is that i cant find my igpu on linux, i tried:

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)

But as you can see the only gpu is my nvidia card. I'm absolutely sure this igpu works because i have booted garuda with it before. I tried searching for this problem but found almost nothing related to it as it seem to not be a common problem.

Welcome :slight_smile:

I move it from Newbies to unsupported software.

Hi @TugaHater, welcome. The integrated GPU is not listed in your inxi either--it is just missing!

This person ran into the same issue on the same CPU: Intel GPU Disappears! I am using i5-8400. This processor has UHD Graphics 630. I am not able to use it. It disappears from my PC. This happened after ... - Intel Communities

It appears the GPU may be getting disabled in the BIOS when the discrete one is detected, as a "feature". The person in the thread was unsuccessful in changing that BIOS setting, but was able to get around it by removing the discrete GPU and adding it back in after the integrated one was properly discovered.

3 Likes

How did you configure this? If you changed a UEFI setting (e.g. to "discrete") then the iGPU won't be available for use at a hardware level.

5 Likes

Thank you for the hint, I looked into my BIOS and found the switch that kept the igpu turned on, but this led me to very weird results.
Firstly, lspci can now find my iGPU, but it's considered a display controller and not a VGA controller.

lspci | grep controller
00:02.0 Display controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Co
ntroller (rev 16)

I was able to find the iGPU on vmm and add it to my VM, windows even recognized it and installed drivers, but doing this seems to make windows really unhappy and it made the OS unbootable about 4 times.
Even weirder, turning off the VM breaks the linux system, sometimes it just logs me out and sometimes it hangs with really fast moving error messages in a second TTY (I sadly can't link the image as i'm new in the forum, but the errors are very unreadable).