How to install or enable the Intel HD graphics driver

cpu : i5-8265u
gpu : MX150 UHD620

I had to use Basic Graphic Mode to install Fedora because of nvidia , after the installation was completed I found that the intel gpu driver was not enabled or installed, what should I install?

The intel GPU drivers are included with the linux kernal and the mesa library. There is nothing extra to install.

If you have nvidia gpu why are checking for intel gpu drivers?

Have you install the rpmfusion drivers to support your nvidia gpu?
See Howto/NVIDIA - RPM Fusion also note the secure boot requirements.

1 Like

I suspect it was installed. lsmod | grep i915 should show it.

As recommended simply install the nvidia drivers from the rpmfusion repo (while paying attention to secure boot) and the problems should be managed.

It’s because of NVIDIA prime, on my device NVIDIA graphics is outputting the picture through Intel graphics, meaning that NVIDIA graphics can’t work independently, and after I finished installing it, system details shows software rendering

We will need details to understand what is going on.
Please show the output of inxi -Fzxx as pre-formatted text, using the </> button so that the spacing is not lost.

System:
  Kernel: 6.8.5-301.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-34.fc40
  Desktop: GNOME v: 46.0 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X430FN_S4300FN
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X430FN v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X430FN.309 date: 07/03/2020
Battery:
  ID-1: BAT0 charge: 38.7 Wh (99.2%) condition: 39.0/42.1 Wh (92.7%)
    volts: 11.5 min: 11.5 model: ASUSTeK ASUS Battery serial: N/A
    status: not charging
CPU:
  Info: quad core model: Intel Core i5-8265U bits: 64 type: MT MCP
    arch: Whiskey Lake rev: B cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 1150 high: 1600 min/max: 400/3900 cores: 1: 1600 2: 400
    3: 1600 4: 1600 5: 400 6: 400 7: 1600 8: 1600 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: ASUSTeK
    driver: N/A arch: Gen-9.5 bus-ID: 00:02.0 chip-ID: 8086:3ea0
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: ASUSTeK driver: N/A
    arch: Maxwell pcie: speed: 8 GT/s lanes: 4 bus-ID: 02:00.0
    chip-ID: 10de:1d10
  Device-3: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-6:3 chip-ID: 13d3:56c1
  Display: wayland server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: dri: swrast gpu: N/A display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: Unknown-1 mapped: None-1 res: 1920x1080 dpi: 96
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.5 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: llvmpipe (LLVM 18.1.1 256 bits)
    device-ID: ffffffff:ffffffff
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9dc8
  API: ALSA v: k6.8.5-301.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
    v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2526
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-8:4 chip-ID: 8087:0025
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.1
    lmp-v: 10
Drives:
  Local Storage: total: 476.94 GiB used: 7.18 GiB (1.5%)
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 33.9 C
Partition:
  ID-1: / size: 451.71 GiB used: 7.16 GiB (1.6%) fs: ext4 dev: /dev/nvme0n1p3
  ID-2: /boot/efi size: 511 MiB used: 19 MiB (3.7%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: 57.0 C pch: 49.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 1900
Info:
  Memory: total: 12 GiB available: 11.53 GiB used: 1.96 GiB (17.0%)
  Processes: 277 Power: uptime: 13m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: Compilers: N/A Shell: Bash v: 5.2.26 running-in: gnome-terminal
    inxi: 3.3.34

截图 2024-06-17 20-42-37

I fixed the formatting for you by adding:

```
triple quotes     to   keep    spaces
```

As you can see from this section of inxi output both intel and nvidia hardware is detected and the drivers loaded.

edit: The drivers are missing!

I don’t see a driver listed for either GPU in that list. Neither the i915 for the intel or the nvidia for the MX150.

Both GPUs are seen but the drivers do not appear.

Maybe the output of sudo dmesg | grep -iE "intel|i915|nvidia|nouveau" can give us a little more info.

1 Like