Displaylink: Difference between revisions

imported>4ludwig4
No edit summary
imported>Lillecarl
xorg configuration added, required for me to get displaylink working on 21.05
Line 20: Line 20:
     ${lib.getBin pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource 2 0
     ${lib.getBin pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource 2 0
'';</syntaxhighlight>
'';</syntaxhighlight>
====xorg configuration====
After some experimentation at work getting our Dell D6000 docks to work i had to create an xorg configuration file as follows
<syntaxhighlight lang="nix">environment.etc."X11/xorg.conf.d/20-evdi.conf" = {
  enable = true;
  text = ''
    Section "OutputClass"
      Identifier "DisplayLink"
      MatchDriver "evdi"
      Driver "modesetting"
      Option "AccelMethod" "none"
    EndSection
  '';
};</syntaxhighlight>
Taken from arch wiki (https://wiki.archlinux.org/title/DisplayLink#Configuring_X_Server)
Note that modesetting is the modern Intel iGPU driver, read further into the Arch wiki if you're experiencing issues.
evdi is automatically pulled in as a dependency from the displaylink package, you might need to add it to boot.kernelModules.


====Status of the package====
====Status of the package====
As of right now (2020-01-24), the package in the {{ic|nixos}} stable channel is out of date, so you may need to override it from {{ic|nixpkgs}}.
As of right now (2020-01-24), the package in the {{ic|nixos}} stable channel is out of date, so you may need to override it from {{ic|nixpkgs}}.  


Since '''NixOS 20.03''' this package is working out of the box again.
Since '''NixOS 20.03''' this package is working out of the box again.
[[Category:Video]]
[[Category:Video]]