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

Is WSL2 supported? #219

Open
brokeDude2901 opened this issue Jan 11, 2022 · 1 comment
Open

Is WSL2 supported? #219

brokeDude2901 opened this issue Jan 11, 2022 · 1 comment
Labels

Comments

@brokeDude2901
Copy link

I tried to build .deb packages on Ubuntu 20.04 LTS WSL2 Windows 11

Packages build successfully but failed to install

Selecting previously unselected package gdrcopy-tests:amd64.
(Reading database ... 102336 files and directories currently installed.)
Preparing to unpack gdrcopy-tests_2.3-1_amd64.Ubuntu20_04+cuda11.5.deb ...
Unpacking gdrcopy-tests:amd64 (2.3-1) ...
Selecting previously unselected package gdrcopy:amd64.
Preparing to unpack gdrcopy_2.3-1_amd64.Ubuntu20_04.deb ...
Unpacking gdrcopy:amd64 (2.3-1) ...
Selecting previously unselected package gdrdrv-dkms:amd64.
Preparing to unpack gdrdrv-dkms_2.3-1_amd64.Ubuntu20_04.deb ...
Unpacking gdrdrv-dkms:amd64 (2.3-1) ...
Selecting previously unselected package libgdrapi:amd64.
Preparing to unpack libgdrapi_2.3-1_amd64.Ubuntu20_04.deb ...
Unpacking libgdrapi:amd64 (2.3-1) ...
Setting up gdrdrv-dkms:amd64 (2.3-1) ...
Loading new gdrdrv-2.3 DKMS files...
It is likely that 5.10.60.1-microsoft-standard-WSL2 belongs to a chroot's host
Building for 5.4.0-92-generic
Building for architecture x86_64
Building initial module for 5.4.0-92-generic
ERROR (dkms apport): unable to determine source package for gdrdrv-dkms
Error! Bad return status for module build on kernel: 5.4.0-92-generic (x86_64)
Consult /var/lib/dkms/gdrdrv/2.3/build/make.log for more information.
dpkg: error processing package gdrdrv-dkms:amd64 (--install):
installed gdrdrv-dkms:amd64 package post-installation script subprocess returned error exit status 10
Setting up libgdrapi:amd64 (2.3-1) ...
Setting up gdrcopy-tests:amd64 (2.3-1) ...
dpkg: dependency problems prevent configuration of gdrcopy:amd64:
gdrcopy:amd64 depends on gdrdrv-dkms (= 2.3-1); however:
Package gdrdrv-dkms:amd64 is not configured yet.

dpkg: error processing package gdrcopy:amd64 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (245.4-4ubuntu3.11) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

Errors were encountered while processing:
gdrdrv-dkms:amd64
gdrcopy:amd64

@drossetti
Copy link
Member

What would the use case be?
Background:
WSL2 does not expose the PCIe hierarchy.
Besides, the GPU kernel driver is the WDDM driver.

Sorry, I don't see chances to support gdrcopy under WSL2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants