# DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau

**URL:** https://discourse.nixos.org/t/drm-kernel-driver-nvidia-drm-in-use-nvk-requires-nouveau/42222
**Category:** Help
**Created:** [March 26, 2024, 2:00pm UTC](https://discourse.nixos.org/t/drm-kernel-driver-nvidia-drm-in-use-nvk-requires-nouveau/42222 "2024-03-26T14:00:47Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![ALEZ-DEV](https://discourse.nixos.org/user_avatar/discourse.nixos.org/alez-dev/32/27059_2.png) [@ALEZ-DEV](https://discourse.nixos.org/u/ALEZ-DEV)
#### Post date: [July 3, 2024, 11:44am UTC](https://discourse.nixos.org/t/drm-kernel-driver-nvidia-drm-in-use-nvk-requires-nouveau/42222/19 "2024-07-03T11:44:01Z")

</div>

> [@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 :

```auto
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 :

> [@NVK error when using prop nvidia drivers](https://discourse.nixos.org/t/nvk-error-when-using-prop-nvidia-drivers/43300):
>
> 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…

> <https://github.com/logseq/logseq/issues/11396>
>
> \### 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

---

_[View the full topic](https://discourse.nixos.org/t/drm-kernel-driver-nvidia-drm-in-use-nvk-requires-nouveau/42222)._
