From: Dexter Filmore Subject: Re: no video output when usign custom alsa device Date: Tue, 9 Aug 2011 14:53:58 +0200 Message-ID: <201108091453.58204.Dexter.Filmore@gmx.de> References: <201108060446.30763.Dexter.Filmore@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1127496679==" Return-path: Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by gabe.freedesktop.org (Postfix) with SMTP id 313B39E779 for ; Tue, 9 Aug 2011 05:53:59 -0700 (PDT) In-Reply-To: <201108060446.30763.Dexter.Filmore@gmx.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1127496679== Content-Type: multipart/signed; boundary="nextPart2826477.bBLdUqVyRa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2826477.bBLdUqVyRa Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This is waht I get when using the custom alsa device - a GL shader error.=20 Might actually be a driver bug. Or a Mesa bug. or Alsa bug. Or mplayer... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, s16le, 768.0 kbit/50.00% (ratio: 96000->192000) Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Movie-Aspect is 2,35:1 - prescaling to correct movie aspect. VO: [gl2] 1280x544 =3D> 1280x544 Planar YV12 [gl2] You have OpenGL >=3D 1.2 capable drivers, GOOD (16bpp and BGR is ok!) [gl] Error compiling fragment program, make sure your card supports [gl] GL_ARB_fragment_program (use glxinfo to check). [gl] Error message: line 7, char 42: error: syntax error, unexpected ',', expecting '}' at 00, 1,1640 [gl2] antialiasing off [gl2] bilinear linear A: 36,5 V: 36,5 A-V: 0,007 ct: 0,115 0/ 0 16% 6% 5,3% 0 0 On Saturday 06 August 2011 04:46:26 Dexter Filmore wrote: > Now this is downright weird: > as a workaround for the "tearing" bug I decided to use gl2 output for now. > Which works perfectly fine. Got a fast CPU, no problem. > Now I wanted to limit the dynamic range and chainloaded two LADSPA plugins > into my alsa setup (.asoundrc below). > > dts tracks now are watchable at night without waking the neighbors, but > when I use *this* alsa device I can pass gl, gl2, whatever: the video > output stays dark. > > I can only think of that it has to do with some A/V syncing method, but > seriously - I am bereft of proper clues. > > > Here is the ~/.asoundrc , I load the chain with mplayer -ao \ > alsa:device=3Dladcomp > > > pcm.ladcomp { > type plug > slave.pcm "ladcomp_compressor"; > } > > pcm.ladcomp_compressor { > type ladspa > slave.pcm "ladcomp_limiter"; > path "/usr/lib/ladspa"; > plugins [ > { > label dysonCompress > input { > #peak limit, release time, fast ratio, ratio > controls [0 1 0.5 0.99] > } > } > ] > } > > pcm.ladcomp_limiter { > type ladspa > slave.pcm "plughw:0,0"; > path "/usr/lib/ladspa"; > plugins [ > { > label fastLookaheadLimiter > input { > #InputGain(Db) -20 -> +20 ; Limit (db) -20 -> 0 ; Release ti= me > (s) 0.01 -> 2 > controls [ 20 0 0.8 ] > } > } > ] > } =2D-=20 =2D----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d--(+)@ s-:+ a C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K- w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@=20 b++(+++) DI+++ D- G++ e* h>++ r* y? =2D-----END GEEK CODE BLOCK------ --nextPart2826477.bBLdUqVyRa Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk5BLeYACgkQm6TdMk9WhQ3O3wCg8HpwtvFhliVBZnxBt+qoI4AC nxUAoK1/+Ndbq0u6MXnoxEi8B6zmwVpV =5Zao -----END PGP SIGNATURE----- --nextPart2826477.bBLdUqVyRa-- --===============1127496679== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1127496679==--