When I try to run Joplin I get this error:
user@nixos ~/Documents> joplin-desktop
Sentry: Initialized with autoUploadCrashDumps: false
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
libEGL warning: egl: failed to create dri2 screen
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
for reference here is my Nvidia config
{ config, lib, pkgs, ... }:
{
options = {
# Define any custom options here if needed.
};
config = {
boot.kernelParams = [ "nvidia_drm.fbdev=1" "nvidia-drm.modeset=1" "module_blacklist=i915" ];
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
environment.systemPackages = with pkgs; [
libva-utils
vdpauinfo
vulkan-tools
vulkan-validation-layers
libvdpau-va-gl
egl-wayland
wgpu-utils
mesa
libglvnd
nvtop
nvitop
libGL
];
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
forceFullCompositionPipeline = true;
modesetting.enable = true;
powerManagement.enable = true;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
# Uncomment next line to switch back to mainline NixOS Drivers
# package = config.boot.kernelPackages.nvidiaPackages.production;
};
#Force use of the 555.58 Driver
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "555.58";
sha256_64bit = "sha256-bXvcXkg2kQZuCNKRZM5QoTaTjF4l2TtrsKUvyicj5ew=";
sha256_aarch64 = "sha256-7XswQwW1iFP4ji5mbRQ6PVEhD4SGWpjUJe1o8zoXYRE=";
openSha256 = "sha256-hEAmFISMuXm8tbsrB+WiUcEFuSGRNZ37aKWvf0WJ2/c=";
settingsSha256 = "sha256-vWnrXlBCb3K5uVkDFmJDVq51wrCoqgPF03lSjZOuU8M=";
persistencedSha256 = "sha256-lyYxDuGDTMdGxX3CaiWUh1IQuQlkI2hPEs5LI20vEVw=";
};
};
}
I am using an RTX2060 Legion Mobile laptop. Using the 555.58 drivers fixed many things in a previous post, but many applications such as joplin are still throwing errors such as the one mentioned above. The only issues I have in NixOS currently are Graphical ones related to Nvidia and Wayland