This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-10-27 14:22:55 +03:00 committed by GitHub
parent cf81b75d06
commit 19137fb18f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 7 additions and 28 deletions

View File

@ -3,7 +3,7 @@
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
cd ./pika-nvidia-config
cd ./pika-i915-config
# Get build deps
apt-get build-dep ./ -y

View File

@ -1,4 +1,4 @@
pika-nvidia-config (2.0-100pika1) pikauwu; urgency=medium
pika-i915-config (2.0-100pika1) pikauwu; urgency=medium
* Initial release.

View File

@ -1,4 +1,4 @@
Source: pika-nvidia-config
Source: pika-i915-config
Section: graphics
Priority: optional
Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com>
@ -6,6 +6,7 @@ Standards-Version: 4.6.1
Build-Depends: debhelper-compat (= 13)
Rules-Requires-Root: no
Package: pika-nvidia-config
Package: pika-i915-config
Architecture: all
Description: PikaOS configration for NVIDIA GPUs.
Provides: intel-i915-dkms (= ${binary:Version})
Description: PikaOS configration for Intel GPUs.

View File

@ -0,0 +1 @@
options i915 enable_guc=3

View File

@ -1,18 +0,0 @@
#! /bin/bash
if [ -f /boot/refind_linux.conf ]
then
if cat /boot/refind_linux.conf | grep -i 'nvidia-drm.modeset=1' > /dev/null 2>&1
then
true
else
if cat /boot/refind_linux.conf | grep -i 'nvidia-drm.modeset=0' > /dev/null 2>&1
then
sed -i "s#nvidia-drm.modeset=0#nvidia-drm.modeset=1" /boot/refind_linux.conf
else
sed -i "s#root=#nvidia-drm.modeset=1 root=#" /boot/refind_linux.conf
fi
fi
else
echo "Warning: You seem to not be using refind as a boot manager as PikaOS normally does, so make sure to add nvidia-drm.modeset=1 to your linux cmd if you have an nvidia card."
fi

View File

@ -1,5 +0,0 @@
options nvidia-drm modeset=1
options nvidia NVreg_UsePageAttributeTable=1
options nvidia NVreg_RegistryDwords="OverrideMaxPerf=0x1"
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_RegistryDwords=EnableBrightnessControl=1