Why Nostr? What is Njump?
2024-09-15 10:13:49

mleku on Nostr: just wanted to make an OP about this: default WSL2 kernel (it's a 5.15 version) does ...

just wanted to make an OP about this:

default WSL2 kernel (it's a 5.15 version) does not have a required netfilter module enabled, and this prevents you from setting up a wireguard tunnel from a WSL2 environment, this is the fix:

https://unix.stackexchange.com/questions/700620/run-wireguard-as-a-client-on-win10-with-wsl2

i don't know if this is needed for Ubuntu but building it on an Arch environment required me to install `sudo pacman -S base-devel bc pahole` to make the build complete

````
git clone --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel.git
cd WSL2-Linux-Kernel/
zcat /proc/config.gz > .config
yes ""|make -j $(nproc)
```

then you need to copy the kernel bzImage into a location and create a `.wslconfig` file with this:

```ini
[wsl2]
kernel=c:\\Users\\<username>\\bzImage
```

and copy the file

`cp arch/x86_64/boot/bzImage /mnt/c/Users/<username>/bzImage`

and from a `cmd` or powershell run this:

`wsl --shutdown`

and then open up the WSL2 shell again and `uname -r` will show something like this:

`6.6.36.6-microsoft-standard-WSL2+`

for those of y'all who, like me, prefer AMD video cards which are absolute b0rk running most versions of linux these days, the colour correction, the mere support of it at all, when i first got this RX 7800 XT was quite a search to learn that Zorin OS 17 works... Ubuntu 24 also works but every other version of everything will give you either a black screen, or for Ubuntu 20 and similar, LLVMPipe CPU based rendering

there is of course no excuse for why the linux kernel 6 series is not working properly with the AMD drivers because they are open source, unlike the nouveau ones which are not supported by Nvidia in any way, shape or form - to the point where there isn't really a non-open source option for drivers on AMD, the pro version is only a small bit different and is mainly to enable better compute capabilities

i don't like any of this situation and i certainly hope i have another option for the next time i do a GPU upgrade
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku