Zeditor complains I am using "software gpu" but I installed Nvidia Legacy 470

I have a Nvidia GT710 graphic card.

This my configuration.nix for installing Nvidia Legacy 470 Driver:

# use nvidia drivers
# https://nixos.wiki/wiki/Nvidia

nixpkgs.config.nvidia.acceptLicense = true;

boot.extraModulePackages = [config.boot.kernelPackages.nvidiaPackages.legacy_470];

# Enable OpenGL
hardware.graphics = {
enable = true;
};

hardware.nvidia = {

# Modesetting is required.
modesetting.enable = true;

# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
# Enable this if you have graphical corruption issues or application crashes after waking
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
# of just the bare essentials.
powerManagement.enable = false;

# Fine-grained power management. Turns off GPU when not in use.
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
powerManagement.finegrained = false;

# Use the NVidia open source kernel module (not to be confused with the
# independent third-party "nouveau" open source driver).
# Support is limited to the Turing and later architectures. Full list of
# supported GPUs is at:
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
# Only available from driver 515.43.04+
# Currently alpha-quality/buggy, so false is currently the recommended setting.
open = false;

# Enable the Nvidia settings menu,
# accessible via `nvidia-settings`.
nvidiaSettings = true;

# Optionally, you may need to select the appropriate driver version for your specific GPU.
package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
};

# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"];

I even installed vulkan-tools:

environment.systemPackages = with pkgs; [
pkgs.vulkan-tools
]

But zeditor complains: “zed uses vulkan for rendering and requires a compatible gpu. Currently you are using a software emulated GPU: LLVM 18.1.8, 256 bits”

image

So does my graphic card support apps that run on vulkan? How can I enable it?

Looks like I do have Vuklan:

$ inxi -Ga

Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Gigabyte driver: nvidia
    v: 470.256.02 alternate: nvidiafb,nouveau,nvidia_drm non-free:
    series: 470.xx+ status: legacy-active (EOL~2024-09-xx) arch: Fermi 2
    code: GF119/GK208 process: TSMC 28nm built: 2010-2016 pcie: gen: 2
    speed: 5 GT/s lanes: 1 link-max: lanes: 8 ports: active: none
    off: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:128b
    class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_x11 driver: gpu: nvidia,nvidia-nvswitch display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 93
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
  API: EGL Message: No EGL data available.
  API: OpenGL v: 4.6.0 vendor: nvidia v: 470.256.02 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GT 710/PCIe/SSE2
    memory: 1.95 GiB
  API: Vulkan v: 1.3.296 layers: 4 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GT 710 driver: N/A device-ID: 10de:128b
    surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 18.1.8 256
    bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib

Looks like zeditor is catching up “device 1” which is “llvmpipe” rather than “device 0” which is “NVIDIA GeForce GT 710”.

How do I make zeditor to see device 0?

Official wiki for startup troubles: Linux - Zed

It says the log is at ~/.local/share/zed/logs/Zed.log

And the log says:

2025-01-31T02:22:48.614202163+05:30 [INFO] Adapter: "NVIDIA GeForce GT 710"
2025-01-31T02:22:48.614239988+05:30 [WARN] Rejected for device extension "VK_KHR_dynamic_rendering" not supported. Please update the driver!

So simply my dinosaur graphic card is not supported?