View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 64 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: update
PostPosted: Sun Apr 25, 2004 2:31 pm 
Offline
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location: Coventry England
Hi,

Still waiting on some time to rebuild it and get sound working, but checking the forums.

bye
Pete


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 25, 2004 4:09 pm 
Offline
Joined: Fri Apr 23, 2004 6:17 am
Posts: 3
Location: �rhus, Denmark
Hi,

I too have a EPIA 10000 and a PVR350 card.

mythtv does not seem to use the mpeg decoder since the cpu use is about 98%
during play when I run over TV-out on the 350. This is with the sound and picture
being very lagging.

Have you(or anyone) succeeded in getting the mpeg decoder to work ?

/Christoffer


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 28, 2004 8:10 pm 
Offline
Joined: Tue Feb 24, 2004 4:04 pm
Posts: 16
cdb wrote:
Hi,

I too have a EPIA 10000 and a PVR350 card.

mythtv does not seem to use the mpeg decoder since the cpu use is about 98%
during play when I run over TV-out on the 350. This is with the sound and picture
being very lagging.

Have you(or anyone) succeeded in getting the mpeg decoder to work ?

/Christoffer


You don't seem to be using the PVR 350's accelerated video, but you do seem to be using the PVR 350's TV out based on what you said. This means you've compiled ivtv and set up your XFree86 for the 350.

All you need to do in this case is make sure that in your MythTV set up (somewhere in Set Up and TV Settings) that you have the "Use PVR 350's accelerated video" checked. I don't think those are the exact words, but it's similar to that. Now all your video and audio should be pumped out of the PVR 350 and your CPU utilization should be close to zero.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 10:15 am 
Offline
Joined: Fri Apr 23, 2004 6:17 am
Posts: 3
Location: �rhus, Denmark
Quote:
All you need to do in this case is make sure that in your MythTV set up (somewhere in Set Up and TV Settings) that you have the "Use PVR 350's accelerated video" checked. I don't think those are the exact words, but it's similar to that. Now all your video and audio should be pumped out of the PVR 350 and your CPU utilization should be close to zero.


I found that now, thank you.

Now it seems that the tv picture jumps up and down a few scan lines about once a second.
very little but definately noticeable. I live in denmark and uses PAL.

/Christoffer


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 05, 2004 3:19 am 
Offline
Joined: Thu Dec 18, 2003 2:11 pm
Posts: 15
Hi Pete,
How are the instructions going?

I was wondering if it is possible for you to release the instructions in there current state?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 09, 2004 2:52 pm 
Offline
Joined: Wed Jun 09, 2004 2:47 pm
Posts: 1
jayb wrote:
I was wondering if it is possible for you to release the instructions in there current state?


Pete,

I second that idea. I'd LOVE to at least give this a try. Seems like a good way to get a lot of feedback, too.

BTW, thanks for putting the instructions together - even though we can't try 'em out yet :)


Top
 Profile  
 
 Post subject: did an EPIA manual
PostPosted: Fri Jul 30, 2004 11:26 am 
Offline
Joined: Fri Jul 30, 2004 11:17 am
Posts: 5
Location: El Cerrito, CA
did the manual, walkthrough ever get posted anywhere?
i'd like to build these ... mythtv clients

--
googlespat


Top
 Profile  
 
 Post subject: instructions at last
PostPosted: Mon Aug 16, 2004 11:03 am 
Offline
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location: Coventry England
Kernel update
Code:
su
[password]
cd /usr/src

wget http://edworthy.homeip.net/kernel-doc-2.4.24-epia1_1_all.deb
wget http://edworthy.homeip.net/kernel-headers-2.4.24-epia1_1_i386.deb
wget http://edworthy.homeip.net/kernel-image-2.4.24-epia1_1_i386.deb
wget http://edworthy.homeip.net/kernel-source-2.4.24-epia1_1_all.deb


#install packages
dpkg -i kernel-*.deb

Answer the questions with no, then yes.
Code:
#setup the source
cd /usr/src
tar -xvjf kernel-source-2.4.26-epia2.tar.bz2
cp -rf --reply=no kernel-headers-2.4.26-epia2_2_i386/include kernel-source-2.4.26-epia2/
rm -rf kernel-headers-2.4.26-epia2
rm -f linux
ln -s kernel-source-2.4.26-epia2 linux
cp --reply=yes -f /boot/config-2.4.26-epia2 linux/.config

#make dependancies, used by other items built off the source
cd linux
make oldconfig dep

#edit lilo
cd /etc
mv lilo.conf lilo.conf.old

cat <<EOF >lilo.conf
vga=normal
lba32
boot=/dev/hda
root=/dev/hda1
map=/boot/map
delay=10
default=linux
append="hdd=ide-scsi" #hdd should be whatever your cd/cd-rw/dvd/dvd-rw drive is
image=/vmlinuz
   label=linux
   read-only

image=/vmlinuz.old
   label=linuxOLD
   initrd=/boot/initrd.gz
   read-only
EOF

#apply changes to lilo   
lilo

#remove old modules
cd /lib/modules/
mv extra ~/old-extra
mkdir extra
mv misc ~/old-misc
mkdir misc
mv /etc/modutils/1alsa ~
mv /etc/modutils/actions ~
update_modules
depmod

reboot

After the reboot close the 'enter root password' window
left click on the desktop select XTerm and continue


ivtv
Code:
su
[password]
cd /usr/local/lib/ivtv/driver
cp ../utils/videodev2.h .
make clean && make && make install
echo ivtv >> /etc/modules
#alias the tuner
echo alias tuner-3036    tuner >> aliases
update-modules


lirc
Code:
#still as root
cd /usr/src/
tar -xvjf lirc-0.7.0pre4.tar.bz2
cd lirc-0.7.0pre4

edit drivers/lirc_i2c/lirc_i2c.c
comment out
request_module("bttv");
request_module("rivatv");
by adding // to the start of the lines
As with the 250 we don't need these
Code:
 ./configure --with-driver=hauppauge  --with-x
make && make install


alsa 1.0.5
Code:
cd /usr/src
ftp ftp.iasi.roedu.net
user anonymous
password [your email]
cd /pub/mirrors/ftp.alsa-project.org/driver/
get alsa-driver-1.0.5a.tar.bz2
cd /pub/mirrors/ftp.alsa-project.org/lib/
get alsa-lib-1.0.5.tar.bz2
cd /pub/mirrors/ftp.alsa-project.org/utils/
get alsa-utils-1.0.5.tar.bz2
cd /pub/mirrors/ftp.alsa-project.org/oss-lib/
get alsa-oss-1.0.5.tar.bz2
exit

tar -xvjf alsa-driver-1.0.5a.tar.bz2
tar -xvjf alsa-lib-1.0.5.tar.bz2
tar -xvjf alsa-utils-1.0.5.tar.bz2
tar -xvjf alsa-oss-1.0.5.tar.bz2

cd alsa-driver-1.0.5.a
./configure --with-isapnp=no --with-sequencer=yes
make && make install
cd ..

cd alsa-lib-1.0.5
./configure
make && make install
cd ..

cd alsa-utils-1.0.5
./configure
make && make install
cd ..

cd alsa-oss-1.0.5
./configure
make && make install
cd ..




fix ivtv
because of the via_v4l driver ivtv will now be video3 onwards
Code:
#still as root

cd /dev
rm -f video
ln -s /dev/video3 video

cd /etc/sysconfig/ivtv
mv cfg-0 cfg-3
#mv cfg-1 cfg-4 (if more cards, mythtv will also need configuring to use the correct device)
echo "alias char-major-81-3 ivtv" > /etc/mythtv/modules/ivtv0
echo "alias char-major-81-4 ivtv" > /etc/mythtv/modules/ivtv1
echo "alias char-major-81-5 ivtv" > /etc/mythtv/modules/ivtv2
echo "alias char-major-81-6 ivtv" > /etc/mythtv/modules/ivtv3


setup the via modules
Code:
cd /etc/modutils
cat <<EOF >via
alias char-major-81-0 via_v4l_drv
alias char-major-81-1 via_v4l_drv
alias char-major-81-2 via_v4l_drv
EOF

#alias the tuner
echo alias tuner tuner-3036 >> aliases
#ensure it's loaded before KnoppMyth
mv KnoppMyth knoppMyth

#remove framebuffer, as required v4l2
mv /lib/modules/2.4.26-epia2/kernel/drivers/media/video/ivtv-fb.o ~

update-modules
depmod
#ignore the error messages

#ensure that via_v4l_drv is loaded before ivtv

echo via_v4l_drv >> /etc/modules

reboot

Quit the frontend
left click on the desktop and select XTerm and continue

-----------------------------------------------------------------------------------------------------------------

via epia M X11 drivers
Code:
su
[password]
cd /usr/X11R6/lib/modules/drivers/
wget http://www.shipmail.org/%7Ethomas/via/xfree43/epia7.2/via_drv.o.bz2
bzip2 -d via_drv.o.bz2
cd /usr/X11R6/lib/modules/dri/
wget http://www.shipmail.org/%7Ethomas/via/dri/via_dri.so.bz2
bzip2 -d via_dri.so.bz2


edit /etc/X11/XF86Config-4

set the module section to look like this

Section "Module"
Load "ddc" # ddc probing of monitor
Load "GLcore"
Load "dbe"
Load "v4l"
Load "drm"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap" # bitmap-fonts
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
EndSection

Change the "Device" section with card0 to look like this

Section "Device"
Identifier "card0"
Driver "via"
Option "DPMS"
Option "TVType" "NTSC"
Option "TVVScan" "over"
Option "TVOutput" "S-Video"
Option "ActiveDevice" "CRT,TV"
EndSection

open GL interface libs
Code:
apt-get update
apt-get install libglut3
#answer Y


MPEG lib
Code:
cd /usr/src
wget http://www.ivor.it/cle266/libddmpeg-1.6.tar.gz
tar -xvzf libddmpeg-1.6.tar.gz
cd libddmpeg-1.6
make
cp libddmpeg.so /usr/lib     


mythtv rebuild
Code:
cd /usr/src/r4v4_src/mythtv-0.15/src

export QTDIR=/usr/share/qt3
export PATH=$PATH:$QTDIR/bin
tar -xvjf mythtv-0.15.tar.bz2
cd mythtv-0.15

edit settings.pro
change
QMAKE_CXXFLAGS_RELEASE
to
-march=i686 -msse -mmmx -mfpmath=sse -O3 -pipe -fomit-frame-pointer
change both ocurrences of /usr/local to /usr
uncomment cle266 and lirc
Code:
./configure
qmake mythtv.pro
make && make install

get lots of tea

#set mythfrontend to run as root to allow access to the cle266 decoder
cd /usr/bin

chown root mythfrontend
chmod a+u mythfrontend

cd ~
mkdir .mythtv


Congratulations!


Top
 Profile  
 
 Post subject: wiki
PostPosted: Mon Aug 16, 2004 11:12 am 
Offline
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location: Coventry England
The wiki has a page for this.

If you find problems putting the solutions there would help others.

Also if anyone knows wiki markup and can copy the instructions into the wiki so others can edit them that would be great.

http://knoppmythwiki.homelinux.org/inde ... therboards


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 16, 2004 12:12 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
It's been added to the wiki, I think it's ledgable, but not beautiful. Hopefully someone with too much time on their hands will come along and pretty it up.

If anyone finds problems with this or has improvements please add them to the wiki too.

Thanks

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject: speed
PostPosted: Mon Aug 16, 2004 2:57 pm 
Offline
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location: Coventry England
Hi,

Without dma the picture is very jumpy, I've seen some posts in other groups compaining it's not stable with it. I've been runnning it with for a few hours and not had a problem. So here's how

As root, as always
Code:
echo via82cxxx >>  /etc/modules
echo << EOF > /etc/init.d/hd_dma
hdparm -c 1 /dev/hda
hdparm -d 1 /dev/hda
EOF
chmod a+rx /etc/init.d/hd_dma
ln -s /etc/init.d/hd_dma /etc/rc5.d/S13hd_dma


To check harddrive speed try
Code:
hdparm -t /dev/hda

I get over 20MB per sec which is plenty for upto the highest bit rate of 12Mbit/sec. Without dma I only get 4MB which isn't quite good enough.


Top
 Profile  
 
PostPosted: Wed Sep 22, 2004 4:59 pm 
Offline
Joined: Wed Sep 22, 2004 4:36 pm
Posts: 5
I got to the kernel update part and did exactly as it said (I was a bit confused that only make dep is
called, and not "make bzImage modules modules_install install") and it all worked until I came to:

:
:
root@r2d2:/lib/modules # mv /etc/modutils/1alsa ~
root@r2d2:/lib/modules # mv /etc/modutils/actions ~
root@r2d2:/lib/modules # update_modules
-su: update_modules: command not found

What am I missing?

On another note, I noticed the compiler flags:
HOSTCFLAGS = -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer

Isn't the epia better suited (due to less cache) with:
"-Wall -Wstrict-prototypes -march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"

?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 22, 2004 10:12 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well the reason that you didn't actually make bzImage is because you are merely configuring the source so you have something to build the modules against. you are not creating a whole new kernel.

as for the command not found it is update-modules not update_modules

note that tab completion would have found this for you quickly, if you do not know what that is you can type in part of a command and hit the tab key and it will finish it for you unless there are more than one commands that start with what you have typed, and in that case hit tab key twice and it will give you a list. This function is a godsent for people like me who have problems remembering lots of commands particularly when everything is case sensitive.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 23, 2004 10:52 am 
Offline
Joined: Wed Sep 22, 2004 4:36 pm
Posts: 5
Xsecrets wrote:
well the reason that you didn't actually make bzImage is because you are merely configuring the source so you have something to build the modules against. you are not creating a whole new kernel.


Will this work seeing that the Knoppmyth kernel has a different minor-version:

root@r2d2:/lib/modules # uname -a
Linux r2d2 2.4.25-chw #1 Sat Apr 10 15:46:31 PDT 2004 i686 GNU/Linux

Xsecrets wrote:
as for the command not found it is update-modules not update_modules.


Ah! *bonk* Of course. If had bothered to read further down. I just cut'n'pasted from the text,noticed the error and jumped the gun. Thanks for the help.
[/quote]


Top
 Profile  
 
 Post subject: Optimisation flags?
PostPosted: Thu Sep 23, 2004 3:29 pm 
Offline
Joined: Wed Sep 22, 2004 4:36 pm
Posts: 5
In the cook-book it says:

Quote:
Edit settings.pro and change:

QMAKE_CXXFLAGS_RELEASE

to:

-march=i686 -msse -mmmx -mfpmath=sse -O3 -pipe -fomit-frame-pointer


However, since the Epia C3 has a rather small cache, wouldn't -O3 flood the cache? Has anyone tried -Os?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 64 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu