intel-gpu / documentation

8 stars 1 forks source link

How can i install gpu driver on 12th Gen Intel(R) Core(TM) i5-12400 with ubuntu20.04? #38

Open dukezuoHZ opened 2 years ago

dukezuoHZ commented 2 years ago

Hello,I am using the platform 12th Gen Intel(R) Core(TM) i5-12400 with ubuntu20.04,I install driver as the instruction below: https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-focal.html, steps: 1: sudo apt-get install -y gpg-agent wget wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add - sudo apt-add-repository \ 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main' 2: sudo apt-get update sudo apt-get install \ intel-opencl-icd \ intel-level-zero-gpu level-zero \ intel-media-va-driver-non-free libmfx1 3: stat -c "%G" /dev/dri/render* groups ${USER} sudo gpasswd -a ${USER} render newgrp render

I restart the machine and run oneapi demo, cordumped!!! So i run command to check gpu driver: " lspci -nn | grep VGA" and show rusult: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] [10de:1b06] (rev a1)

no found IGPU, it seemd driver error? so How can i do to used IGPU?

ChenKej1e commented 2 years ago

Hi @dukezuoHZ , it might be caused by the BIOS setting. Please provide the below information for analysis :

  1. BIOS setting related to GPU
  2. Full output of “lspci”
  3. Full output of “dmesg” from boot. Thanks.
demiurg-spb commented 1 year ago

Ubuntu 22.04 Users Can Now Upgrade to Linux Kernel 6.2 This kernel includes divers for latest intel's GPU like Mesa Intel® UHD Graphics 730 (ADL-S GT1)

With root permissions edit your /etc/apt/sources.list: sudo vim /etc/apt/sources.list

Then look for the following line or add it yourself: deb http://archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe

Then sudo apt instal linux-headers-6.2.0-34-generic sudo apt install linux-image-generic-hwe-22.04