Re: sound no longer works for some programs
On Monday 18 October 2010 18:34:54 Chris Turner wrote: > no idea about this particular app - > but I do know lots of things > are gradually moving to jackd and/or pulse audio, > (maybe) with fall back support for traditional OSS/(alsa in the linux > case) - What's jackd? Is MIDI I/O supported in the kernel? The driver is snd_ich; does that kind of card support MIDI? Pierre -- Don't buy a French car in Holland. It may be a citroen.
Re: Packages mentioned in summary file are not on mirrors
On Mon, October 18, 2010 9:50 am, Tomas Bodzar wrote: > Hi all, > > 2010Q2 is done by dfly on mirrors? Eg. mplayer is in summary file and > showed through pkgin or pkg_search, but install is not possible as > it's not in mirror. > Some license issues, sure, but why it's in summary file? Usually, this happens because the file builds during the bulk build, but there's some restriction like NO_BIN_ON_FTP caused by how it's licensed that means it can't be uploaded. I don't see anything for that when looking through the Makefiles for that or for mplayer-common, which it depends on. It's also not listed as something that failed building, which makes sense if it's in the summary. I don't have an immediate answer for this, but I am starting a new set of build builds now; it may become clear with this new build. (or it'll all magically work. And I'll get my own pet pony that farts rainbows. Hope springs eternal.)
Re: Suggestion for hammer cleanup
What about hammerd? * Starts when system starts * Wakes up every 10 seconds or so to check current system load/memory usage to estimate if its appropriate to run a cleanup operation at this time. * Can have a text file configuration where you can specify maximum size(GB) of history per PFS or % of disk space * Remembers last time it was run (stores information on disk in some text file) * Maybe it can detect if it's a laptop and running on battery to defer cleanup till power is plugged in? The daemon itself would be fairly inexpensive to run. Petr
Re: Suggestion for hammer cleanup
On Mon, Oct 18, 2010 at 4:39 PM, Chris Turner wrote: > Samuel J. Greear wrote: >> >> That said, I think it would be fine to commit one or more optional >> stopgap measures/scripts to the RC system, for mobile users and etc., >> as long as it is well documented that they may go away if a better >> solution is developed or derived. > > not to flamebait or something - but: > > wouldn't the system crontab be a better place? > or perhaps create an /etc/periodic/hourly ? > > the 'newsyslog' is in /etc/crontab which is the only hourly > job I can think of off hand.. > > the script can still of course source rc.conf or something > to configure the job if the job is enabled by default > Sure, my only real point was that it should be a knob that users have to turn on (not on by default). I do not know what the precedent is for periodic/rc cross-pollination. Sam
Re: Suggestion for hammer cleanup
Samuel J. Greear wrote: That said, I think it would be fine to commit one or more optional stopgap measures/scripts to the RC system, for mobile users and etc., as long as it is well documented that they may go away if a better solution is developed or derived. not to flamebait or something - but: wouldn't the system crontab be a better place? or perhaps create an /etc/periodic/hourly ? the 'newsyslog' is in /etc/crontab which is the only hourly job I can think of off hand.. the script can still of course source rc.conf or something to configure the job if the job is enabled by default
Re: sound no longer works for some programs
Pierre Abbat wrote: I open a sound file in Wavesurfer and attempt to play it and get silence. It used to work months ago. I try to play a MIDI file in Timidity and it says "Couldn't open output device". XMMS still works, as does catting to /dev/dsp. Any idea what's wrong? I'm not sure what the sound card is, but there is no /dev/sequencer (which means KMid doesn't work). Pierre no idea about this particular app - but I do know lots of things are gradually moving to jackd and/or pulse audio, (maybe) with fall back support for traditional OSS/(alsa in the linux case) - Have you run it from the command line / checked any arguments there? I wasn't able to tell much from my build - it looks like it uses: http://www.speech.kth.se/snack/ for the sound routines - that page shows an example that appears to "run" (but not work, with no audio errors) on my i386/2.6 system as below - Perhaps a dig through the snack sources are in order? -- 8< -- $ cat /tmp/tst.tcl #! /usr/pkg/bin/tclsh package require snack snack::sound snd snd read /path/to/some.wav snd play
Re: Suggestion for hammer cleanup
On Mon, Oct 18, 2010 at 4:06 PM, Chris Turner wrote: > elekktrett...@exemail.com.au wrote: >> >> Suggestions? > > quick-fix / hack wise - > > probably setup some job to run way more often > that checks the status & makes a determination - > or move the job to something like anacron, etc > > although, in a laptop situation - you might want > to manage this manually - because the heavy work > from reblocking, etc could easily suck the juice > out of your battery when you dont want it.. > Until / unless we have the disk scheduler tuned to a point that we can just run a "prunerandreblockerd" all the time, I think it would be sufficient (and in my opinion, preferred) to simply warn the administrator based on some metric, time since last reblock, egregious amount of storage used by history, low amount of free disk space, etc., or some combination, if it is to be on by default. ... That is, if we do anything at all. I think making it clear in the HAMMER documentation that the periodic maintenance must be performed, and why, should be sufficient. I do not feel that it is terribly obvious right now. That said, I think it would be fine to commit one or more optional stopgap measures/scripts to the RC system, for mobile users and etc., as long as it is well documented that they may go away if a better solution is developed or derived. If there were a consensus, it is possible we could see about getting a script or two written for RC and/or documentation updates made as a part of Google Code-In, if DragonFly is accepted. Assuming there are no volunteers participating in this thread. Sam
Re: Suggestion for hammer cleanup
elekktrett...@exemail.com.au wrote: Suggestions? quick-fix / hack wise - probably setup some job to run way more often that checks the status & makes a determination - or move the job to something like anacron, etc although, in a laptop situation - you might want to manage this manually - because the heavy work from reblocking, etc could easily suck the juice out of your battery when you dont want it..
Re: Is Citrix client working on dfly?
Tomas Bodzar wrote: > However it was still not running so I dived in to the script and found that there is test for OS. This test is made by 'uname -s' and case for BSD systems is ...*BSD), but DragonflyBSD shows DragonFly. So I modified it directly in script and after that installation went fine and without problems. I will test real funcionality tomorrow, but I It's really amazing how much stuff this fixes, for the record - if anyone is thinking porting stuff to dragonfly is always tough - its not (always, that is) definately worth a 2 minute grep through any broken builds for something like 'FreeBSD' (NetBSD, OpenBSD, etc, etc) before giving up on making software 'X' work on DragonFly little programming knowledge required
sound no longer works for some programs
I open a sound file in Wavesurfer and attempt to play it and get silence. It used to work months ago. I try to play a MIDI file in Timidity and it says "Couldn't open output device". XMMS still works, as does catting to /dev/dsp. Any idea what's wrong? I'm not sure what the sound card is, but there is no /dev/sequencer (which means KMid doesn't work). Pierre -- La sal en el mar es más que en la sangre. Le sel dans la mer est plus que dans le sang.
Packages mentioned in summary file are not on mirrors
Hi all, 2010Q2 is done by dfly on mirrors? Eg. mplayer is in summary file and showed through pkgin or pkg_search, but install is not possible as it's not in mirror. Some license issues, sure, but why it's in summary file? -- “If you’re good at something, never do it for free.” —The Joker