/srv/irclogs.ubuntu.com/2013/02/18/#ubuntu+1.txt

SonikkuAmericaecips: I'm out of ideas... you said you Googled this, right?00:00
ecipsYeah00:00
ecipsI'm a 15 year linux user, co-founder of Linux Australia - I'm fairly capable with Linux. This one has me a bit stumped however :)00:01
ecipsI cant see anything in straces I'm taking either00:01
SonikkuAmericaecips: I've noticed it's a silent fail. I'm just a college student with ~3-4 years of strictly Ubuntu, and I've never seen this happen in a stable release, but in unstable stuff (such as 13.04 now) this is bound to happen.00:04
ecipsYeah - life on the bleeding edge :)00:04
ecipsDoesnt seem to be kernel related00:05
SonikkuAmericaHmm... is this Kubuntu by any chance?00:06
ecipsNo00:10
ecipsxubuntu00:10
ecipsI hate Unity :)00:10
SonikkuAmericaOK. This pulseaudio-is-broken frequently happens in Kubuntu though, that's why I asked.00:12
ecipsSeems switching to alsa in mplayer makes it work again00:19
ecipsYeah - definitely Pulse that is broken00:20
ecipsI wonder if there are any packages in incoming.....00:20
SonikkuAmericaecips: Just use ALSA until Pulse gets fixed.00:22
ecipsYeah00:22
ecipsPulse is not well loved by a lot of people :)00:22
ecipsThanks for your input anyway :)00:23
SonikkuAmericaYou're welcome00:23
ecipsMaybe you can help me be lazy and help me figure out another annoying thing..... :)00:23
ecipsI'm using the nvidia proprietary driver, and it's not saving my damn display settings.00:24
ecipsreverts back to a single screen after I reboot00:24
SonikkuAmerica[ sudo apt-get install nvidia-settings ] if you don't have it.00:25
ecipsYeah - got that00:26
ecipsThe settings app works fine00:26
ecipsbut the settings arent saved00:27
SonikkuAmericaecips: Are you using the nVidia X driver?00:29
SonikkuAmericaecips: A message would appear at nvidia-settings startup if you aren't00:29
ecipsyes - as I said - the proprietary one00:29
SonikkuAmericaecips: Then set up the display stuff the way you want it, open up nvidia-settings and click "Save to X Configuration File"00:30
ecipsyeah yeah - done all that :)00:31
ecipsit doesnt stick00:31
SonikkuAmericaMaybe it just doesn't like your xorg.conf00:32
SonikkuAmericaBut then again, this is an alpha. Don't count on stuff working. You might try creating a BASH script though.00:33
ecips:)00:37
ecipsxorg.conf is on the way out :)00:40
ecips/usr/share/X11/xorg.conf.d/00:40
ecipsis where it is at these days :)00:40
SonikkuAmericaNO! THEY SPLIT XORG.CONF!00:41
ecips:)00:44
ecipsLooks like disper might be the tool I need00:44
bjsniderpulse is well loved by a lot of people actually00:59
bjsniderwe're out of the growing pains phase now00:59
bjsniderthe diapers are off00:59
ecipsbjsnider, It's just broken right now :)01:04
bjsniderif this is in a vb guest image, it's not the only thing that's broken01:11
bjsniderLP: #112466001:18
ubottuLaunchpad bug 1124660 in libpciaccess (Ubuntu Precise) "Precise 20120213 i386 live session fails in virtualbox" [High,Triaged] https://launchpad.net/bugs/112466001:18
ecipsnah, pulse is broken somehow01:19
ahsdakhi02:05
ahsdakanybody here?02:05
ahsdakI've just upgraded to 13.04 and the sound does not work02:05
ecipspulseaudio is probably broken02:39
ecipstry installing pavucontrol02:39
ecipssee if that fixes it02:39
ecipsotherwise, just change your apps to use ALSA and wait patiently until it is fixed02:40
ecipsugh02:40
ecipshe's gone02:40
IdleOneecips: he waited longer then most02:53
IdleOne:)02:53
avis-is it possible for me to install 12.10 ubuntu on a 2012 mid or late mac mini ?03:18
avis-i'm not banned from #ubuntu but am not able to talk03:18
bjsnideravis-, unlikely anybody in here knows03:39
bjsnidertry the live cd03:39
IdleOneavis-: I removed the ban that was likely preventing you from speaking in #ubuntu. Please use the appropriate channel for support and remember to follow the !guidelines.03:42
IdleOneif you're still unable to send to channel join #ubuntu-ops and we can see what needs to be fixed.03:43
=== bambee is now known as rperier
=== yofel_ is now known as yofel
vividseems some issues have arisen from the recent pulseaudio update10:55
ironhalikvivid: the sound stops working? :>11:13
vividnot entirely, but its problematic11:13
vividrhythmbox, for example, is really picky on whether it wants to play my music11:13
oldude67where can i download the new release?12:04
smartboyhwoldude67, cdimage.ubuntu.com12:04
oldude67smartboyhw, ty12:04
oldude67what are some of the main issues with 13.0412:29
ecipsvivid: I agree, pulseaudio is broken badly.12:45
BluesKajHey all13:37
ecipsGood evening :)13:40
ecipspulseaudio now appears to be fixed :)13:49
BluesKajecips,yeah a pulse upgrade is in the repos13:50
ecipsinstalled and working :)13:50
BluesKajactually I didn't have a problem with it13:51
ecipsnow they just need to fix pidgin and I will be a happy man again :)13:51
BluesKajnot that I like having to use it13:51
ecipsWhat else gives multiple simultaneous access to the sound devices however?13:52
BluesKajif html5 were implemented on websites then I wouldn't need pulse13:52
ecipsNeed pulse to watch pr0n!! :p13:53
ecipsesound?13:53
BluesKajnot here13:53
BluesKajalsa does the job13:53
ecipsalsa doesnt allow multiple apps to play sound at the same time13:54
BluesKaji don't use multiple apps to play sound ..one app at a time13:55
ecipsI've got VM's and such running which would not get sound otherwise.13:56
tux__recent pulseaudio update just borked my sound14:03
tux__any ideas folks?14:03
ecipsupdate again14:04
ecipsthere is a fixed one14:04
ecips2 hours ago14:04
tux__er.. i just updated right now14:04
BluesKajmy understanding is that alsa was designed to do all that but a particular developer had the ear of the canonical managers and got his pet app that he helped build into ubuntu on 9.04 and that was beginning of the of further alsa development for multiple apps ...it was mostly political14:04
ecips1:3.0-0ubuntu214:05
ecipsIs that the version you have?14:05
BluesKajbegining of rhe end14:05
ecipsBluesKaj, I dont believe that to be the case.14:05
tux__ecips, which package version are you referring to14:05
ecipsThe pulseaudio developer actually canned the shit out of the way Ubuntu implemented pulse.14:06
ecipstux__, pulseaudio14:06
ecipsdpkg -l pulseaudio14:06
tux__ecips, i recall that, he said when they first used it14:06
tux__he commented that they didn't do a stellar job implementing it14:07
BluesKajthat was the story that going around on the ubuntu chats in late 2008, ecips ..I remember it well14:07
tux__1:3.0-0ubunt amd6414:07
ecipsheh - make your terminal screen wider14:07
ecips:)14:07
BluesKajppl were dumping pulseaudio as soon as they upgraded14:07
ecipsapt-cache show pulseaudio|grep Vers14:08
tux__ 1:3.0-0ubuntu214:08
ecipsWell, thats the one that fixed it for me14:08
ecipshave you rebooted?14:08
tux__yes i have14:08
BluesKajapt-cache policy pulseaudio works too14:09
ecipsBluesKaj, So many ways to skin a cat :)14:09
ecipstux__, So what are the symptoms you are seeing?14:10
tux__er.. no pulse ;)14:11
BluesKajwell, pulseaudio has been allowed to develop into an app that actually works where as alsa is till being upgraded in order to run properly under pulse , but that 's all14:11
ecipsso the server isnt running?14:11
tux__daemon is already running afaik14:11
tux__pidof pulseaudio14:12
tux__148514:12
alankilaI have a developer perspective to pulseaudio. Not someone who has written anything in it, but something against it. Pulseaudio is actually simple and pretty to use, especially for simple cases. It's about as good as one other favorite audio abstraction called libao14:14
alankilaalso I liked the fact that pulseaudio allows one-place configuration of the resampling algorithm rather than having alsa pick some linear interpolation thing which is pretty aliasy for that purpose, though it is possible to write sound .asoundrc that changes that14:15
alankilasound=some14:15
alankilaso anyway it has full support for me. libasound2 is a horrible API. It takes 100-line program merely to open an audio device and set it up for some bit depth, sample rate, and buffer sizes, where pulse accomplishes all that in single function call.14:16
alankilaand writing .asoundrc files is so hard that the entire capability of configuring alsa might just as well not exist14:17
BluesKajalankila, I'm regretting the lack od development in alsa , it worked fine without pulse for my needs , now alsa doesn't link to webaudio anymore , especially on pci soundcards , my old pc with integrated audio still doesn't need pulse14:17
alankilaalsa's problem is, imho, that it's a 2nd system effect design. OSS was clearly limited and clunky, but ALSA went overboard with flexibility just trying to support every audio feature there might be. In the meantime, all everyone else wanted was something simple and obvious to use.14:18
ecipsalankila, The plague of open sores software :)14:19
alankilaPerhaps if ALSA had worked out how to do dmix before, pulse would not have happened. We shall never know. What did happen was that arts and esound got invented, and I guess they both sucked.14:19
tux__when i run alsamixer, all it shows is S/PDIF  :(14:19
ecipspulse seems to be the last man standing14:19
ecipstux__, pavucontrol14:20
tux__oh i forgot about that ;)14:20
alankilathe thing is, I do think we need userspace sound daemons, because users expect capabilities like routing audio to headsets. ALSA is a raw hardware interface, and it needs to be "virtualized", so there is actually a need for something that sits atop it.14:21
alankilaI simply wish pulse was designed better. Audio is such a simple problem for modern computing systems, you could do a lot to make it more convenient. Get rid of all the weird sample formats, only support floating point audio; expose audio as a ring buffer with a function that fetches the play cursor position that hardware has read, so you can control latency by deciding how far ahead of the play cursor you are writing, etc.14:23
ecipsalankila, You havent allowed for the Apple and Microsoft factor :)14:24
alankilabut anyway, I'm rambling. None of this changes anything.14:24
ecipsWhen there is a standard, break it as soon as possible.14:24
BluesKajyeah for ppl who , for some reason, need several audio sources running simultaneously, something that i don't need14:24
alankilawell, apple's coreaudio uses floating point, and I'm not aware when they have broken it since designing it; microsoft uses the memory-mapped audio ring buffer concept in directsound and I love it14:25
alankilathis shit is pretty easy if you just copied the best of what your competition has already done for years14:25
ecipsalankila, Your knowledge of these things exceeds mine by several orders of magnitude :) I'm just a humble network plumber. :)14:27
ecipsalankila, You obviously work with this sound stuff regularly :)14:28
alankilaI have some audio-related hobbies that took up more of my time 1-2 years ago14:28
ecipsI remember paying for an OSS license so I could get the sound on my PC going14:29
ecipsThat was some time back... :)14:29
alankilathat could have been in 1997 or something14:29
ecipsYeah, around then I think14:29
alankilaI remember there was a time when the paid version of OSS was ahead of the free version14:30
ecipsI had a toshiba laptop14:30
ecipsthat the free version didnt support14:30
alankilathough it seems to me that OSS4 has entirely lost its way, it has become an abstraction that actively hides stuff from users rather than one that tries to engineer a good answer to difficult questions14:30
alankilafor instance you can't ask for OSS4 system what the length of latency is: it just has some symbolic constants with values like "a little", "somewhat", "quite a lot, actually". There used to be ioctls that tried to calculate it but they couldn't always answer correctly because drivers and hardware suck14:31
ecipsheh :)14:32
alankilaincidentally the very same problem that resulted in pulseaudio behaving poorly when it was first widely deployed14:32
ecips"sort of"14:32
ecipslol14:32
alankilasound drivers do not bother to tell because very few people care14:32
ecipsalankila, I think it is one of those things that most people dont even know exist14:32
alankilato make the latency as obvious as possible, I'd really love to have this "memory mapped ring buffer" thing. DirectSound is great. You can have buffer that plays for 5 seconds if you want, but you can write only 10 ms ahead of the play cursor if you think that's what your program is jitter-free enough to handle.14:33
alankilaso you realize a latency that is entirely up to you, up to the maximum latency value of 5 seconds, which implies you are just behind the play cursor in your writing, and it must play through the whole buffer before it reaches that point14:34
ecipshow does alsa buffer sound?14:34
alankilait can do memory mapped i/o too, though I'm not sure if it's still the default way. There's typically a function you call that does writing, and something happens which causes the writing to occur14:35
alankilabut I did not really manage to work out how to calculate the latency of ALSA audio from that, because I do not have the concept of a play cursor in a ring buffer, there's just some degree of buffering. :-/14:35
ecipsWell, I think it is bed time for me!14:36
alankilaALSA structures everything as "periods" with a "period size". The entire buffer is periods * period_size frames long, and you write a period_size chunk at a time14:36
alankilaso I guess it sleeps until it knows the play cursor is past the period you are about to overwrite, and then writes that data. But this doesn't really match how the hardware likely operates, which probably reads in much smaller chunks, or so I imagine...14:37
ecips2240hrs here14:37
* ecips yawns14:37
ecipsnite all!14:39
alankilayes, laters.14:40
* BluesKaj still wonders why i need pulse for a pci m-audio car , but not for a nvidia integrated audio chip14:40
BluesKajnite ecips14:40
BluesKajof course I'm running 12.04 on the old pc , with very few upgrades14:41
alankilaI think everybody "needs" pulseaudio or should at least use it, if audio output is desired at all. It does a lot of the difficult stuff like allows you to select output configuration from a dropbox rather than muck around in alsa switches trying to work out how to enable iec958 output or something.14:42
alankilaand instead of 30 sliders of which some might control volume, there is only one volume slider now14:42
alankilaand if you are unfortunate enough to listen to cd-quality audio on chip that can internally only clock at 48 kHz, then you don't get linear interpolation based resampling but some higher quality algorithm by default. (Though I've noticed that the default algorithm has progressively become worse over time.)14:43
alankilaactually I'm not sure if the algorithm is better. That would depend on pulse being smart actually. It would have to use the raw hardware rather than plughw and configure it to one of the hardware's native rates to avoid those atrocious alsa defaults14:44
BluesKajwell, I always the spdif digital output to an audio system ..pc speaker mostly don't do the joib for me , so I let the DAC in the amp do the conversion , and other ctrls like tone etc are done by the amplifier14:45
alankilaI sure hope it uses hw rather than plughw, otherwise it misses an opportunity to undo another wart of ALSA14:45
alankilathe algorithm now is "speex-float-1"14:46
BluesKajalankila, so you're syaing also isn't up to the job at the get go , then we have another layer of processing thru pulse14:48
BluesKajalsa isn't up14:48
alankilaHmm. I see. Kaiser window, probably 60 dB SNR, and I guess something like 80 % cutoff though I have to guess, it hasn't been written14:51
alankilaBluesKaj: alsa is a hardware interface, and has dedicated itself to such. But users expect something more "cooked", and capable. For instance, per-application volume level is quite useful, as is the ability to play multiple sounds simultaneously and to change stream to a headset, or lower volume of your music player because you got a phone call over skype, and so on14:55
alankilathis kind of integration makes for great user experience, and it's completely out of scope for alsa14:56
BluesKajI just use the pause button , if i get phone call on skype or otherwise ,.and I never use simultaneous audio sources15:00
BluesKajalsa doesn't need to be everything to everybody , just let it work/link with webaudio like it used to , that's all I ask...let hose that need multiple audiosources etc use pulse15:11
bjsnideralankila is right, everybody should be using pulse15:14
BluesKajbah humbug15:15
BluesKajI don't use it my 12.04 pc because I don't need it , alsa is working fine without pulse15:17
alankilaBluesKaj: what if I told you that not everybody is exactly the same15:19
alankilawhen making decisions for a distribution you have to think about what everybody needs. Even if you never needed any features that pulse provided, it shouldn't harm you either that they are there.15:19
BluesKajyes , hence my post about "everything to everybody" , aal15:20
BluesKajalankila,^15:20
bjsnideri hope you removed system sounds and made sure only one thing at a time could ever make noise15:22
BluesKajwell , unfortunately linux audio has obviously become a "dog's breakfast" and it need a new audio suite with better HW integration15:22
BluesKajI don't use system sounds15:22
BluesKajit needs15:23
bjsniderno, please, not yet another audio suite15:23
BluesKaj a replacement15:23
BluesKaja comprehensive one15:24
bjsnideri think we can just make the current ones better15:26
BluesKaj_Hiyas all , the timeservers don;'r use the EST settings that i choose , the time is set to UK time at every bootup , altho the EST setting is still eanbled in the date time dialog16:29
BluesKaj_oops wrong chan16:30
=== zequence_ is now known as zequence
=== yofel_ is now known as yofel
ybonAnyone here experiencing "ImportError: No module named pyexpat" on Raring after install?19:28
=== cmagina is now known as cmagina_away
=== cmagina_away is now known as cmagina
xaphhi guys,  I'm using ubuntu 13.04 now and installing awesome doesn't creata a slimdm entry.20:52
xaphhow can i add a new entry to slimdm?20:52
xaphsorry not slimdm, lightdm20:53
trismxaph: the desktop file seems to be there, though I see in the diff, NoDisplay=true was added in the raring version for some reason20:55
trismxaph: if you have already restarted lightdm and verified that it still isn't there, you might edit /usr/share/xsessions/awesome.desktop and remove that line20:56
xaphtrism, thanks for your answer. I checked that file but not noticed nodisplay.20:56
xaphtrism, I'll try it now.20:56
xaphtrism, by the way where did you check these file? Where's the diff?20:57
trismxaph: related bug 1097240 (the diff is here: https://launchpad.net/ubuntu/+source/awesome/3.4.14-1 )21:01
ubottubug 1097240 in Light Display Manager "Should display window managers with NoDisplay=true" [Undecided,New] https://launchpad.net/bugs/109724021:01
rockynot sure where the best place to ask this question is... but are the ubuntu unity webapp integration points available for google chrome in stable ubuntu or ubuntu+1 ?21:02
trismseems like adding NoDisplay=true is the new thing for window managers (seems kind of silly to add that and then have gdm ignore it on purpose)21:02
rockyactually perhaps a better question is "how do i get started with unity-integrated webapps?"21:02
xaphtrism, thanks for information. I'll try it now.21:07
RNDMbHi! I upgraded my ubuntu on my laptop to 13.04 and now it freezes when  I try to put it to sleep. However, only when it is not plugged in. Where should I look?21:08
xaphtrism, it worked now. thanks again :)21:09
alex_mayorga!raring21:38
ubottuUbuntu 13.04 (Raring Ringtail) will be the 18th release of Ubuntu, Discussion and support until final release in #ubuntu+121:38
alex_mayorga!schedule21:39
ubottuRaring Ringtail (13.04) release milestones can be found at https://wiki.ubuntu.com/RaringRingtail/ReleaseSchedule21:39
alex_mayorga!upgrade21:40
ubottuFor upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/desktop/get-ubuntu/upgrade21:40
rubenihi to all21:45
=== magn3ts is now known as cole
=== cole is now known as colem
* BluesKaj checks xchat text22:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!