No /dev/dri device on my host system with intel CPU

rakali

Active Member
Jan 2, 2020
42
4
28
42

renderTimingPixel.png

Hi, I am trying to setup intel gpu transcoding, cpu is 9700K, but cannot even see the /dev/dri device on the host
I do not have any /dev/dri device on the host...

Code:
ls -l /dev/dri
ls: cannot access '/dev/dri': No such file or directory


Code:
lsmod | grep i915
i915                 2306048  0
drm_kms_helper        245760  1 i915
cec                    53248  2 drm_kms_helper,i915
i2c_algo_bit           16384  1 i915
drm                   548864  2 drm_kms_helper,i915
video                  53248  1 i915



Code:
vainfo
error: can't connect to X server!
error: failed to initialize display



Code:
cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt i915.enable_gvt=1 rootdelay=10 pcie_acs_override=downstream i915.alpha_support=1


Code:
cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
vendor-reset
# Modules required for Intel GVT
intel_agp
i915
kvmgt
exngt
vfio-mdev



Code:
cat /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist snd_hda_codec_hdmi
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist radeon
blacklist amdgpu


Code:
dpkg -l | grep Intel
ii  i965-va-driver:amd64                 2.4.1+dfsg1-1                  amd64        VAAPI driver for Intel G45 & HD Graphics family
 
Have you enabled Intel graphics and disabled IOMMU in the BIOS?

Intel graphics is enabled in BIOS.

I am not sure I can disable IOMMU with my BIOS? Can you explain further please?

My motherboard is
Code:
gigabyte aorus z390 ultra

As above in my kernel commands, I enable iommu in order to do GPU passthrough of my AMD Vega 64
 
I had to disable IOMMU in BIOS on my machine to get /dev/dri on the host but I am not doing pass through of Intel graphics. I use Intel graphics in a container.
 
I had to disable IOMMU in BIOS on my machine to get /dev/dri on the host but I am not doing pass through of Intel graphics. I use Intel graphics in a container.
The same. I am not doing passthrough of the Intel GPU. I only passthrough the AMD GPU.

So how do you disable IOMMU in BIOS?
 
I have my DVT set to 512MB does that make any difference? Still cannot find IOMMU in BIOS
 
Is this the problem?

Code:
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] (rev 02)
    DeviceName: Onboard - Video
    Subsystem: Gigabyte Technology Co., Ltd UHD Graphics 630 (Desktop 9 Series)
    Kernel driver in use: vfio-pci
    Kernel modules: i915

How do I get the i915 driver to load instead of the vfio-pci?
 
Last edited:

renderTimingPixel.png

Hi, I am trying to setup intel gpu transcoding, cpu is 9700K, but cannot even see the /dev/dri device on the host
I do not have any /dev/dri device on the host...

Code:
ls -l /dev/dri
ls: cannot access '/dev/dri': No such file or directory


Code:
lsmod | grep i915
i915                 2306048  0
drm_kms_helper        245760  1 i915
cec                    53248  2 drm_kms_helper,i915
i2c_algo_bit           16384  1 i915
drm                   548864  2 drm_kms_helper,i915
video                  53248  1 i915



Code:
vainfo
error: can't connect to X server!
error: failed to initialize display



Code:
cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt i915.enable_gvt=1 rootdelay=10 pcie_acs_override=downstream i915.alpha_support=1


Code:
cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
vendor-reset
# Modules required for Intel GVT
intel_agp
i915
kvmgt
exngt
vfio-mdev



Code:
cat /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist snd_hda_codec_hdmi
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist radeon
blacklist amdgpu


Code:
dpkg -l | grep Intel
ii  i965-va-driver:amd64                 2.4.1+dfsg1-1                  amd64        VAAPI driver for Intel G45 & HD Graphics family
Did you sort this out? i'm having the same problem and can't wrap my head around it..
 
did you try to do
Code:
modprobe i915
?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!