Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface Pro 8 Fails to Build Displaylink #1072

Open
NegligentBiochemist opened this issue Aug 11, 2024 · 0 comments
Open

Surface Pro 8 Fails to Build Displaylink #1072

NegligentBiochemist opened this issue Aug 11, 2024 · 0 comments

Comments

@NegligentBiochemist
Copy link

Using the following import code, Displaylink now fails to build on my Surface Pro 8, since a few days ago. I've tried commenting out the surface-pro-intel bit, and it builds properly, so I'm guessing it's a problem with this.

imports =
    [ # Include the results of the hardware scan.
      (import "${home-manager}/nixos")
     "${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/microsoft/surface/surface-pro-intel"
      ./hardware-configuration.nix
    ];
#nix-prefetch-url --name displaylink-580.zip https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu-6.0?filetype=exe
  services.xserver.videoDrivers = [ "displaylink" "modesetting" ];

The logs are long enough that the nixos-rebuild gets hidden from me, and I can't figure out how to save the full logs to a file, but this is the bit I think is most important (purely because it's the only bit highlighted in red).

/build/source/module/evdi_gem.c: In function 'evdi_gem_vmap':
/build/source/module/evdi_gem.c:319:25: error: implicit declaration of function 'vmap'; did you mean 'kmap'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration8;;]
  319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
      |                         ^~~~
      |                         kmap
/build/source/module/evdi_gem.c:319:23: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;]
  319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
      |                       ^
/build/source/module/evdi_gem.c: In function 'evdi_gem_vunmap':
/build/source/module/evdi_gem.c:355:17: error: implicit declaration of function 'vunmap'; did you mean 'kunmap'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration8;;]
  355 |                 vunmap(obj->vmapping);
      |                 ^~~~~~
      |                 kunmap
/nix/store/rwgfxrnvcwf930i3p9wa0v0x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant