Skip to contentSkip to conversation

no video output when usign custom alsa device

DISCUSSION Dexter Filmore 1 participant 2 messages Aug 6, 2011 – Aug 9, 2011

lore
Share & tools
lore
#0 lore raw

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=ladcomp

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 time 
(s) 0.01 -> 2
             controls [ 20 0 0.8 ]
      }
    }

]
}

Signature · 6 lines
-----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--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
------END GEEK CODE BLOCK------

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw

This is waht I get when using the custom alsa device - a GL shader error. Might actually be a driver bug. Or a Mesa bug. or Alsa bug. Or mplayer...

==========================================================================
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)
==========================================================================
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 => 1280x544 Planar YV12
[gl2] You have OpenGL >= 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

Quoted 53 lines · 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=ladcomp

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 time
(s) 0.01 -> 2
             controls [ 20 0 0.8 ]
      }
    }

]
}

Signature · 6 lines
-----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--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
------END GEEK CODE BLOCK------

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx