Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux Essential Threads
New Posts  All Forums:Forum Nav:

Linux Essential Threads - Page 6

post #51 of 142
Quote:
Originally Posted by Ferrari8608 View Post

I too would like to see that guide if it exists. I've been under the impression there isn't much to tweak with ALSA. Also, don't ALSA and Pulse serve two different purposes?

I agree with Shrak on this; ALSA has come a long way, but it is still far from an install and ignore status like most packages are. Most users will never touch ALSA or it's associated configuration. Anybody with multiple separate sound devices will probably have to continue scratching their heads and fighting with ALSA for the foreseeable future.

To answer your question - kind of. ALSA is actually a full suite - it is both the driver and the mixer. ALSA's mixer is pretty poor, and doesn't support multiple devices, and can easily be thread-locked due to a rash of poor programming practices in Linux's past. Pulse, on the other hand, is not. It's kind of a middle-man to ALSA's driver backend, and provides an advanced mixer, which is "impossible" to thread-lock and supports multiple devices, including virtual devices. Pulse does bring a lot to the table, but most of it is completely possible with ALSA. Pulse aims to make advanced configurations a point-and-click operation.

I could probably answer this question in much greater detail, but I've been out of the Linux game for a few months now (praying that my work schedule dies down... it's not going to)
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #52 of 142
Drats...I've been looking at ALSA and have no idea where to begin to be honest. There's really nothing I found that was as simple as the explanations of things for Pulse. I mean most sources seem to make it sound like touching anything with ALSA is taboo as if it doesn't just work then you just had a bad card or need to wait until another release.

Basically, I'd love to get downmixing, resampling, and maybe some other things figured out with it.

But, if you're missing ALSA you can just send the kill command(or create an intentionally botched pulse config) to pulse and you'll be left with ALSA and dmix from my understanding. You just won't have any control of some of the finer details without editing the asoundrc.

Anyway...I hope Transhour gets the time to add the pulseaudio guide and I look forward to any suggestions on readability or formatting.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #53 of 142
I thought I'd add that since I'll be getting an SSD guide going there's now official from Canonical that (afaik) anything buntu based starting with 14.04 will have a daily cron fstrim included and it seems they believe that discard is both "depreciated" and "slow".

http://askubuntu.com/questions/18903/how-to-enable-trim

Actual launchpad with links to the work being done:
https://blueprints.launchpad.net/ubuntu/+spec/core-1311-ssd-trimming

So I guess I'll have to make that heads up. I'm still wondering whether or not certain /var directories would be ok for tmpfs usage (HELP/EXPLANATIONS NEEDED). The SSD guide will be like my pulseaudio guide so feel free to contribute/correct/edit things just give me a heads up.

Here's the link for the SSD guide I have so feel free to critique that as well as my pulseaudio guide guys.
http://www.overclock.net/a/how-to-maintain-and-properly-setup-an-ssd-in-linux-with-some-general-extra-speed-tweaks
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #54 of 142
how about a list of commands? and there function?
Mid range build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 3570k P8Z77-V ASUS ROG RX480 Corsair 8GB 2x 2GB + kingston hyperx 16gb 
Hard DriveOptical DriveCoolingOS
Samsung Evo SSD 500gb none corsair H80 windows 7 64 
MonitorPowerCaseMouse
Samsung s22b360 corsair tx 750 m NZXT phantom 410 (GM) logitech G400 
  hide details  
Reply
Mid range build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 3570k P8Z77-V ASUS ROG RX480 Corsair 8GB 2x 2GB + kingston hyperx 16gb 
Hard DriveOptical DriveCoolingOS
Samsung Evo SSD 500gb none corsair H80 windows 7 64 
MonitorPowerCaseMouse
Samsung s22b360 corsair tx 750 m NZXT phantom 410 (GM) logitech G400 
  hide details  
Reply
post #55 of 142

How do I install programs on arch linux?I've tried pacman but it says target not found...

My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
post #56 of 142
Quote:
Originally Posted by ABD EL HAMEED View Post

How do I install programs on arch linux?I've tried pacman but it says target not found...
You do use pacman.
What command are you using and what's the full error message?

You can also search for apps in pacman via:
Code:
pacman -Ss search string
post #57 of 142
Quote:
Originally Posted by Plan9 View Post


You do use pacman.
What command are you using and what's the full error message?

You can also search for apps in pacman via:
Code:
pacman -Ss search string

# pacman -S docky
error: target not found: docky
warning: 'docky' is a file, did you mean -U/--upgrade instead of -S/--sync?

My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
post #58 of 142
Quote:
Originally Posted by ABD EL HAMEED View Post

# pacman -S docky

error: target not found: docky

warning: 'docky' is a file, did you mean -U/--upgrade instead of -S/--sync?

weird, that works for me.

Try the following:
Code:
pacman -Syy
to force the repos to sync. then run the following again
Code:
pacman -S docky

(you can merge those two commands if you wanted: pacman -Syy docky, but i separated them above to explain the workflow)
post #59 of 142
Quote:
Originally Posted by Plan9 View Post


weird, that works for me.

Try the following:
Code:
pacman -Syy
to force the repos to sync. then run the following again
Code:
pacman -S docky

(you can merge those two commands if you wanted: pacman -Syy docky, but i separated them above to explain the workflow)


K so far so good,Is the pacman -Syy command behind the fact that arch is always updated?meaning it only needs to update apps for it to be updated?

My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
post #60 of 142
Basically a package manager needs a local database to track what apps are installed locally and speed up searching for new apps.

I often pacman -Sy app rather than just "-S app" as the "y" bit will update the local database packages available to install. I forget the difference between "y" and "yy" but sometimes it's needed to force updates (Shrak or someone will be able to explain that better than I).

With regards to updating locally installed applications, that's when you need "u": pacman -Syu
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux Essential Threads