LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-03-2012, 02:00 AM   #1
Reacon
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Various questions regarding software and audio issues


Hello,

As a foreword, I would like to state that, while I have past experience with Linux, the distributions I have chosen in the past have been somewhat babied as far as drivers and packages extend. As such, Slackware is the first OS to truly force me to understand some of the fundamental concepts behind Linux.

The following is all semi-related, and I hope some of you will aid me in understanding it.

To begin, my sound card, an ASUS Xonar DG, does not have a output volume control for the headphone jack in alsamixer. Sound functions properly for the most part (I'll get to the rest later), but obviously it's at full volume all the time, and is therefore absolutely ear piercing. Through the archive of this forum, Google, and Slackbuilds.org, I have managed to install pulseaudio in an effort to add a volume control with the server to save my poor ears and headphones. Unfortunately, that's were my first problem starts to carry over unto the second.

I've come to the point where I can actually function without a package manager, in that I know how to make and build without following tutorial directions now. Slackbuilds certainly make the whole process ten times easier above that, to say the least. However, there is one thing I would like to inquire about. To put it simply: How in the hell do you deal with all these dependencies, and dependencies of dependencies, and so on?

It started when I tried building pavucontrol to define the volume for pulseaudio. It told me I required gtkmm and some other ish (that I cannot presently recall). As I would proceed with an attempt to build and install the dependencies, it would require more dependencies, and pretty soon I had myself a chain of dependencies too long for me to bother following. Is this the only way to deal with them without a package manager like pacman, yaourt apt-get, yum? Or is there some trick to resolving and grabbing dependencies in a faster way?

And lastly, though this may or may not have to do anything, browser sound does not work in the least. This has me absolutely perplexed.

Thanks in advance for any help I may receive. In addition, I'd like to point out that I am exhausted from trying to figure this out on my own, and am about to retire for the evening, in case I do not respond for approximately nine hours.

-Reacon
 
Old 11-03-2012, 03:08 AM   #2
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Unfortunately that is the only way when running Slackware. IMHO it is the weak link in the chain, but is never likely to change so those of us who have on various occasions tried to inject some sense and argued for dependency resolution into the distro invariably end up getting less than favourable responses from the fan base. To the point where it just wears you down so you tend not to bother any more.
But, we still stick with it as the alternatives, with their obvious advantages in this area, don't necessarily fulfill our desire to control our own system.

Now if only there was a way, but with a choice to switch it on or off to suit. Oh well, one can dream!

Sorry I have no real help for you on your sound issue. Good luck with your 'dependency hell'

Last edited by vdemuth; 11-03-2012 at 03:10 AM.
 
1 members found this post helpful.
Old 11-03-2012, 04:16 AM   #3
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Hello, Reacon,
Quote:
Originally Posted by Reacon View Post
To put it simply: How in the hell do you deal with all these dependencies, and dependencies of dependencies, and so on?
It started when I tried building pavucontrol to define the volume for pulseaudio. It told me I required gtkmm and some other ish (that I cannot presently recall). As I would proceed with an attempt to build and install the dependencies, it would require more dependencies, and pretty soon I had myself a chain of dependencies too long for me to bother following. Is this the only way to deal with them without a package manager like pacman, yaourt apt-get, yum? Or is there some trick to resolving and grabbing dependencies in a faster way?
Both pulseaudio and pavucontrol are available in slackbuilds. All the dependencies a package requires are listed. So you have to make sure you know all of them before you start building your target package. What I personally do is, first list all dependencies and dependencies of dependencies I need. This is not at all so awful and time-consuming as it sounds if you do it BEFORE the build starts. In the general case it is just a tree structure of packages which one can write down a sheet of paper or in a file within 5 minutes. When I have the list of dependencies, I download them together with their build scripts, and then I just run a script that automates the sequential building and installing each package from my list. Alternatively one could check whether sbopkg does not already provide a build queue for the package one wishes. This will save you even the work of resolving dependencies.

Quote:
And lastly, though this may or may not have to do anything, browser sound does not work in the least. This has me absolutely perplexed.
Have you installed the flash-player plugin?
 
1 members found this post helpful.
Old 11-03-2012, 11:00 AM   #4
Reacon
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tramni1980 View Post
Alternatively one could check whether sbopkg does not already provide a build queue for the package one wishes. This will save you even the work of resolving dependencies.
I hadn't a clue something like sbopkg existed! Thank you much for the suggestion.

Quote:
Originally Posted by tramni1980 View Post
Hello, Reacon,Have you installed the flash-player plugin?
Yes, and HTML5 Youtube has the same problem.

@Vdemuth: I appreciate the response regardless.


I'll update again when I have had the time to tinker with it a little more. Thanks again for the replies.
 
Old 11-03-2012, 11:18 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
To begin, my sound card, an ASUS Xonar DG, does not have a output volume control for the headphone jack in alsamixer. Sound functions properly for the most part (I'll get to the rest later), but obviously it's at full volume all the time, and is therefore absolutely ear piercing.
Apparently this is a hardware issue. From http://www.alsa-project.org/main/ind...ix:Vendor-Asus
Quote:
This hardware has no volume controls; use PulseAudio.
I am not so sure about the comment to use PulseAudio. If you have a successful solution after building and installing PulseAudio, then all is well and good. I do wonder though whether a softvol solution would also have worked. http://alsa.opensrc.org/How_to_use_s..._master_volume
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software audio mixing (simultaneous audio streams) in Slackware? malloc Slackware 19 05-11-2011 09:25 PM
Audio issues saturnc Linux - Software 3 11-17-2010 04:57 PM
JACK issues with audio software Doug52392 Linux - Software 2 08-29-2009 06:38 AM
Audio issues on VIA audio :( beatupbilly Linux - Laptop and Netbook 2 07-15-2007 11:12 PM
Audio Issues etruiii Linux - Newbie 5 04-29-2005 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration