more 6.0.2, cleanup. Some gpu scripts/apss
parent
6f530f843b
commit
7cd9db6f02
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
git clone https://github.com/Umio-Yasuno/amdgpu_top
|
||||
cd amdgpu_top/
|
||||
# needs rust set up
|
||||
cargo run
|
||||
./target/debug/amdgpu_top
|
|
@ -0,0 +1,45 @@
|
|||
#!/bin/bash
|
||||
sudo apt install \
|
||||
libboost-dev \
|
||||
libboost-filesystem-dev \
|
||||
libdrm-amdgpu1 \
|
||||
libdrm-common \
|
||||
libdrm-dev \
|
||||
libqt5charts5-dev \
|
||||
libqt5x11extras5 \
|
||||
libqt5x11extras5-dev \
|
||||
libssl-dev \
|
||||
qtbase5-dev \
|
||||
qttools5-dev-tools
|
||||
|
||||
sudo systemctl disable avahi-daemon.service avahi-daemon.socket ModemManager.service wpa_supplicant.service
|
||||
vim /etc/avahi/avahi-daemon.conf # disable ipv4, ipv6
|
||||
|
||||
git clone https://github.com/Lurkki14/tuxclocker
|
||||
cd tuxclocker/
|
||||
git submodule init
|
||||
git submodule update
|
||||
virtualenv venv
|
||||
source venv/bin/activate
|
||||
pip install -U setuptools pip wheel
|
||||
pip install hwdata
|
||||
meson build
|
||||
cd build
|
||||
ninja
|
||||
|
||||
exit
|
||||
# Patch needed:
|
||||
$ git diff
|
||||
diff --git a/src/lib/Plugin.cpp b/src/lib/Plugin.cpp
|
||||
index dbd0d94..3e0c896 100644
|
||||
--- a/src/lib/Plugin.cpp
|
||||
+++ b/src/lib/Plugin.cpp
|
||||
@@ -24,7 +24,7 @@ std::optional<std::vector<boost::shared_ptr<DevicePlugin>>> DevicePlugin::loadPl
|
||||
for (const fs::directory_entry &entry : fs::directory_iterator(pluginPath)) {
|
||||
// Bleh, have to catch this unless I do more manual checks
|
||||
try {
|
||||
- auto plugin = boost::dll::import_symbol<DevicePlugin>(
|
||||
+ auto plugin = boost::dll::import<DevicePlugin>(
|
||||
entry.path().string(), TUXCLOCKER_PLUGIN_SYMBOL_NAME);
|
||||
retval.push_back(plugin);
|
||||
std::cout << "found plugin at " << entry.path().string() << "\n";
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -rf rocm-bandwidth-test
|
||||
git clone https://github.com/ROCm/rocm_bandwidth_test
|
||||
cd rocm_bandwidth_test/
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -rf rocm_smi_lib
|
||||
git clone https://github.com/ROCm/rocm_smi_lib
|
||||
cd rocm_smi_lib/
|
||||
git checkout rocm-6.0.2
|
||||
rm -rf build
|
||||
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/opt/rocm \
|
||||
|
|
|
@ -115,3 +115,10 @@ Install kernel ``.deb``:
|
|||
ls ../*.deb
|
||||
sudo dpkg -i ../*.deb
|
||||
|
||||
|
||||
``amdgpu``
|
||||
----------
|
||||
Module parameters for 6.3 kernel, see here:
|
||||
|
||||
`<https://www.kernel.org/doc/html/v6.3/gpu/amdgpu/module-parameters.html>`_
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: tinyrocs 0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-03 09:14-0700\n"
|
||||
"POT-Creation-Date: 2024-02-03 10:05-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
|
@ -229,3 +229,16 @@ msgstr ""
|
|||
#: ../../../_source/kernel.rst:111
|
||||
msgid "Install kernel ``.deb``:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/kernel.rst:120
|
||||
msgid "``amdgpu``"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/kernel.rst:121
|
||||
msgid "Module parameters for 6.3 kernel, see here:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/kernel.rst:123
|
||||
msgid ""
|
||||
"`<https://www.kernel.org/doc/html/v6.3/gpu/amdgpu/module-parameters.html>`_"
|
||||
msgstr ""
|
||||
|
|
|
@ -44,7 +44,7 @@ Install dependencies from Debian repositories.
|
|||
python3-venv python3-virtualenv python3-yaml quilt rsync rsyslog sshfs \
|
||||
sudo swig traceroute vim xxd python3-sphinx git-lfs \
|
||||
lua5.3 liblua5.3-dev libmpfr-dev libmsgpack-dev libfmt-dev \
|
||||
environment-modules python3-numpy pybind11-dev libopengl-dev zip
|
||||
environment-modules python3-numpy pybind11-dev libopengl-dev zip zsh
|
||||
|
||||
# Packages like this aren't used from Debian's repository.
|
||||
# Make sure they are gone.
|
||||
|
|
Loading…
Reference in New Issue