• 0 Posts
  • 1 Comment
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle
  • This is graat info. Didn’t know about Ventoy before, it sounds really cool.

    Just wanted to add that if you’re running multiple monitors on an nvidia card, you may find that the second monitor has low fps/stutters on wayland (common on dual graphics laptops). The fix is as follows:

    Add these 3 lines to /etc/modprobe.d/nvidia.conf:

    options nvidia-drm modeset=1
    options nvidia NVreg_UsePageAttributeTable=1 NVreg_InitializeSystemMemoryAllocations=0 NVreg_EnableGpuFirmware=0
    

    Add this line to /etc/environment:

    KWIN_DRM_DEVICES="/dev/dri/by-path/pci-0000\:01\:00.0-card:/dev/dri/by-path/pci-0000\:00\:02.0-card"
    

    You may have to modify the part that says pci-xxxx\:xx\:xx.x-card with the appropriate values for your graphics card.

    Run lspci | egrep VGA to list installed PCI graphics cards and try to map the values from there

    Disclaimer: I don’t know why this works but it does and it isn’t malicious as far as I can tell. If anyone knows what exactly it’s doing, I’d like to know please.