mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2024-11-14 12:20:26 +01:00
kernel patching for fedora, add 6.10+ patches
This commit is contained in:
parent
97e5424eac
commit
feffa344f2
1 changed files with 31 additions and 2 deletions
|
@ -41,8 +41,8 @@ A non-comprehensive table of various VR/XR devices and the drivers that support
|
|||
| HTC Vive | ✅ | ✅ | 🚧 (WiVRn PC-PC stream) |
|
||||
| HTC Vive Pro | ✅ | ✅ | 🚧 (WiVRn PC-PC stream) |
|
||||
| HTC Vive Pro Eye | ✅ (No eyechip) | ✅ (No eyechip) | 🚧 (WiVRn PC-PC stream) |
|
||||
| HTC Vive Pro 2 | ✅ (custom [driver and patches](https://github.com/CertainLach/VivePro2-Linux-Driver)) | ✅ (With two kernel patches [1](https://github.com/CertainLach/VivePro2-Linux-Driver/blob/master/kernel-patches/0002-drm-edid-parse-DRM-VESA-dsc-bpp-target.patch) [2](https://github.com/CertainLach/VivePro2-Linux-Driver/blob/master/kernel-patches/0003-drm-amd-use-fixed-dsc-bits-per-pixel-from-edid.patch) Doesn't work on Nvidia) | -- |
|
||||
| Bigscreen Beyond | ✅ (with [kernel patches](https://gist.githubusercontent.com/TayouVR/af8635a4b8e1d02d038be1be1d221c83/raw/3806a6ff0a03721904164277d7523d43f7ca383c/bigscreenBeyond.patch). Doesn't work on Nvidia) | ✅ (with [kernel patches](https://gist.githubusercontent.com/TayouVR/af8635a4b8e1d02d038be1be1d221c83/raw/3806a6ff0a03721904164277d7523d43f7ca383c/bigscreenBeyond.patch). Doesn't work on Nvidia) | -- |
|
||||
| HTC Vive Pro 2 | ✅ (custom [driver and patches](https://github.com/CertainLach/VivePro2-Linux-Driver)) | ✅ (With two kernel patches [1](https://github.com/CertainLach/VivePro2-Linux-Driver/blob/master/kernel-patches/0002-drm-edid-parse-DRM-VESA-dsc-bpp-target.patch) [2](https://github.com/CertainLach/VivePro2-Linux-Driver/blob/master/kernel-patches/0003-drm-amd-use-fixed-dsc-bits-per-pixel-from-edid.patch), AMD GPUs only.) | -- |
|
||||
| Bigscreen Beyond | ✅ (with [kernel patch](https://gist.github.com/galister/08cddf10ac18929647d5fb6308df3e4b/raw/0f6417b6cb069f19d6c28b730499c07de06ec413/combined-bsb-6-10.patch), AMD GPUs only.) | ✅ (with [kernel patch](https://gist.github.com/galister/08cddf10ac18929647d5fb6308df3e4b/raw/0f6417b6cb069f19d6c28b730499c07de06ec413/combined-bsb-6-10.patch), AMD GPUs only.) | -- |
|
||||
| Somnium VR1 | ? | ? | ? |
|
||||
| VRgineers XTAL | ? | ? | ? |
|
||||
| StarVR One | ? | ? | ? |
|
||||
|
@ -127,6 +127,35 @@ source=(
|
|||
4. close `PKGBUILD`. (may not be necessary but i ran `updpkgsums`) -> `makepkg -s --skippgpcheck` (i didn't feel like fixing a pgp error)
|
||||
5. then section 4 of https://wiki.archlinux.org/title/Kernel/Arch_build_system#Installing and restart
|
||||
|
||||
### Fedora
|
||||
|
||||
1. Prepare the kernel
|
||||
```sh
|
||||
git clone https://src.fedoraproject.org/rpms/kernel.git
|
||||
cd kernel
|
||||
|
||||
# replace 41 with your fedora version
|
||||
git switch f41
|
||||
|
||||
# name this the 'bsb' build
|
||||
sed -i 's/# define buildid .*/%define buildid .bsb/g' kernel.spec
|
||||
```
|
||||
|
||||
2. Replace `linux-kernel-test.patch` with the actual patch file downloaded from the table above
|
||||
|
||||
3. Build RPMs:
|
||||
```sh
|
||||
fedpkg local
|
||||
```
|
||||
|
||||
4. Install kernel:
|
||||
```sh
|
||||
sudo dnf install --nogpgcheck ./x86_64/kernel-*.rpm
|
||||
```
|
||||
5. Reboot and check that using `uname -a` that the `bsb` kernel is running.
|
||||
|
||||
Official guide: [Building a Kernel from the Fedora dist-git](https://docs.fedoraproject.org/en-US/quick-docs/kernel-build-custom/#_building_a_kernel_from_the_fedora_dist_git)
|
||||
|
||||
### NixOS
|
||||
|
||||
1. download the patch(es)
|
||||
|
|
Loading…
Reference in a new issue