Re: [gentoo-user] EPIA CFLAGS

2003-12-10 Thread Sigurd Stordal
On Tuesday 09 December 2003 22:29, Jayson Garrell wrote:
 On Tue, 2003-12-09 at 09:19, Ciaran McCreesh wrote:
  athlon-4, athlon-xp, athlon-mp, winchip-c6, winchip2 and c3.
 
  Looks like you're in luck...

 c3 bails out with an error about target not supported. I did some
 googleing and it appers that i686 or i586 should work.
with the new gcc 3.3.x it's there, I'm compiling it happily at home now.
-- 
Sigurd Stordal
master in Petrology/mineralogy
President of GOGS
Opuscreator VS in DNM95

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EPIA CFLAGS

2003-12-10 Thread Jayson Garrell
On Wed, 2003-12-10 at 02:25, Sigurd Stordal wrote:
 On Tuesday 09 December 2003 22:29, Jayson Garrell wrote:
  On Tue, 2003-12-09 at 09:19, Ciaran McCreesh wrote:
   athlon-4, athlon-xp, athlon-mp, winchip-c6, winchip2 and c3.
  
   Looks like you're in luck...
 
  c3 bails out with an error about target not supported. I did some
  googleing and it appers that i686 or i586 should work.
 with the new gcc 3.3.x it's there, I'm compiling it happily at home now.

Yes I did notice that also. It was in the stage1-x86 tar ball, but it is
there now that the system has been installed. After it finishes
compiling xfree  qt I will rebuild it system with the c3-2 flags. I
will post the results.

Also if any one is interested I have a 2.4.23 kernel built with all of
the cle266 stuff patched in. URL below.
http://kyi.sytes.net/downloads/epia/patch-2.4.23-epia1
http://kyi.sytes.net/downloads/epia/epia.config

The epia.config is my custom kernel, mostly modular vs. builtin driver
support. The patch applies cleanly to the stock 2.4.23 kernel  the -bk7
patched kernel. As the system is built I will provide complete configs 
docs to any one that needs them.

Jayson


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EPIA CFLAGS

2003-12-10 Thread David Mallwitz
On Tuesday 09 December 2003 10:19 pm, Rex Young wrote:
  Lets compare notes. What gcc version are you using? Do you use the
  kernel i2c modules, or the ebuild (if so, which version)? Would you
  mind posting the ivtv section of your /etc/modules.conf?

 gcc version:  I think it updated to 3.2.3-r3 a few days ago.

I know there was a problem with 3.2.1 and ivtv, but 3.2.2 has been 
blessed by the devs. I'm also running 3.2.3 and was starting to wonder 
if this wasn't part of the problem.

 i2c: kernel; I had no idea there was an ebuild

i2c 2.8.0+ needs you to make a small modification to the Makefile. Do 
you have any i2c errors in your logs when you access /dev/video0?

 modules.conf:  I haven't touched it.  For now I use a script I wrote
 to load the modules.  I just thought it would be easier to edit that
 to adapt to changes until I think the box is ready for every-day use.
 When I do work on it, I would be happy to share it.

The Gentoo-ish way of handling the ivtv options would be to create 
/etc/modules.d/ivtv, drop your configs in there, then run 
modules-update. Here's what I'm using:

# WinTV PVR 350
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias /dev/v4l ivtv
options ivtv debug=1 
options tuner type=21
options msp3400 once=1 simple=1
options saa7115 
add below ivtv msp3400 saa7115 saa7127 tuner
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 0x3000 -p4
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video16 -u 0x3000
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video32 -u 0x3000


Dave


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] EPIA CFLAGS

2003-12-10 Thread Rex Young
 
  i2c: kernel; I had no idea there was an ebuild
 
 i2c 2.8.0+ needs you to make a small modification to the Makefile. Do 
 you have any i2c errors in your logs when you access /dev/video0?

h...I hadn't thought about looking for them.  I will have to look at
this during the weekend.  Thanks for the tip.
 
  modules.conf:  I haven't touched it.  For now I use a script I wrote
  to load the modules.  I just thought it would be easier to edit that
  to adapt to changes until I think the box is ready for 
 every-day use.
  When I do work on it, I would be happy to share it.
 
 The Gentoo-ish way of handling the ivtv options would be to create 
 /etc/modules.d/ivtv, drop your configs in there, then run 
 modules-update. Here's what I'm using:
 
 # WinTV PVR 350
 alias char-major-81 videodev
 alias char-major-81-0 ivtv
 alias /dev/v4l ivtv
 options ivtv debug=1 
 options tuner type=21
 options msp3400 once=1 simple=1
 options saa7115 
 add below ivtv msp3400 saa7115 saa7127 tuner
 post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 
 0x3000 -p4
 post-install ivtv /usr/local/bin/test_ioctl -d /dev/video16 -u 0x3000
 post-install ivtv /usr/local/bin/test_ioctl -d /dev/video32 -u 0x3000

Yes, I know that it's helpful to modify modules.conf.  I just hadn't
done it yet, because I didn't necessarily want things to load on their
own until I'm happy with how everything is working.  For now, the scripts
are what I want.

Thanks, by the way, for posting that.  It'll make my life somewhat easier.

What do you prefer for playback?  My own preference is to use the box for
a variety of multimedia tasks, and specifically as a pvr, so mythtv seems
to be the best fit for it.

-rex 

--
[EMAIL PROTECTED] mailing list



[gentoo-user] EPIA CFLAGS

2003-12-09 Thread Jayson Garrell
My M1N EPIA mobo will be arriving today and I wanted to get a
heastart on getting things ready. This board is going to be used as a
dedicated mythtv box. 

What are the best CFLAG opts for this mobo? Is there a C3 option or do I
need go with i586 or i686. I don't need any help installing Gentoo or
mythtv, I just wanted to make this setup as fast as it can be. 

Jayson Garrell



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread Ciaran McCreesh
On Tue, 09 Dec 2003 08:58:50 -0800 Jayson Garrell [EMAIL PROTECTED]
wrote:
| What are the best CFLAG opts for this mobo? Is there a C3 option or do
| I need go with i586 or i686. I don't need any help installing Gentoo
| or mythtv, I just wanted to make this setup as fast as it can be. 

From `man gcc`:

Tune to cpu-type everything applicable about the generated code, except
for the ABI and the set of available instructions.  The choices for
cpu-type are i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro,
pentium2, pentium3, pentium4, k6, k6-2, k6-3, athlon, athlon-tbird,
athlon-4, athlon-xp, athlon-mp, winchip-c6, winchip2 and c3.

Looks like you're in luck...

-- 
Ciaran McCreesh
Mail:ciaranm at gentoo.org
Web: http://dev.gentoo.org/~ciaranm



pgp0.pgp
Description: PGP signature


Re: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread David Mallwitz
On Tuesday 09 December 2003 11:58 am, Jayson Garrell wrote:
 What are the best CFLAG opts for this mobo? Is there a C3 option or
 do I need go with i586 or i686. I don't need any help installing
 Gentoo or mythtv, I just wanted to make this setup as fast as it can
 be.


http://www.viaarena.com/?PageID=368#Introduction
and
http://blade5.bvu.edu/wiki/tiki-index.php?page=EpiaHowto
will be your best resources. What kind of TV card are you going to use?

Dave


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread Jayson Garrell
On Tue, 2003-12-09 at 13:32, David Mallwitz wrote:
 On Tuesday 09 December 2003 11:58 am, Jayson Garrell wrote:
  What are the best CFLAG opts for this mobo? Is there a C3 option or
  do I need go with i586 or i686. I don't need any help installing
  Gentoo or mythtv, I just wanted to make this setup as fast as it can
  be.
 
 
 http://www.viaarena.com/?PageID=368#Introduction
 and
 http://blade5.bvu.edu/wiki/tiki-index.php?page=EpiaHowto
 will be your best resources. What kind of TV card are you going to use?

Hauppauge pvr250

Jayson


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread David Mallwitz
On Tuesday 09 December 2003 04:54 pm, Jayson Garrell wrote:
 On Tue, 2003-12-09 at 13:32, David Mallwitz wrote:
  On Tuesday 09 December 2003 11:58 am, Jayson Garrell wrote:
   What are the best CFLAG opts for this mobo? Is there a C3 option
   or do I need go with i586 or i686. I don't need any help
   installing Gentoo or mythtv, I just wanted to make this setup as
   fast as it can be.
 
  http://www.viaarena.com/?PageID=368#Introduction
  and
  http://blade5.bvu.edu/wiki/tiki-index.php?page=EpiaHowto
  will be your best resources. What kind of TV card are you going to
  use?

 Hauppauge pvr250

I'm working on the same thing with a pvr350. Lemme know how it goes.

Dave


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread Chris I
On Tue, 2003-12-09 at 18:01, David Mallwitz wrote:
 On Tuesday 09 December 2003 04:54 pm, Jayson Garrell wrote:
  On Tue, 2003-12-09 at 13:32, David Mallwitz wrote:
   On Tuesday 09 December 2003 11:58 am, Jayson Garrell wrote:
What are the best CFLAG opts for this mobo? Is there a C3 option
or do I need go with i586 or i686. I don't need any help
installing Gentoo or mythtv, I just wanted to make this setup as
fast as it can be.
  
   http://www.viaarena.com/?PageID=368#Introduction
   and
   http://blade5.bvu.edu/wiki/tiki-index.php?page=EpiaHowto
   will be your best resources. What kind of TV card are you going to
   use?
 
  Hauppauge pvr250
 
 I'm working on the same thing with a pvr350. Lemme know how it goes.

I too would be interested in knowing how it goes for both of you.

I've been thinking about throwing a tv card in the home NAT box to serve
wireless tv to my laptop. You should definately document everything you
do, maybe set up a website.

Chris I 

Of course there's no reason for it, it's just our policy.


signature.asc
Description: This is a digitally signed message part


RE: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread Rex Young
  On Tue, 2003-12-09 at 18:01, David Mallwitz wrote:
  On Tuesday 09 December 2003 04:54 pm, Jayson Garrell wrote:
   On Tue, 2003-12-09 at 13:32, David Mallwitz wrote:
On Tuesday 09 December 2003 11:58 am, Jayson Garrell wrote:
 What are the best CFLAG opts for this mobo? Is there 
 a C3 option
 or do I need go with i586 or i686. I don't need any help
 installing Gentoo or mythtv, I just wanted to make 
 this setup as
 fast as it can be.
   
http://www.viaarena.com/?PageID=368#Introduction
and
http://blade5.bvu.edu/wiki/tiki-index.php?page=EpiaHowto
will be your best resources. What kind of TV card are 
 you going to
use?
  
   Hauppauge pvr250
  
  I'm working on the same thing with a pvr350. Lemme know how it goes.
 
 I too would be interested in knowing how it goes for both of you.
 
 I've been thinking about throwing a tv card in the home NAT 
 box to serve
 wireless tv to my laptop. You should definately document 
 everything you
 do, maybe set up a website.
 
 Chris I 
 
 Of course there's no reason for it, it's just our policy.


Don't worry too much about optimizing the hell out of it.  I use:
-mcpu=i586 -O2 -mmmx -msse (from memory, not sure about the last one).

Too much optimization will increase the compile time so much it'll
annoy the hell out of you, with little real gain.  Mythtv works
pretty well without via's binary drivers.  I forced some things to 
load and recompiled mythtv to take advantage of the mpeg2 decoder
and it worked out quite nicely.  for playback.  Then, I couldn't
recompile the ivtv modules.

Right now I'm holding on until the latest reverse-engineered decoder
stuff is included in the -epia kernel (www.ivor.it/cle266) that a 
fine chap has put together.

Before I to include more of the goodies, I had the best luck with 
ac-sources for kernel, and the latest development release of
xfree86 (currently 4.3.99.901, I think).

The ivy tv page at http://ivtv.sourceforge.net can tell you how to
set up the lirc drivers for the pvr250/350.  I set that up some time
ago, so don't now remember details.

For a WM, I decided that something a little nicer than twm was in order,
so I used waimea.  Lots of people have had good luck with any of the
*box WMs.

good luck

-rex

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread David Mallwitz
On Tuesday 09 December 2003 08:09 pm, Rex Young wrote:
 pretty well without via's binary drivers.  I forced some things to
 load and recompiled mythtv to take advantage of the mpeg2 decoder
 and it worked out quite nicely.  for playback.  Then, I couldn't
 recompile the ivtv modules.

Yeah, that's my major headache - ivtv being fussy. /dev/video0 works, 
but every app fails to read from it with ioctl errors. Plus the usual 
i2c errors.

 Right now I'm holding on until the latest reverse-engineered decoder
 stuff is included in the -epia kernel (www.ivor.it/cle266) that a
 fine chap has put together.

Absolutely, God bless Ivor. We should get him a Christmas present. Ivor 
uber alles!

 The ivy tv page at http://ivtv.sourceforge.net can tell you how to
 set up the lirc drivers for the pvr250/350.  I set that up some time
 ago, so don't now remember details.

Lets compare notes. What gcc version are you using? Do you use the 
kernel i2c modules, or the ebuild (if so, which version)? Would you 
mind posting the ivtv section of your /etc/modules.conf?

 For a WM, I decided that something a little nicer than twm was in
 order, so I used waimea.  Lots of people have had good luck with any
 of the *box WMs.

The latest DirectFB includes support for the CLE266 video, so I've been 
bypassing X and running directly from the framebuffer. Works great.

Dave


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] EPIA CFLAGS

2003-12-09 Thread Rex Young
 
  The ivy tv page at http://ivtv.sourceforge.net can tell you how to
  set up the lirc drivers for the pvr250/350.  I set that up some time
  ago, so don't now remember details.
 
 Lets compare notes. What gcc version are you using? Do you use the 
 kernel i2c modules, or the ebuild (if so, which version)? Would you 
 mind posting the ivtv section of your /etc/modules.conf?

gcc version:  I think it updated to 3.2.3-r3 a few days ago.

i2c: kernel; I had no idea there was an ebuild

modules.conf:  I haven't touched it.  For now I use a script I wrote
to load the modules.  I just thought it would be easier to edit that
to adapt to changes until I think the box is ready for every-day use.
When I do work on it, I would be happy to share it.

 
  For a WM, I decided that something a little nicer than twm was in
  order, so I used waimea.  Lots of people have had good luck with any
  of the *box WMs.
 
 The latest DirectFB includes support for the CLE266 video, so 
 I've been 
 bypassing X and running directly from the framebuffer. Works great.

I don't think that mythtv works on the framebuffer.  I seem to recall
that the qt libraries need a good deal of work still to work well on
on the framebuffer.

The framebuffer has never been important to me, other than to have a
better-looking console.  Vesa-fb works fine for that.

Overall, I've not really had any problems with it, until I tried to
use the -epia kernels (mythfrontend locks) or tried to use via's 
binary drivers.  I found that I couldn't use the Xfree drivers unless
I used their kernel modules.  When I use their kernel modules, I have
to use their videodev.  When I use their videodev, ivtv breaks.  ugh.
I do have high hopes for the -epia kernel with ivor's work added in.

good luck

-rex




--
[EMAIL PROTECTED] mailing list