Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 12-18-2018, 07:36 AM   #1
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 148
Default HowTo - Devuan KDE(latest) systemd free debian based OS setup

updated jan/19/2019
### edit ###
better use an RT kernel instead of the liquorix kernel above - I got problems for the second time after a liquorix kernel upgrade w/ a black-screen!
---------------------------------------

Devuan Installation:

1. download latest devuan (beowulf - testing) mini.iso
http://pkgmaster.devuan.org/devuan/d...mages/netboot/

or upgrade Devuan ASCII to BEOWULF:

2. upgrade existing devuan ascii or install the ISO above, select KDE during the setup process - do not set a root password - keep root PW empty (we use sudo)
Code:
sudo nano /etc/apt/sources.list
remove / deactivate
#deb cdrom:[devuan_ascii_2.0.0_amd64_dvd-1]/ ascii main non-free

sudo apt-get update
sudo apt-get install sddm-theme-breeze
change the login screnn in settings to sddm-theme-breeze
sudo apt-get update && sudo apt-get dist-upgrade
sudo update-grub
reboot

sudo nano /etc/apt/sources.list
change to:
deb http://pkgmaster.devuan.org/merged beowulf main
deb-src http://pkgmaster.devuan.org/merged beowulf main

deb http://pkgmaster.devuan.org/merged beowulf-security main
deb-src http://pkgmaster.devuan.org/merged beowulf-security main

deb http://pkgmaster.devuan.org/merged beowulf-updates main
deb-src http://pkgmaster.devuan.org/merged beowulf-updates main


we need a pinning for policykit
sudo nano /etc/apt/preferences.d/policy_beo
add:

Package: policykit-1
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-agent-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-elogind-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-elogind-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-1-0
Pin: version 0.105-18*
Pin-Priority: 1001


sudo apt-get update
sudo apt-get dist-upgrade


sudo nano /etc/pulse/client.conf.d/00-disable-autospawn.conf
change to:
# On linux systems, disable autospawn by default
# If you are not using systemd, comment out this line
#autospawn=no


sudo apt purge accountwizard akonadi-backend-mysql akonadi-server akregator kaddressbook kdepim-addons kdepim-runtime kdepim-themeeditors kleopatra kmail knotes kontact korganizer ktnef osspd kdevelop amarok sane geoip-database kde-telepathy ntp ntpdate irqbalance sddm-theme-debian-maui
sudo apt-get autoremove --purge
sudo apt-get autoclean
sudo apt-get update

sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash threadirqs"


sudo update-initramfs -u
sudo update-grub

reboot


######## optional - shows a few systemd error msg during boot but worked ##########
liquorix low-latency kernel:
https://liquorix.net/

sudo apt-get update && sudo apt-get install apt-transport-https

## one-liner
sudo echo -e 'deb http://liquorix.net/debian sid main\ndeb-src http://liquorix.net/debian sid main\n\n# Mirrors:\n#\n# Unit193 - France\n# deb http://mirror.unit193.net/liquorix sid main\n# deb-src http://mirror.unit193.net/liquorix sid main' | sudo tee /etc/apt/sources.list.d/liquorix.list

wget -O - https://liquorix.net/linux-liquorix.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64
#####################################


sudo update-initramfs -u
sudo update-grub

reboot

check all the KDE settings and disable any effect, search indexing etc.

cat /proc/cpuinfo
sudo apt-get install cpufrequtils
#echo 'GOVERNOR="performance"' | sudo tee /etc/default/cpufrequtils
sudo nano /etc/default/cpufrequtils
ENABLE="true"
GOVERNOR="performance"
MAX_SPEED="0"
MIN_SPEED="0" 

sudo usermod -a -G audio yourusername
sudo usermod -a -G disk yourusername

sudo nano /etc/security/limits.conf
@audio - rtprio 99
@audio - memlock 2097152
*    soft nofile 100000
*    hard nofile 100000


##groupadd realtime
sudo usermod -a -G audio yourusername

sudo nano /etc/pam.d/common-session
session required	pam_limits.so

sudo nano /etc/pam.d/common-session-noninteractive
session required	pam_limits.so

sudo nano /etc/sysctl.conf
dev.hpet.max-user-freq=3072

sudo nano /etc/udev/rules.d/40-timer-permissions.rules
KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"

sudo nano /etc/sudoers.d/sysadmin
# This file is managed by Chef.
# Do NOT modify this file directly.
%sysadmin ALL=(ALL) ALL


sudo nano /etc/sysctl.conf
dev.hpet.max-user-freq=3072
vm.swappiness = 10
vm.dirty_ratio = 6
vm.dirty_background_ratio = 3
vm.vfs_cache_pressure = 50


sudo nano /etc/fstab
change:
errors=remount-ro
to:
noatime,nodelalloc,barrier=0,i_version,commit=30,inode_readahead_blks=64,errors=remount-ro

reboot

install Kxstudio repros:
http://kxstudio.linuxaudio.org/Repositories

Wine
sudo dpkg --add-architecture i386

sudo apt-get clean
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
#sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu
#sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

sudo nano /etc/apt/sources.list
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main

sudo apt-get update
sudo apt-get install --install-recommends winehq-staging
sudo apt-get install winbind

sudo apt-get install winetricks

dpkg --get-selections | grep wine

remove wine-rt etc
sudo apt-get install winbind
sudo apt-get install gnutls-bin
sudo apt-get install libntlm0
sudo apt-get install cabextract
sudo apt-get install wineasio

regsvr32 wineasio.dll
install Reaper, VST Plugins etc

read:
https://forum.cockos.com/showthread.php?t=210390
https://forum.cockos.com/showthread.php?t=193761
__________________
KDE Neon (lowlatency) AMD FX-8350, 16GB, GT 630 (nvidia-415), Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII

Last edited by monty; 01-21-2019 at 12:53 AM.
monty is offline   Reply With Quote
Old 12-18-2018, 07:49 AM   #2
JamesPeters
Human being with feelings
 
JamesPeters's Avatar
 
Join Date: Aug 2011
Location: Near a big lake
Posts: 2,366
Default

I'm curious what problem you have with systemd. With MX Linux I can use that or sysvinit. I'm currently using systemd because the system is a little bit faster at loading apps and booting/shutdown. You had mentioned something about IRQs being reassigned?
__________________
http://petersamplification.com
Core i3-6300 - MSI B150M Mortar - 8 GB RAM - Asus Xonar DX - MX Linux (MX-18.3_x64) - REAPER for Linux
JamesPeters is offline   Reply With Quote
Old 12-18-2018, 08:06 AM   #3
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 148
Default

yeah, sometimes systemd sets new ports ot IRQs for USB devices ... You should give it a try, the system above is a little faster than MX, Ubuntu or Manjaro & Arch Distros ... with a 4.19.0-10.1-liquorix-amd64 #1 ZEN SMP PREEMPT Kernel ;-)
__________________
KDE Neon (lowlatency) AMD FX-8350, 16GB, GT 630 (nvidia-415), Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII
monty is offline   Reply With Quote
Old 12-18-2018, 10:01 AM   #4
JamesPeters
Human being with feelings
 
JamesPeters's Avatar
 
Join Date: Aug 2011
Location: Near a big lake
Posts: 2,366
Default

MX Linux works fine for me (30% more efficient than Windows 7, and lower latency) and I get my choice of systemd or sysvinit whenever I want. I'm going to keep using systemd and see if I ever have a problem. My audio device is not USB so that won't be an issue.

Also I already tried liquorix. For me all it did was increase my CPU use in Reaper. I wasn't able to set a lower block size for lower latency with my card. Maybe if I had an RME card or something which would actually function correctly with a very small block size, it might make a difference. But it doesn't for me, except increasing my CPU use.
__________________
http://petersamplification.com
Core i3-6300 - MSI B150M Mortar - 8 GB RAM - Asus Xonar DX - MX Linux (MX-18.3_x64) - REAPER for Linux
JamesPeters is offline   Reply With Quote
Old 12-18-2018, 10:17 AM   #5
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 148
Default

oh, I like MX too ... but the packages are mostly a little older and I need KDE parts for a good worlflow, like dophin to filter files and stable handling w/ files ...
I tried to ugrade from MX Xfce to Plasma5 but there are too many configs inside the home folder and /etc which conflicts w/ each of the WM ... it's not easy to setup a KDE system with MX with plasma (5.14) ...
__________________
KDE Neon (lowlatency) AMD FX-8350, 16GB, GT 630 (nvidia-415), Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII

Last edited by monty; 12-18-2018 at 10:51 PM.
monty is offline   Reply With Quote
Old 12-18-2018, 03:02 PM   #6
cyrano
Human being with feelings
 
cyrano's Avatar
 
Join Date: Jun 2011
Location: Belgium
Posts: 4,169
Default

Thanks, Monty!

You made my day. I was planning to figure out Linux audio with Devuan. Your recipe will shorten that process considerably.
__________________
“It has become appallingly obvious that our technology has exceeded our humanity” Albert Einstein
cyrano is offline   Reply With Quote
Old 12-19-2018, 10:48 AM   #7
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 148
Default

updated sources list - see above!
__________________
KDE Neon (lowlatency) AMD FX-8350, 16GB, GT 630 (nvidia-415), Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII
monty is offline   Reply With Quote
Old 01-19-2019, 01:33 AM   #8
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 148
Default

update - upgrade w/ liquorix kernel should work now

### EDIT ###
better use an RT kernel instead of the liquorix kernel above - I got problems for the second time after a liquorix kernel upgrade w/ a black-screen!
__________________
KDE Neon (lowlatency) AMD FX-8350, 16GB, GT 630 (nvidia-415), Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII

Last edited by monty; 01-21-2019 at 12:52 AM.
monty is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.