[SOLVED] Why PM 8.3.5 does not detects correctly my video card

skal

New Member
Aug 18, 2023
18
2
3
Hi all,
I'm not talking about pass-through on LXC or VM. I'm talking about the host.

I have a little pc with n150 cpu and a Intel Alder Lake-N card.

If I boot it as a ubuntu live distro, everything seems fine, but if I install a proxmox the card is not recognized as it should :-(

I install it on a raid1 configuration and it boots ok, but if I controll the video card,

$ ls -la /dev/dri/*
crw-rw---- 1 root video 226, 0 Mar 24 12:51 /dev/dri/card0

/dev/dri/by-path:
total 0
drwxr-xr-x 2 root root 60 Mar 24 12:51 .
drwxr-xr-x 3 root root 80 Mar 24 12:51 ..
lrwxrwxrwx 1 root root 8 Mar 24 12:51 pci-0000:00:02.0-platform-simple-framebuffer.0-card -> ../card0

$ lsmod |grep i95
$ sudo su -
# modprobe i915
# lsmod |grep i9
i915 3936256 0
drm_buddy 20480 1 i915
ttm 98304 1 i915
drm_display_helper 225280 1 i915
cec 90112 2 drm_display_helper,i915
i2c_algo_bit 16384 1 i915
video 77824 1 i915

While if

# ls -aRl /dev/dri/
/dev/dri/:
total 0
drwxr-xr-x 3 root root 100 Mar 24 11:56 .
drwxr-xr-x 20 root root 4760 Mar 24 11:56 ..
drwxr-xr-x 2 root root 80 Mar 24 11:56 by-path
crw-rw----+ 1 root video 226, 1 Mar 24 12:04 card1
crw-rw----+ 1 root render 226, 128 Mar 24 12:04 renderD128

/dev/dri/by-path:
total 0
drwxr-xr-x 2 root root 80 Mar 24 11:56 .
drwxr-xr-x 3 root root 100 Mar 24 11:56 ..
lrwxrwxrwx 1 root root 8 Mar 24 11:56 pci-0000:00:02.0-card -> ../card1
lrwxrwxrwx 1 root root 13 Mar 24 11:56 pci-0000:00:02.0-render -> ../renderD128

I did the following changes.

# grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt i915.enable_gvt=1"

But if I try to update grub. I get the following error:

# update-grub
Generating grub configuration file ...
W: This system is booted via proxmox-boot-tool:
W: Executing 'update-grub' directly does not update the correct configs!
W: Running: 'proxmox-boot-tool refresh'

Copying and configuring kernels on /dev/disk/by-uuid/3757-8C61
Copying kernel and creating boot-entry for 6.8.12-4-pve
Copying kernel and creating boot-entry for 6.8.12-8-pve
Copying and configuring kernels on /dev/disk/by-uuid/3758-1565
Copying kernel and creating boot-entry for 6.8.12-4-pve
Copying kernel and creating boot-entry for 6.8.12-8-pve
Found linux image: /boot/vmlinuz-6.8.12-8-pve
Found initrd image: /boot/initrd.img-6.8.12-8-pve
/usr/sbin/grub-probe: error: unknown filesystem.
Found linux image: /boot/vmlinuz-6.8.12-4-pve
Found initrd image: /boot/initrd.img-6.8.12-4-pve
/usr/sbin/grub-probe: error: unknown filesystem.
Adding boot menu entry for UEFI Firmware Settings ...
done

Then I've modified the following file as follows

#vi /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt i915.enable_gvt=1

# proxmox-boot-tool refresh
Running hook script 'proxmox-auto-removal'..
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/3757-8C61
Copying kernel and creating boot-entry for 6.8.12-4-pve
Copying kernel and creating boot-entry for 6.8.12-8-pve
Copying and configuring kernels on /dev/disk/by-uuid/3758-1565
Copying kernel and creating boot-entry for 6.8.12-4-pve
Copying kernel and creating boot-entry for 6.8.12-8-pve



But nothing changes :-(

ls -lRa /dev/dri/
/dev/dri/:
total 0
drwxr-xr-x 3 root root 80 Mar 24 13:34 .
drwxr-xr-x 17 root root 4300 Mar 24 13:34 ..
drwxr-xr-x 2 root root 60 Mar 24 13:34 by-path
crw-rw---- 1 root video 226, 0 Mar 24 13:34 card0

/dev/dri/by-path:
total 0
drwxr-xr-x 2 root root 60 Mar 24 13:34 .
drwxr-xr-x 3 root root 80 Mar 24 13:34 ..
lrwxrwxrwx 1 root root 8 Mar 24 13:34 pci-0000:00:02.0-platform-simple-framebuffer.0-card -> ../card0


What do I miss? :confused:
 
Noboby has any idea ? Maybe you could point me at least the right direction ;-) it is seen only as a simple fb card
 
Last edited:
Did you upgrade to kernel 6.11?
$ uname -a
Linux pmxnas 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64 GNU/Linux

This one is the kernel I've found on the sistem with the last upgrade.
I will give a try to what you say


UPDATE:
after installing the new kernel @tomle suggested me, seems fixed the problem.
I wonder why on a similar system (not the same) the previous kernel was working well without upgrade.

Anyway thank you vary much!
 
Last edited: