Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Studio: A Gentoo Linux Professional Audio Workstation
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 12, 13, 14  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 4713
Location: The Peanut Gallery

PostPosted: Mon Jun 26, 2017 7:04 am    Post subject: Reply with quote

I like the idea, audiodef. (FWTW.)
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Mon Jun 26, 2017 2:35 pm    Post subject: Reply with quote

Thanks, steveL. It's worth a lot. 8)

steveL wrote:
I like the idea, audiodef. (FWTW.)
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Mon Jun 26, 2017 3:05 pm    Post subject: Reply with quote

I can't believe this sticky will be five years old as of July 24. 8O
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Tue Jun 27, 2017 1:53 am    Post subject: Reply with quote

Looking into getting #gentoostudio set up on Freenode. Don't know what happened, but fingers crossed it can be worked out.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 5725

PostPosted: Tue Jun 27, 2017 2:00 am    Post subject: Reply with quote

can't believe you're still working on it ; keep doing the good work :D
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Tue Jun 27, 2017 1:45 pm    Post subject: Reply with quote

Thanks, krinn. I have been spending a lot of time on it lately. I really want this all to get to a point of regular updates/releases.

I'm also thinking of providing a binhost. There are often issues to installing things, particularly with less-maintained or obscure packages. Since I'm planning to use Catalyst, why not? Also, I'm really noticing now how many packages haven't been switched over to virtual/jack, so a binhost for Gentoo Studio makes sense for this reason.


Last edited by audiodef on Wed Jun 28, 2017 3:06 am; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Tue Jun 27, 2017 8:54 pm    Post subject: Reply with quote

Done: Gentoo Studio Basic VM.

In progress: Gentoo Studio Complete VM.

Later: Figure out how to get catalyst to produce stage4's for all three versions.
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 4713
Location: The Peanut Gallery

PostPosted: Fri Jun 30, 2017 11:01 am    Post subject: Re: Any DE/WM? Reply with quote

0joshuaolson1 wrote:
Can any DE/WM be configured for soft realtime..
audiodef wrote:
..the user can select any DE or WM they want. It is not affected by hard or soft realtime. /etc/security/limits.conf handles that with:
Code:
*      hard   rtprio      0
*      soft   rtprio      0
@realtime   hard   rtprio      20
@realtime      soft   rtprio      10

@audio      -   rtprio      99
@audio      -   memlock      unlimited
which will already be configured in the release tarball.

That setup has been niggling at me, since I first saw it. The group you use (@audio) should be lower priority (IIRC jack asks for 10 by default); @realtime should be preserved for root/a background terminal (in case something fscks up), or hard realtime tasks (in the unlikely event that you have any.)
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Fri Jun 30, 2017 3:51 pm    Post subject: Reply with quote

steveL,

Thanks for the feedback. I've opened a bug in bugs.gentoostudio.org to remind me to investigate this at some point.
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 4713
Location: The Peanut Gallery

PostPosted: Sat Jul 01, 2017 11:46 am    Post subject: Reply with quote

Cool :-)

Looking at it, I'd s/realtime/audio/g and keep the memlock on audio; then just have @realtime at 99 for when things mess up. (Most guides just have one or the other, afair.)
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Mon Jul 03, 2017 3:02 am    Post subject: Reply with quote

Added a note thusly. Thanks again. :)
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Sat Jul 08, 2017 5:45 pm    Post subject: Reply with quote

Successfully compiled stage4 tarball using Catalyst for Minimal.

Next: Testing Minimal installation.
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Thu Jul 13, 2017 10:21 pm    Post subject: Announcement Reply with quote

I think I'm satisfied with my procedure for creating a stage4-minimal tarball. Now I need beta testers. Please reply to this thread if interested.

http://gentoostudio.org/src/minimal/stage4-amd64-latest.tar.bz2 (1.5G)

You will need a blank/unused hard drive with nothing on it that you care about, but otherwise the hardware specs are not important. I'm looking for feedback on the install process.

Follow these steps:
Code:

Boot with system rescue cd or similar.
> parted -a optimal /dev/sda
> mklabel gpt
> unit mib
> mkpart primary 1 3
> name 1 grub
> set 1 bios_grub on
> mkpart primary 3 131
> name 2 boot
> mkpart primary 131 643
> name 3 swap
> mkpart primary 643 -1
> name 4 rootfs
> set 2 boot on
> print
> quit
BIOS: > mkfs.ext4 /dev/sda2
UEFI: > mkfs.vfat /dev/sda2
> mkfs.ext4 /dev/sda4
> mkswap /dev/sda3
> swapon /dev/sda3
> mount /dev/sda4 /mnt/gentoo
> mkdir /mnt/gentoo/boot
> mount /dev/sda2 /mnt/gentoo/boot
> cd /mnt/gentoo
> wget http://gentoostudio.org/src/stage4-minimal-amd64-latest.tar.bz2
> tar xvjpf stage4-minimal-amd64-latest.tar.bz2 --xattrs
> rm stage4-minimal-amd64-latest.tar.bz2
> cp -L /etc/resolv.conf /mnt/gentoo/etc/
y to overwrite
> mount -t proc proc /mnt/gentoo/proc
> mount --rbind /sys /mnt/gentoo/sys
> mount --rbind /dev /mnt/gentoo/dev
> chroot /mnt/gentoo /bin/bash
> source /etc/profile
> eselect kernel set 1 (will be phasing this out, kernel sources will not be packed with tarball)
> emerge-webrsync
> eix-sync #Required rather than eix-update to pull in the GentooStudio repo
> ls /usr/share/zoneinfo
> echo "(selected timezone)" > /etc/timezone
> emerge --config timezone-data
> nano -w /etc/locale.gen
> locale-gen
> eselect locale list
> eselect locale set x
> . /etc/profile
> cpuinfo2cpuflags-x86 >> /etc/portage/make.conf
> passwd
BIOS: > grub-install /dev/sda
UEFI: > grub-install --efi-directory=boot /dev/sda
> grub-mkconfig -o /boot/grub/grub.cfg
> useradd -m -G users,wheel,audio -s /bin/bash (username)
> passwd (username)
#This is necessary to recompile packages with cpu use flags:
> emerge -vuDN --keep-going --with-bdeps=y --backtrack=1000 @system @world
> reboot


Notes:

Do NOT auto-update /etc/security/limits.conf, ever. Those settings are there
for a reason.

This tarball installs a minimal system for audio production. You will need to choose and install your DE/WM and any audio/MIDI software, but all I need is feedback on the stage4 install.

I am now working on the stage4 for Gentoo Studio Basic, which will be a basic set of audio and MIDI software and no DE/WM. Will announce when that's ready for testing.

From the not-yet-released Gentoo Studio handbook:

Gentoo Studio Minimal

Gentoo Studio Minimal consists of a base Gentoo install, basic audio control programs installed, no desktop environment, and no audio or MIDI software. The user installs their choice of desktop environment or window manager, and audio and MIDI programs. The “X” use flag has been set system-wide and xorg-server is installed.

Gentoo Studio Minimal is for those who want a source-based Linux system tweaked for audio production, but want to install everything else for a completely customized Linux digital audio workstation.

Installed packages:

a2jmidid A daemon for exposing legacy ALSA MIDI applications to JACK2
ALSA Plugins Extra ALSA plugins
ALSA Tools Extra ALSA tools and loaders
ALSA Utils ALSA utilities such as alsactl and alsamixer
Cadence Collection of studio control tools from KXStudio
Dhcpcd DHCP client
Eix Fast ebuild search and query tool
Genkernel Automated kernel-building tool
Git Version control system, required to import overlays
Grub2 Boot loader
Jack Capture JACK recording utility required by some packages
Jack2 Jack Audio Connection Kit v. 2
Libinput X input device handler (keyboard, mouse, etc.)
mlocate File searching/indexing utility
Nano Default Gentoo Linux text editor
Qjackctl Qt application to control JACK
Repoman QA tool for Gentoo ebuilds, required by Gentoo Studio base system
rt-sources Linux kernel with CONFIG_PREEMPT_RT patch
smart-live-rebuild Tool to check live (9999) ebuilds for updates
Ufed Curses-based use flag editor
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.


Last edited by audiodef on Tue Jul 25, 2017 3:53 pm; edited 3 times in total
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1381

PostPosted: Sun Jul 23, 2017 1:39 pm    Post subject: Reply with quote

So far so good.
I rebooted into the new system and I'm rebuilding @world.
I decided to change a few things though. Cloned /usr/portage I already have instead of downloading a new copy. Dropped swap completely. Bumped make and emerge parallelism quite a lot (make -j 2 is a bit low those days). Enabled distcc (so now I keep my fingers crossed that it won't break )
Oh, and it's running in a VM. This almost certainly is a bad idea for real-time stuff, but whatever, I feel like doing everything wrong and I'm gonna enjoy it. Or more seriously: virtual machines are easier, faster, and cheaper to get than actual hardware, and it's gonna be good enough for now.
Back to top
View user's profile Send private message
0joshuaolson1
n00b
n00b


Joined: 25 Mar 2017
Posts: 11

PostPosted: Sun Jul 23, 2017 11:13 pm    Post subject: Almost ready to beta test Reply with quote

I finally have a computer I can use to test this. Should have feedback (from a n00b) soonish.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Tue Jul 25, 2017 2:33 pm    Post subject: Reply with quote

szatox wrote:

Cloned /usr/portage I already have instead of downloading a new copy.


Should be no problem.

szatox wrote:

Dropped swap completely.


Swap is bad for audio anyway.

szatox wrote:

Bumped make and emerge parallelism quite a lot (make -j 2 is a bit low those days).


Yes, I should remember to make the eventual install script set a default based on the number of available cores. It's set low to prevent the occasional compile issue in development.

szatox wrote:

Enabled distcc (so now I keep my fingers crossed that it won't break )


Wondering if I should use this in dev.

szatox wrote:

Oh, and it's running in a VM. This almost certainly is a bad idea for real-time stuff, but whatever, I feel like doing everything wrong and I'm gonna enjoy it. Or more seriously: virtual machines are easier, faster, and cheaper to get than actual hardware, and it's gonna be good enough for now.


Perfect for testing installs.

Thanks, this is much appreciated. :)
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Tue Jul 25, 2017 3:02 pm    Post subject: Reply with quote

The stage4 tarball for Gentoo Studio Basic is now ready for beta testing. The installation steps are the same as above. The download URL is: http://gentoostudio.org/src/basic/stage4-amd64-latest.tar.bz2 (1.8 GB)

PLEASE NOTE: The download URL for Minimal has changed to: http://gentoostudio.org/src/minimal/stage4-amd64-latest.tar.bz2

From the not-yet-released Gentoo Studio handbook:

Gentoo Studio Basic

Gentoo Studio Basic builds on Gentoo Studio Minimal to provide a basic array of audio programs and plug-ins. The user installs their choice of desktop environment or window manager and any extra software and plug-ins.

By default, Gentoo Studio Basic allows you to:

Record single or multi-track audio
Record and edit MIDI tracks
Generate drum tracks
Write and print music scores
Connect to streaming servers to stream audio
Playback audio and video
Gentoo Studio Basic is for people who want to choose their own desktop environment and extra audio plug-ins and soft-synths.

Packages:

Gentoo Studio Minimal packages See list above
Ardour High-end digital audio workstation (ardour.org)
Audacity Cross-platform audio editor
FluidSynth Software real-time synth based on Soundfont2 specs
Hydrogen Software stand-alone drum machine
IDJC Streaming audio client
MuseScore WYSIWYG music score typsetter
Qtractor Audio/MIDI multi-track sequencer
Rosegarden Audio/MIDI multi-track sequencer and notation editor
SMPlayer Linux media player with graphical front-end
VLC Audio/video player and streamer
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
0joshuaolson1
n00b
n00b


Joined: 25 Mar 2017
Posts: 11

PostPosted: Wed Jul 26, 2017 12:59 am    Post subject: Can't boot UEFI install Reply with quote

So I followed the instructions (minimal tarball), but I can't get my new Dell laptop (UEFI) to boot it. I experimented with BIOS settings (no secure boot, order, manual partition option...).

I have other feedback, some not GS-specific but coming from a n00b:

- why ext4 over others? ("mkfs.ext4 /dev/sda4")
- when I followed "echo "(selected timezone)" > /etc/timezone", I'm not sure "America/Denver" was the right way to do it ("emerge --config timezone-data" didn't mind)
- I wish I knew about "nano -w" sooner!
- I saw C and POSIX locales were options (but they're the same, so why are they both listed?). What is the unselectable (free form) option?
- useradd doesn't like 0joshuaolson1 (screw command line tools that assume UIDs...)
- the final emerge warned afterwards that something should be removed from dependencies because it's already provided another way?
- Kernel 4.11 is now EOL, and 4.12 is the latest stable. I'm glad the realtime version isn't something like 4.4, though!

Thanks.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Wed Jul 26, 2017 1:43 pm    Post subject: Re: Can't boot UEFI install Reply with quote

0joshuaolson1 wrote:
So I followed the instructions (minimal tarball), but I can't get my new Dell laptop (UEFI) to boot it. I experimented with BIOS settings (no secure boot, order, manual partition option...).


I struggled with UEFI the first time I had a machine that used it. If you can tell me in detail what happened and when, maybe I can help.

0joshuaolson1 wrote:

- why ext4 over others? ("mkfs.ext4 /dev/sda4")


In this case I'm just following the file system that the majority of Linux systems use by default. At one point in the past, I researched other file systems and ended up satisfied that ext4 was the best choice. I just don't remember why in any detail, as it was quite a while ago.

0joshuaolson1 wrote:

- when I followed "echo "(selected timezone)" > /etc/timezone", I'm not sure "America/Denver" was the right way to do it ("emerge --config timezone-data" didn't mind)


if emerge --config timezone-data didn't complain, you're good.

0joshuaolson1 wrote:

- I saw C and POSIX locales were options (but they're the same, so why are they both listed?). What is the unselectable (free form) option?


I don't know the answers to these questions, but I'm sure you can get answers if you take this question to another section of the forums. Please link me to your post if you do so, as I'd like to know, too.

0joshuaolson1 wrote:

- useradd doesn't like 0joshuaolson1 (screw command line tools that assume UIDs...)


The only thing I can think of is your username starts with a number.

0joshuaolson1 wrote:

- the final emerge warned afterwards that something should be removed from dependencies because it's already provided another way?


Which package wants to be removed?

0joshuaolson1 wrote:

- Kernel 4.11 is now EOL, and 4.12 is the latest stable. I'm glad the realtime version isn't something like 4.4, though!


rt-sources is always a bit behind, but lately I've noticed a lot of updates, so I know the maintainers are active.
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
0joshuaolson1
n00b
n00b


Joined: 25 Mar 2017
Posts: 11

PostPosted: Wed Jul 26, 2017 1:52 pm    Post subject: Reply with quote

Quote:
Which package wants to be removed?

Next time I won't accidentally overwrite the file where I saved the message for you. X(

As for not booting, my computer automatically boots what's available based on BIOS settings - when nothing is available, it loads a Dell recovery tool, which is what it did instead of starting Gentoo Studio. I can disable the tool, though.
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1381

PostPosted: Wed Jul 26, 2017 6:11 pm    Post subject: Reply with quote

Quote:
0joshuaolson1 wrote:

- the final emerge warned afterwards that something should be removed from dependencies because it's already provided another way?


Which package wants to be removed?
I saw this warning too. I think it was about kernel sources (not sure right now), except that it wasn't removed.
Emerge simply announced that it was instructed to ignore some package required by software in @world.
It didn't break the build, and the whole thing is a rather exotic setup anyway so I just assumed audiodef had a reason to block that part of dependency graph.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Wed Jul 26, 2017 7:50 pm    Post subject: Reply with quote

0joshuaolson1 wrote:
Quote:
Which package wants to be removed?

Next time I won't accidentally overwrite the file where I saved the message for you. X(

As for not booting, my computer automatically boots what's available based on BIOS settings - when nothing is available, it loads a Dell recovery tool, which is what it did instead of starting Gentoo Studio. I can disable the tool, though.


That rings a bell. I think I had to disable a similar tool on a Lenovo before it would cooperate.
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5791

PostPosted: Wed Jul 26, 2017 7:54 pm    Post subject: Reply with quote

szatox wrote:
Quote:
0joshuaolson1 wrote:

- the final emerge warned afterwards that something should be removed from dependencies because it's already provided another way?


Which package wants to be removed?
I saw this warning too. I think it was about kernel sources (not sure right now), except that it wasn't removed.
Emerge simply announced that it was instructed to ignore some package required by software in @world.
It didn't break the build, and the whole thing is a rather exotic setup anyway so I just assumed audiodef had a reason to block that part of dependency graph.


Yeah, you can ignore any messages about rt-sources being removed. As of the next tarball update, rt-sources is not going to be bundled with the tarball, anyway.
_________________
Gentoo Studio
Currently working on stage4 installs. Feedback wanted. See sticky in Multimedia.
Back to top
View user's profile Send private message
0joshuaolson1
n00b
n00b


Joined: 25 Mar 2017
Posts: 11

PostPosted: Thu Jul 27, 2017 11:59 pm    Post subject: Trying again Reply with quote

Oh yeah, I forgot to ask. Does partition placement affect filesystem performance on a hard drive?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 10816

PostPosted: Fri Jul 28, 2017 1:10 am    Post subject: Reply with quote

Partition placement controls where the filesystem is placed on the drive. If some parts of the drive are faster to read/write than others, then that will affect the filesystems. Also, for drives that use 4K sectors, there is often a severe performance penalty for doing misaligned access. If you have such a drive, place your partitions to ensure that the filesystems are properly aligned.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3 ... , 12, 13, 14  Next
Page 13 of 14

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum