diff --git a/main.sh b/main.sh index 7494af3..f52ff94 100755 --- a/main.sh +++ b/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 diff --git a/pika-nvidia-config/debian/changelog b/pika-i915-config/debian/changelog similarity index 63% rename from pika-nvidia-config/debian/changelog rename to pika-i915-config/debian/changelog index 387a8f2..7c6457e 100644 --- a/pika-nvidia-config/debian/changelog +++ b/pika-i915-config/debian/changelog @@ -1,4 +1,4 @@ -pika-nvidia-config (2.0-100pika1) pikauwu; urgency=medium +pika-i915-config (2.0-100pika1) pikauwu; urgency=medium * Initial release. diff --git a/pika-nvidia-config/debian/control b/pika-i915-config/debian/control similarity index 57% rename from pika-nvidia-config/debian/control rename to pika-i915-config/debian/control index 21ab14b..56c16c8 100644 --- a/pika-nvidia-config/debian/control +++ b/pika-i915-config/debian/control @@ -1,4 +1,4 @@ -Source: pika-nvidia-config +Source: pika-i915-config Section: graphics Priority: optional Maintainer: Ward Nakchbandi @@ -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. diff --git a/pika-nvidia-config/debian/pika-nvidia-config.install b/pika-i915-config/debian/pika-i915-config.install similarity index 100% rename from pika-nvidia-config/debian/pika-nvidia-config.install rename to pika-i915-config/debian/pika-i915-config.install diff --git a/pika-nvidia-config/debian/rules b/pika-i915-config/debian/rules similarity index 100% rename from pika-nvidia-config/debian/rules rename to pika-i915-config/debian/rules diff --git a/pika-nvidia-config/debian/source/format b/pika-i915-config/debian/source/format similarity index 100% rename from pika-nvidia-config/debian/source/format rename to pika-i915-config/debian/source/format diff --git a/pika-i915-config/usr/lib/modprobe.d/nvidia-pika-i915.conf b/pika-i915-config/usr/lib/modprobe.d/nvidia-pika-i915.conf new file mode 100644 index 0000000..96168dc --- /dev/null +++ b/pika-i915-config/usr/lib/modprobe.d/nvidia-pika-i915.conf @@ -0,0 +1 @@ +options i915 enable_guc=3 \ No newline at end of file diff --git a/pika-nvidia-config/debian/postinst b/pika-nvidia-config/debian/postinst deleted file mode 100644 index 4dfcf7d..0000000 --- a/pika-nvidia-config/debian/postinst +++ /dev/null @@ -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 \ No newline at end of file diff --git a/pika-nvidia-config/usr/lib/modprobe.d/nvidia-pika-config.conf b/pika-nvidia-config/usr/lib/modprobe.d/nvidia-pika-config.conf deleted file mode 100644 index dfa9467..0000000 --- a/pika-nvidia-config/usr/lib/modprobe.d/nvidia-pika-config.conf +++ /dev/null @@ -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 \ No newline at end of file