radek-stasta:
I have laptop with integrated gpu and Nvidia gpu and it seems that I have something somewhere badly configured. When I try to open Chrome for example, it takes around 2 minutes to open with many errors
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau. libva error: /run/opengl-driver/lib/dri/nvidia_drv_video.so init failed
When I disable hardware acceleration in Chrome, it opens instantly without any problems. It happens also for example with Steam with exactly the same message. Is there something I can do?
I have the same issue, tried to install obsidian but somehow fail when starting it, tried to launch it with the VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json variable environment but fail to start, I try adding :
hardware.nvidia.modesetting.enable = true;
boot.kernelParams = [ "nvidia-drm.fbdev=1" ];
but fails too, and what’s even weirder is that somehow obsidian rarely success to start, why? I don’t know I litterally changed nothing to my environment between the two start session, not even rebooting.
There’s some related issues(I think) I found :
I am using the proprietary nvidia driver with this config:
services.xserver.videoDrivers = ["nvidia"];
boot.kernelParams = [ "nvidia.NVreg_PreserveVideoMemoryAllocations=1" ];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = true;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = false;
package = config.boot.kernelPackages.nvidiaPackages.beta;
};
In some applications (some electron apps under wayland, rio terminal and some more native waylan…
opened 11:16PM - 29 Jun 24 UTC
closed 03:35PM - 04 Jul 24 UTC
### Search first
- [X] I searched and no similar issues were found
### What Ha… ppened?
Install Logseq on Nixos using the package
### Reproduce the Bug
Install Logseq on NixOS while using Nvidia drivers
### Expected Behavior
Use of the nvidia driver
### Screenshots
_No response_
### Desktop or Mobile Platform Information
NixOS 24.05
### Additional Context
Willing to submit a PR if it's the Nix build as I know Nix language well enough. But I am not sure if that is the issue as I don't see anything in there that would forcibly call nouveau even if it wasn't installed.
### Are you willing to submit a PR? If you know how to fix the bug.
- [X] I'm willing to submit a PR (Thank you!)
I think the issue is only related to chrome based app