This commit is contained in:
parent
cf81b75d06
commit
19137fb18f
2
main.sh
2
main.sh
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
pika-nvidia-config (2.0-100pika1) pikauwu; urgency=medium
|
||||
pika-i915-config (2.0-100pika1) pikauwu; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
@ -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.
|
@ -0,0 +1 @@
|
||||
options i915 enable_guc=3
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user