From owner-freebsd-multimedia@FreeBSD.ORG Sun May 12 20:34:56 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2E274B85 for ; Sun, 12 May 2013 20:34:56 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 095EEDA3 for ; Sun, 12 May 2013 20:34:55 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id c13so10809679ieb.24 for ; Sun, 12 May 2013 13:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=0ygpUL2dFbWBFJTOM2TQC31Apn4XMzGKpmL6e8uo2a0=; b=f1zib77WocEXKqAkc9veh/qJeSdySx6wu1gkuteM/7g9AU4qf21Q3kMcnb5Ib7IFUk J4dmXCSpJ5FNg3RUdZyo+TST7GVlf3TdA68bnS4gKiammMbI/ELCFZqOeZoAu60FAv2n E2NOaC6NsiHpjS/J66rFQvyf7heno4DEqONw2++7AjAbxOS08Qy94+vcVU9IFQpncuio CCK0VJ/hi9vGZw6XtOlDSpU8LSJVs7+ejM0UMt2VCqMnC+i8o72Fw0J3d+cchiViLUJy 8Yiys7vy7dm0EhjjTxt4leMjj83XuIltjgMO8ag8OTgvLzH6oH7dN1YXccCQ9TsL/wco 8tWQ== X-Received: by 10.50.77.33 with SMTP id p1mr7938148igw.36.1368390895729; Sun, 12 May 2013 13:34:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.77.51 with HTTP; Sun, 12 May 2013 13:34:25 -0700 (PDT) From: Chris Rees Date: Sun, 12 May 2013 21:34:25 +0100 Message-ID: Subject: audio/grip fix build on head (probably clang) To: multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 20:34:56 -0000 Hi all, http://www.bayofrum.net/medusa/tinderlogs/10-local-20130512111811/grip-3.3.1_5.log Fix is fairly trivial, I'm pretty sure that it's also correct. http://www.bayofrum.net/~crees/patches/grip-return-type.diff Anyone mind if I commit? Chris From owner-freebsd-multimedia@FreeBSD.ORG Mon May 13 11:06:48 2013 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 52F6F999 for ; Mon, 13 May 2013 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4020D84A for ; Mon, 13 May 2013 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4DB6mtA075933 for ; Mon, 13 May 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4DB6l97075931 for freebsd-multimedia@FreeBSD.org; Mon, 13 May 2013 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 May 2013 11:06:47 GMT Message-Id: <201305131106.r4DB6l97075931@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 11:06:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/178273 multimedia multimedia/gstreamer-plugins: It's hava no package of o ports/177532 multimedia multimedia/gstreamer-plugins-* ports missing dependenc o ports/177281 multimedia multimedia/avidemux2 does not compile o ports/175940 multimedia multimedia/gstreamer-plugins-good add missing dependen o ports/175865 multimedia audio/denemo 0.9.2_2 does not build o kern/175306 multimedia [snd_hda] snd_hda does not produce 7.1 sound on ALC892 o kern/175220 multimedia [sound] sound stopping: play interrupt timeout, channe f ports/175008 multimedia audio/gstreamer-plugins-soundtouch C++ compiler error o kern/174828 multimedia [sound] [snd_emu10kx]: "Creative SB PCI512 [CT4790]" i o kern/174796 multimedia [emu10kx]: Audigy ZS driver produce strange noises o kern/174573 multimedia [snd_hda] headphones on front panel not working anymor o ports/174287 multimedia multimedia/gstreamer-plugins-good fails to compile wit o ports/173741 multimedia multimedia/dirac fails to compile with clang o ports/172185 multimedia multimedia/vlc build fail with gmake core dump at modu o ports/172128 multimedia building multimedia/vlc fails o kern/171937 multimedia [pcm] Notebook Toshiba Satellite C850-B1K and problem o ports/171888 multimedia [PATCH] multimedia/gpac-libgpac: update to 0.5.0,1 o ports/171248 multimedia multimedia/win32-codecs: Fix pkg-plist o ports/170517 multimedia [patch] Correct audio/jack Dependency Declaration o ports/170032 multimedia Some ports not bumped after libogg update o ports/165090 multimedia audio/faad missing head files o kern/162181 multimedia [snd_emu10k1] [patch] The kernel sound driver module s o ports/161783 multimedia [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 o ports/161568 multimedia [PATCH] audio/libsamplerate: samplerate.h has comma at o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s o stand/157050 multimedia OSS implementation lacks AFMT_FLOAT o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl a ports/153735 multimedia multimedia/vlc: install error: `Permission denied' for o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 89 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon May 13 13:11:39 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D9D9B8F2 for ; Mon, 13 May 2013 13:11:39 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id A0FC0154 for ; Mon, 13 May 2013 13:11:39 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r4DDBdMU007747 for ; Mon, 13 May 2013 09:11:39 -0400 (EDT) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r4DDBdB4007625; Mon, 13 May 2013 09:11:39 -0400 (EDT) (envelope-from portscout) Message-Id: <201305131311.r4DDBdB4007625@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Mon, 13 May 2013 09:11:39 -0400 From: portscout@portscout.freebsd.org To: multimedia@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 13:11:39 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/multimedia@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ audio/denemo | 1.0.0 | 1.0.2 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-multimedia@FreeBSD.ORG Mon May 13 22:37:47 2013 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4FDC4DE5 for ; Mon, 13 May 2013 22:37:47 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id EF8FDEC9 for ; Mon, 13 May 2013 22:37:46 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=EMiEIilC c=1 sm=0 a=fEl05wXzeJCkBz9gs2itqQ==:17 a=FtuzIWGT4-YA:10 a=owsjQEjaMGoA:10 a=YNqtyO0l_hcA:10 a=LaogzpLLAAAA:8 a=X8MPi3fWYVwA:10 a=K3kzJQaFSC7c9JXdwSwA:9 a=wPNLvfGTeEIA:10 a=EIY2Xhy64AMDXZx6HGYA:9 a=_W_S_7VecoQA:10 a=C0-GoLs2URe1xsBaRbYA:9 a=sOKxrc_Uve4A:10 a=xNf9USuDAAAA:8 a=FP58Ms26AAAA:8 a=lCVXOeqqE5Y-9PGZPVkA:9 a=zlCbrPHyOO0A:10 a=gxOmRULAtWIc43L8yigA:9 a=xbtMIHYz6iGzu9_M:21 a=fEl05wXzeJCkBz9gs2itqQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.63.29 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [209.6.63.29] ([209.6.63.29:13943] helo=utka.zajac) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPA id 4A/5C-26387-93B61915; Mon, 13 May 2013 18:37:45 -0400 Message-ID: <51916B38.6010806@aldan.algebra.com> Date: Mon, 13 May 2013 18:37:44 -0400 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130325 Thunderbird/17.0.4 MIME-Version: 1.0 To: multimedia@FreeBSD.org Subject: multimedia/dirac and gcc4[78] Content-Type: multipart/mixed; boundary="------------040002010808090806040208" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: bms@FreeBSD.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 22:37:47 -0000 This is a multi-part message in MIME format. --------------040002010808090806040208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Gentlemen! In order to build the dirac port with gcc47 or gcc48, I had to apply the attached patches. Please, commit or allow me to. Thank you very much. Yours, -mi --------------040002010808090806040208 Content-Type: text/plain; charset=KOI8-U; name="patch-no-march" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-no-march" --- configure 2009-02-10 20:43:40.000000000 -0500 +++ configure 2013-05-13 17:57:06.000000000 -0400 @@ -20349,11 +20349,4 @@ : fi - case "$host" in - i386-*) TRY_CFLAGS="$OPT_CFLAGS -march=i386";; - i486-*) TRY_CFLAGS="$OPT_CFLAGS -march=i486";; - i586-*) TRY_CFLAGS="$OPT_CFLAGS -march=pentium";; - i686-*) TRY_CFLAGS="$OPT_CFLAGS -march=pentiumpro";; - k6-*) TRY_CFLAGS="$OPT_CFLAGS -march=k6";; - esac { $as_echo "$as_me:$LINENO: checking if $CXX supports $TRY_CFLAGS $CXXFLAGS flags" >&5 $as_echo_n "checking if $CXX supports $TRY_CFLAGS $CXXFLAGS flags... " >&6; } --------------040002010808090806040208 Content-Type: text/plain; charset=KOI8-U; name="patch-quant-chooser" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-quant-chooser" From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564976#10 http://sourceforge.net/tracker/index.php?func=detail&aid=2984304&group_id=102564&atid=632200 --- libdirac_encoder/quant_chooser.cpp 2009-01-21 05:22:05.000000000 +0000 +++ libdirac_encoder/quant_chooser.cpp 2010-07-03 17:40:12.000000000 +0000 @@ -340,7 +340,7 @@ { for (int i=cblock.Xstart(); i= u_threshold ) + if ( (std::abs(int(m_coeff_data[j][i]))<<2) >= u_threshold ) can_skip = false; } } @@ -355,7 +355,7 @@ { for (int i=node.Xp() ; i> (split_depth); - max = (1 << split_depth); - + //now do all the block modes and mvs in the mb for (m_b_yp = m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp += step) @@ -335,5 +334,5 @@ void VectorElementCodec::DoWorkCode( MvData& in_data ) { - int step,max; + int step; int split_depth; @@ -345,6 +344,5 @@ step = 4 >> (split_depth); - max = (1 << split_depth); - + //now do all the block modes and mvs in the mb for (m_b_yp = m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp += step) @@ -501,5 +499,5 @@ void DCCodec::DoWorkCode( MvData& in_data ) { - int step,max; + int step; int split_depth; @@ -511,6 +509,5 @@ step = 4 >> (split_depth); - max = (1 << split_depth); - + //now do all the block modes and mvs in the mb for (m_b_yp = m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp += step) --- libdirac_common/wavelet_utils.cpp 2008-10-20 00:21:02.000000000 -0400 +++ libdirac_common/wavelet_utils.cpp 2013-05-13 16:33:00.000000000 -0400 @@ -199,5 +199,4 @@ const ChromaFormat cformat = pparams.CFormat(); const float cpd = encparams.CPD()*cpd_scale_factor; - const PictureSort psort = pparams.PicSort(); int xlen, ylen, xl, yl, xp, yp; --- libdirac_common/mot_comp_mmx.cpp 2008-01-09 05:50:23.000000000 -0500 +++ libdirac_common/mot_comp_mmx.cpp 2013-05-13 16:34:58.000000000 -0400 @@ -245,8 +245,8 @@ //weights for doing linear interpolation, calculated from the remainder values - const ValueType linear_wts[4] = { (2 - rmdr.x) * (2 - rmdr.y), //tl - rmdr.x * (2 - rmdr.y), //tr - (2 - rmdr.x) * rmdr.y, //bl - rmdr.x * rmdr.y }; //br + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr.x) * (2 - rmdr.y)), //tl + (ValueType)(rmdr.x * (2 - rmdr.y)), //tr + (ValueType)((2 - rmdr.x) * rmdr.y), //bl + (ValueType)(rmdr.x * rmdr.y) }; //br ValueType act_cols1[4], act_cols2[4]; --- libdirac_motionest/me_utils.cpp 2008-10-21 00:55:46.000000000 -0400 +++ libdirac_motionest/me_utils.cpp 2013-05-13 16:49:34.000000000 -0400 @@ -685,8 +685,8 @@ // weights for doing linear interpolation, calculated from the remainder values - const ValueType linear_wts[4] = { (2 - rmdr.x) * (2 - rmdr.y), //tl - rmdr.x * (2 - rmdr.y), //tr - (2 - rmdr.x) * rmdr.y, //bl - rmdr.x * rmdr.y }; //br + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr.x) * (2 - rmdr.y)), //tl + (ValueType)(rmdr.x * (2 - rmdr.y)), //tr + (ValueType)((2 - rmdr.x) * rmdr.y), //bl + (ValueType)(rmdr.x * rmdr.y) }; //br const int refXlen( m_ref_data.LengthX() ); @@ -849,8 +849,8 @@ // weights for doing linear interpolation, calculated from the remainder values - const ValueType linear_wts[4] = { (2 - rmdr.x) * (2 - rmdr.y), //tl - rmdr.x * (2 - rmdr.y), //tr - (2 - rmdr.x) * rmdr.y, //bl - rmdr.x * rmdr.y }; //br + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr.x) * (2 - rmdr.y)), //tl + (ValueType)(rmdr.x * (2 - rmdr.y)), //tr + (ValueType)((2 - rmdr.x) * rmdr.y), //bl + (ValueType)(rmdr.x * rmdr.y) }; //br const int refXlen( m_ref_data.LengthX() ); @@ -909,8 +909,8 @@ //weights for doing linear interpolation, calculated from the remainder values - const ValueType linear_wts[4] = { (4 - rmdr.x) * (4 - rmdr.y), //tl - rmdr.x * (4 - rmdr.y), //tr - (4 - rmdr.x) * rmdr.y, //bl - rmdr.x * rmdr.y }; //br + const ValueType linear_wts[4] = { (ValueType)((4 - rmdr.x) * (4 - rmdr.y)), //tl + (ValueType)(rmdr.x * (4 - rmdr.y)), //tr + (ValueType)((4 - rmdr.x) * rmdr.y), //bl + (ValueType)(rmdr.x * rmdr.y) }; //br bool bounds_check( false ); @@ -1040,8 +1040,8 @@ //weights for doing linear interpolation, calculated from the remainder values - const ValueType linear_wts[4] = { (4 - rmdr.x) * (4 - rmdr.y), //tl - rmdr.x * (4 - rmdr.y), //tr - (4 - rmdr.x) * rmdr.y, //bl - rmdr.x * rmdr.y }; //br + const ValueType linear_wts[4] = { (ValueType)((4 - rmdr.x) * (4 - rmdr.y)), //tl + (ValueType)(rmdr.x * (4 - rmdr.y)), //tr + (ValueType)((4 - rmdr.x) * rmdr.y), //bl + (ValueType)(rmdr.x * rmdr.y) }; //br bool bounds_check( false ); @@ -1404,8 +1404,8 @@ else { - const ValueType linear_wts[4] = { (2 - rmdr1.x) * (2 - rmdr1.y), //tl - rmdr1.x * (2 - rmdr1.y), //tr - (2 - rmdr1.x) * rmdr1.y, //bl - rmdr1.x * rmdr1.y }; //br + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr1.x) * (2 - rmdr1.y)), //tl + (ValueType)(rmdr1.x * (2 - rmdr1.y)), //tr + (ValueType)((2 - rmdr1.x) * rmdr1.y), //bl + (ValueType)(rmdr1.x * rmdr1.y) }; //br // We're doing bounds checking because we'll fall off the edge of the reference otherwise. @@ -1514,8 +1514,8 @@ else { - const ValueType linear_wts[4] = { (2 - rmdr2.x) * (2 - rmdr2.y), //tl - rmdr2.x * (2 - rmdr2.y), //tr - (2 - rmdr2.x) * rmdr2.y, //bl - rmdr2.x * rmdr2.y }; //br + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr2.x) * (2 - rmdr2.y)), //tl + (ValueType)(rmdr2.x * (2 - rmdr2.y)), //tr + (ValueType)((2 - rmdr2.x) * rmdr2.y), //bl + (ValueType)(rmdr2.x * rmdr2.y) }; //br // We're doing bounds checking because we'll fall off the edge of the reference otherwise. @@ -1565,12 +1565,12 @@ //weights for doing linear interpolation, calculated from the remainder values - const ValueType linear_wts1[4] = { (4 - rmdr1.x) * (4 - rmdr1.y), //tl - rmdr1.x * (4 - rmdr1.y), //tr - (4 - rmdr1.x) * rmdr1.y, //bl - rmdr1.x * rmdr1.y }; //br - const ValueType linear_wts2[4] = { (4 - rmdr2.x) * (4 - rmdr2.y), //tl - rmdr2.x * (4 - rmdr2.y), //tr - (4 - rmdr2.x) * rmdr2.y, //bl - rmdr2.x * rmdr2.y }; //br + const ValueType linear_wts1[4] = { (ValueType)((4 - rmdr1.x) * (4 - rmdr1.y)), //tl + (ValueType)(rmdr1.x * (4 - rmdr1.y)), //tr + (ValueType)((4 - rmdr1.x) * rmdr1.y), //bl + (ValueType)(rmdr1.x * rmdr1.y) }; //br + const ValueType linear_wts2[4] = { (ValueType)((4 - rmdr2.x) * (4 - rmdr2.y)), //tl + (ValueType)(rmdr2.x * (4 - rmdr2.y)), //tr + (ValueType)((4 - rmdr2.x) * rmdr2.y), //bl + (ValueType)(rmdr2.x * rmdr2.y) }; //br //Where to start in the upconverted images --- libdirac_encoder/picture_compress.cpp 2009-01-21 00:20:57.000000000 -0500 +++ libdirac_encoder/picture_compress.cpp 2013-05-13 16:51:58.000000000 -0400 @@ -414,5 +414,4 @@ const int depth=m_encparams.TransformDepth(); - PicArray* comp_data[3]; CoeffArray* coeff_data[3]; OneDArray* est_bits[3]; @@ -421,5 +420,4 @@ // Construction and definition of objects for (int c=0;c<3;++c){ - comp_data[c] = &my_picture.Data((CompSort) c ); coeff_data[c] = &my_picture.WltData((CompSort) c ); est_bits[c] = new OneDArray( Range( 1, 3*depth+1 ) ); --- libdirac_encoder/seq_compress.cpp 2008-10-28 22:42:06.000000000 -0400 +++ libdirac_encoder/seq_compress.cpp 2013-05-13 17:21:17.000000000 -0400 @@ -664,6 +664,4 @@ int FrameSequenceCompressor::CodedToDisplay( const int cnum ) { - int div; - if (m_L1_sep>0) { @@ -673,5 +671,4 @@ else if ((cnum-1)% m_L1_sep==0) {//we have L1 or subsequent I pictures - div=(cnum-1)/m_L1_sep; return cnum+m_L1_sep-1; } --- util/conversion/common/bitmap.cpp 2004-06-30 12:44:52.000000000 -0400 +++ util/conversion/common/bitmap.cpp 2013-05-13 17:26:34.000000000 -0400 @@ -143,12 +143,7 @@ int fileSize; int dataOffset; - int size; int planes; int bitCount; int compression; - int imageSize; - int xPixelsPerM, yPixelsPerM; - int coloursUsed; - int coloursImportant; //Define buffer to read bytes into. const int bufferSize = 54; @@ -176,5 +171,5 @@ //Should check success of operation (see The C++ Stand Lib, Josuttis, p665) if (dataOffset>54) inbuf.pubseekoff(dataOffset-54, std::ios_base::cur, std::ios_base::in); - size = read4bytes(buffer+14); + read4bytes(buffer+14); /* size */ w = read4bytes(buffer+18); h = read4bytes(buffer+22); @@ -186,9 +181,9 @@ compression = read4bytes(buffer+30); if ( compression != 0 ) input.setstate(std::ios::failbit); - imageSize = read4bytes(buffer+34); - xPixelsPerM = read4bytes(buffer+38); - yPixelsPerM = read4bytes(buffer+42); - coloursUsed = read4bytes(buffer+46); - coloursImportant = read4bytes(buffer+50); + read4bytes(buffer+34); /* imageSize */ + read4bytes(buffer+38); /* xPixelsPerM */ + read4bytes(buffer+42); /* yPixelsPerM */ + read4bytes(buffer+46); /* coloursUsed */ + read4bytes(buffer+50); /* coloursImportant */ return input; } --------------040002010808090806040208-- From owner-freebsd-multimedia@FreeBSD.ORG Thu May 16 01:33:30 2013 Return-Path: Delivered-To: freebsd-multimedia@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B4904D98; Thu, 16 May 2013 01:33:30 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE16794; Thu, 16 May 2013 01:33:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4G1XU06080270; Thu, 16 May 2013 01:33:30 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4G1XUR1080269; Thu, 16 May 2013 01:33:30 GMT (envelope-from linimon) Date: Thu, 16 May 2013 01:33:30 GMT Message-Id: <201305160133.r4G1XUR1080269@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: kern/178671: [snd_hda] snd_hda stops working as soon as X starts X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 01:33:30 -0000 Old Synopsis: snd_hda stops working as soon as X starts New Synopsis: [snd_hda] snd_hda stops working as soon as X starts Responsible-Changed-From-To: freebsd-amd64->freebsd-multimedia Responsible-Changed-By: linimon Responsible-Changed-When: Thu May 16 01:33:13 UTC 2013 Responsible-Changed-Why: reclassify and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=178671 From owner-freebsd-multimedia@FreeBSD.ORG Thu May 16 17:16:52 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D89DCEA9; Thu, 16 May 2013 17:16:52 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id A409B612; Thu, 16 May 2013 17:16:52 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id e11so7102059iej.2 for ; Thu, 16 May 2013 10:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=NjcDGNSmrs2YYTwRiBljVORsyrKnXh6kL4yWlyyABQQ=; b=aSKGulsn+F9stOJa2X9sygpCzYNGEXFZLaqluzUgq9hk4Gefl9bwnKltMxq4ZleGem DAFmgSmlhQnNyBwLkBMKMJ75T8hHbgNeTZ5pjiS3J6bMDDD4RJtR7DAbFJIhwhnYdHNq HVXnU9yUDa7TNO5+iB4gqe5CjNjxcPCsAt0MOflkALyCxjLtL5IFidt00YJ/yW45z5s8 bEJAPGqewQ6QyZPuvMGP58vckQEBbUjVePFrKe+mrvNcnYEGpUDm+6mXncjNs67LIrrh 86aq7WG5JeNHancC6Qcg4ht6jW89kCBPaMhLO4QG7rkSF4+CWM8NT/oEdkeLMF2TwRny tinw== MIME-Version: 1.0 X-Received: by 10.50.147.71 with SMTP id ti7mr10255688igb.49.1368724612307; Thu, 16 May 2013 10:16:52 -0700 (PDT) Received: by 10.64.77.51 with HTTP; Thu, 16 May 2013 10:16:51 -0700 (PDT) Received: by 10.64.77.51 with HTTP; Thu, 16 May 2013 10:16:51 -0700 (PDT) In-Reply-To: <51916B38.6010806@aldan.algebra.com> References: <51916B38.6010806@aldan.algebra.com> Date: Thu, 16 May 2013 18:16:51 +0100 Message-ID: Subject: Re: multimedia/dirac and gcc4[78] From: Chris Rees To: "Mikhail T." Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: bms@freebsd.org, multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 17:16:52 -0000 Hm, does removing -Werror help? Chris On 13 May 2013 23:37, "Mikhail T." wrote: > Gentlemen! > > In order to build the dirac port with gcc47 or gcc48, I had to apply the > attached patches. Please, commit or allow me to. Thank you very much. Yours, > > -mi > > > --- configure 2009-02-10 20:43:40.000000000 -0500 > +++ configure 2013-05-13 17:57:06.000000000 -0400 > @@ -20349,11 +20349,4 @@ > : > fi > - case "$host" in > - i386-*) TRY_CFLAGS="$OPT_CFLAGS -march=i386";; > - i486-*) TRY_CFLAGS="$OPT_CFLAGS -march=i486";; > - i586-*) TRY_CFLAGS="$OPT_CFLAGS -march=pentium";; > - i686-*) TRY_CFLAGS="$OPT_CFLAGS > -march=pentiumpro";; > - k6-*) TRY_CFLAGS="$OPT_CFLAGS -march=k6";; > - esac > { $as_echo "$as_me:$LINENO: checking if $CXX supports > $TRY_CFLAGS $CXXFLAGS flags" >&5 > $as_echo_n "checking if $CXX supports $TRY_CFLAGS $CXXFLAGS flags... " > >&6; } > > From: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564976#10 > > http://sourceforge.net/tracker/index.php?func=detail&aid=2984304&group_id=102564&atid=632200 > > --- libdirac_encoder/quant_chooser.cpp 2009-01-21 05:22:05.000000000 +0000 > +++ libdirac_encoder/quant_chooser.cpp 2010-07-03 17:40:12.000000000 +0000 > @@ -340,7 +340,7 @@ > { > for (int i=cblock.Xstart(); i { > - if ( (std::abs(m_coeff_data[j][i])<<2) >= u_threshold ) > + if ( (std::abs(int(m_coeff_data[j][i]))<<2) >= u_threshold ) > can_skip = false; > } > } > @@ -355,7 +355,7 @@ > { > for (int i=node.Xp() ; i { > - val = std::max( val , std::abs(m_coeff_data[j][i]) ); > + val = std::max( val , std::abs(int(m_coeff_data[j][i])) ); > }// i > }// j > > > --- libdirac_byteio/parseunit_byteio.cpp 2008-05-02 > 01:57:19.000000000 -0400 > +++ libdirac_byteio/parseunit_byteio.cpp 2013-05-13 > 16:20:30.000000000 -0400 > @@ -125,10 +125,7 @@ > if(prefix==PU_PREFIX) > { > - unsigned char next_parse_code; > - > - next_parse_code = InputUnByte(); > + InputUnByte(); > // input next unit parse-offsets > - int next_unit_next_parse_offset; > - next_unit_next_parse_offset = > ReadUintLit(PU_NEXT_PARSE_OFFSET_SIZE); > + ReadUintLit(PU_NEXT_PARSE_OFFSET_SIZE); > > int next_unit_previous_parse_offset; > --- libdirac_common/mot_comp.cpp 2008-09-30 21:26:47.000000000 -0400 > +++ libdirac_common/mot_comp.cpp 2013-05-13 16:24:08.000000000 -0400 > @@ -1117,8 +1117,8 @@ > > //weights for doing linear interpolation, calculated from the > remainder values > - const ValueType linear_wts[4] = { (4 - rmdr.x) * (4 - rmdr.y), > //tl > - rmdr.x * (4 - rmdr.y), //tr > - (4 - rmdr.x) * rmdr.y, //bl > - rmdr.x * rmdr.y }; //br > + const ValueType linear_wts[4] = { (ValueType)((4 - rmdr.x) * (4 - > rmdr.y)), //tl > + (ValueType)(rmdr.x * (4 - rmdr.y)), > //tr > + (ValueType)((4 - rmdr.x) * rmdr.y), > //bl > + (ValueType)(rmdr.x * rmdr.y) }; > //br > > //An additional stage to make sure the block to be copied does not > fall outside > --- libdirac_common/mv_codec.cpp 2008-09-30 21:26:47.000000000 -0400 > +++ libdirac_common/mv_codec.cpp 2013-05-13 16:27:46.000000000 -0400 > @@ -160,5 +160,5 @@ > void PredModeCodec::DoWorkCode( MvData& in_data ) > { > - int step,max; > + int step; > int split_depth; > > @@ -170,6 +170,5 @@ > > step = 4 >> (split_depth); > - max = (1 << split_depth); > - > + > //now do all the block modes and mvs in the mb > for (m_b_yp = m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp += > step) > @@ -335,5 +334,5 @@ > void VectorElementCodec::DoWorkCode( MvData& in_data ) > { > - int step,max; > + int step; > int split_depth; > > @@ -345,6 +344,5 @@ > > step = 4 >> (split_depth); > - max = (1 << split_depth); > - > + > //now do all the block modes and mvs in the mb > for (m_b_yp = m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp += > step) > @@ -501,5 +499,5 @@ > void DCCodec::DoWorkCode( MvData& in_data ) > { > - int step,max; > + int step; > int split_depth; > > @@ -511,6 +509,5 @@ > > step = 4 >> (split_depth); > - max = (1 << split_depth); > - > + > //now do all the block modes and mvs in the mb > for (m_b_yp = m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp += > step) > --- libdirac_common/wavelet_utils.cpp 2008-10-20 00:21:02.000000000 -0400 > +++ libdirac_common/wavelet_utils.cpp 2013-05-13 16:33:00.000000000 -0400 > @@ -199,5 +199,4 @@ > const ChromaFormat cformat = pparams.CFormat(); > const float cpd = encparams.CPD()*cpd_scale_factor; > - const PictureSort psort = pparams.PicSort(); > > int xlen, ylen, xl, yl, xp, yp; > --- libdirac_common/mot_comp_mmx.cpp 2008-01-09 05:50:23.000000000 -0500 > +++ libdirac_common/mot_comp_mmx.cpp 2013-05-13 16:34:58.000000000 -0400 > @@ -245,8 +245,8 @@ > > //weights for doing linear interpolation, calculated from the > remainder values > - const ValueType linear_wts[4] = { (2 - rmdr.x) * (2 - rmdr.y), > //tl > - rmdr.x * (2 - rmdr.y), > //tr > - (2 - rmdr.x) * rmdr.y, > //bl > - rmdr.x * rmdr.y }; > //br > + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr.x) * (2 - > rmdr.y)), //tl > + (ValueType)(rmdr.x * (2 - > rmdr.y)), //tr > + (ValueType)((2 - rmdr.x) * > rmdr.y), //bl > + (ValueType)(rmdr.x * rmdr.y) }; > //br > > ValueType act_cols1[4], act_cols2[4]; > --- libdirac_motionest/me_utils.cpp 2008-10-21 00:55:46.000000000 -0400 > +++ libdirac_motionest/me_utils.cpp 2013-05-13 16:49:34.000000000 -0400 > @@ -685,8 +685,8 @@ > > // weights for doing linear interpolation, calculated from the > remainder values > - const ValueType linear_wts[4] = { (2 - rmdr.x) * (2 - rmdr.y), > //tl > - rmdr.x * (2 - rmdr.y), > //tr > - (2 - rmdr.x) * rmdr.y, > //bl > - rmdr.x * rmdr.y }; > //br > + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr.x) * (2 - > rmdr.y)), //tl > + (ValueType)(rmdr.x * (2 - > rmdr.y)), //tr > + (ValueType)((2 - rmdr.x) * > rmdr.y), //bl > + (ValueType)(rmdr.x * rmdr.y) }; > //br > > const int refXlen( m_ref_data.LengthX() ); > @@ -849,8 +849,8 @@ > > // weights for doing linear interpolation, calculated from the > remainder values > - const ValueType linear_wts[4] = { (2 - rmdr.x) * (2 - rmdr.y), > //tl > - rmdr.x * (2 - rmdr.y), > //tr > - (2 - rmdr.x) * rmdr.y, > //bl > - rmdr.x * rmdr.y }; > //br > + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr.x) * (2 - > rmdr.y)), //tl > + (ValueType)(rmdr.x * (2 - > rmdr.y)), //tr > + (ValueType)((2 - rmdr.x) * > rmdr.y), //bl > + (ValueType)(rmdr.x * rmdr.y) }; > //br > > const int refXlen( m_ref_data.LengthX() ); > @@ -909,8 +909,8 @@ > > //weights for doing linear interpolation, calculated from the > remainder values > - const ValueType linear_wts[4] = { (4 - rmdr.x) * (4 - rmdr.y), > //tl > - rmdr.x * (4 - rmdr.y), > //tr > - (4 - rmdr.x) * rmdr.y, > //bl > - rmdr.x * rmdr.y }; > //br > + const ValueType linear_wts[4] = { (ValueType)((4 - rmdr.x) * (4 - > rmdr.y)), //tl > + (ValueType)(rmdr.x * (4 - rmdr.y)), > //tr > + (ValueType)((4 - rmdr.x) * rmdr.y), > //bl > + (ValueType)(rmdr.x * rmdr.y) }; > //br > > bool bounds_check( false ); > @@ -1040,8 +1040,8 @@ > > //weights for doing linear interpolation, calculated from the > remainder values > - const ValueType linear_wts[4] = { (4 - rmdr.x) * (4 - rmdr.y), > //tl > - rmdr.x * (4 - rmdr.y), > //tr > - (4 - rmdr.x) * rmdr.y, > //bl > - rmdr.x * rmdr.y }; > //br > + const ValueType linear_wts[4] = { (ValueType)((4 - rmdr.x) * (4 - > rmdr.y)), //tl > + (ValueType)(rmdr.x * (4 - rmdr.y)), > //tr > + (ValueType)((4 - rmdr.x) * rmdr.y), > //bl > + (ValueType)(rmdr.x * rmdr.y) }; > //br > > bool bounds_check( false ); > @@ -1404,8 +1404,8 @@ > else > { > - const ValueType linear_wts[4] = { (2 - rmdr1.x) * (2 - rmdr1.y), > //tl > - rmdr1.x * (2 - rmdr1.y), > //tr > - (2 - rmdr1.x) * rmdr1.y, > //bl > - rmdr1.x * rmdr1.y }; > //br > + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr1.x) * (2 > - rmdr1.y)), //tl > + (ValueType)(rmdr1.x * (2 - > rmdr1.y)), //tr > + (ValueType)((2 - rmdr1.x) * > rmdr1.y), //bl > + (ValueType)(rmdr1.x * rmdr1.y) > }; //br > > // We're doing bounds checking because we'll fall off the edge of > the reference otherwise. > @@ -1514,8 +1514,8 @@ > else > { > - const ValueType linear_wts[4] = { (2 - rmdr2.x) * (2 - rmdr2.y), > //tl > - rmdr2.x * (2 - rmdr2.y), > //tr > - (2 - rmdr2.x) * rmdr2.y, > //bl > - rmdr2.x * rmdr2.y }; > //br > + const ValueType linear_wts[4] = { (ValueType)((2 - rmdr2.x) * (2 > - rmdr2.y)), //tl > + (ValueType)(rmdr2.x * (2 - > rmdr2.y)), //tr > + (ValueType)((2 - rmdr2.x) * > rmdr2.y), //bl > + (ValueType)(rmdr2.x * rmdr2.y) > }; //br > > // We're doing bounds checking because we'll fall off the edge of > the reference otherwise. > @@ -1565,12 +1565,12 @@ > > //weights for doing linear interpolation, calculated from the > remainder values > - const ValueType linear_wts1[4] = { (4 - rmdr1.x) * (4 - rmdr1.y), > //tl > - rmdr1.x * (4 - rmdr1.y), > //tr > - (4 - rmdr1.x) * rmdr1.y, > //bl > - rmdr1.x * rmdr1.y }; > //br > - const ValueType linear_wts2[4] = { (4 - rmdr2.x) * (4 - rmdr2.y), > //tl > - rmdr2.x * (4 - rmdr2.y), > //tr > - (4 - rmdr2.x) * rmdr2.y, > //bl > - rmdr2.x * rmdr2.y }; > //br > + const ValueType linear_wts1[4] = { (ValueType)((4 - rmdr1.x) * (4 - > rmdr1.y)), //tl > + (ValueType)(rmdr1.x * (4 - > rmdr1.y)), //tr > + (ValueType)((4 - rmdr1.x) * > rmdr1.y), //bl > + (ValueType)(rmdr1.x * rmdr1.y) }; > //br > + const ValueType linear_wts2[4] = { (ValueType)((4 - rmdr2.x) * (4 - > rmdr2.y)), //tl > + (ValueType)(rmdr2.x * (4 - > rmdr2.y)), //tr > + (ValueType)((4 - rmdr2.x) * > rmdr2.y), //bl > + (ValueType)(rmdr2.x * rmdr2.y) }; > //br > > //Where to start in the upconverted images > --- libdirac_encoder/picture_compress.cpp 2009-01-21 > 00:20:57.000000000 -0500 > +++ libdirac_encoder/picture_compress.cpp 2013-05-13 > 16:51:58.000000000 -0400 > @@ -414,5 +414,4 @@ > const int depth=m_encparams.TransformDepth(); > > - PicArray* comp_data[3]; > CoeffArray* coeff_data[3]; > OneDArray* est_bits[3]; > @@ -421,5 +420,4 @@ > // Construction and definition of objects > for (int c=0;c<3;++c){ > - comp_data[c] = &my_picture.Data((CompSort) c ); > coeff_data[c] = &my_picture.WltData((CompSort) c ); > est_bits[c] = new OneDArray( Range( 1, > 3*depth+1 ) ); > --- libdirac_encoder/seq_compress.cpp 2008-10-28 22:42:06.000000000 -0400 > +++ libdirac_encoder/seq_compress.cpp 2013-05-13 17:21:17.000000000 -0400 > @@ -664,6 +664,4 @@ > int FrameSequenceCompressor::CodedToDisplay( const int cnum ) > { > - int div; > - > if (m_L1_sep>0) > { > @@ -673,5 +671,4 @@ > else if ((cnum-1)% m_L1_sep==0) > {//we have L1 or subsequent I pictures > - div=(cnum-1)/m_L1_sep; > return cnum+m_L1_sep-1; > } > --- util/conversion/common/bitmap.cpp 2004-06-30 12:44:52.000000000 -0400 > +++ util/conversion/common/bitmap.cpp 2013-05-13 17:26:34.000000000 -0400 > @@ -143,12 +143,7 @@ > int fileSize; > int dataOffset; > - int size; > int planes; > int bitCount; > int compression; > - int imageSize; > - int xPixelsPerM, yPixelsPerM; > - int coloursUsed; > - int coloursImportant; > //Define buffer to read bytes into. > const int bufferSize = 54; > @@ -176,5 +171,5 @@ > //Should check success of operation (see The C++ Stand Lib, > Josuttis, p665) > if (dataOffset>54) inbuf.pubseekoff(dataOffset-54, > std::ios_base::cur, std::ios_base::in); > - size = read4bytes(buffer+14); > + read4bytes(buffer+14); /* size */ > w = read4bytes(buffer+18); > h = read4bytes(buffer+22); > @@ -186,9 +181,9 @@ > compression = read4bytes(buffer+30); > if ( compression != 0 ) input.setstate(std::ios::failbit); > - imageSize = read4bytes(buffer+34); > - xPixelsPerM = read4bytes(buffer+38); > - yPixelsPerM = read4bytes(buffer+42); > - coloursUsed = read4bytes(buffer+46); > - coloursImportant = read4bytes(buffer+50); > + read4bytes(buffer+34); /* imageSize */ > + read4bytes(buffer+38); /* xPixelsPerM */ > + read4bytes(buffer+42); /* yPixelsPerM */ > + read4bytes(buffer+46); /* coloursUsed */ > + read4bytes(buffer+50); /* coloursImportant */ > return input; } > > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to " > freebsd-multimedia-unsubscribe@freebsd.org" > From owner-freebsd-multimedia@FreeBSD.ORG Thu May 16 20:45:52 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DA3053C8; Thu, 16 May 2013 20:45:52 +0000 (UTC) (envelope-from mi+m@aldan.algebra.com) Received: from vms173011pub.verizon.net (vms173011pub.verizon.net [206.46.173.11]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD3AFF1; Thu, 16 May 2013 20:45:51 +0000 (UTC) Received: from [10.187.115.178] ([unknown] [209.251.200.44]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MMW00J1YPIPPW10@vms173011.mailsrvcs.net>; Thu, 16 May 2013 14:44:57 -0500 (CDT) References: <51916B38.6010806@aldan.algebra.com> MIME-version: 1.0 (1.0) In-reply-to: Message-id: X-Mailer: iPhone Mail (10B350) From: "Mikhail T." Subject: Re: multimedia/dirac and gcc4[78] Date: Thu, 16 May 2013 15:44:47 -0400 To: Chris Rees X-Mailman-Approved-At: Thu, 16 May 2013 21:55:19 +0000 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "Mikhail T." , "bms@freebsd.org" , "multimedia@freebsd.org" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 20:45:52 -0000 Not with everything... Try it. --=20 Sent from mobile device, please, pardon shorthand. May 16, 2013 =CF 13:16 Chris Rees =CE=C1=D0=C9=D3=C1=D7(= =CC=C1): > Hm, does removing -Werror help? >=20 > Chris >=20 > On 13 May 2013 23:37, "Mikhail T." wrote: >> Gentlemen! >>=20 >> In order to build the dirac port with gcc47 or gcc48, I had to apply the a= ttached patches. Please, commit or allow me to. Thank you very much. Yours, >>=20 >> -mi >>=20 >>=20 >> --- configure 2009-02-10 20:43:40.000000000 -0500 >> +++ configure 2013-05-13 17:57:06.000000000 -0400 >> @@ -20349,11 +20349,4 @@ >> : >> fi >> - case "$host" in >> - i386-*) TRY_CFLAGS=3D"$OPT_CFLAGS -march=3Di386";= ; >> - i486-*) TRY_CFLAGS=3D"$OPT_CFLAGS -march=3Di486";= ; >> - i586-*) TRY_CFLAGS=3D"$OPT_CFLAGS -march=3Dpentiu= m";; >> - i686-*) TRY_CFLAGS=3D"$OPT_CFLAGS -march=3Dpentiu= mpro";; >> - k6-*) TRY_CFLAGS=3D"$OPT_CFLAGS -march=3Dk6";; >> - esac >> { $as_echo "$as_me:$LINENO: checking if $CXX supports $TR= Y_CFLAGS $CXXFLAGS flags" >&5 >> $as_echo_n "checking if $CXX supports $TRY_CFLAGS $CXXFLAGS flags... " >= &6; } >>=20 >> From: >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D564976#10 >> http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D2984= 304&group_id=3D102564&atid=3D632200 >>=20 >> --- libdirac_encoder/quant_chooser.cpp 2009-01-21 05:22:05.000000000 +00= 00 >> +++ libdirac_encoder/quant_chooser.cpp 2010-07-03 17:40:12.000000000 +00= 00 >> @@ -340,7 +340,7 @@ >> { >> for (int i=3Dcblock.Xstart(); i> { >> - if ( (std::abs(m_coeff_data[j][i])<<2) >=3D u_threshold ) >> + if ( (std::abs(int(m_coeff_data[j][i]))<<2) >=3D u_threshold= ) >> can_skip =3D false; >> } >> } >> @@ -355,7 +355,7 @@ >> { >> for (int i=3Dnode.Xp() ; i> { >> - val =3D std::max( val , std::abs(m_coeff_data[j][i]) ); >> + val =3D std::max( val , std::abs(int(m_coeff_data[j][i])) );= >> }// i >> }// j >>=20 >>=20 >> --- libdirac_byteio/parseunit_byteio.cpp 2008-05-02 01:57:19.00000= 0000 -0400 >> +++ libdirac_byteio/parseunit_byteio.cpp 2013-05-13 16:20:30.00000= 0000 -0400 >> @@ -125,10 +125,7 @@ >> if(prefix=3D=3DPU_PREFIX) >> { >> - unsigned char next_parse_code; >> - >> - next_parse_code =3D InputUnByte(); >> + InputUnByte(); >> // input next unit parse-offsets >> - int next_unit_next_parse_offset; >> - next_unit_next_parse_offset =3D ReadUintLit(PU_NEXT_PARSE_OFFSET= _SIZE); >> + ReadUintLit(PU_NEXT_PARSE_OFFSET_SIZE); >>=20 >> int next_unit_previous_parse_offset; >> --- libdirac_common/mot_comp.cpp 2008-09-30 21:26:47.000000000 -04= 00 >> +++ libdirac_common/mot_comp.cpp 2013-05-13 16:24:08.000000000 -04= 00 >> @@ -1117,8 +1117,8 @@ >>=20 >> //weights for doing linear interpolation, calculated from the remain= der values >> - const ValueType linear_wts[4] =3D { (4 - rmdr.x) * (4 - rmdr.y), = //tl >> - rmdr.x * (4 - rmdr.y), //tr= >> - (4 - rmdr.x) * rmdr.y, //bl= >> - rmdr.x * rmdr.y }; //br= >> + const ValueType linear_wts[4] =3D { (ValueType)((4 - rmdr.x) * (4 -= rmdr.y)), //tl >> + (ValueType)(rmdr.x * (4 - rmdr.y)), = //tr >> + (ValueType)((4 - rmdr.x) * rmdr.y), = //bl >> + (ValueType)(rmdr.x * rmdr.y) }; = //br >>=20 >> //An additional stage to make sure the block to be copied does not f= all outside >> --- libdirac_common/mv_codec.cpp 2008-09-30 21:26:47.000000000 -04= 00 >> +++ libdirac_common/mv_codec.cpp 2013-05-13 16:27:46.000000000 -04= 00 >> @@ -160,5 +160,5 @@ >> void PredModeCodec::DoWorkCode( MvData& in_data ) >> { >> - int step,max; >> + int step; >> int split_depth; >>=20 >> @@ -170,6 +170,5 @@ >>=20 >> step =3D 4 >> (split_depth); >> - max =3D (1 << split_depth); >> - >> + >> //now do all the block modes and mvs in the mb >> for (m_b_yp =3D m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp +=3D= step) >> @@ -335,5 +334,5 @@ >> void VectorElementCodec::DoWorkCode( MvData& in_data ) >> { >> - int step,max; >> + int step; >> int split_depth; >>=20 >> @@ -345,6 +344,5 @@ >>=20 >> step =3D 4 >> (split_depth); >> - max =3D (1 << split_depth); >> - >> + >> //now do all the block modes and mvs in the mb >> for (m_b_yp =3D m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp +=3D= step) >> @@ -501,5 +499,5 @@ >> void DCCodec::DoWorkCode( MvData& in_data ) >> { >> - int step,max; >> + int step; >> int split_depth; >>=20 >> @@ -511,6 +509,5 @@ >>=20 >> step =3D 4 >> (split_depth); >> - max =3D (1 << split_depth); >> - >> + >> //now do all the block modes and mvs in the mb >> for (m_b_yp =3D m_sb_tlb_y; m_b_yp < m_sb_tlb_y+4; m_b_yp +=3D= step) >> --- libdirac_common/wavelet_utils.cpp 2008-10-20 00:21:02.000000000 -04= 00 >> +++ libdirac_common/wavelet_utils.cpp 2013-05-13 16:33:00.000000000 -04= 00 >> @@ -199,5 +199,4 @@ >> const ChromaFormat cformat =3D pparams.CFormat(); >> const float cpd =3D encparams.CPD()*cpd_scale_factor; >> - const PictureSort psort =3D pparams.PicSort(); >>=20 >> int xlen, ylen, xl, yl, xp, yp; >> --- libdirac_common/mot_comp_mmx.cpp 2008-01-09 05:50:23.000000000 -05= 00 >> +++ libdirac_common/mot_comp_mmx.cpp 2013-05-13 16:34:58.000000000 -04= 00 >> @@ -245,8 +245,8 @@ >>=20 >> //weights for doing linear interpolation, calculated from the re= mainder values >> - const ValueType linear_wts[4] =3D { (2 - rmdr.x) * (2 - rmdr.y)= , //tl >> - rmdr.x * (2 - rmdr.y), = //tr >> - (2 - rmdr.x) * rmdr.y, = //bl >> - rmdr.x * rmdr.y }; = //br >> + const ValueType linear_wts[4] =3D { (ValueType)((2 - rmdr.x) * (= 2 - rmdr.y)), //tl >> + (ValueType)(rmdr.x * (2 - rmdr= .y)), //tr >> + (ValueType)((2 - rmdr.x) * rmd= r.y), //bl >> + (ValueType)(rmdr.x * rmdr.y) }= ; //br >>=20 >> ValueType act_cols1[4], act_cols2[4]; >> --- libdirac_motionest/me_utils.cpp 2008-10-21 00:55:46.000000000 -04= 00 >> +++ libdirac_motionest/me_utils.cpp 2013-05-13 16:49:34.000000000 -04= 00 >> @@ -685,8 +685,8 @@ >>=20 >> // weights for doing linear interpolation, calculated from the re= mainder values >> - const ValueType linear_wts[4] =3D { (2 - rmdr.x) * (2 - rmdr.y)= , //tl >> - rmdr.x * (2 - rmdr.y), = //tr >> - (2 - rmdr.x) * rmdr.y, = //bl >> - rmdr.x * rmdr.y }; = //br >> + const ValueType linear_wts[4] =3D { (ValueType)((2 - rmdr.x) * (= 2 - rmdr.y)), //tl >> + (ValueType)(rmdr.x * (2 - rmdr= .y)), //tr >> + (ValueType)((2 - rmdr.x) * rmd= r.y), //bl >> + (ValueType)(rmdr.x * rmdr.y) }= ; //br >>=20 >> const int refXlen( m_ref_data.LengthX() ); >> @@ -849,8 +849,8 @@ >>=20 >> // weights for doing linear interpolation, calculated from the re= mainder values >> - const ValueType linear_wts[4] =3D { (2 - rmdr.x) * (2 - rmdr.y)= , //tl >> - rmdr.x * (2 - rmdr.y), = //tr >> - (2 - rmdr.x) * rmdr.y, = //bl >> - rmdr.x * rmdr.y }; = //br >> + const ValueType linear_wts[4] =3D { (ValueType)((2 - rmdr.x) * (= 2 - rmdr.y)), //tl >> + (ValueType)(rmdr.x * (2 - rmdr= .y)), //tr >> + (ValueType)((2 - rmdr.x) * rmd= r.y), //bl >> + (ValueType)(rmdr.x * rmdr.y) }= ; //br >>=20 >> const int refXlen( m_ref_data.LengthX() ); >> @@ -909,8 +909,8 @@ >>=20 >> //weights for doing linear interpolation, calculated from the remain= der values >> - const ValueType linear_wts[4] =3D { (4 - rmdr.x) * (4 - rmdr.y), = //tl >> - rmdr.x * (4 - rmdr.y), /= /tr >> - (4 - rmdr.x) * rmdr.y, /= /bl >> - rmdr.x * rmdr.y }; /= /br >> + const ValueType linear_wts[4] =3D { (ValueType)((4 - rmdr.x) * (4 - r= mdr.y)), //tl >> + (ValueType)(rmdr.x * (4 - rmdr.y))= , //tr >> + (ValueType)((4 - rmdr.x) * rmdr.y)= , //bl >> + (ValueType)(rmdr.x * rmdr.y) }; = //br >>=20 >> bool bounds_check( false ); >> @@ -1040,8 +1040,8 @@ >>=20 >> //weights for doing linear interpolation, calculated from the remain= der values >> - const ValueType linear_wts[4] =3D { (4 - rmdr.x) * (4 - rmdr.y), = //tl >> - rmdr.x * (4 - rmdr.y), /= /tr >> - (4 - rmdr.x) * rmdr.y, /= /bl >> - rmdr.x * rmdr.y }; /= /br >> + const ValueType linear_wts[4] =3D { (ValueType)((4 - rmdr.x) * (4 - r= mdr.y)), //tl >> + (ValueType)(rmdr.x * (4 - rmdr.y))= , //tr >> + (ValueType)((4 - rmdr.x) * rmdr.y)= , //bl >> + (ValueType)(rmdr.x * rmdr.y) }; = //br >>=20 >> bool bounds_check( false ); >> @@ -1404,8 +1404,8 @@ >> else >> { >> - const ValueType linear_wts[4] =3D { (2 - rmdr1.x) * (2 - rmdr1.= y), //tl >> - rmdr1.x * (2 - rmdr1.y), = //tr >> - (2 - rmdr1.x) * rmdr1.y, = //bl >> - rmdr1.x * rmdr1.y }; = //br >> + const ValueType linear_wts[4] =3D { (ValueType)((2 - rmdr1.x) * (= 2 - rmdr1.y)), //tl >> + (ValueType)(rmdr1.x * (2 - rmd= r1.y)), //tr >> + (ValueType)((2 - rmdr1.x) * rm= dr1.y), //bl >> + (ValueType)(rmdr1.x * rmdr1.y)= }; //br >>=20 >> // We're doing bounds checking because we'll fall off the edge o= f the reference otherwise. >> @@ -1514,8 +1514,8 @@ >> else >> { >> - const ValueType linear_wts[4] =3D { (2 - rmdr2.x) * (2 - rmdr2.= y), //tl >> - rmdr2.x * (2 - rmdr2.y), = //tr >> - (2 - rmdr2.x) * rmdr2.y, = //bl >> - rmdr2.x * rmdr2.y }; = //br >> + const ValueType linear_wts[4] =3D { (ValueType)((2 - rmdr2.x) * (= 2 - rmdr2.y)), //tl >> + (ValueType)(rmdr2.x * (2 - rmd= r2.y)), //tr >> + (ValueType)((2 - rmdr2.x) * rm= dr2.y), //bl >> + (ValueType)(rmdr2.x * rmdr2.y)= }; //br >>=20 >> // We're doing bounds checking because we'll fall off the edge o= f the reference otherwise. >> @@ -1565,12 +1565,12 @@ >>=20 >> //weights for doing linear interpolation, calculated from the remain= der values >> - const ValueType linear_wts1[4] =3D { (4 - rmdr1.x) * (4 - rmdr1.y),= //tl >> - rmdr1.x * (4 - rmdr1.y), = //tr >> - (4 - rmdr1.x) * rmdr1.y, = //bl >> - rmdr1.x * rmdr1.y }; = //br >> - const ValueType linear_wts2[4] =3D { (4 - rmdr2.x) * (4 - rmdr2.y),= //tl >> - rmdr2.x * (4 - rmdr2.y), = //tr >> - (4 - rmdr2.x) * rmdr2.y, = //bl >> - rmdr2.x * rmdr2.y }; = //br >> + const ValueType linear_wts1[4] =3D { (ValueType)((4 - rmdr1.x) * (4 -= rmdr1.y)), //tl >> + (ValueType)(rmdr1.x * (4 - rmdr1.= y)), //tr >> + (ValueType)((4 - rmdr1.x) * rmdr1= .y), //bl >> + (ValueType)(rmdr1.x * rmdr1.y) };= //br >> + const ValueType linear_wts2[4] =3D { (ValueType)((4 - rmdr2.x) * (4 -= rmdr2.y)), //tl >> + (ValueType)(rmdr2.x * (4 - rmdr2.= y)), //tr >> + (ValueType)((4 - rmdr2.x) * rmdr2= .y), //bl >> + (ValueType)(rmdr2.x * rmdr2.y) };= //br >>=20 >> //Where to start in the upconverted images >> --- libdirac_encoder/picture_compress.cpp 2009-01-21 00:20:57.00000= 0000 -0500 >> +++ libdirac_encoder/picture_compress.cpp 2013-05-13 16:51:58.00000= 0000 -0400 >> @@ -414,5 +414,4 @@ >> const int depth=3Dm_encparams.TransformDepth(); >>=20 >> - PicArray* comp_data[3]; >> CoeffArray* coeff_data[3]; >> OneDArray* est_bits[3]; >> @@ -421,5 +420,4 @@ >> // Construction and definition of objects >> for (int c=3D0;c<3;++c){ >> - comp_data[c] =3D &my_picture.Data((CompSort) c ); >> coeff_data[c] =3D &my_picture.WltData((CompSort) c ); >> est_bits[c] =3D new OneDArray( Range( 1, 3*de= pth+1 ) ); >> --- libdirac_encoder/seq_compress.cpp 2008-10-28 22:42:06.000000000 -04= 00 >> +++ libdirac_encoder/seq_compress.cpp 2013-05-13 17:21:17.000000000 -04= 00 >> @@ -664,6 +664,4 @@ >> int FrameSequenceCompressor::CodedToDisplay( const int cnum ) >> { >> - int div; >> - >> if (m_L1_sep>0) >> { >> @@ -673,5 +671,4 @@ >> else if ((cnum-1)% m_L1_sep=3D=3D0) >> {//we have L1 or subsequent I pictures >> - div=3D(cnum-1)/m_L1_sep; >> return cnum+m_L1_sep-1; >> } >> --- util/conversion/common/bitmap.cpp 2004-06-30 12:44:52.000000000 -04= 00 >> +++ util/conversion/common/bitmap.cpp 2013-05-13 17:26:34.000000000 -04= 00 >> @@ -143,12 +143,7 @@ >> int fileSize; >> int dataOffset; >> - int size; >> int planes; >> int bitCount; >> int compression; >> - int imageSize; >> - int xPixelsPerM, yPixelsPerM; >> - int coloursUsed; >> - int coloursImportant; >> //Define buffer to read bytes into. >> const int bufferSize =3D 54; >> @@ -176,5 +171,5 @@ >> //Should check success of operation (see The C++ Stand Lib, Josu= ttis, p665) >> if (dataOffset>54) inbuf.pubseekoff(dataOffset-54, std::ios_base= ::cur, std::ios_base::in); >> - size =3D read4bytes(buffer+14); >> + read4bytes(buffer+14); /* size */ >> w =3D read4bytes(buffer+18); >> h =3D read4bytes(buffer+22); >> @@ -186,9 +181,9 @@ >> compression =3D read4bytes(buffer+30); >> if ( compression !=3D 0 ) input.setstate(std::ios::failbit); >> - imageSize =3D read4bytes(buffer+34); >> - xPixelsPerM =3D read4bytes(buffer+38); >> - yPixelsPerM =3D read4bytes(buffer+42); >> - coloursUsed =3D read4bytes(buffer+46); >> - coloursImportant =3D read4bytes(buffer+50); >> + read4bytes(buffer+34); /* imageSize */ >> + read4bytes(buffer+38); /* xPixelsPerM */ >> + read4bytes(buffer+42); /* yPixelsPerM */ >> + read4bytes(buffer+46); /* coloursUsed */ >> + read4bytes(buffer+50); /* coloursImportant */ >> return input; } >>=20 >>=20 >> _______________________________________________ >> freebsd-multimedia@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.= org" From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 10:08:23 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 93B13BCA for ; Fri, 17 May 2013 10:08:23 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 337C018D for ; Fri, 17 May 2013 10:08:23 +0000 (UTC) Received: from [93.104.28.93] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UdHaB-0002qH-5v for freebsd-multimedia@freebsd.org; Fri, 17 May 2013 12:08:15 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id r4HC8Iit001813 for ; Fri, 17 May 2013 12:08:18 GMT (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id r4HC8Hpr001812 for freebsd-multimedia@freebsd.org; Fri, 17 May 2013 12:08:17 GMT (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 17 May 2013 12:08:17 +0000 From: Matthias Apitz To: freebsd-multimedia@freebsd.org Subject: Skype in head (r250588) Message-ID: <20130517120816.GA1731@La-Habana> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.28.93 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 10:08:23 -0000 Hello, I have updated my laptop today to /head r250588, the ports are also from SVN as of April 1; cuse4bsd-kmod-0.1.27 webcamd-3.9.0.5 skype-2.1.0.81_1,1 libv4l-0.8.8_1 v4l_compat-1.0.20120501_1 linux-f10-libv4l-0.6.2 The laptop has a built-in cam and I have attached another via USB, both are working fine with pwcview(1); in Skype the external (a Philips SPC 900SC) can be probed, but does not work on calls; the built-in gives on Skype stderr during probe messages like: $ skype libv4l2: error set_fmt gave us a different result then try_fmt! libv4l2: error set_fmt gave us a different result then try_fmt! libv4l2: error set_fmt gave us a different result then try_fmt! libv4l2: error set_fmt gave us a different result then try_fmt! libv4l2: error set_fmt gave us a different result then try_fmt! ... and in /var/log/messages: May 17 12:03:49 La-Habana kernel: linux: pid 1788 (skype): ioctl fd=11, cmd=0x564a ('V',74) is not implemented May 17 12:03:49 La-Habana last message repeated 3 times May 17 12:04:39 La-Habana kernel: linux: pid 1788 (skype): ioctl fd=14, cmd=0x564a ('V',74) is not implemented May 17 12:04:40 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub4 May 17 12:04:40 La-Habana kernel: linux: pid 1788 (skype): ioctl fd=14, cmd=0x564a ('V',74) is not implemented May 17 12:04:40 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub4 Both have been working before on a r214444 from Oct 28, 2010; Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 11:42:37 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3EDC7924 for ; Fri, 17 May 2013 11:42:37 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id F2EF775D for ; Fri, 17 May 2013 11:42:36 +0000 (UTC) Received: from [93.104.28.93] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UdJ3Q-00026c-Ot; Fri, 17 May 2013 13:42:32 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id r4HDgZXh002147; Fri, 17 May 2013 13:42:36 GMT (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id r4HDgXv8002146; Fri, 17 May 2013 13:42:33 GMT (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 17 May 2013 13:42:33 +0000 From: Matthias Apitz To: Mikhail Krutov Subject: Re: Skype in head (r250588) Message-ID: <20130517134233.GA2077@La-Habana> References: <20130517120816.GA1731@La-Habana> <20130517102229.GA18006@takino.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130517102229.GA18006@takino.org> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.28.93 Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 11:42:37 -0000 El día Friday, May 17, 2013 a las 02:22:29PM +0400, Mikhail Krutov escribió: > On Fri, May 17, 2013 at 12:08:17PM +0000, Matthias Apitz wrote: > > > > Hello, > > > > I have updated my laptop today to /head r250588, the ports are also from > > SVN as of April 1; > Hi! Do you follow freebsd-usb@ or -stable@? > http://freebsd.1045724.n5.nabble.com/revision-higher-than-250508-breaks-webcam-support-td5812328.html +Cc: freebsd-multimedia I saw this message in -usb, but was thinking more about an audio issue; is your cam working in r250508 with some native FreeBSD application, for example with pwcview(1) from the ports? I have not such disconnect messages in /var/log/messages matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 14:31:48 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 16E19A0E; Fri, 17 May 2013 14:31:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id A7DE9FAE; Fri, 17 May 2013 14:31:47 +0000 (UTC) Received: from [93.104.28.93] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UdLh9-00079r-OZ; Fri, 17 May 2013 16:31:44 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id r4HGVkOG006385; Fri, 17 May 2013 16:31:46 GMT (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id r4HGVknf006384; Fri, 17 May 2013 16:31:46 GMT (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 17 May 2013 16:31:45 +0000 From: Matthias Apitz To: freebsd-usb@freebsd.org, freebsd-stable@freebsd.org, freebsd-multimedia@freebsd.org Subject: Re: revision higher than 250508 breaks webcam support Message-ID: <20130517163145.GA6348@La-Habana> References: <20130517040331.GA73930@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.28.93 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 14:31:48 -0000 El día Friday, May 17, 2013 a las 01:51:08PM +0200, Jože Zobec escribió: > ---------- Forwarded message ---------- > From: Jože Zobec > Date: 2013/5/17 > Subject: Re: revision higher than 250508 breaks webcam support > To: Jeremy Chadwick , Adrian Chadd > > > OK, I compiled and tried different revisions > r250559 -- OK > r250560 -- OK > r250561 -- error > > Upon updating from r250560 to r250561, svn gave me > > ... > U /usr/src/sys/dev/sound/usb/uaudio.c > U /usr/src/sys/dev > U /usr/src/sys > ... > Hello, I have the following set of laptops which are all running the same SVN revision of the ports r315646 and only the last one was updated today to a new base/head revision r250588: | name | kernel | date | ports (r or date) | remarks +--------------+----------+--------------+-------------------+-------- | Aurora | r235646 | May 19, 2012 | r315646 20130401 | | tiny | r235646 | May 19, 2012 | r315646 20130401 | cloned Aurora | Perlach | r235646 | May 19, 2012 | r315646 20130401 | cloned Aurora | La-Habana | r250588 | May 13, 2013 | r315646 20130401 | the ports have been compiled on Aurora and moved via pkg_create(8) to the other hosts (around 1200 ports); on 'La-Habana' where the new kernel is running I have had to rebuild only cuse4bsd-kmod-0.1.27, because it's a kmod and depends on the sources of the running kernel; on all systems of r235646, Skype is fine with the cams I have, on r250588 my cams are working with pwcview(1) but not with Skype. What can we do to debug this? We should move this thread to freebsd-multimedia only, I suggest. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 14:38:52 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB105E01 for ; Fri, 17 May 2013 14:38:52 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 6BFB47B for ; Fri, 17 May 2013 14:38:52 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 18 May 2013 00:08:50 +0930 Message-ID: <519640FA.5080501@ShaneWare.Biz> Date: Sat, 18 May 2013 00:08:50 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: usb midi support for Alesis keyboard Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 14:38:52 -0000 I picked up a midi keyboard today - Alesis Q49 with usb midi. Running 9.1-RELEASE amd64 Motherboard is an ASUS P8H61-M LE/USB3 Has anyone had any luck getting one of these running? Able to offer some help getting usb midi running? I plan to use it with lmms and hydrogen. # cat /dev/midistat FreeBSD Midi Driver (midi2) No devices installed. # usbconfig -u 2 -a 6 show_ifdrv ugen2.6: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.6.0: uaudio0: /dev/umidi0.0 -> /dev/umidi0.15 are being created and removed repeatedly /var/log/messages has endless entries of - May 17 23:44:25 leader kernel: uaudio0: on usbus2 May 17 23:44:25 leader kernel: uaudio0: No playback. May 17 23:44:25 leader kernel: uaudio0: No recording. May 17 23:44:25 leader kernel: uaudio0: MIDI sequencer. May 17 23:44:26 leader kernel: uaudio0: at uhub4, port 4, addr 6 (disconnected) May 17 23:44:26 leader kernel: uaudio0: on usbus2 May 17 23:44:26 leader kernel: uaudio0: No playback. May 17 23:44:26 leader kernel: uaudio0: No recording. May 17 23:44:26 leader kernel: uaudio0: MIDI sequencer. May 17 23:44:27 leader kernel: uaudio0: at uhub4, port 4, addr 6 (disconnected) From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 14:54:18 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5170E53A for ; Fri, 17 May 2013 14:54:18 +0000 (UTC) (envelope-from clemens@ladisch.de) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2A84C16C for ; Fri, 17 May 2013 14:54:17 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 0C8D520E35 for ; Fri, 17 May 2013 10:54:04 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 17 May 2013 10:54:05 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=8ZYi+IB1pWLvlFi4Zabycn zhGDY=; b=P92UhFn7kv+Y7T6Yua0YOzBf7h4gHdKO+yaF/MXncY0WMi2X8ePu0L RB7jYOEkdyyfjsIakqu0OCDl/rnJ7Qex1xoi06579sctw6PjFIxq0wy/AedjSO// hDFOX8IQ4XaPXksYlxSaMfcLRaFU+8biuKSFWiNsB7yCgQUH0+18w= X-Sasl-enc: yMgkVmhYlWPm1r1xmKTDaCDpClszlak3YSLJZyTIBdAo 1368802444 Received: from [10.1.2.65] (unknown [94.101.37.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 24F52200313 for ; Fri, 17 May 2013 10:54:03 -0400 (EDT) Message-ID: <5196448A.5080508@ladisch.de> Date: Fri, 17 May 2013 16:54:02 +0200 From: Clemens Ladisch User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: Re: usb midi support for Alesis keyboard References: <519640FA.5080501@ShaneWare.Biz> In-Reply-To: <519640FA.5080501@ShaneWare.Biz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 14:54:18 -0000 Shane Ambler wrote: > May 17 23:44:26 leader kernel: uaudio0: at uhub4, port 4, addr 6 (disconnected) > May 17 23:44:27 leader kernel: uaudio0: at uhub4, port 4, addr 6 (disconnected) This looks like a hardware problem. Try another port and/or cable, or with/without a hub. Regards, Clemens From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 15:04:17 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 26A95755 for ; Fri, 17 May 2013 15:04:17 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm9-vm0.bullet.mail.bf1.yahoo.com (nm9-vm0.bullet.mail.bf1.yahoo.com [98.139.213.154]) by mx1.freebsd.org (Postfix) with SMTP id B05C91AE for ; Fri, 17 May 2013 15:04:16 +0000 (UTC) Received: from [98.139.212.144] by nm9.bullet.mail.bf1.yahoo.com with NNFMP; 17 May 2013 15:04:15 -0000 Received: from [98.139.211.196] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 17 May 2013 15:04:15 -0000 Received: from [127.0.0.1] by smtp205.mail.bf1.yahoo.com with NNFMP; 17 May 2013 15:04:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1368803055; bh=VWMGDRnrbhKyhBawIO3nCPdHtfHWQWiL+AQOkOL2zVI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=MSMOrQwGxFPKFGDnMtosEJzAzO9E+uhA3ESeB+USsCLVd7XpWhcdvG5pGTW2Dln4TJWi7vHjd/VoMWf1gTVbMPCXJXmEMdwYV+AmQdxSSwAYdX5/BenjQKumSipU+CagjR3KSr7KiaTGk3H10F+fONbHD+VOmpPB0xZTE20FEBE= X-Yahoo-Newman-Id: 522007.9932.bm@smtp205.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: IBih4DAVM1kOSWJPBUkoI1_B._d76Tr5SrPHY3WjOQYqSu4 AvQhUZFRFMDis7MhNRY1WfjyggABa7ZvgmWwrvm4g_jzYBk_30zZV3FZTD43 f2UD860FnJMK1FyLCmV2MeLY7M9DRLITn15iAvmoGvjLg3kPBB6Xs6e0wYVB dQaRQi1I4q3T.bWmHUtws_zgbiQY7NuATk9VdltibpjhhrXDDsRc.WMkW6Xh IFv_YgukdCzqzh5YgXs6kQxP9a5ExYQvJb9wVvuOd.oAcKGDDQnWr79Le5Cr C6kmnYo7vnHi32MIBnb6dm47oj9kTAphzng.WwYEe9D11wC.Jg7wzYCwq1RQ OttI1tMizR8RSckyvU3Z_YhbqGh7tCDYbxnU3HTT2PazFlim5qIEvpdD1Ipk iR5CZ5bVI9RI9bA_7yhh3fxtyuDEyY4oqrzlkVgR6fACrB4Z22IqQk5p8aPb Ukz_3_S24ezTcqpoCZP1853ilyMDt2jdkr6P7cQo2WGP1xqtl6wNMRtDXB.D IGJ_uD9MY3a1sOAZDefsQeITXBlot.SjgwFl2.My1f8UOVac- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [10.69.208.186] (sean_bruno@137.122.64.33 with ) by smtp205.mail.bf1.yahoo.com with SMTP; 17 May 2013 08:04:15 -0700 PDT Subject: jackd From: Sean Bruno To: freebsd-multimedia@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-bKMTm+PnebUukqq5/kS9" Date: Fri, 17 May 2013 08:04:14 -0700 Message-ID: <1368803054.1374.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 15:04:17 -0000 --=-bKMTm+PnebUukqq5/kS9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm working on a port of IDJC, which requires jackd. At this point, I'm stuck on two jackd related issues. 1. How do I configure freebsd+jackd for realtime audio? Currently I have to configure my .jackdrc to disable realtime audio, e.g. /usr/local/bin/jackd -r -T -d oss=20 2. Any clues on getting the microphone working with jackd? My microphones work fine under audacity, but I don't seem to be able to get any audio from microphones. Sean p.s. I'd like to use audio/ardour to test jack seperately from my current port attempt, but audio/ardour doesn't compile: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D178701 p.p.s. My current attempt at audio/idjc and audio/shout-idjc, reviews welcome and appreciated. http://people.freebsd.org/~sbruno/idjc/ http://people.freebsd.org/~sbruno/shoud-idjc/ --=-bKMTm+PnebUukqq5/kS9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJRlkbuAAoJEBkJRdwI6BaHz/sH/32pEKTECUkgGgJY/TmiWfWd MDIPl36s4g7TcI0MtGWvFy5YJf2PDcJlVXEcRhc7/aTcM5N2R4nZpNiVwRN5jY+/ E3vNizAMqaOuk5ek8BopM4QledG+vxvWOPzhW7OtaN7JqSTRwAgjHWn9GMuV1r+H YSx9pQ5C+WKkyYYa8Vsf+/KDFbFeFpMqBuqdOkRkSEoiJPYeFiJtgJ2OYF4krlUP iV81j6LSH0RdKDyiT+V6DLHBlCyPLgJd6Bk4P+HViQFAhvKMBHmPLtYGdy9vLorl e0apEy4yNnq+XXh/lL7t3KekqIuGwD6fFpknKQZKEM86pZMC6ckQcUtiDXPkvR8= =HzRg -----END PGP SIGNATURE----- --=-bKMTm+PnebUukqq5/kS9-- From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 17:24:01 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C941B1F0 for ; Fri, 17 May 2013 17:24:01 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 90E36CC0 for ; Fri, 17 May 2013 17:24:01 +0000 (UTC) Received: from [93.104.28.93] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UdONr-0004Wc-RC for freebsd-multimedia@freebsd.org; Fri, 17 May 2013 19:23:59 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id r4HJO2LH007192 for ; Fri, 17 May 2013 19:24:03 GMT (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id r4HJO2LL007191 for freebsd-multimedia@freebsd.org; Fri, 17 May 2013 19:24:02 GMT (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 17 May 2013 19:24:01 +0000 From: Matthias Apitz To: freebsd-multimedia@freebsd.org Subject: Re: Skype in head (r250588) Message-ID: <20130517192401.GA7164@La-Habana> References: <20130517120816.GA1731@La-Habana> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130517120816.GA1731@La-Habana> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.28.93 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 17:24:01 -0000 El día Friday, May 17, 2013 a las 12:08:17PM +0000, Matthias Apitz escribió: > the built-in gives on Skype stderr during probe messages like: > > $ skype > libv4l2: error set_fmt gave us a different result then try_fmt! > libv4l2: error set_fmt gave us a different result then try_fmt! > libv4l2: error set_fmt gave us a different result then try_fmt! > libv4l2: error set_fmt gave us a different result then try_fmt! > libv4l2: error set_fmt gave us a different result then try_fmt! > ... > > and in /var/log/messages: > > May 17 12:03:49 La-Habana kernel: linux: pid 1788 (skype): ioctl fd=11, > cmd=0x564a ('V',74) is not implemented The same messages show up as well in r235646 where the cam in Skype is working; I haven't seen them before because I was not looking into Skype's console nor messages (because it was working); matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 19:25:48 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 63C67B2F; Fri, 17 May 2013 19:25:48 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [66.113.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id 50CC1197; Fri, 17 May 2013 19:25:48 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id A6C6E2AA362; Fri, 17 May 2013 13:25:46 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 1DBAE1CC5D; Fri, 17 May 2013 11:59:17 -0500 (EST) Date: Fri, 17 May 2013 11:59:17 -0500 From: Diane Bruce To: sbruno@freebsd.org Subject: Re: jackd Message-ID: <20130517165917.GA55502@night.db.net> References: <1368803054.1374.8.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1368803054.1374.8.camel@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 19:25:48 -0000 On Fri, May 17, 2013 at 08:04:14AM -0700, Sean Bruno wrote: > I'm working on a port of IDJC, which requires jackd. > > At this point, I'm stuck on two jackd related issues. > > 1. How do I configure freebsd+jackd for realtime audio? Currently I > have to configure my .jackdrc to disable realtime audio, e.g. > /usr/local/bin/jackd -r -T -d oss It needs to run as root to get realtime privs, except once it is running with these privs a non root user cannot use this. It's silly. The self start server also defaults to starting with realtime which it cannot do. I dug into the code at one time with the end of changing this default. After BSDCan we can talk about it. > > 2. Any clues on getting the microphone working with jackd? My > microphones work fine under audacity, but I don't seem to be able to get > any audio from microphones. This I have no idea. > > Sean > > p.s. I'd like to use audio/ardour to test jack seperately from my > current port attempt, but audio/ardour doesn't compile: > http://www.freebsd.org/cgi/query-pr.cgi?pr=178701 > > p.p.s. My current attempt at audio/idjc and audio/shout-idjc, reviews > welcome and appreciated. > http://people.freebsd.org/~sbruno/idjc/ > http://people.freebsd.org/~sbruno/shoud-idjc/ - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 22:50:01 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5C03A6B5 for ; Fri, 17 May 2013 22:50:01 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id E8D89255 for ; Fri, 17 May 2013 22:50:00 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 08D237A170; Sat, 18 May 2013 00:50:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Subject: RE: usb midi support for Alesis keyboard From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?freebsd-multimedia=40freebsd=2Eorg?= , =?utf-8?Q?Shane_Ambler?= Date: Sat, 18 May 2013 00:49:53 +0200 Mime-Version: 1.0 In-Reply-To: <519640FA.5080501@ShaneWare.Biz> References: <519640FA.5080501@ShaneWare.Biz> X-Priority: 3 (Normal) Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 22:50:01 -0000 You could try see using usbdump -i usbusX -f Y -s 65536 -vvv=0D=0A=0D=0A=C2= =A0=0D=0Aif any USB transfers are failing and what is going on.=0D=0A=0D=0A= =C2=A0=0D=0A--HPS=0D=0A=C2=A0=0D=0A-----Original message-----=0D=0AFrom:S= hane Ambler =0D=0ASent:Fri 17-05-2013 16:39=0D=0AS= ubject:usb midi support for Alesis keyboard=0D=0ATo:freebsd-multimedia@fr= eebsd.org;=20=0D=0AI picked up a midi keyboard today - Alesis Q49 with us= b midi.=0D=0ARunning 9.1-RELEASE amd64=0D=0AMotherboard is an ASUS P8H61-= M LE/USB3=0D=0A=0D=0AHas anyone had any luck getting one of these running= =3F=0D=0AAble to offer some help getting usb midi running=3F=0D=0AI plan = to use it with lmms and hydrogen.=0D=0A=0D=0A# cat /dev/midistat=0D=0AFre= eBSD Midi Driver (midi2)=0D=0ANo devices installed.=0D=0A=0D=0A# usbconfi= g -u 2 -a 6 show_ifdrv=0D=0Augen2.6: at usbus2, cfg=3D0 md=3D= HOST spd=3DFULL (12Mbps) pwr=3DON=0D=0Augen2.6.0: uaudio0: =0D=0A=0D=0A/dev/umidi0.0 -> /dev/umidi0.= 15 are being created and removed repeatedly=0D=0A=0D=0A/var/log/messages = has endless entries of -=0D=0AMay 17 23:44:25 leader kernel: uaudio0: on usbus2=0D=0AMay 17= 23:44:25 leader kernel: uaudio0: No playback.=0D=0AMay 17 23:44:25 leade= r kernel: uaudio0: No recording.=0D=0AMay 17 23:44:25 leader kernel: uaud= io0: MIDI sequencer.=0D=0AMay 17 23:44:26 leader kernel: uaudio0: at uhub= 4, port 4, addr 6=20=0D=0A(disconnected)=0D=0AMay 17 23:44:26 leader kern= el: uaudio0: on us= bus2=0D=0AMay 17 23:44:26 leader kernel: uaudio0: No playback.=0D=0AMay 1= 7 23:44:26 leader kernel: uaudio0: No recording.=0D=0AMay 17 23:44:26 lea= der kernel: uaudio0: MIDI sequencer.=0D=0AMay 17 23:44:27 leader kernel: = uaudio0: at uhub4, port 4, addr 6=20=0D=0A(disconnected)=0D=0A___________= ____________________________________=0D=0Afreebsd-multimedia@freebsd.org = mailing list=0D=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-multi= media=0D=0ATo unsubscribe, send any mail to "freebsd-multimedia-unsubscri= be@freebsd.org"=0D=0A From owner-freebsd-multimedia@FreeBSD.ORG Fri May 17 22:52:09 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E503F714 for ; Fri, 17 May 2013 22:52:09 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 74230262 for ; Fri, 17 May 2013 22:52:09 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id E24847A1AB; Sat, 18 May 2013 00:52:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Subject: RE: usb midi support for Alesis keyboard From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?freebsd-multimedia=40freebsd=2Eorg?= , =?utf-8?Q?Shane_Ambler?= Date: Sat, 18 May 2013 00:52:02 +0200 Mime-Version: 1.0 In-Reply-To: <519640FA.5080501@ShaneWare.Biz> References: <519640FA.5080501@ShaneWare.Biz> X-Priority: 3 (Normal) Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 22:52:10 -0000 Just a wild guess:=0D=0A=0D=0A=C2=A0=0D=0Asysctl hw.usb.no_cs_fail=3D1=0D= =0A=0D=0A=C2=A0=0D=0AMaybe your USB device is non-USB compilant and does = not suppor the clear stall command.=0D=0A=0D=0A=C2=A0=0D=0A--HPS=0D=0A=C2= =A0=0D=0A-----Original message-----=0D=0AFrom:Shane Ambler =0D=0ASent:Fri 17-05-2013 16:39=0D=0ASubject:usb midi support fo= r Alesis keyboard=0D=0ATo:freebsd-multimedia@freebsd.org;=20=0D=0AI picke= d up a midi keyboard today - Alesis Q49 with usb midi.=0D=0ARunning 9.1-R= ELEASE amd64=0D=0AMotherboard is an ASUS P8H61-M LE/USB3=0D=0A=0D=0AHas a= nyone had any luck getting one of these running=3F=0D=0AAble to offer som= e help getting usb midi running=3F=0D=0AI plan to use it with lmms and hy= drogen.=0D=0A=0D=0A# cat /dev/midistat=0D=0AFreeBSD Midi Driver (midi2)=0D= =0ANo devices installed.=0D=0A=0D=0A# usbconfig -u 2 -a 6 show_ifdrv=0D=0A= ugen2.6: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pw= r=3DON=0D=0Augen2.6.0: uaudio0: =0D=0A=0D=0A/dev/umidi0.0 -> /dev/umidi0.15 are being created and re= moved repeatedly=0D=0A=0D=0A/var/log/messages has endless entries of -=0D= =0AMay 17 23:44:25 leader kernel: uaudio0: on usbus2=0D=0AMay 17 23:44:25 leader kernel: ua= udio0: No playback.=0D=0AMay 17 23:44:25 leader kernel: uaudio0: No recor= ding.=0D=0AMay 17 23:44:25 leader kernel: uaudio0: MIDI sequencer.=0D=0AM= ay 17 23:44:26 leader kernel: uaudio0: at uhub4, port 4, addr 6=20=0D=0A(= disconnected)=0D=0AMay 17 23:44:26 leader kernel: uaudio0: on usbus2=0D=0AMay 17 23:44:26 l= eader kernel: uaudio0: No playback.=0D=0AMay 17 23:44:26 leader kernel: u= audio0: No recording.=0D=0AMay 17 23:44:26 leader kernel: uaudio0: MIDI s= equencer.=0D=0AMay 17 23:44:27 leader kernel: uaudio0: at uhub4, port 4, = addr 6=20=0D=0A(disconnected)=0D=0A______________________________________= _________=0D=0Afreebsd-multimedia@freebsd.org mailing list=0D=0Ahttp://li= sts.freebsd.org/mailman/listinfo/freebsd-multimedia=0D=0ATo unsubscribe, = send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"=0D=0A From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 06:03:35 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 49CB4908; Sat, 18 May 2013 06:03:35 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8C7213; Sat, 18 May 2013 06:03:34 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 18 May 2013 15:33:33 +0930 Message-ID: <519719B3.7090100@ShaneWare.Biz> Date: Sat, 18 May 2013 15:33:31 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: sbruno@freebsd.org Subject: Re: jackd References: <1368803054.1374.8.camel@localhost> In-Reply-To: <1368803054.1374.8.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 06:03:35 -0000 On 18/05/2013 00:34, Sean Bruno wrote: > At this point, I'm stuck on two jackd related issues. > 2. Any clues on getting the microphone working with jackd? My > microphones work fine under audacity, but I don't seem to be able to > get any audio from microphones. Don't have audacity running when you try. I can get mic into audacity even with jack input selected. I can get mic input into ardour. Ardour does not get mic input if audacity is running with jack as input or if audacity has spkr selected in the mic input. That is whether audacity is recording or just open at the time. So it appears that audacity can steal all mic input and not pass it on. At least with some options selected. Also try qjackctl and open the connect window, you should see capture_1 and capture_2 under system on the readable clients side. Connect these to the program input listed on the writeable side. That is if it shows up. > p.s. I'd like to use audio/ardour to test jack seperately from my > current port attempt, but audio/ardour doesn't compile: > http://www.freebsd.org/cgi/query-pr.cgi?pr=178701 It was a while ago that I installed ardour - I'm not sure I had the same error as that pr. It looks like the error I had was NLS related and I think I assumed it to be from my system having WITH_ICONV compiled in the base system. What I changed was removing NLS=yes from SCONS_ENV and adding ${FIND} ${WRKSRC} -name "*.po" | ${XARGS} ${RM} in the post-patch section. This leads to removing the *.mo lines in the pkg-plist. I should probably patch that properly as an NLS option and submit it. From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 07:18:03 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C6E92602 for ; Sat, 18 May 2013 07:18:03 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA633C5 for ; Sat, 18 May 2013 07:18:03 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 3A1637A221; Sat, 18 May 2013 09:18:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id 3426020392; Sat, 18 May 2013 09:17:36 +0200 (CEST) Message-ID: <51972B66.8050200@bitfrost.no> Date: Sat, 18 May 2013 09:19:02 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 Subject: Re: usb midi support for Alesis keyboard References: <519640FA.5080501@ShaneWare.Biz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-multimedia@freebsd.org" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 07:18:03 -0000 Hi, Try this patch: http://svnweb.freebsd.org/changeset/base/250765 --HPS From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 07:22:44 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BA36E867; Sat, 18 May 2013 07:22:44 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9335E9; Sat, 18 May 2013 07:22:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r4I72qwQ060654; Sat, 18 May 2013 17:02:53 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 18 May 2013 17:02:52 +1000 (EST) From: Ian Smith To: sbruno@freebsd.org Subject: Re: jackd In-Reply-To: <1368803054.1374.8.camel@localhost> Message-ID: <20130518154752.W86776@sola.nimnet.asn.au> References: <1368803054.1374.8.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 07:22:44 -0000 On Fri, 17 May 2013 08:04:14 -0700, Sean Bruno wrote: > I'm working on a port of IDJC, which requires jackd. > > At this point, I'm stuck on two jackd related issues. > > 1. How do I configure freebsd+jackd for realtime audio? Currently I > have to configure my .jackdrc to disable realtime audio, e.g. > /usr/local/bin/jackd -r -T -d oss Just wondering what problems are evident running it without rtprio? I gather -r with no value gives 48000, how many consumers? Just that even on an old 2GHz P4 on debian 4, we found no real issues running without -R that tuning buffer sizes etc wouldn't fix; FM pre-transmitter feeding an audio logging task (darkice to mp3 VBR -q0 @ ~210kbps) and our stream feed (patched edcast_jack to mp3 VBR -q2 @ ~192kbps) ALSA, though. That said, we wound up using -R anyway (both consumers running as root) but it made no noticeable difference with that load: /etc/default/jackd OPTIONS="-R -m -d alsa -d hw:0 -C hw:0 -r 44100 -n 3 -p 4096" PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 16483 root 15 0 41252 3456 1580 S 8.2 0.7 173:15.30 edcast_jack 3032 root 15 0 25752 3576 1940 S 7.4 0.7 2583:03 darklogger 3002 root 22 0 37740 3612 3312 S 0.2 0.7 44:29.66 jackd 1491 root 25 10 2232 1140 864 R 0.2 0.2 0:00.96 top Re what Diane said, that seems also to be the case on linux, though I know nothing about our jackd port or what can be done here on FreeBSD. -R, --realtime Use realtime scheduling. This is needed for reliable low-latency performance. On most systems, it requires jackd to run with special scheduler and memory allocation privileges, which may be obtained in several ways. The simplest, and least-secure method is to run jackd with root privileges. This means that all JACK clients must also run as root. With a Linux 2.6 kernel, ordinary users can run jackd and its clients using options of the realtime LSM. Linux 2.4 kernels need "POSIX draft capabilities" enabled (see the include file). Using that method, ordinary users who invoke the daemon using jackstart, can later launch JACK clients without running them as root. See http://jackit.sourceforge.net/docs/faq.php#a52 for more information. > 2. Any clues on getting the microphone working with jackd? My > microphones work fine under audacity, but I don't seem to be able to get > any audio from microphones. > > Sean No idea sorry, and while interested, sadly no time to play with these: > http://people.freebsd.org/~sbruno/idjc/ > http://people.freebsd.org/~sbruno/shoud-idjc/ 404. http://people.freebsd.org/~sbruno/shout-idjc/ works :) cheers, Ian From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 08:13:59 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6F1EE1AC for ; Sat, 18 May 2013 08:13:59 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id CC27B767 for ; Sat, 18 May 2013 08:13:58 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 18 May 2013 17:43:57 +0930 Message-ID: <51973844.9040806@ShaneWare.Biz> Date: Sat, 18 May 2013 17:43:56 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Hans Petter Selasky Subject: Re: usb midi support for Alesis keyboard References: <519640FA.5080501@ShaneWare.Biz> <51972B66.8050200@bitfrost.no> In-Reply-To: <51972B66.8050200@bitfrost.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-multimedia@freebsd.org" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 08:13:59 -0000 On 18/05/2013 16:49, Hans Petter Selasky wrote: > Hi, > > Try this patch: > > http://svnweb.freebsd.org/changeset/base/250765 > With the device disconnecting - hw.usb.no_cs_fail=1 stopped that. /dev/midistat still says no midi devices. plug/un-plug creates/deletes /dev/umidi0.0 -> 15 (they are stable without the disconnecting) I'll try the patch and see how that goes. I rebuilt world to update to 9.1-RELEASE-p3 last night. Using a dtrace enabled kernel built with clang. The Q49 is plugged directly into a usb2.0/1.1 socket at the back of the motherboard. I get the following from usbdump from a middle c followed by usbconfig dump_curr_config_desc # usbdump -i usbus2 -f 6 -s 65536 -vvv 16:28:47.266708 usbus2.6 DONE-BULK-EP=00000081,SPD=FULL,NFR=1,SLEN=64,IVAL=0,ERR=0 frame[0] READ 64 bytes 0000 09 90 3C 5A 00 00 00 00 00 00 00 00 00 00 00 00 |.. status 0xeb021 16:28:47.266713 usbus2.6 SUBM-BULK-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=0 frame[0] READ 64 bytes flags 0x12 status 0xeb023 16:28:47.403588 usbus2.6 DONE-BULK-EP=00000081,SPD=FULL,NFR=1,SLEN=64,IVAL=0,ERR=0 frame[0] READ 64 bytes 0000 08 80 3C 40 00 00 00 00 00 00 00 00 00 00 00 00 |..<@............| 0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| flags 0x12 status 0xcb021 16:28:47.403593 usbus2.6 SUBM-BULK-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=0 frame[0] READ 64 bytes flags 0x12 status 0xcb023 # usbconfig -u 2 -a 6 dump_curr_config_desc ugen2.6: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0065 bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x09, 0x24, 0x01, 0x00, 0x01, 0x09, 0x00, 0x01, 0x08 | 0x01 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0003 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x00, 0x01, 0x41, 0x00 Additional Descriptor bLength = 0x06 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x06, 0x24, 0x02, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x06 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x06, 0x24, 0x02, 0x02, 0x02, 0x00 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x01, 0x03, 0x01, 0x02, 0x01, 0x08 | 0x00 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x02, 0x04, 0x01, 0x01, 0x01, 0x08 | 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x05 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x05, 0x25, 0x01, 0x01, 0x01 Endpoint 1 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x05 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x05, 0x25, 0x01, 0x01, 0x03 From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 08:44:35 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9DFFDA45 for ; Sat, 18 May 2013 08:44:35 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id B0EEF821 for ; Sat, 18 May 2013 08:44:34 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 896D37A1AD; Sat, 18 May 2013 10:44:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Subject: RE: usb midi support for Alesis keyboard From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Shane_Ambler?= Date: Sat, 18 May 2013 10:44:19 +0200 Mime-Version: 1.0 In-Reply-To: <51973844.9040806@ShaneWare.Biz> References: <51973844.9040806@ShaneWare.Biz> X-Priority: 3 (Normal) Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?utf-8?Q?freebsd-multimedia=40freebsd=2Eorg?= X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 08:44:35 -0000 Hi,=0D=0A=0D=0A=C2=A0=0D=0AYou should use /usr/ports/jack_umidi to create= jack nodes which your other software can access. The USB MIDI nodes are = 100% raw data and not interconnected with the sound system in FreeBSD!=0D= =0A=0D=0A=C2=A0=0D=0A--HPS=0D=0A=C2=A0=0D=0A-----Original message-----=0D= =0AFrom:Shane Ambler =0D=0ASent:Sat 18-05-2013 10:= 13=0D=0ASubject:Re: usb midi support for Alesis keyboard=0D=0ATo:Hans Pet= ter Selasky ;=20=0D=0ACC:freebsd-multime= dia@freebsd.org;=20=0D=0AOn 18/05/2013 16:49, Hans Petter Selasky wrote:=0D= =0A> Hi,=0D=0A>=0D=0A> Try this patch:=0D=0A>=0D=0A> http://svnweb.freebs= d.org/changeset/base/250765=0D=0A>=0D=0A=0D=0AWith the device disconnecti= ng - hw.usb.no_cs_fail=3D1 stopped that.=0D=0A=0D=0A/dev/midistat still s= ays no midi devices.=0D=0Aplug/un-plug creates/deletes /dev/umidi0.0 -> 1= 5 (they are stable=20=0D=0Awithout the disconnecting)=0D=0A=0D=0AI'll try= the patch and see how that goes. I rebuilt world to update to=0D=0A9.1-R= ELEASE-p3 last night. Using a dtrace enabled kernel built with clang.=0D=0A= =0D=0AThe Q49 is plugged directly into a usb2.0/1.1 socket at the back of= the=20=0D=0Amotherboard.=0D=0A=0D=0AI get the following from usbdump fro= m a middle c=0D=0Afollowed by usbconfig dump_curr_config_desc=0D=0A=0D=0A= # usbdump -i usbus2 -f 6 -s 65536 -vvv=0D=0A16:28:47.266708 usbus2.6=20=0D= =0ADONE-BULK-EP=3D00000081,SPD=3DFULL,NFR=3D1,SLEN=3D64,IVAL=3D0,ERR=3D0=0D= =0A =C2=A0frame[0] READ 64 bytes=0D=0A =C2=A00000 =C2=A009 90 3C 5A 00 00= 00 00 =C2=A000 00 00 00 00 00 00 00 =C2=A0|..=0D=0A =C2=A0s= tatus 0xeb021=20=0D=0A=0D=0A16:28:47.266713 usbu= s2.6 SUBM-BULK-EP=3D00000081,SPD=3DFULL,NFR=3D1,SLEN=3D0,IVAL=3D0=0D=0A =C2= =A0frame[0] READ 64 bytes=0D=0A =C2=A0flags 0x12 =0D=0A =C2=A0status 0xeb023=20=0D=0A=0D=0A16:28:47.403588 usbus2.6=20=0D=0ADONE-BULK-EP=3D00000081,SPD= =3DFULL,NFR=3D1,SLEN=3D64,IVAL=3D0,ERR=3D0=0D=0A =C2=A0frame[0] READ 64 b= ytes=0D=0A =C2=A00000 =C2=A008 80 3C 40 00 00 00 00 =C2=A000 00 00 00 00 = 00 00 00 =C2=A0|..<@............|=0D=0A =C2=A00010 =C2=A000 00 00 00 00 0= 0 00 00 =C2=A000 00 00 00 00 00 00 00 =C2=A0|................|=0D=0A =C2=A0= 0020 =C2=A000 00 00 00 00 00 00 00 =C2=A000 00 00 00 00 00 00 00 =C2=A0|.= =2E..............|=0D=0A =C2=A00030 =C2=A000 00 00 00 00 00 00 00 =C2=A00= 0 00 00 00 00 00 00 00 =C2=A0|................|=0D=0A =C2=A0flags 0x12 =0D=0A =C2=A0status 0xcb021=20=0D=0A=0D=0A16:28:47.403593 usbus2.6 SUBM-BULK-EP=3D00000081,SPD=3DFULL,NFR=3D= 1,SLEN=3D0,IVAL=3D0=0D=0A =C2=A0frame[0] READ 64 bytes=0D=0A =C2=A0flags = 0x12 =0D=0A =C2=A0status 0xcb023=20=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A# usbconfig -u 2 -a = 6 dump_curr_config_desc=0D=0Augen2.6: at usbus2, cfg=3D0 md=3D= HOST spd=3DFULL (12Mbps) pwr=3DON=0D=0A=0D=0A=0D=0A =C2=A0Configuration i= ndex 0=0D=0A=0D=0A =C2=A0 =C2=A0 bLength =3D 0x0009=0D=0A =C2=A0 =C2=A0 b= DescriptorType =3D 0x0002=0D=0A =C2=A0 =C2=A0 wTotalLength =3D 0x0065=0D=0A= =C2=A0 =C2=A0 bNumInterfaces =3D 0x0002=0D=0A =C2=A0 =C2=A0 bConfigurati= onValue =3D 0x0001=0D=0A =C2=A0 =C2=A0 iConfiguration =3D 0x0000 =C2=A0=0D=0A =C2=A0 =C2=A0 bmAttributes =3D 0x00a0=0D=0A =C2=A0 =C2=A0= bMaxPower =3D 0x0032=0D=0A=0D=0A =C2=A0 =C2=A0 Interface 0=0D=0A =C2=A0 = =C2=A0 =C2=A0 bLength =3D 0x0009=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptorTy= pe =3D 0x0004=0D=0A =C2=A0 =C2=A0 =C2=A0 bInterfaceNumber =3D 0x0000=0D=0A= =C2=A0 =C2=A0 =C2=A0 bAlternateSetting =3D 0x0000=0D=0A =C2=A0 =C2=A0 =C2= =A0 bNumEndpoints =3D 0x0000=0D=0A =C2=A0 =C2=A0 =C2=A0 bInterfaceClass =3D= 0x0001=0D=0A =C2=A0 =C2=A0 =C2=A0 bInterfaceSubClass =3D 0x0001=0D=0A =C2= =A0 =C2=A0 =C2=A0 bInterfaceProtocol =3D 0x0000=0D=0A =C2=A0 =C2=A0 =C2=A0= iInterface =3D 0x0000 =C2=A0=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0= Additional Descriptor=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 bLength =3D 0x09=0D= =0A =C2=A0 =C2=A0 =C2=A0 bDescriptorType =3D 0x24=0D=0A =C2=A0 =C2=A0 =C2= =A0 bDescriptorSubType =3D 0x01=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0RAW dump= :=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x00 | 0x09, 0x24, 0x01, 0x00, 0x01, 0= x09, 0x00, 0x01,=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x08 | 0x01=0D=0A=0D=0A= =0D=0A =C2=A0 =C2=A0 Interface 1=0D=0A =C2=A0 =C2=A0 =C2=A0 bLength =3D 0= x0009=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptorType =3D 0x0004=0D=0A =C2=A0 = =C2=A0 =C2=A0 bInterfaceNumber =3D 0x0001=0D=0A =C2=A0 =C2=A0 =C2=A0 bAlt= ernateSetting =3D 0x0000=0D=0A =C2=A0 =C2=A0 =C2=A0 bNumEndpoints =3D 0x0= 002=0D=0A =C2=A0 =C2=A0 =C2=A0 bInterfaceClass =3D 0x0001=0D=0A =C2=A0 =C2= =A0 =C2=A0 bInterfaceSubClass =3D 0x0003=0D=0A =C2=A0 =C2=A0 =C2=A0 bInte= rfaceProtocol =3D 0x0000=0D=0A =C2=A0 =C2=A0 =C2=A0 iInterface =3D 0x0000= =C2=A0=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 Additional Descriptor= =0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 bLength =3D 0x07=0D=0A =C2=A0 =C2=A0 =C2= =A0 bDescriptorType =3D 0x24=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptorSubTyp= e =3D 0x01=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0RAW dump:=0D=0A =C2=A0 =C2=A0= =C2=A0 =C2=A00x00 | 0x07, 0x24, 0x01, 0x00, 0x01, 0x41, 0x00=0D=0A=0D=0A= =0D=0A =C2=A0 =C2=A0 =C2=A0 Additional Descriptor=0D=0A=0D=0A =C2=A0 =C2=A0= =C2=A0 bLength =3D 0x06=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptorType =3D 0= x24=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptorSubType =3D 0x02=0D=0A =C2=A0 =C2= =A0 =C2=A0 =C2=A0RAW dump:=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x00 | 0x06, = 0x24, 0x02, 0x01, 0x01, 0x00=0D=0A=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 Addit= ional Descriptor=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 bLength =3D 0x06=0D=0A = =C2=A0 =C2=A0 =C2=A0 bDescriptorType =3D 0x24=0D=0A =C2=A0 =C2=A0 =C2=A0 = bDescriptorSubType =3D 0x02=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0RAW dump:=0D= =0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x00 | 0x06, 0x24, 0x02, 0x02, 0x02, 0x00=0D= =0A=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 Additional Descriptor=0D=0A=0D=0A =C2= =A0 =C2=A0 =C2=A0 bLength =3D 0x09=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptor= Type =3D 0x24=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptorSubType =3D 0x03=0D=0A= =C2=A0 =C2=A0 =C2=A0 =C2=A0RAW dump:=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x= 00 | 0x09, 0x24, 0x03, 0x01, 0x03, 0x01, 0x02, 0x01,=0D=0A =C2=A0 =C2=A0 = =C2=A0 =C2=A00x08 | 0x00=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 Additional Desc= riptor=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 bLength =3D 0x09=0D=0A =C2=A0 =C2= =A0 =C2=A0 bDescriptorType =3D 0x24=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescripto= rSubType =3D 0x03=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0RAW dump:=0D=0A =C2=A0= =C2=A0 =C2=A0 =C2=A00x00 | 0x09, 0x24, 0x03, 0x02, 0x04, 0x01, 0x01, 0x0= 1,=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x08 | 0x00=0D=0A=0D=0A =C2=A0 =C2=A0= =C2=A0Endpoint 0=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bLength =3D 0x0009=0D= =0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bDescriptorType =3D 0x0005=0D=0A =C2=A0 =C2= =A0 =C2=A0 =C2=A0 bEndpointAddress =3D 0x0001 =C2=A0=0D=0A =C2=A0 =C2= =A0 =C2=A0 =C2=A0 bmAttributes =3D 0x0002 =C2=A0=0D=0A =C2=A0 =C2=A0= =C2=A0 =C2=A0 wMaxPacketSize =3D 0x0040=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0= bInterval =3D 0x0000=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bRefresh =3D 0x00= 00=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bSynchAddress =3D 0x0000=0D=0A=0D=0A= =C2=A0 =C2=A0 =C2=A0 Additional Descriptor=0D=0A=0D=0A =C2=A0 =C2=A0 =C2= =A0 bLength =3D 0x05=0D=0A =C2=A0 =C2=A0 =C2=A0 bDescriptorType =3D 0x25=0D= =0A =C2=A0 =C2=A0 =C2=A0 bDescriptorSubType =3D 0x01=0D=0A =C2=A0 =C2=A0 = =C2=A0 =C2=A0RAW dump:=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x00 | 0x05, 0x25= , 0x01, 0x01, 0x01=0D=0A=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0Endpoint 1=0D=0A= =C2=A0 =C2=A0 =C2=A0 =C2=A0 bLength =3D 0x0009=0D=0A =C2=A0 =C2=A0 =C2=A0= =C2=A0 bDescriptorType =3D 0x0005=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bEnd= pointAddress =3D 0x0081 =C2=A0=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bmAt= tributes =3D 0x0002 =C2=A0=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 wMaxPa= cketSize =3D 0x0040=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bInterval =3D 0x000= 0=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0 bRefresh =3D 0x0000=0D=0A =C2=A0 =C2=A0= =C2=A0 =C2=A0 bSynchAddress =3D 0x0000=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 = Additional Descriptor=0D=0A=0D=0A =C2=A0 =C2=A0 =C2=A0 bLength =3D 0x05=0D= =0A =C2=A0 =C2=A0 =C2=A0 bDescriptorType =3D 0x25=0D=0A =C2=A0 =C2=A0 =C2= =A0 bDescriptorSubType =3D 0x01=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A0RAW dump= :=0D=0A =C2=A0 =C2=A0 =C2=A0 =C2=A00x00 | 0x05, 0x25, 0x01, 0x01, 0x03=0D= =0A=0D=0A=0D=0A=0D=0A From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 09:43:27 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8798C1ED for ; Sat, 18 May 2013 09:43:27 +0000 (UTC) (envelope-from ralf.mardorf@alice-dsl.net) Received: from smtp-out007b.alice-dsl.net (smtp-out007B.alice-dsl.net [88.44.63.7]) by mx1.freebsd.org (Postfix) with ESMTP id 1BE7E9B2 for ; Sat, 18 May 2013 09:43:26 +0000 (UTC) Received: from out.alice-dsl.de ([192.168.125.61]) by smtp-out007b.alice-dsl.net with Microsoft SMTPSVC(6.0.3790.3959); Sat, 18 May 2013 11:42:44 +0200 Received: from [78.50.20.40] ([78.50.20.40]) by out.alice-dsl.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sat, 18 May 2013 11:42:30 +0200 Message-ID: <1368870149.671.83.camel@archlinux> Subject: Re: jackd From: Ralf Mardorf To: freebsd-multimedia@freebsd.org Date: Sat, 18 May 2013 11:42:29 +0200 In-Reply-To: <20130518154752.W86776@sola.nimnet.asn.au> References: <1368803054.1374.8.camel@localhost> <20130518154752.W86776@sola.nimnet.asn.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 May 2013 09:42:31.0004 (UTC) FILETIME=[042FB9C0:01CE53AC] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 09:43:27 -0000 On Sat, 2013-05-18 at 17:02 +1000, Ian Smith wrote: > Re what Diane said, that seems also to be the case on linux Hi :) I reply from my "pro-audio" (bizarre term) Linux DAW ;). Are you talking about real-time for the users? On Linux even a vanilla kernel can be used with real-time abilities + you can configure it to _full_ preemption and enable threadirqs when booting, without patching the kernel. Im using a real-time patch for my kernels, but the difference to a full preempted kernel are minimal. Usually real-time permissions are given to the user by PAM, http://www.jackaudio.org/linux_rt_config . FWIW if on FreeBSD real-time is an issue, there still is the possibility to take care about some other stuff, that could harm audio performance. On my machine I unbind some USB ports, that share the IRQ with one of my sound cards. echo -n "0000:00:13.2" > /sys/bus/pci/drivers/ohci_hcd/unbind echo -n "0000:00:13.4" > /sys/bus/pci/drivers/ohci_hcd/unbind There isn't a difference for the performance on my machine, but perhaps this can help on other machines. You can stop services, bluetooth, cups, resp. remove drivers for firewire, parallel port, printer. http://wiki.linuxmusicians.com/doku.php?id=system_configuration It's said that editing PCI bus latency isn't a good idea and IIRC it has got no impact to PCIe, but I might be mistaken. http://www.mythtv.org/wiki/PCI_Latency Using Linux for pro-audio (this term simply is for "good working audio", not only for professional usage ;) IMO still is luck of the draw, but possible and this by running jackd as user. Regards, Ralf From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 11:10:55 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6AECEBF3 for ; Sat, 18 May 2013 11:10:55 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id EE747BFE for ; Sat, 18 May 2013 11:10:54 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 18 May 2013 20:40:53 +0930 Message-ID: <519761BB.5010100@ShaneWare.Biz> Date: Sat, 18 May 2013 20:40:51 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Hans Petter Selasky Subject: Re: usb midi support for Alesis keyboard References: <51973844.9040806@ShaneWare.Biz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-multimedia@freebsd.org" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 11:10:55 -0000 On 18/05/2013 18:14, Hans Petter Selasky wrote: > Hi, > > You should use /usr/ports/jack_umidi to create jack nodes which your > other software can access. The USB MIDI nodes are 100% raw data and > not interconnected with the sound system in FreeBSD! I tried jack_umidi last night without luck. I forgot it earlier but just tried it and can get midi into hydrogen with jack_umidi on umidi0.0 (only 0.0 appears to work) so partial success that may be attributed to no_cs_fail=1 # cat /dev/midistat FreeBSD Midi Driver (midi2) No devices installed. Which still leaves lmms without midi input, which is the one I was interested in using for the keyboard. I found matching lines for the usbd_xfer_set_stall in the patch but didn't find a matching location for the error output. From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 17:00:46 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 647D98BB for ; Sat, 18 May 2013 17:00:46 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCE29A1 for ; Sat, 18 May 2013 17:00:46 +0000 (UTC) Received: by mail-ie0-f175.google.com with SMTP id s9so11260062iec.20 for ; Sat, 18 May 2013 10:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=YO5PZQgdranBpJ0SCKWkbYy0ZRpP/awerDJPJI3QFB4=; b=SIFzFioWI4cCMLQeXRnfyZHCBQk7n2EkhZnTvxb79pJyNogPVIlbPCYJhyvIgeRBLn z2S4BQzdxlgM2l53hagKuOgOp+PKXMmI6yGVxZ/dEGil9kkwoNopDkrBn3Kxwuy04F6J 4PTgtZGgDBhsX0ADbHp6f9Sps5o8CDyhg527WxMnoUQiRZ+vnn5uggoNuCeIKVP6FEpZ NuhlXNUMsTQQ8OAWBBxN3rLFZSqvlLJ1s4dRd294fYrEPrePNWU9a95kZaLX6iKC3uVR lzigN0p/eiNPxoPgxrjM7ECB+FkRA2Wl/Q6BNppLeXO3eOw89GyLfbA5ce7M3wGoAcGA j+KA== X-Received: by 10.50.73.65 with SMTP id j1mr1489180igv.49.1368896445027; Sat, 18 May 2013 10:00:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.77.51 with HTTP; Sat, 18 May 2013 10:00:14 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Sat, 18 May 2013 18:00:14 +0100 Message-ID: Subject: Re: audio/grip fix build on head (probably clang) To: multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 17:00:46 -0000 On 12 May 2013 21:34, Chris Rees wrote: > Hi all, > > http://www.bayofrum.net/medusa/tinderlogs/10-local-20130512111811/grip-3.3.1_5.log > > Fix is fairly trivial, I'm pretty sure that it's also correct. > > http://www.bayofrum.net/~crees/patches/grip-return-type.diff > > Anyone mind if I commit? I've committed it, please let me know if I've broken it somehow :) Chris From owner-freebsd-multimedia@FreeBSD.ORG Sat May 18 18:45:18 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B8F951D for ; Sat, 18 May 2013 18:45:18 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 43C2DE0D for ; Sat, 18 May 2013 18:45:17 +0000 (UTC) Received: from p5dc3eac2.dip0.t-ipconnect.de ([93.195.234.194] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Udm7x-00065G-QR; Sat, 18 May 2013 20:45:10 +0200 Message-ID: <5197CC35.2040903@gwdg.de> Date: Sat, 18 May 2013 20:45:09 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Chris Rees Subject: Re: audio/grip fix build on head (probably clang) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 18:45:18 -0000 On 18.05.2013 19:00 (UTC+2), Chris Rees wrote: > On 12 May 2013 21:34, Chris Rees wrote: >> Hi all, >> >> http://www.bayofrum.net/medusa/tinderlogs/10-local-20130512111811/grip-3.3.1_5.log >> >> Fix is fairly trivial, I'm pretty sure that it's also correct. >> >> http://www.bayofrum.net/~crees/patches/grip-return-type.diff >> >> Anyone mind if I commit? > > I've committed it, please let me know if I've broken it somehow :) For me, it builds and installs fine with clang and works as exepected. Thanks for the fix, Rainer > > Chris