Tom Downes | 6 Oct 2006 22:27
Picon

Re: problems with 0.16.0-rc1 or 0.15.3-cvs

On 9/27/06, Nicolas Boullis <nboullis <at> debian.org> wrote:

>When you first run xmms to the "iec958" device, can you strace it to
>figure out what system call breaks?
>Do things work fine in OSS mode if you load the em8300 module with the
>"audio_driver=oss" parameter?

Parents were in town so it took a little while to try these
suggestions.  Thanks for all your help so far.

OSS does not help.  See URLs at end for strace outputs.  In both OSS
and ALSA the problem seems to be when xmms tries to access the mixer.
Since I have no other sound card installed and em8300 does not create
a /dev/mixer (or whatever the ALSA equivalent is) this attempt fails.

I have tried the "software volume control" option in ALSA mixer
settings but that doesn't seem to help.  Am I simply failing to load
some necessary module to fool the system into believing that the DXR3
has a mixer?  Keep in mind I've not worked with ALSA before and OSS
only with an actual Sound Blaster card so things more or less worked.
I may be missing some fairly basic step and /dev device.

My first time using strace so if there are arguments that help, please
tell me what you would like me to try.

http://earlgrey.uchicago.edu/~tpdownes/xmms_oss.log
http://earlgrey.uchicago.edu/~tpdownes/xmms_alsa.log

Tom

(Continue reading)

Michał Górny | 6 Oct 2006 22:46
Picon

em8300 and blue or grayscale image...

Hello,

Few days ago I bought em8300 card. Everything works fine, except I can't  
get color image. Depending of pixelport_16bit setting, I get blue (1) or  
grayscale (0) image. I connect the card with TV through old Sanyo VCR (TV  
hasn't got any AV inputs). I tried to use my old s-video-≥chinch  
connector, which worked fine with my two previous video cards, also with  
output_mode=psvideo and output_mode=composvideo. I even tried to connect  
composite outputs of the card directly. But I get only same grayscale  
image...

I use drivers from current CVS, and either vdr-dxr3 (SkyStar 2) or mplayer  
- both give the same result. Also colorbars in test mode are grayscale.  
Other info that might be important to solve the problem:

peres <at> peres ~ $ uname -r
2.6.18-gentoo-peres.k7
peres <at> peres ~ $ cat /proc/em8300/0
----- Driver Info -----
em8300 module version 0.15.3.cvs
Card revision 1
Chip revision 2
Video encoder: ADV7170 at address 0x6a on EM8300 I2C bus 1
Memory mapped at address range 0xd0880000->0xd0980000 (FIFOs using MTRR)
Microcode version 0x29 loaded
Display buffer resolution: 544x576
Dicom set to TV-out
Using PAL
Aspect is 4:3
Analog audio output
(Continue reading)

Michał Górny | 7 Oct 2006 10:32
Picon

em8300 and blue or grayscale image...

Hello,

Few days ago I bought em8300 card. Everything works fine, except I can't
get color image. Depending of pixelport_16bit setting, I get blue (1) or
grayscale (0) image. I connect the card with TV through old Sanyo VCR (TV
hasn't got any AV inputs). I tried to use my old s-video-≥chinch
connector, which worked fine with my two previous video cards, also with
output_mode=psvideo and output_mode=composvideo. I even tried to connect
composite outputs of the card directly. But I get only same grayscale
image...

I use drivers from current CVS, and either vdr-dxr3 (SkyStar 2) or mplayer
- both give the same result. Also colorbars in test mode are grayscale.
Other info that might be important to solve the problem:

peres <at> peres ~ $ uname -r
2.6.18-gentoo-peres.k7
peres <at> peres ~ $ cat /proc/em8300/0
----- Driver Info -----
em8300 module version 0.15.3.cvs
Card revision 1
Chip revision 2
Video encoder: ADV7170 at address 0x6a on EM8300 I2C bus 1
Memory mapped at address range 0xd0880000->0xd0980000 (FIFOs using MTRR)
Microcode version 0x29 loaded
Display buffer resolution: 544x576
Dicom set to TV-out
Using PAL
Aspect is 4:3
Analog audio output
(Continue reading)

Harald Lundberg | 7 Oct 2006 13:10
Picon
Picon
Favicon

Re: first 0.16.0 release candidate -- please test

Hi!
Just tested (briefly) the new 0.16 version, seems to do what 0.15.3 did....

Anyway, I have had a problem since 0.15.0 (I think - could be even earlier):
When editing movies, and moving cutmarks with the 4 and 6 keys, the OSD
quite often starts "flickering", sometimes it "recovers" but usually vdr
crashes and restarts. This does not happen without the OSD, but the OSD is
quite handy in those situations....

The log file says the usual "FIFO full" messages and "timeout during
blocking write". 

Am I the only one suffering from this? Linux 2.6.11.5, vdr 1.4.3, dxr3plugin
0.26.

--hlu

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Ville Skyttä | 8 Oct 2006 18:28
Picon

Re: first 0.16.0 release candidate -- please test

On Wed, 2006-09-20 at 22:33 +0300, Ville Skyttä wrote:
> On Mon, 2006-09-18 at 11:40 +0200, Nicolas Boullis wrote:
> > On Sat, Sep 16, 2006 at 01:44:51PM +0300, Ville Skyttä wrote:
>
> > > Also, FYI, a bunch of these warnings have cropped up when compiling
> > > against Fedora Core 6 development kernels:
> > > include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
> > > (this warning is not in the vanilla kernel, it's a patch in the FC one)
> > 
> > Uh!? Any idea why this would be deprecated?
> 
> The FC6testX kernel package changelog doesn't tell nor does the patch
> have any documentation, but the contents of config.h do contain a hint:
> http://tinyurl.com/q9tbc

The deprecation notice is in vanilla kernel now too:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=038b0a6d8d32db934bba6a24e74e76e4e327a94f

...and linux/config.h has been already removed from the latest FC6 test
kernels.  Quick and dirty fix for that case:
sed -i -e 's|<linux/config\.h>|<linux/autoconf.h>|' modules/*.[hc]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Philipp Leusmann | 13 Oct 2006 12:59
Picon
Picon
Favicon

Selecting Audio output

Hi,

I just switched my mainboard to one with onboard sound and I installed the
ALSA-drivers.
Now I don´t have any sound output on my dxr3 when playing files with mplayer
-ao oss . I think the onboard sound puts it out, which is not what I want.
When I unload all onboard-sound modules and reinit the dxr3 I can get the
sound from it.
But is there any switch I have to use to tell mplayer to take the dxr3-oss
device? 

Regards,
 Philipp

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Michael IP | 20 Oct 2006 23:08
Picon
Favicon

Problem loading microcode.

Hello,
 
After reinstallation of my vdr, I cannot anymore upload the microcode !
When I load it, I get the following message:
>> Using microcode file /lib/firmware/em8300.bin
>> Microcode upload to /dev/em8300-0 failed:
In the syslog,I also have the following message:

>> Oct 20 22:47:42 localhost vdr: [5012] dxr3: fatal: microcode upload failed: Expiration de la minuterie

>> Oct 20 22:47:42 localhost kernel: em8300: DICOM Update failed

I'm using em8300 version 0.15.3 !0

I read last time I installed this driver that there was an option in order to fix this problem, but I can't remenber what and neither found again the solution !

What could I do ?

Many thanks.

    MichaelP

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
Nicolas Boullis | 28 Oct 2006 18:46
Picon
Favicon

Re: first 0.16.0 release candidate -- please test

Hi,

On Sun, Oct 08, 2006 at 07:28:39PM +0300, Ville Skyttä wrote:
> On Wed, 2006-09-20 at 22:33 +0300, Ville Skyttä wrote:
> > On Mon, 2006-09-18 at 11:40 +0200, Nicolas Boullis wrote:
> > > On Sat, Sep 16, 2006 at 01:44:51PM +0300, Ville Skyttä wrote:
> >
> > > > Also, FYI, a bunch of these warnings have cropped up when compiling
> > > > against Fedora Core 6 development kernels:
> > > > include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
> > > > (this warning is not in the vanilla kernel, it's a patch in the FC one)
> > > 
> > > Uh!? Any idea why this would be deprecated?
> > 
> > The FC6testX kernel package changelog doesn't tell nor does the patch
> > have any documentation, but the contents of config.h do contain a hint:
> > http://tinyurl.com/q9tbc

Uh!? I never read that message you're quoting... Did you actually send 
it to the list? I can't find it in my personal archive, nor or 
sourceforge's...
Any other message you sent that I may have missed?

> The deprecation notice is in vanilla kernel now too:
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=038b0a6d8d32db934bba6a24e74e76e4e327a94f
> 
> ...and linux/config.h has been already removed from the latest FC6 test
> kernels.  Quick and dirty fix for that case:
> sed -i -e 's|<linux/config\.h>|<linux/autoconf.h>|' modules/*.[hc]

Hmmm, I'm afraid it won't work with old (such as 2.4) kernels; would it?

Cheers,

Nicolas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Ville Skyttä | 28 Oct 2006 19:57
Picon

Re: first 0.16.0 release candidate -- please test

On Sat, 2006-10-28 at 18:46 +0200, Nicolas Boullis wrote:
> Hi,
> 
> On Sun, Oct 08, 2006 at 07:28:39PM +0300, Ville Skyttä wrote:
> > On Wed, 2006-09-20 at 22:33 +0300, Ville Skyttä wrote:
> > > On Mon, 2006-09-18 at 11:40 +0200, Nicolas Boullis wrote:
> > > > On Sat, Sep 16, 2006 at 01:44:51PM +0300, Ville Skyttä wrote:
> > >
> > > > > Also, FYI, a bunch of these warnings have cropped up when compiling
> > > > > against Fedora Core 6 development kernels:
> > > > > include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
> > > > > (this warning is not in the vanilla kernel, it's a patch in the FC one)
> > > > 
> > > > Uh!? Any idea why this would be deprecated?
> > > 
> > > The FC6testX kernel package changelog doesn't tell nor does the patch
> > > have any documentation, but the contents of config.h do contain a hint:
> > > http://tinyurl.com/q9tbc
> 
> Uh!? I never read that message you're quoting... Did you actually send 
> it to the list?

Yes, see attachment (and also the part about the "make install" problem
in it which I was having with your suggested patch, and the question
about the installation subdir).

>  I can't find it in my personal archive, nor or sourceforge's...

I don't see it in the sf.net archives either.

> Any other message you sent that I may have missed?

Hard to tell.  Attached is another one from Sep 20 which doesn't seem to
be in the archives either.  I suppose that's about it.

> > The deprecation notice is in vanilla kernel now too:
> > http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=038b0a6d8d32db934bba6a24e74e76e4e327a94f
> > 
> > ...and linux/config.h has been already removed from the latest FC6 test
> > kernels.

...and now apparently from Linus' tree too.

>   Quick and dirty fix for that case:
> > sed -i -e 's|<linux/config\.h>|<linux/autoconf.h>|' modules/*.[hc]
> 
> Hmmm, I'm afraid it won't work with old (such as 2.4) kernels; would it?

No idea, it's been over 2 years since I've had any personal interest
towards 2.4 kernels... and if you want my opinion, given the currently
available resources, it wouldn't seem like a bad call to leave pre-2.6.x
kernels behind in the dxr3 project as of 0.16.0.

BTW I remember hearing that #include <linux/autoconf.h> shouldn't be
necessary in 2.6, #include <linux/config.h> could be just dropped
without a replacement and the module build stuff should include the
necessary stuff automatically.  I suppose that won't help much if at all
with the 2.4 problem above though.
Picon
From: Ville Skyttä <scop <at> users.sourceforge.net>
Subject: Re: [Dxr3-devel] first 0.16.0 release candidate -- please test
Date: 2006-09-20 19:33:22 GMT
On Mon, 2006-09-18 at 11:40 +0200, Nicolas Boullis wrote:
> Hi,
> 
> On Sat, Sep 16, 2006 at 01:44:51PM +0300, Ville Skyttä wrote:
> > 
> > Build doesn't go too smoothly with 2.6.18-rc7 -- include/linux/version.h
> > no longer contains UTS_RELEASE, it has moved to
> > include/linux/utsrelease.h.  The attached utsrelease.patch isn't too
> > pretty, but fixes it.
> 
> I don't really like it. Parsing UTS_RELEASE certainly was a dirty hack; 
> no need to make it dirtier...

:)

> How about the attached patch?
> (Note that the limit at 2.5.51 may not be correct at all...)

Looks better to me, however my "make install" failed to install anything
with this Makefile with 2.6.17.x and 2.6.18-rcx.  I like to install into
$(DESTDIR)/lib/modules/$(shell uname -r)/extra/em8300; previously that
was done just by passing MODINST=extra/em8300.  How would that be done
with the new Makefile?

> > Also, FYI, a bunch of these warnings have cropped up when compiling
> > against Fedora Core 6 development kernels:
> > include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
> > (this warning is not in the vanilla kernel, it's a patch in the FC one)
> 
> Uh!? Any idea why this would be deprecated?

The FC6testX kernel package changelog doesn't tell nor does the patch
have any documentation, but the contents of config.h do contain a hint:
http://tinyurl.com/q9tbc
Picon
From: Ville Skyttä <scop <at> users.sourceforge.net>
Subject: Re: [Dxr3-devel] first 0.16.0 release candidate -- please test
Date: 2006-09-20 19:39:17 GMT
On Mon, 2006-09-18 at 11:40 +0200, Nicolas Boullis wrote:
> On Sat, Sep 16, 2006 at 03:32:57PM +0300, Ville Skyttä wrote:
> > On Wed, 2006-09-13 at 19:13 +0200, Nicolas Boullis wrote:
> > 
> > > As usual, the RC tarball is available from
> > >   http://dxr3.sourceforge.net/download/em8300-0.16.0-rc1.tar.gz
> > 
> > Shouldn't modules/EM8300.conf be included in the tarball?  See attached
> > patch.
> 
> Nice catch; the patch looks sane (it even makes things cleaner).

Committed.

> > Maybe it could be also installed by "make install" -- but the location
> > of the alsa/cards dir varies somewhat between distros, FC
> > uses /etc/alsa/cards, Debian /usr/share/alsa/cards, others may use
> > something else...
> 
> If you can find out a way to know were to install this file, it would be 
> nice.

Maybe take the same approach as with the firmware dir?  Default to
$(datadir)/alsa/cards; that's what upstream ALSA itself defaults to.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Gmane