-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
C: otherNo other component ("C:") label applies to this issue, or the appropriate label is not yet known.No other component ("C:") label applies to this issue, or the appropriate label is not yet known.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.2This issue affects Qubes OS 4.2.This issue affects Qubes OS 4.2.hardware supportThis issue pertains to the hardware that Qubes OS supports.This issue pertains to the hardware that Qubes OS supports.needs diagnosisRequires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
Description
Qubes OS release
Qubes OS 4.2
Brief summary
Enabling kernel modesetting (KMS) for nvidia drivers in GPU PCI-passthrough HMV causes horrible performance - framerate in games drops from a decently stable 60 fps to a decently stable 5-10 fps.
This happens regardless of distribution (tested on both Debian 12 and Archlinux).
Steps to reproduce
- Create a HVM Debian 12/Archlinux qube with PCI passthrough (e.g. according to this great guide: https://neowutran.ovh/qubes/articles/gaming_linux_hvm.html)
- Install the nvidia drivers
- On Archlinux do nothing, as KMS is enabled by default, on Debian enable KMS (
options nvidia-drm modeset=1in/etc/modprobe.d/nvidia-drm-kms.conf) - Launch a GPU-intensive program, such as a game, on the dedicated GPU (e.g. with PRIME).
Expected behavior
Working reasonably fast, similarly to KMS disabled.
Actual behavior
Working very, very slowly. Even noticeable with glxgears.
Additional information
I haven't been able to test this with Fedora, as any attempts to install nvidia drivers there have failed.
Some software (like gamescope) simply refuses to work without KMS. Some games crash, too.
Metadata
Metadata
Assignees
Labels
C: otherNo other component ("C:") label applies to this issue, or the appropriate label is not yet known.No other component ("C:") label applies to this issue, or the appropriate label is not yet known.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.2This issue affects Qubes OS 4.2.This issue affects Qubes OS 4.2.hardware supportThis issue pertains to the hardware that Qubes OS supports.This issue pertains to the hardware that Qubes OS supports.needs diagnosisRequires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.