Skip to content

Commit

Permalink
sync (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
git-bruh authored Jul 11, 2021
1 parent f1677e2 commit 843b7c1
Show file tree
Hide file tree
Showing 133 changed files with 264 additions and 405 deletions.
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GKISS Linux 🐂

![Downloads](https://img.shields.io/github/downloads/gkisslinux/grepo/latest/gkiss-chroot-2021.04.29.tar.xz)
![Downloads](https://img.shields.io/github/downloads/gkisslinux/grepo/latest/gkiss-chroot-2021.7-5.tar.xz)

## Installation

Expand Down Expand Up @@ -33,19 +33,30 @@ export KISS_PATH=/path/to/grepo/bin:$KISS_PATH

## NVIDIA

* Modify `KISS_PATH` such that the `nvidia` repository takes priority over other repositories since some Wayland packages like `wlroots` are forked here to add NVIDIA support:
```sh
export KISS_PATH=/path/to/grepo/nvidia:$KISS_PATH
```
* Build `libglvnd`, and then `mesa` since NVIDIA drivers require libglvnd.
* Install the nvidia drivers by building the `nvidia` package.
* For kernel configuration, refer to the [Gentoo Wiki](https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers#Kernel_compatibility). The `nouveau` kernel module must either be blacklisted from being loaded or disabled in the kernel configuration. The NVIDIA module can be loaded by running `modprobe nvidia-drm modeset=1` as root.
* For kernel configuration, refer to the [Gentoo Wiki](https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers#Kernel_compatibility). The `nouveau` kernel module must either be blacklisted from being loaded or disabled in the kernel configuration.
* The kernel modules can also be built for a specific kernel by exporting the `KERNEL_UNAME` variable:
```sh
export KERNEL_UNAME=5.10.2 # Example
kiss b nvidia && kiss i nvidia
kiss b nvidia
# Environment variables can't be used in `post-install`.
depmod "$KERNEL_UNAME"
```

### Screen Tearing
* Enable `Force Composition Pipeline` in the `nvidia-settings` GUI and save the changes to `xorg.conf` by using the `Save to X Configuration File` option.
* Enable `layers.acceleration.force-enabled` or switch to **WebRender** by setting `gfx.webrender.all` to `True` in Firefox's `about:config`.
* For Wayland compositors to work properly, the NVIDIA kernel module _MUST_ be loaded with the `modeset` parameter set to `1`:
```sh
# Files in /etc/rc.d are executed on boot.
-> cat << EOF | $cmd_su tee /etc/rc.d/nvidia.boot
> #!/bin/sh
>
> /bin/modprobe nvidia-drm modeset=1
> EOF
-> $cmd_su chmod 755 /etc/rc.d/nvidia.boot
```
## Reporting Issues
Expand Down
3 changes: 0 additions & 3 deletions bin/firefox/build

This file was deleted.

1 change: 0 additions & 1 deletion bin/firefox/checksums

This file was deleted.

40 changes: 0 additions & 40 deletions bin/firefox/depends

This file was deleted.

14 changes: 0 additions & 14 deletions bin/firefox/post-install

This file was deleted.

1 change: 0 additions & 1 deletion bin/firefox/sources

This file was deleted.

1 change: 0 additions & 1 deletion bin/firefox/version

This file was deleted.

4 changes: 0 additions & 4 deletions bin/rust/build

This file was deleted.

1 change: 0 additions & 1 deletion bin/rust/checksums

This file was deleted.

5 changes: 0 additions & 5 deletions bin/rust/depends

This file was deleted.

1 change: 0 additions & 1 deletion bin/rust/sources

This file was deleted.

1 change: 0 additions & 1 deletion bin/rust/version

This file was deleted.

1 change: 0 additions & 1 deletion core/libressl

This file was deleted.

1 change: 1 addition & 0 deletions core/openssl
1 change: 1 addition & 0 deletions extra/adwaita-icon-theme
1 change: 0 additions & 1 deletion extra/libevdev

This file was deleted.

1 change: 0 additions & 1 deletion extra/libvdpau/checksums

This file was deleted.

3 changes: 0 additions & 3 deletions extra/libvdpau/depends

This file was deleted.

1 change: 0 additions & 1 deletion extra/libvdpau/sources

This file was deleted.

1 change: 0 additions & 1 deletion extra/libvdpau/version

This file was deleted.

1 change: 1 addition & 0 deletions extra/mesa
49 changes: 0 additions & 49 deletions extra/mesa/build

This file was deleted.

1 change: 0 additions & 1 deletion extra/mesa/checksums

This file was deleted.

22 changes: 0 additions & 22 deletions extra/mesa/depends

This file was deleted.

1 change: 0 additions & 1 deletion extra/mesa/sources

This file was deleted.

1 change: 0 additions & 1 deletion extra/mesa/version

This file was deleted.

1 change: 0 additions & 1 deletion extra/mtdev

This file was deleted.

122 changes: 0 additions & 122 deletions extra/nvidia/build

This file was deleted.

4 changes: 0 additions & 4 deletions extra/nvidia/depends

This file was deleted.

11 changes: 0 additions & 11 deletions extra/nvidia/post-install

This file was deleted.

Loading

0 comments on commit 843b7c1

Please sign in to comment.