This commit is contained in:
parent
d3ed3700b3
commit
586b384691
2
main.sh
2
main.sh
@ -3,7 +3,7 @@
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Clone Upstream
|
||||
cd ./pika-nvidia-config
|
||||
cd ./pika-amdgpu-config
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
@ -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.
|
||||
|
11
pika-amdgpu-config/debian/control
Normal file
11
pika-amdgpu-config/debian/control
Normal 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.
|
@ -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
|
@ -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.
|
@ -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