[Nix-dev] Nvidia driver: no screens found

Cody Goodman codygman.consulting at gmail.com
Fri Feb 20 04:37:20 CET 2015


Below is the Xorg log and my relevant configuration where I attempted to
add a screen configuration. I'm using an Asus g46vw with an nvidia gtx
660m. The nvidia driver on Ubuntu trusty worked with it out of the box, but
I can't seem to get it to work on nix.

# Xorg.0.log
[    41.267] (II) Open ACPI successful (/var/run/acpid.socket)
[    41.267] (II) "glx" will be loaded by default.
[    41.267] (II) LoadModule: "glx"
[    41.268] (II) Loading
/nix/store/d71k2rd394112ymqgfgdrq0klf3llxy8-nvidia-x11-340.65-3.14.29/lib/xorg/modules/extensions/libglx.so
[    41.280] (II) Module glx: vendor="NVIDIA Corporation"
[    41.280]    compiled for 4.0.2, module version = 1.0.0
[    41.280]    Module class: X.Org Server Extension
[    41.280] (II) NVIDIA GLX Module  340.65  Tue Dec  2 09:10:06 PST 2014
[    41.280] (II) LoadModule: "nvidia"
[    41.280] (II) Loading
/nix/store/d71k2rd394112ymqgfgdrq0klf3llxy8-nvidia-x11-340.65-3.14.29/lib/xorg/modules/drivers/nvidia_drv.so
[    41.280] (II) Module nvidia: vendor="NVIDIA Corporation"
[    41.280]    compiled for 4.0.2, module version = 1.0.0
[    41.280]    Module class: X.Org Video Driver
[    41.280] (II) NVIDIA dlloader X Driver  340.65  Tue Dec  2 08:47:36 PST
2014
[    41.280] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    41.280] (++) using VT number 7

[    41.283] (EE) No devices detected.
[    41.283] (EE)
Fatal server error:
[    41.283] (EE) no screens found(EE)
[    41.283] (EE)


# Custom x11 config
services.xserver.deviceSection = ''
  Section "Monitor"
      Identifier "Monitor0"
  EndSection
   Section Device
    Identifier        "Device0"
    Driver            "nvidia"
    VendorName        "NVIDIA Corporation"
    BusID             "PCI:1:0:0"
  EndSection
   Section Screen
    Identifier        "Screen0"
    Device            "Device0"
    Monitor           "Monitor0"
    DefaultDepth      24
    SubSection        "Display"
      Depth   16
      Modes   "1920x1080_75.00"
    EndSubSection
  EndSection
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150219/4905d380/attachment.html 


More information about the nix-dev mailing list