I have started building alsa but it is more involved so will take a bit to get included in minimyth. I also have to rebuild a few libraries to take advantage of it.
Also, one other oddity that I encountered is that I had to re-cram the image with an XFree86 config commenting out the DPMS option in the device section or my TV would blank after 20 minutes. I guess I should check the BIOS to make sure I have all the power saving features disabled, but I didn't have this issue before with minimyth 0.2 and I'd think the xset command in the .xinitrc file would've disabled DPMS blanking. Anyone else experiencing that?
Otherwise, great work. This beta-2 release has been working great with software decoding of my mpeg-2 files... thankfully my frontend can just barely keep up with decoding at that rate.
I talked about hwmpeg in the other thread to which you posted (though I didn't really say much).
/sbin/smbmount //VideoServer/video /video -o username=loginname%secretpassword
I added /video to the rootfs for a mount point but I'll probably change it to a more standard place. Anyway, worked like a champ for MythVideo, although getting album covers in mythvideo still isn't working quite right but I might be missing something.
I also got MythTivo somewhat working (it's still a little jerky on playback), but to be honest, I completely hacked it up to get it to work and it was a frustrating experience for newb like me, but when I clean it up, I'll try to post how I did it for anyone that might find it useful.
Anyway, great work on the beta release!
Here is how things are working at this point. In order to simplify (I hope) adding extra mount points, etc, I have implemented the following scheme.
/etc/rc, just after it starts up all the core services (networking, logging, module loading), tries to tfpt a few files from the $MYTHSERVER to provide a chance to override the default files. Currently this list includes /etc/fstab, /etc/localtime, and /etc/X11/XF86Config. Then it tries to upload one more file, called preapp.script. This file, if it exists, is then run. That file can do more mounting (of stuff not in fstab), load more modules, upload more files, whatever. It gets run before xinit. BTW, the scheme for getting files from $MYTHSERVER is first to try filename.$HOSTNAME and if that fails, try filename. So I think that will provide a lot of customization potential without having to recram the image.
I also added a /mnt directory which is tmpfs, so you can create any mount points you need under there. No more /share.
Additionally, I have added a kernel command line arg for TV format. If the only thing you need to change in XF86Config is to set output to PAL, you can do that by adding TV=PAL to the kernel args in the pxeconfig file; no need to hack up the XF86Config.
What I want to do next is to change minimyth so the root directory of the root user is /root instead of /, so I can make /root writable (or nfs mountable) so that .lircrc, .xinitrc, and .mythtv/ can be dealt with.
Then I will upload another beta and get cracking on mythmusic again.
Comments? One down side (that I could fix) is that your tftp server must be running on the same machine as mythbackend. But I won't bother if this is not a problem for anyone. Speak up now!
I have my tftp server on a different machine than my mythbackend, but it's fairly trivial to add it there if need be. It probably makes some sense getting it directly off the mythbackend machine anyways.
HWMPEG decoding working - very nice - and you've made the same modification to the OSD fadeaway that I realised during the week! (has helped a lot with audio sync problems)
A couple of things I've noticed:-
1. You have a typo in the servers.script - tries to create XF86COnfig, not XF86Config - hence x fails if I try TV=PAL
2. The file upload looks in the tftpboot 'root' directory - /var/lib/tftpboot - and not /var/lib/tftpboot/PXEClient. Probably obvious in retrospect, but might save someone a few minutes of head scratching!
3. I can't get my preapp.script to execute. Seems to be a permission thing, but no matter what permissions I set on the server, the copy always has read permission only. Have you seen this as well? - or am I missing something blindingly obvious?
Looking forward to MythMusic...
Thanks for the feedback. I'll fix the XCOnfig problem in the next release. For now, just let minimyth suck it up via tftp.
The tftp directory had me scratching my head too at first. I guess I could have it go to PXEClient or even try both locations. I'll think about it.
My preapp.script has 644 perms. It doesn't need execute as it is just passed to sh to run.
And I think ftp in general always strips the execute bit.
Not sure why yours is not executed. You could add a "set -x" to rc (and to preapp just to make sure). I would comment out .xinit if you do that so you can see all the text.
And I'm looking forward to mythmusic as well. I hope it doesn't take to long to fix.
I'm really happy with this release currently, especially after I solved my stuttering probs on recorded shows. I played 3 streams simultaniously to 3 different EPIA M's. 720x480 at 6k. No stuttering on my switched 100bT.
Just tack on a "vga=785" to the APPEND line in the pxe config line.
This only slighty improves the look of the boot process. Unfortunately half of the ugliness is the BIOS and pxe booting. Not sure what to do about that except hack the BIOS.
I just ended up adding "quiet" to the PXElinux append line so it cuts out almost all of the messages after the kernel starts booting. It doesn't really matter though since it boots up in about 15 seconds once it downloads the rootfs over tftp.lmatter wrote: This only slighty improves the look of the boot process. Unfortunately half of the ugliness is the BIOS and pxe booting. Not sure what to do about that except hack the BIOS.
I was having trouble at first with TFTP timeouts until I remembered you mentioning it does the TFTP to the mythtv backend. Once I put tftpd on that I was in better shape. I have another box serving up dhcp and tftpd for the images. I guess it doesn't matter.
All in all it's been working great, but perhaps you want to think the tftp loading of the config files through a little more. Perhaps you could just have it download and parse one config file and that would detail what other config files to try downloading and where to put them? Then if someone wants to have their fstab files in /tftpboot/PXELinux/configs/fstab and another guy wants them in /tftpboot/configs/mythtv/frontend/fstab they could. Something like:
Nothing a bit of shell scripting and a loop couldn't work out to parse I would imagine, but I suppose the alternative is to just have people put whatever they want in the preapp.script file and download whatever files they want. This isn't a huge issue though since the only file I'm using right now is fstab to mount an NFS share of pictures, videos, and eventually mp3's for mythmusic.
Oh, the only other issue I'm having is MythWeather doesn't seem to want to grab a map from the weather channel. It's probably just a permission problem on whatever place it's trying to write it to, but has anyone else tried it? That used to impress my weather channel loving father in law.