This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-21 15:29:53 +00:00 committed by GitHub
parent d3ed3700b3
commit 586b384691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 36 deletions

View File

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

View File

@ -1,4 +1,4 @@
pika-nvidia-config (2.0-99pika1.lunar) lunar; urgency=medium pika-amdgpu-config (2.0-99pika1.lunar) lunar; urgency=medium
* Initial release. * Initial release.

View File

@ -0,0 +1,11 @@
Source: pika-amdgpu-config
Section: graphics
Priority: optional
Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com>
Standards-Version: 4.6.1
Build-Depends: debhelper-compat (= 13)
Rules-Requires-Root: no
Package: pika-amdgpu-config
Architecture: all
Description: PikaOS configration for AMD GPUs.

View File

@ -0,0 +1,5 @@
options amdgpu si_support=1
options amdgpu cik_support=1
options radeon si_support=0
options radeon cik_support=0
blacklist radeon

View File

@ -1,11 +0,0 @@
Source: pika-nvidia-config
Section: graphics
Priority: optional
Maintainer: ard Nakchbandi <hotrod.master@hotmail.com>
Standards-Version: 4.6.1
Build-Depends: debhelper-compat (= 13)
Rules-Requires-Root: no
Package: pika-nvidia-config
Architecture: all
Description: PikaOS configration for NVIDIA GPUs.

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