Jan Willies | 4 Feb 2008 16:32

em8300 and ALSA problems

Hi,

I really want pulseaudio badly and since it doesn't work very good with OSS output, I decided to switch to
ALSA. However, I'm running into some problems with ALSA. My dxr3 (em8300) card seems to be detected by ALSA
(/proc/asound/cards lists it too): 

[root <at> server ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801BAICH2 [Intel 82801BA-ICH2], device 0: Intel ICH [Intel 82801BA-ICH2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: EM8300 [Sigma Designs' EM8300], device 0: EM8300/0 [EM8300 DAC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: EM8300 [Sigma Designs' EM8300], device 1: EM8300/1 [EM8300 IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

But for some reason it won't play anything:

[root <at> server ~]# alsaplayer --verbose -o alsa -d hw:1,0 Strong.mp3 
AlsaPlayer 0.99.80
(C) 1999-2004 Andy Lo A Foe <andy <at> alsaplayer.org> and others.
Output plugin: ALSA output v1.9.0beta12
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_BE
SUBFORMAT:  STD
SAMPLE_BITS: 16
(Continue reading)

Takashi Iwai | 4 Feb 2008 16:39
Picon

Re: em8300 and ALSA problems

At Mon, 04 Feb 2008 16:32:29 +0100,
Jan Willies wrote:
> 
> [root <at> server ~]# alsaplayer --verbose -o alsa -d hw:1,0 Strong.mp3 
> AlsaPlayer 0.99.80
> (C) 1999-2004 Andy Lo A Foe <andy <at> alsaplayer.org> and others.
> Output plugin: ALSA output v1.9.0beta12
> error on set_format SND_PCM_FORMAT_S16
> Unavailable hw params:
> ACCESS:  RW_INTERLEAVED
> FORMAT:  S16_BE

The device is supposed to be big-endian only.  Try plughw:1,0
instead to convert endianness.

Takashi
Jan Willies | 4 Feb 2008 16:46

Re: [alsa-devel] em8300 and ALSA problems

Takashi Iwai wrote:
> At Mon, 04 Feb 2008 16:32:29 +0100,
> Jan Willies wrote:
>> [root <at> server ~]# alsaplayer --verbose -o alsa -d hw:1,0 Strong.mp3 
>> AlsaPlayer 0.99.80
>> (C) 1999-2004 Andy Lo A Foe <andy <at> alsaplayer.org> and others.
>> Output plugin: ALSA output v1.9.0beta12
>> error on set_format SND_PCM_FORMAT_S16
>> Unavailable hw params:
>> ACCESS:  RW_INTERLEAVED
>> FORMAT:  S16_BE
> 
> The device is supposed to be big-endian only.  Try plughw:1,0
> instead to convert endianness.

Yes, that seems to work! Only for analog output though. When I try with digital I get the same error again.

[jan <at> server ~]$ cat /proc/asound/devices 
  0: [ 0]   : control
  1:        : sequencer
 16: [ 0- 0]: digital audio playback
 24: [ 0- 0]: digital audio capture
 25: [ 0- 1]: digital audio capture
 32: [ 1]   : control
 33:        : timer
 48: [ 1- 0]: digital audio playback
 49: [ 1- 1]: digital audio playback

[root <at> server ~]# alsaplayer --verbose -o alsa -d plughw:1,1 Strong.mp3 
AlsaPlayer 0.99.80
(Continue reading)

Takashi Iwai | 4 Feb 2008 16:52
Picon

Re: em8300 and ALSA problems

At Mon, 04 Feb 2008 16:46:44 +0100,
Jan Willies wrote:
> 
> Takashi Iwai wrote:
> > At Mon, 04 Feb 2008 16:32:29 +0100,
> > Jan Willies wrote:
> >> [root <at> server ~]# alsaplayer --verbose -o alsa -d hw:1,0 Strong.mp3 
> >> AlsaPlayer 0.99.80
> >> (C) 1999-2004 Andy Lo A Foe <andy <at> alsaplayer.org> and others.
> >> Output plugin: ALSA output v1.9.0beta12
> >> error on set_format SND_PCM_FORMAT_S16
> >> Unavailable hw params:
> >> ACCESS:  RW_INTERLEAVED
> >> FORMAT:  S16_BE
> > 
> > The device is supposed to be big-endian only.  Try plughw:1,0
> > instead to convert endianness.
> 
> Yes, that seems to work! Only for analog output though. When I try with digital I get the same error again.
> 
> [jan <at> server ~]$ cat /proc/asound/devices 
>   0: [ 0]   : control
>   1:        : sequencer
>  16: [ 0- 0]: digital audio playback
>  24: [ 0- 0]: digital audio capture
>  25: [ 0- 1]: digital audio capture
>  32: [ 1]   : control
>  33:        : timer
>  48: [ 1- 0]: digital audio playback
>  49: [ 1- 1]: digital audio playback
(Continue reading)

Jan Willies | 4 Feb 2008 17:02

Re: em8300 and ALSA problems

Takashi Iwai wrote:
> At Mon, 04 Feb 2008 16:46:44 +0100,
> Jan Willies wrote:
>> Takashi Iwai wrote:
>>> At Mon, 04 Feb 2008 16:32:29 +0100,
>>> Jan Willies wrote:
>>>> [root <at> server ~]# alsaplayer --verbose -o alsa -d hw:1,0 Strong.mp3 
>>>> AlsaPlayer 0.99.80
>>>> (C) 1999-2004 Andy Lo A Foe <andy <at> alsaplayer.org> and others.
>>>> Output plugin: ALSA output v1.9.0beta12
>>>> error on set_format SND_PCM_FORMAT_S16
>>>> Unavailable hw params:
>>>> ACCESS:  RW_INTERLEAVED
>>>> FORMAT:  S16_BE
>>> The device is supposed to be big-endian only.  Try plughw:1,0
>>> instead to convert endianness.
>> Yes, that seems to work! Only for analog output though. When I try with digital I get the same error again.
>>
>> [jan <at> server ~]$ cat /proc/asound/devices 
>>   0: [ 0]   : control
>>   1:        : sequencer
>>  16: [ 0- 0]: digital audio playback
>>  24: [ 0- 0]: digital audio capture
>>  25: [ 0- 1]: digital audio capture
>>  32: [ 1]   : control
>>  33:        : timer
>>  48: [ 1- 0]: digital audio playback
>>  49: [ 1- 1]: digital audio playback
>>
>> [root <at> server ~]# alsaplayer --verbose -o alsa -d plughw:1,1 Strong.mp3 
(Continue reading)

Sebastian Eitel | 6 Feb 2008 14:17
Picon
Favicon

DXR3 and Atmolight Plugin

Hi,

I´m using my VDR with a DXR3.
Now i want to use the Atmolight plugin.
Which needs the possibility to grab the image of the output device to 
analyse the colours.
Is there a possibility to grab the images and send them to the atmolight 
plugin?
I heard in the vdr-portal.de that there was a possibility in an older 
version.

Greets,
Sebastian

>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Ville Skyttä | 6 Feb 2008 17:19
Picon
Picon
Favicon

Re: DXR3 and Atmolight Plugin

On Wednesday 06 February 2008, Sebastian Eitel wrote:

> I´m using my VDR with a DXR3.
> Now i want to use the Atmolight plugin.
> Which needs the possibility to grab the image of the output device to
> analyse the colours.
> Is there a possibility to grab the images and send them to the atmolight
> plugin?
> I heard in the vdr-portal.de that there was a possibility in an older
> version.

The last time it was available was in < 0.2.5 versions of the VDR DXR3 plugin.  
But it probably was broken already for quite some time back then.  From the 
plugin's HISTORY file:

2006-01-08: Version 0.2.5
- remove image grab code, it's broken (crashes vdr) and would cause
  maintenance problems with various 1.3.x vdr versions (Ville Skyttä)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Ville Skyttä | 6 Feb 2008 17:23
Picon
Picon
Favicon

Re: [alsa-devel] em8300 and ALSA problems

On Monday 04 February 2008, Jan Willies wrote:

> There is already a /usr/share/alsa/cards/EM8300.conf with
> EM8300.pcm.iec958.0 {...} (http://pastebin.ca/raw/891351) from Ville Skyttä

Hm, that coming from me sounds pretty odd, because I don't remember ever 
actually using ALSA with a DXR3 (apart from maybe some very quick tests), and 
I'm clueless wrt. ALSA configuration in the first place.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
Jan Willies | 6 Feb 2008 18:00

Re: [alsa-devel] em8300 and ALSA problems

<47A736F9.9010507 <at> willies.info> <200802061823.06960.ville.skytta <at> iki.fi>
Message-ID: <37a67c21c654f7e2eaa87b17486b0c13 <at> localhost>
X-Sender: jan <at> willies.info
User-Agent: RoundCube Webmail/0.1b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Wed, 6 Feb 2008 18:23:06 +0200, Ville Skyttä <ville.skytta <at> iki.fi>
wrote:
> On Monday 04 February 2008, Jan Willies wrote:
> 
>> There is already a /usr/share/alsa/cards/EM8300.conf with
>> EM8300.pcm.iec958.0 {...} (http://pastebin.ca/raw/891351) from Ville
> Skyttä
> 
> Hm, that coming from me sounds pretty odd, because I don't remember ever 
> actually using ALSA with a DXR3 (apart from maybe some very quick tests),
> and I'm clueless wrt. ALSA configuration in the first place.

Oh right, it was Nicolas. I just read through the Changelog and stopped on
the first entry :)

Maybe he can shed some light into this.

- Jan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
(Continue reading)

Costa Tsaousis | 6 Feb 2008 22:11
Picon
Gravatar

interlaced tv-out

Hi,

I have a box with 2 dxr3 cards which I use to stream movies via dxr3 
tv-out to RF modulators which are then received and displayed on 
multiple TVs.

Everything works fine, except with interlaced PAL movies.
The interlaced parts of the movies appear on the TVs jumpy, like the 
interlaced parts are displayed in reverse order.

The movies are encoded to MPEG2 with mencoder and are played with 
mplayer -vo dxr3.
Of course the movies are played without any issues in Linux and Windows 
client on normal computer monitors.

Initially I thought this has something to do with the dxr3 firmware, so 
I tried the ones supplied by RealMagic (all 3 of them). However the 
issue remains when the movies are displayed on TVs.

Is this is a fault of the dxr3 module of mplayer? (mplayer plays them 
normaly on computer monitors).
Any other ideas?

Kind regards,

Costa

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
(Continue reading)


Gmane