Geforce GTX 1650 and Proxmox 9.0

rjcab

Active Member
Mar 1, 2021
117
1
38
45
Hello,

I have a Geforce GTX 1650 which works well by passthrough with my Windows 11 VM on Proxmox 7.4
I tried many time with the same config to get GPU passthrough working with 8.x but no chance so far.

I was wondering if some guys have the same GPU and use passthrough with VM Windows and Proxmox 9.0.

For Info here below the code I made to configure my GPU passthrough with Proxmox 7.4


Code:
#!/bin/bash

# Vérifier si l'utilisateur est root
if [[ $EUID -ne 0 ]]; then
   echo "Ce script doit être exécuté en tant que root."
   exit 1
fi

# Modifier /etc/default/grub
echo "Modification de /etc/default/grub..."
sed -i 's|^GRUB_CMDLINE_LINUX_DEFAULT=.*|GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt initcall_blacklist=sysfb_init"|' /etc/default/grub

# Modifier /etc/modules
echo "Ajout des modules VFIO à /etc/modules..."
cat <<EOT >> /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
EOT

# Appliquer la mise à jour de GRUB
echo "Mise à jour de GRUB..."
update-grub

# Configurer VFIO dans /etc/modprobe.d/vfio.conf
echo "Configuration de VFIO dans /etc/modprobe.d/vfio.conf..."
echo "options vfio-pci ids=10de:1f82,10de:10fa disable_vga=1" > /etc/modprobe.d/vfio.conf

# Mise à jour de l'initramfs
echo "Mise à jour de l'initramfs..."
update-initramfs -u

# Blacklister les pilotes GPU dans /etc/modprobe.d/blacklist.conf
echo "Ajout des pilotes GPU à la liste noire..."
cat <<EOT >> /etc/modprobe.d/blacklist.conf
blacklist nvidia
blacklist nouveau
blacklist radeon
blacklist i2c_nvidia_gpu
blacklist nvidiafb
EOT

Thanks in advance
 
Hello,

Do not have the same GPU but you can use the common steps(if you didn't try yet):
- Switch to Q35 machine type and OVMF (UEFI) firmware
- Try to change the bios settings:
1. Enter BIOS Setup
Reboot your system.
Press the BIOS key during startup (usually DEL, F2, or ESC).
2. Disable Compatibility Support Module (CSM)
Navigate to the Boot tab.
Find CSM (Compatibility Support Module) and set it to Disabled.
This ensures UEFI mode is active, which is required for ReBAR.
3. Enable Above 4G Decoding
Go to the Advanced tab or PCI Subsystem Settings.
Find Above 4G Decoding and set it to Enabled.
4. Enable Resizable BAR
In the same section (Advanced or PCI settings), locate Resizable BAR Support or ReBAR.
Set it to Enabled or Auto.
5. Enable UEFI Boot Mode
In the Boot tab, ensure Boot Mode is set to UEFI (not Legacy).
Enable Secure Boot if required by your OS.
- Passing through all functions of the GPU (including audio and USB controllers)
 
Hello,

I will try the proposed setup.
Meantime my VM is already in OVMF et Q35 type.

1757420346852.png
 
Setup a Windows Remote Desktop connection (RDP), so that you can have a look at the VM, in the "non-working" cases. Debugging is everything.

Often it is also necessary to extract the Legacy Video BIOS (ROM-file) from the graphics card and pass that directly to the passed-through PCIe device. See documentation for that. In order to extract the file, it might be necessary to (at least once) enable CSM and set "Video" to "Legacy".
I don't have the same card, but those steps often help. If for nothing else, then they won't hurt for debugging purposes.
 
thanks for all your inputs, I will make some tests this week end and I will keep you informed
 
I did a fresh install and only did that and Proxmox stucks at starting and in rescue mode I can only ping the machine.
No VM running. Weired ?

Code:
#!/bin/bash

# Vérifier si l'utilisateur est root
if [[ $EUID -ne 0 ]]; then
   echo "Ce script doit être exécuté en tant que root."
   exit 1
fi

# Modifier /etc/default/grub
echo "Modification de /etc/default/grub..."
sed -i 's|^GRUB_CMDLINE_LINUX_DEFAULT=.*|GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt initcall_blacklist=sysfb_init"|' /etc/default/grub

# Modifier /etc/modules
echo "Ajout des modules VFIO à /etc/modules..."
cat <<EOT >> /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
EOT

# Appliquer la mise à jour de GRUB
echo "Mise à jour de GRUB..."
update-grub

# Configurer VFIO dans /etc/modprobe.d/vfio.conf
echo "Configuration de VFIO dans /etc/modprobe.d/vfio.conf..."
echo "options vfio-pci ids=10de:1f82,10de:10fa disable_vga=1" > /etc/modprobe.d/vfio.conf

# Mise à jour de l'initramfs
echo "Mise à jour de l'initramfs..."
update-initramfs -u

# Blacklister les pilotes GPU dans /etc/modprobe.d/blacklist.conf
echo "Ajout des pilotes GPU à la liste noire..."
cat <<EOT >> /etc/modprobe.d/blacklist.conf
blacklist nvidia
blacklist nouveau
blacklist radeon
blacklist i2c_nvidia_gpu
blacklist nvidiafb
EOT
 
Hello.

First I try to go step by step and setup the right options in the BIOS:

1. Disable Compatibility Support Module (CSM) I don't find this option
2. Enable 4G Decoding I don't find this option
3. Enable Resizable BAR I don't find this option
4. Enable UEFI Boot Mode I think I am ok with the below screen:

bios.png


What I don't understand is why a fresh install with this setup prevents proxmox to boot correctly with the bios setup and my script which have post above.

Thanks for your help
 
Last edited:
I reset all my bios and did once again a fresh install of proxmox 9.0.3.
I tried to progress step by step.

I've just made that change:

Code:
#/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

Then updade-grub
Then reboot proxmox.

Then:

Code:
root@pve:~# dmesg | grep -e DMAR -e IOMMU
[    0.024502] ACPI: DMAR 0x0000000099772000 000050 (v02 INTEL  EDK2     00000002      01000013)
[    0.024546] ACPI: Reserving DMAR table memory at [mem 0x99772000-0x9977204f]
[    0.107151] DMAR: IOMMU enabled
[    0.279677] DMAR: Host address width 39
[    0.279679] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.279691] DMAR: dmar0: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[    0.279695] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 0
[    0.279696] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.279698] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.281149] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.708343] DMAR: No RMRR found
[    0.708344] DMAR: No ATSR found
[    0.708344] DMAR: No SATC found
[    0.708346] DMAR: dmar0: Using Queued invalidation
[    0.709911] DMAR: Intel(R) Virtualization Technology for Directed I/O
root@pve:~#

If I try to start the VM Win10 which works well with GPU Passthrough on Proxmox 7.4, proxmox server is in bloc state, no network even on the screen on proxmox itself.

What I should do as next steps ?

Thanks
 
Last edited:
Also in parallel I found that there is pve-nvidia-vgpu-helper and I tried to install but no chance : (

Code:
root@pve:~# apt update && apt full-upgrade
Hit:1 http://security.debian.org/debian-security trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
All packages are up to date.
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
root@pve:~# pve-nvidia-vgpu-helper setup
You are running the Proxmox kernel 6.14.8-2, searching the associated and newer kernel headers package.
The following packages are missing:
        dkms
        libc6-dev
        proxmox-default-headers
        proxmox-headers-6.14
Would you like to install them now (y/N)? y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package proxmox-default-headers
E: Unable to locate package proxmox-headers-6.14
E: Couldn't find any package by glob 'proxmox-headers-6.14'
E: Couldn't find any package by regex 'proxmox-headers-6.14'
apt failed during the installation (exit code 25600), please check its output for errors.
root@pve:~#
 
Better in adding that:

Code:
root@pve:~# cat /etc/apt/sources.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
deb http://download.proxmox.com/debian/pve bookworm pvetest
root@pve:~#
 
Code:
root@pve:~# pve-nvidia-vgpu-helper setup
You are running the Proxmox kernel 6.14.8-2, searching the associated and newer kernel headers package.
All required packages are already installed.
All done, you can continue with the NVIDIA vGPU driver installation.
root@pve:~#

Now I have to find what is the next step :)
 
I tried to install Nvidia Driver but iy failed.
I proceed as below:

1758035612257.png
Code:
Linux pve 6.14.8-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.14.8-2 (2025-07-22T10:04Z) x86_64 GNU/Linux
root@pve:/var/log/journal/09b1e6fa101c43549ce68292ffcab6bb#

If you have any tips