* [gentoo-desktop] Sound freezes @ 2014-08-13 11:37 Сергей 2014-08-13 15:38 ` [gentoo-desktop] " Duncan 0 siblings, 1 reply; 10+ messages in thread From: Сергей @ 2014-08-13 11:37 UTC (permalink / raw To: gentoo-desktop Hello everybody! When I listen to music using Amarok or Google Chrome flash player (didn't try any other players) sometimes sound freezes for a second. I have tried changing phonon backend (gstreamer/vlc) and also changing kernel parameter CONFIG_SND_HDA_PREALLOC_SIZE from 64 to 2048 and 4096. Disabling Pulseaudio or using it's older version also didn't help. Can you please give me a piece of advice about what to do? ^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-desktop] Re: Sound freezes 2014-08-13 11:37 [gentoo-desktop] Sound freezes Сергей @ 2014-08-13 15:38 ` Duncan 2014-08-13 16:03 ` Alex Efros 0 siblings, 1 reply; 10+ messages in thread From: Duncan @ 2014-08-13 15:38 UTC (permalink / raw To: gentoo-desktop Сергей posted on Wed, 13 Aug 2014 15:37:32 +0400 as excerpted: > Hello everybody! When I listen to music using Amarok or Google Chrome > flash player (didn't try any other players) sometimes sound freezes for > a second. I have tried changing phonon backend (gstreamer/vlc) and also > changing kernel parameter CONFIG_SND_HDA_PREALLOC_SIZE from 64 to 2048 > and 4096. Disabling Pulseaudio or using it's older version also didn't > help. > Can you please give me a piece of advice about what to do? On one older system I had, using PCI not the newer PCIE, there was a BIOS setting for size of PCI transaction. I can't remember details such as the exact name of the BIOS setting, but the idea was that this was the largest PCI transaction allowed before it had to give up the bus and let something else have a turn, if there were other things waiting, of course. The tradeoff was between higher efficiency due to lower overhead as more could be done at a time, and higher latency as one task had the bus tied up for longer, keeping others waiting. After I shortened that, the occasional problems with sound freezes I had on that machine disappeared. I had tried other things such as increasing buffer size, etc, that didn't work, but decreasing the PCI transaction size and thus latency time did. As for pulseaudio, I'd guess a lot of gentooers don't use it at all, preferring direct alsa, etc. I know I've never used pulse here. And for kde's phonon backend, while gstreamer is I believe the current default, I don't have gstreamer installed at all here, but remember that switching from the earlier xine backend to the vlc backend helped quite a bit. However, that's likely to help only for kde apps. Firefox and chrome of course aren't kde apps, tho amarok is (but tho I switched away from amarok in the early kde4 period, IIRC it can be configured to use either kde's phonon or direct alsa or pulse, so depending on how it's configured it might not be going thru phonon either). -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-desktop] Re: Sound freezes 2014-08-13 15:38 ` [gentoo-desktop] " Duncan @ 2014-08-13 16:03 ` Alex Efros 2014-08-13 17:17 ` Duncan 0 siblings, 1 reply; 10+ messages in thread From: Alex Efros @ 2014-08-13 16:03 UTC (permalink / raw To: gentoo-desktop Hi! On Wed, Aug 13, 2014 at 03:38:31PM +0000, Duncan wrote: > As for pulseaudio, I'd guess a lot of gentooers don't use it at all, > preferring direct alsa, etc. I know I've never used pulse here. Sure, but skype-4.2 not supported anymore while 4.3 doesn't work without pulseaudio - so this shit infiltrate into our systems anyway. :( -- WBR, Alex. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-desktop] Re: Sound freezes 2014-08-13 16:03 ` Alex Efros @ 2014-08-13 17:17 ` Duncan 2014-08-13 18:29 ` Alex Efros 0 siblings, 1 reply; 10+ messages in thread From: Duncan @ 2014-08-13 17:17 UTC (permalink / raw To: gentoo-desktop Alex Efros posted on Wed, 13 Aug 2014 19:03:19 +0300 as excerpted: > Hi! > > On Wed, Aug 13, 2014 at 03:38:31PM +0000, Duncan wrote: >> As for pulseaudio, I'd guess a lot of gentooers don't use it at all, >> preferring direct alsa, etc. I know I've never used pulse here. > > Sure, but skype-4.2 not supported anymore while 4.3 doesn't work without > pulseaudio - so this shit infiltrate into our systems anyway. :( Not a problem here. In keeping with my sig I simply don't do servantware, and that's exactly what skype is or someone could and likely would revert those commits, in the form of distributed patches if upstream didn't cooperate. But since skype considers itself master over users and refuses to give them the right to see and modify the code running on their own systems, there's little that can be done, except to choose not to run code from people who refuse to recognize my rights as a user, which is exactly what I do. Of course you're free to do otherwise, to trade freedom for convenience if you like, and it seems most people prefer short term convenience to long term freedom, so what can I say or do? What I CAN do as it's within my power, and HAVE done, is draw a line concerning what runs on my own system. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-desktop] Re: Sound freezes 2014-08-13 17:17 ` Duncan @ 2014-08-13 18:29 ` Alex Efros 2014-08-13 20:31 ` Duncan 0 siblings, 1 reply; 10+ messages in thread From: Alex Efros @ 2014-08-13 18:29 UTC (permalink / raw To: gentoo-desktop Hi! On Wed, Aug 13, 2014 at 05:17:54PM +0000, Duncan wrote: > skype considers itself master over users and refuses to give them the > right to see and modify the code running on their own systems, there's > little that can be done, except to choose not to run code from people who > refuse to recognize my rights as a user, which is exactly what I do. I'm 100% agree. I hate Skype and successfully avoided it for years. But, thing is, some of my customers and co-workers use it, it's "corporate standard" for them, so only choice I have is either lose some interesting work projects and ability to talk with several friends or start using Skype. :( I just hope people will start moving from Skype soon, maybe to Tox.im or some other open and secure alternative (I just hope it won't be Hangouts). -- WBR, Alex. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-desktop] Re: Sound freezes 2014-08-13 18:29 ` Alex Efros @ 2014-08-13 20:31 ` Duncan 2014-08-13 23:35 ` Duncan 0 siblings, 1 reply; 10+ messages in thread From: Duncan @ 2014-08-13 20:31 UTC (permalink / raw To: gentoo-desktop Alex Efros posted on Wed, 13 Aug 2014 21:29:08 +0300 as excerpted: > Hi! > > On Wed, Aug 13, 2014 at 05:17:54PM +0000, Duncan wrote: >> skype considers itself master over users and refuses to give them the >> right to see and modify the code running on their own systems, there's >> little that can be done, except to choose not to run code from people >> who refuse to recognize my rights as a user, which is exactly what I >> do. > > I'm 100% agree. I hate Skype and successfully avoided it for years. > But, thing is, some of my customers and co-workers use it, it's > "corporate standard" for them, so only choice I have is either lose some > interesting work projects and ability to talk with several friends or > start using Skype. :( While I recognize people need to be able to take their own position and that mine won't work for everyone, my own solution to that is simple enough -- I simply /can't/ install the proprietary stuff, at least not legally, since I can no longer agree to, among other things, various bits of most EULAs as well as the liability waiver that's standard for most software (including the GPL), when it's applied to "black box" binary- only software. Specifically, most software (including GPLed software) essentially makes the user responsible for any damage or harm that the software may cause, including damage to the system it runs on, etc. While there's legally a good reason for that and I don't begrudge the right of authors to ask that users assume that sort of responsibility, especially in the freedomware case where user patches that the software developers obviously have no control over are specifically supported and encouraged, I simply cannot and will not assume legal responsibility for black-box software I do not have either the legal right or the literal availability of code to examine, in ordered to give me a fair basis of determining whether it's reasonable for me to agree to that waiver in the first place. IOW, it seems to me that software authors who choose to include that waiver language should equally be required to make their sources available so people can actually determine what the software does and whether a user can in all legal sanity actually determine the viability of signing those liability rights away. For me it's relatively simple, if I don't have the sources, I don't agree to transfer that liability to me. End of story. And in all fairness, in the absence of such an agreement, I expect the authors wouldn't be comfortable with me running their software anyway. I know I'd not be comfortable with it, were I in their position, anyway. There actually IS software available that has far stricter proofs of functionality applied against it, where such waivers are not asked and where they likely wouldn't be granted in any case. This is the type of software used in, for example, flight control systems on commercial jets, and for control systems of nuclear reactors and the like. But this sort of software tends to have a **MUCH** higher cost, two orders of magnitude higher at least, and the hardware it runs on has similar function- verification certification requirements. "In my ideal world" I wouldn't ban proprietary software, I'd simply demand a "fair is fair" equality in these liability waiver agreements, etc, such that any such agreement or demand for it would be illegal unless the sources were actually available under fair terms (that means at minimum, no NDAs on sources, no required agreement not to work on competing software, etc) for users to examine, before they were asked to sign those liability waivers. The practical effect of such a fairness policy would be to price proprietaryware out of practical competition range, since proving and insuring the software to such high legal liability standards would price them well out of the common market range. A few proprietary products might remain in fringe areas, and of course single-user (including single corporate user) software wouldn't be affected as such single-user software is either used by the same people who authored it, or the author was hired or contracted and such for-hire or for-contract produced software normally already has the sources and liabilities questions resolved as part of the conditions of the employment or contract. The GPL similarly doesn't normally affect those cases either, for much the same reason. Anyway, when I explain that I /can't/ legally run most proprietary software, explaining why in the level of detail required by the context (so many time's it's simply that I can't legally run it because I can't agree to the EULAs, etc, and that's that, no detail needed), the question almost always resolves itself. Few feel themselves in a position to advocate that I put myself in legal jeopardy, and even the BSA and similar proprietary software boosters find themselves at a loss when faced with such reasoning, effectively using their own arguments of legal legitimacy against them, much as the GPL uses copyright law to boost copyleft. And "friends" that don't see the problem there and drop the subject concerning what I run, regardless of what personal decisions they make about what they themselves choose to run and how they resolve their own legal choices, really aren't friends at all. Of course it's worth pointing out that it's not an employment issue, as long as /the/ /employer/ assumes legal responsibility for making those sorts of agreements in the context of anything I'm required to use in the course of my employment. If it's the employer's systems running whatever software they've assumed legal responsibility for, fine. And if they want to buy hardware for me to run whatever software they might require, and then as their representative I am told to agree to whatever EULAs, etc, in sufficient detail that it's them assuming liability and I'm simply acting as their agent, that's fine too. As long as they don't expect me to install proprietary software on BYOD devices I've paid for with my own money, and otherwise myself assume the liability for the functionality of, because again, if it's black-box software, I can't see /what/ it does, and thus I cannot and will not assume liability for it. Should that be required, I couldn't in good conscience work there anyway. There's other places I can work. So explained in that way, it generally ceases to be a problem. And where it doesn't cease to be a problem, the people involved are obviously asking me to either break the law or at minimum, bend my own ethics, so it's in my interest to cease being involved with them anyway. Of course as a practical matter, it does in fact end up being a bit more difficult to communicate with some people, and the relationship will either survive that reality or it'll ultimately cease to be a problem simply due to the hassle factor, but again, either they'll respect me for the position I've taken and the relationship will be the stronger for it, or... on balance it's better that the relationship eventually goes away anyway. (Note that it's not an exclusive-or. They can respect me for my position, but still find it enough of a hassle that the relationship eventually ceases anyway. Oh, well... such things happen. Sometimes life brings around a second opportunity years later, too, after circumstances have changed.) > I just hope people will start moving from Skype soon, maybe to Tox.im or > some other open and secure alternative (I just hope it won't be > Hangouts). Again, no attempt to make other people's decisions for them here, but it's worth noting that such "social apps" have a usefulness geometrically related to the number of people that use them, such that by choosing to use skype you're another user making it that much more useful to everybody else, thus directly supporting its usefulness to others and working against the rise of an equally useful competitive alternative. It's called the network effect. Skype is as useful as it is precisely /because/ so many people use it. And precisely because so many less people use alternatives, they're not as useful. So if you want an open alternative to skype that's as useful as skype is, be sure that at mimimum you're running that alternative in addition to skype, thus boosting the alternative's usefulness to others via the network effect. Even better tho not necessarily practical for some, stop using skype, so its usefulness to others via the network effect goes down. One person alone doesn't do much, but it's something one person alone CAN do, and in combination with many others acting similarly, that "not much" can suddenly be a *MUCH* bigger effect than originally considered. That network effect is what boycotts are built on as well, and why they work or don't work, depending on how successful people are at getting others to make similar decisions, even when the few who started the boycott would have been unlikely to use those services much anyway. My vote doesn't count for much alone, but politically it counts enough for me to continue to vote, and for the same reason tho my own dollars don't count for much alone, I very deliberately vote with them too, as well as my online views and what I link, the social apps I use (or not), etc. But that's just my own policy and why I have it. What others choose to do with their own policies and why they have them is up to them. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-desktop] Re: Sound freezes 2014-08-13 20:31 ` Duncan @ 2014-08-13 23:35 ` Duncan 2014-08-14 5:21 ` Сергей 0 siblings, 1 reply; 10+ messages in thread From: Duncan @ 2014-08-13 23:35 UTC (permalink / raw To: gentoo-desktop Duncan posted on Wed, 13 Aug 2014 20:31:14 +0000 as excerpted: > liability waiver that's standard for most software (including the GPL) Hmm... More accurately, "(including software covered by the GPL, since it includes such a waiver)". The point being, most software has such a waiver, but the difference is, with freedomware, the source is available to be examined by either the user in question or by someone they trust (like say your distro's package maintainer), while with proprietaryware, in the unlikely event that the source is (legally) available to anyone but the copyright holder and perhaps their employees, it's often covered by NDAs and no-compete agreements, etc, such that people still can't fairly judge whether they can properly agree to take responsibility for a liability waiver or not. "In my ideal world" that wouldn't be possible, the sources would have to be available for examination if such a liability waiver were to be asked, or it would be illegal to ask for the liability waiver in the first place, as the author is deliberately preventing a fair meeting of the minds in ordered to negotiate reasonable and fair terms. Which would of course leave freedomware entirely in the clear, since sources are available for it by definition. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-desktop] Re: Sound freezes 2014-08-13 23:35 ` Duncan @ 2014-08-14 5:21 ` Сергей 2014-08-14 5:32 ` Сергей 0 siblings, 1 reply; 10+ messages in thread From: Сергей @ 2014-08-14 5:21 UTC (permalink / raw To: gentoo-desktop Guys, please, no holywars here. As I mentioned in my first message, this problem has nothing to do with Skype and Pulseaudio ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-desktop] Re: Sound freezes 2014-08-14 5:21 ` Сергей @ 2014-08-14 5:32 ` Сергей 2014-08-16 11:05 ` Сергей 0 siblings, 1 reply; 10+ messages in thread From: Сергей @ 2014-08-14 5:32 UTC (permalink / raw To: gentoo-desktop My sound card (speakers) is connected via USB so i looked through USB settings in BIOS/UEFI, but could not find anything. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-desktop] Re: Sound freezes 2014-08-14 5:32 ` Сергей @ 2014-08-16 11:05 ` Сергей 0 siblings, 0 replies; 10+ messages in thread From: Сергей @ 2014-08-16 11:05 UTC (permalink / raw To: gentoo-desktop I have tried noop, bfq and cfq IO schedulers. No result. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-08-16 11:05 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-08-13 11:37 [gentoo-desktop] Sound freezes Сергей 2014-08-13 15:38 ` [gentoo-desktop] " Duncan 2014-08-13 16:03 ` Alex Efros 2014-08-13 17:17 ` Duncan 2014-08-13 18:29 ` Alex Efros 2014-08-13 20:31 ` Duncan 2014-08-13 23:35 ` Duncan 2014-08-14 5:21 ` Сергей 2014-08-14 5:32 ` Сергей 2014-08-16 11:05 ` Сергей
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox