GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info

Mission statement, forum posting guides, and our vision for LM.

Moderators: khz, MattKingUSA

User avatar
khz
Established Member
Posts: 1033
Joined: Thu Apr 17, 2008 6:29 am
Location: German

GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info

Postby khz » Fri Aug 10, 2012 2:01 pm

      The first ~5 posts from a new user in this forum will be unlocked manually by the moderators, this is our spam protection.
      Since we are not always online, there may be delays between the creation of the post and the activation by a moderator.
      We ask for your understanding! Thank you very much.

Linux is talkative. No panik! 42

>> The kernel contains the Modules (= drivers). Current kernel == current/additional Modules (= driver). <<

A) # You have installed the unfree drivers (AMD/Nvidia( && RT~?)/WIFI/...) and the Processor microcode? If not then install as needed.
If "dmesg" something indicates, then install the missing packages.

Code: Select all

Yours@LAW/DAW ~ $ dmesg | grep failed


B) Console: Use the tab key - press 2 times in a row - to complete the path or program name.
Help:

Code: Select all

Yours@LAW/DAW ~ $ man program_name
Yours@LAW/DAW ~ $ program_name --help


C) If there are problems, start the appropriate $program from the console.
Read error messages.

Code: Select all

Yours@LAW/DAW ~ $ program_name


D) killall - kill processes by name

Code: Select all

Yours@LAW/DAW ~ $ killall -9 program_name


####
>> Regular, (automatic) update of the distribution is important! <<
>> Use a good root password! <<
####

  1. Gentoo
    1. make.conf >> https://wiki.gentoo.org/wiki//etc/portage/make.conf
    2. USE_flag >> https://wiki.gentoo.org/wiki/USE_flag
    3. Portage & Overlays >> https://gpo.zugaina.org/Overlays
    4. Device driver Check page >> https://kmuto.jp/debian/hcl/
  2. Linux audio workstation
    1. How do I get an out-of-the-box working Linux audio workstation? >> https://wiki.linuxaudio.org/wiki/system_configuration
  3. Real-Time
    1. Real-Time related information, articles, distributions, etc. >> https://wiki.linuxaudio.org/wiki/real_time_info
    2. Welcome to the Linux Real Time Manual. >> http://linuxrealtime.org/index.php/Main_Page
    3. Latency: Myths and Facts. Part 3: A look at a quantitative study >> https://thecrocoduckspond.wordpress.com/2017/07/23/latency-myths-and-facts-part-3-a-look-at-a-quantitative-study/
    4. JACK Latency tests >> https://wiki.linuxaudio.org/wiki/jack_latency_tests
    5. xruncounter.c >> https://github.com/Gimmeapill/xruncounter >> https://linuxmusicians.com/viewtopic.php?p=81037#p81037, compile >> https://linuxmusicians.com/viewtopic.php?p=100500#p100500
    6. Packages of your distribution. ~Example >> https://gpo.zugaina.org/sys-kernel/rt-sources
    7. rtirq >> https://wiki.linuxaudio.org/wiki/system_configuration#rtirq
    8. Disabling the irqbalance daemon >> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/interrupt_and_process_binding
    9. Disabling GNOME Tracker >> https://blog.larskasper.de/2017/11/23/tracker-miner-fs-abschalten/, https://gist.github.com/vancluever/d34b41eb77e6d077887c
    10. Timers >> http://wiki.linuxaudio.org/wiki/system_configuration#timers
    11. rtmidi >> https://github.com/thestk/rtmidi
    12. Both Jack1 and Jack2 uses shm (RAM-backed storage) by default. Verifiable with: "du -h /dev/shm/*", "df -h | grep shm", "ls -alFh /dev/shm", "mount | grep shm" >> https://wiki.linuxaudio.org/wiki/system_configuration#filesystems. Resizing is possible by "size=" >> https://linuxmusicians.com/viewtopic.php?p=93108#p93108
  4. Linux && Audio --help
    1. JACK – A Beginners Guide to Getting Started with JACK >> http://libremusicproduction.com/articles/demystifying-jack-%E2%80%93-beginners-guide-getting-started-jack
      1. FAQ: what are the differences between JACK 1 and JACK2 >> https://github.com/jackaudio/jackaudio.github.com/wiki/Q_difference_jack1_jack2
    2. Workflow >> http://libremusicproduction.com/workflow
    3. How Linux Audio Works vs. Windows Audio in 2017 >> https://www.learndigitalaudio.com/how-linux-audio-works-vs-windows-audio-2017
    4. Linux Audio Overview >> https://wiki.linuxaudio.org/wiki/linux_audio_overview
    5. Pulseaudio and JACK >> https://linuxmusicians.com/viewtopic.php?p=103154#p103154
    6. Understanding recording hardware >> http://libremusicproduction.com/articles/understanding-recording-hardware
    7. Linux Hardware support >> https://wiki.linuxaudio.org/wiki/hardware
    8. Thunderbolt >> https://wiki.archlinux.org/index.php/Thunderbolt
    9. Linux Audio User FAQ (Frequently Asked Questions) >> https://wiki.linuxaudio.org/faq/start
    10. Things and Stuff Wiki - Audio setup >> https://wiki.thingsandstuff.org/Audio_setup
    11. Multiple Soundcards >> https://linuxmusicians.com/viewtopic.php?p=95025#p95025
    12. Jack Resampling with q0 ... q4? >> https://linuxmusicians.com/viewtopic.php?p=96511#p96511
    13. NetJackTrip >> https://linuxmusicians.com/viewtopic.php?p=95720#p95720
    14. alsa-midi-latency-test >> https://github.com/koppi/alsa-midi-latency-test
    15. jack_midi_latency >> https://github.com/x42/jack_midi_latency
  5. Audio Software
    1. Linux Audio and Sound - Application and Software Index >> https://wiki.linuxaudio.org/apps/start
    2. A list of software and resources for professional audio/video/live events production on Linux.
      >> https://github.com/nodiscc/awesome-linuxaudio
    3. Linux Digital Audio and Music Workstation Comparison Matrix >> https://docs.google.com/spreadsheets/d/1n6MaGigGGTgFvoqBCMgt-GuSmy8nqAUfF8ryL4nJbS8/edit#gid=0
    4. Just some of the software synthesizers available for linux. >> http://linuxsynths.com/index.html
    5. LinVST - working plugs / libraries you use for compatibility (March 2019) >> https://linuxmusicians.com/viewtopic.php?p=103495#p103495
    6. kvraudio search >> https://www.kvraudio.com/plugins/linux/vst-plugins/vst3-plugins/audio-units/aax-plugins/rack-extensions/instruments/effects/hosts/soundware/newest
  6. Manual Wiki
    1. Welcome to the Linux Audio Wiki >> https://wiki.linuxaudio.org/wiki/start
    2. AV Linux User Manual >> http://bandshed.net/pdf/
    3. KXStudio Manual >> https://wiki.linuxaudio.org/wiki/kxstudio_manual
    4. Ubuntu Studio Audio Handbook >> https://help.ubuntu.com/community/UbuntuStudio/AudioHandbook
    5. Linux Documentation Project - The Linux MIDI-HOWTO >> http://www.tldp.org/HOWTO/MIDI-HOWTO.html
    6. The Penguin Producer >> http://www.penguinproducer.com/
    7. Things and Stuff Wiki - Audio >> https://wiki.thingsandstuff.org/Audio
    8. LinuxQuestions - where Linux users come for help >> https://www.linuxquestions.org/questions/
    9. GNU/Linux Debian Users' Manuals >> https://www.debian.org/doc/user-manuals
  7. Community
    1. Chat@IRC: #opensourcemusicians on Freenode >> http://opensourcemusician.com
    2. Linux Audio Social and Community Guide >> https://wiki.linuxaudio.org/wiki/places1
    3. Linux audio forums, IRC channels, mailing lists, and wikis >> https://wiki.linuxaudio.org/wiki/places2
    4. Linux User Groups >> http://lugslist.com/
    5. Linux Audio Conference >> http://lac.linuxaudio.org/
    6. Sonoj Convention >> https://www.sonoj.org
    7. RSS-NEWS @Linux && Audio >> http://planet.linuxaudio.org/


####
# KXStudio repository >> http://kxstudio.linuxaudio.org/Repositories
# Carla won't find VST >> https://linuxmusicians.com/viewtopic.php?p=98708#p98708
#
# Distributions >> https://wiki.linuxaudio.org/wiki/distributions
# Linux Audio Bundles and Distributions >> https://wiki.linuxaudio.org/apps/categories/distributions
# Pro Audio Linux Distributions >> https://thecrocoduckspond.wordpress.com/2015/10/22/pro-audio-linux-distributions/
# Search Distributions ([X] Multimedia) >> https://distrowatch.com/search.php#advanced
#
# Window managers and desktop environments for The X Window System >> http://www.xwinman.org/
#
## Le Biniou >> https://biniou.net/index.php
#
# rt-tests >> https://git.kernel.org/pub/scm/utils/rt-tests/;
# cyclictest - High resolution test program >> https://manpages.debian.org/testing/rt-tests/cyclictest.8.en.html;
# Using and Understanding the Real-Time Cyclictest Benchmark >> https://events.static.linuxfound.org/sites/events/files/slides/cyclictest.pdf

#
# PowerTOP is a Linux tool to diagnose issues with power consumption and power management. >> https://01.org/powertop
#
# The Code: Story of Linux documentary >> https://archive.org/details/youtube-XMm0HsmOTFI
####



# If a hardware component is obsolete (for example CPU/GPU/...) and the desired program requires new/more technology/performance, the computer/operating system may experience problems. You can do magic with Linux, but you can't improve the hardware.
Use good hardware. :-)

##

Which kernel should be installed? You can install/uninstall multiple kernels using the package manager. The kernel to be started can be selected (and tested) in the boot manager (Grub/...).
Overview@Kernel Configuration

Code: Select all

linuxmusicians /usr/src/linux # make menuconfig

Code: Select all

Processor type and features    --->
    Preemption Model (Preemptible Kernel (Low-Latency Desktop))    --->
 
( ) No Forced Preemption (Server)
( ) Voluntary Kernel Preemption (Desktop)
( ) Preemptible Kernel (Low-Latency Desktop)
(X) Complete Preemption (Real-Time)

Code: Select all

Processor type and features    --->
    Timer frequency (1000 HZ)    --->
   
( ) 100 HZ
( ) 250 HZ
( ) 300 HZ
(X) 1000 HZ


##

(I think one of many good possibilities of all this is that everyone is individual, depending on LAW focus(s), ... and hardware, the combinations of optimizations, distribution desktop selection,... relatively easy to implement.
Since there are - advantages and disadvantages at the same time - relatively many possible combinations, this can be tested out....:pcsuxx: ....
How well all the optimizations are coordinated with each other (or not)... .

Test individually and take what works best for you. Everything - amongst other things 100 % RT - does not have to be better.
It is good to go step by step. Then one recognizes the possible problem originator and can undo thereby the last made.
All audio optimizations are optional. There are several possibilities. It's about understanding and learning. Use the distribution that you personally like best and supports your hardware best as well as providing the software dependencies/needs best. https://en.wikipedia.org/wiki/KISS_principle)


##

Image
Picture from: Ted's Linux MIDI Guide >> http://www.tedfelix.com/linux/linux-midi.html

# ==> Do you use a sound server? If so, which one? Several? >> https://linuxmusicians.com/viewtopic.php?f=27&t=18864

##

Instantly share code, notes, and snippets. For example, with:

##

# Differences between the individual operating systems >> https://linuxmusicians.com/viewtopic.php?p=95083#p95083

##

# For example: DeepL develops artificial intelligence for understanding and translating texts. >> https://www.deepl.com/translate

##

GNU/Linux Debian installing >> Linux Audio Workstation LAW >> https://linuxmusicians.com/viewtopic.php?p=92293#p92293

##

## !vote KLANG \o/ >> http://klang.eudyptula.org/ ;-)

##

### GNU Kind Communications Guidelines >> https://www.gnu.org/philosophy/kind-communication.html

##

    GNU/Linux != freeware
: Please participate in some way (e.g. good documentation is so helpful!) to keep GNU/Linux alive and possibly even grow GNU/Linux^Audio! Thank you! :
    GNU/Linux != wareZ

##

If you find outdated, further, new, ... entries you can report it immediately. You are invited to contribute. >> Wiki update >> https://linuxmusicians.com/viewtopic.php?p=98325#p98325

####
THX
####

###############################################
# ~Whatsapp >> https://matrix.org/blog/home/
# ~Twitter >> https://mastodon.social/about
# ~Facebook >> https://diasporafoundation.org/
# ~Youtube >> https://github.com/Chocobozzz/PeerTube
###############################################


#### Warriors of the Net >> https://archive.org/details/Hack_-_How_Internet_Traffic_works_ ####
FZ - Does humor belongs in Music?
GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
    I don't care about the freedom of speech because I have nothing to say.

User avatar
khz
Established Member
Posts: 1033
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: LINUX@AUDIO ~ /Wiki $ Howto.Info

Postby khz » Tue Jan 02, 2018 9:08 pm

Code: Select all

HaveFun /home/Your_Freedom # :-D
FZ - Does humor belongs in Music?
GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
    I don't care about the freedom of speech because I have nothing to say.


Return to “About LinuxMusicians”

Who is online

Users browsing this forum: No registered users and 1 guest