Re: [Freevo-users] freevo without X

2007-12-29 Thread Matthias Reichl
Hi!

On Sat, Dec 29, 2007 at 08:57:15AM +0100, Jaap Struyk wrote:
 I know freevo can be run in framebuffer but I was wondering wich
 problems I run into without X being on my system, has anyone tryed this
 before and has some info for me?

Short answer: yes, this works fine. I'm using an old P3 (800MHz) with
and connected my 16:9 TV to the S-Video output of my Matrox G400.
I've also connected a keyboard (in case I have to do some maintainance
at the console) and an IR receiver, but don't use any other monitor
except my TV. The latter can cause some troubles...

Here is some information about my setup:

First you need a kernel with framebuffer support. I always compile
the kernel by my own and build everything I need directly into the
kernel. In this case I decided to compile framebuffer support as
a module so that I can use VGA textmode, framebuffer (at PAL resolution)
or just framebuffer without matrox dualhead support (for experimentingr
with directfb). ATM I'm running kernel 2.6.23.8.

I also compiled the mga_vid module from SVN (so I can use framebuffer
for freevo and the mga driver of MPlayer). 

Then you'll need a modeline for your /etc/fb.modes. Here's mine:

mode 768x576
geometry 768 576 768 576 32
timings 20203 40 0 63 29 56 4
hsync low
vsync low
endmode

With an init-script (/etc/rc5.d/S01LOCAL-tvout), I activate the
framebuffer:

#!/bin/sh
modprobe matroxfb-g450
modprobe i2c-matroxfb
modprobe matroxfb_maven
modprobe matroxfb_crtc2
modprobe fbcon
clear
# disconnect fb1
matroxset -f /dev/fb1 -m 0
# connect fb0 to both out0 and out1
matroxset -f /dev/fb0 -m 3
# set PAL mode
matroxset -f /dev/fb1 -o 1 1
fbset -a 768x576
clear

modprobe mga_vid

/usr/local/bin/tv-contrast

tv-contrast is a small shell-script to adjust the S-Video output
(it gets reset by SDL, so we also need that later). The script looks
like this (adjust the values as you like):

#!/bin/sh
/usr/sbin/matrox 0x1e 0xb0  /dev/null 21
/usr/sbin/matrox 0x20 0xbc  /dev/null 21
/usr/sbin/matrox 0x22 0xbc  /dev/null 21

Now we have a working linux framebuffer setup and just need to
configure freevo and MPlayer.

First, the MPlayer config. Since it's sometimes handy to have
a working MPlayer config without freevo, I put most of the
configuration into /usr/local/etc/mplayer/mplayer.conf:

font=/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf
subfont-autoscale=3
subfont-text-scale=3.5
ao = alsa
vo = mga
fs=yes
cache=2048
monitoraspect=16:9

The freevo config is quite simple, too. First, my
/etc/freevo/freevo.conf:

chanlist = europe-west
display = fbcon
geometry = 768x576
flac = /usr/bin/flac
lsdvd = /usr/bin/lsdvd
mencoder = /usr/local/bin/mencoder
mplayer = /usr/local/bin/mplayer
oggenc = /usr/bin/oggenc
renice = /usr/bin/renice
setterm = /usr/bin/setterm
tv = pal
version = 2.1

And here the important stuff of /etc/freevo/local_conf.py:

OSD_SDL_EXEC_AFTER_STARTUP = /usr/local/bin/tv-contrast
OSD_SDL_EXEC_AFTER_CLOSE = /usr/local/bin/tv-contrast
OSD_OVERSCAN_LEFT = 20
OSD_OVERSCAN_RIGHT = 20
OSD_OVERSCAN_TOP = 20
OSD_OVERSCAN_BOTTOM = 20
# important for panorama skin
IMAGEVIEWER_ASPECT = (float(4) / float(3))
# mplayer config
MPLAYER_AO_DEV   = 'alsa'  # e.g.: oss,sdl,alsa, see mplayer docs
MPLAYER_VO_DEV   = 'mga'

The OSD_SDL_EXEC... lines are needed so we have a proper picture with
the S-Video output. You might need to adjust the OVERSCAN stuff.
The IMAGEVIEWER_ASPECT is needed so that all images/icons are
scaled correctly (because I use a widescreen TV with the anamorphic
Panorama skin).

At first it was quite a bit of work to get all the stuff running
(especially the modelines and TV-out) but now it's running really
smooth.

A month ago I tried to go the directfb-route (both with the
standard SDL/directfb packages of Debian Etch and also by recompiling
new versions from SVN), but wasn't too successfull with it. First,
getting a simple text-console to use with the TV-out was quite
difficult (I compiled quingy), but had some occasional crashes
(especially if using multiple quingys on different VTs) and when
playing videos I sometimes had an annoying horizontal green bar
in the picture (this could be an MPlayer/SDL/directfb bug).
Then I decided switching back to the working framebuffer/mga_vid
setup and maybe I'll dig into directfb again in a few months).

so long,

Hias

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo without X

2007-12-28 Thread Jaap Struyk
Hello,

Currently I'am building a new server and was wondering if it's possible
to set up freevo without installing X at all.
I know freevo can be run in framebuffer but I was wondering wich
problems I run into without X being on my system, has anyone tryed this
before and has some info for me?
-- 
Groetjes Japie

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Freevo without x?

2003-09-25 Thread Paul Cowper
 
Can freevo run without x?


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Freevo without X

2003-06-17 Thread Richard J. Finn
	I keep reading that Freevo can be used without X, but I can't seem to 
find anything on *how*.

	Or maybe I'm missing something that's understood but not said.

	Can Freevo display to a TV set (using the S-video out or something on 
the graphics card) without first loading X?  Or can it only function as 
a recorder and file sharer without loading X?



---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo without X

2003-06-17 Thread Davin Desborough
See Section 2.3.8 of the Freevo Documentation Wiki  at:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage

The step-by-step for RedHat can be found at:

http://www.knet-work.co.uk/freevo-redhat8-guide.htm

I followed this on RedHat 9 and it worked like a champ. I use the TV-Out
(SVideo) of a GeForce 4 MX-420.

-Davin

- Original Message -
From: Richard J. Finn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 4:44 PM
Subject: [Freevo-users] Freevo without X



 I keep reading that Freevo can be used without X, but I can't seem to
 find anything on *how*.

 Or maybe I'm missing something that's understood but not said.

 Can Freevo display to a TV set (using the S-video out or something on
 the graphics card) without first loading X?  Or can it only function as
 a recorder and file sharer without loading X?



 ---
 This SF.Net email is sponsored by: INetU
 Attention Web Developers  Consultants: Become An INetU Hosting Partner.
 Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
 INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo without X

2003-06-17 Thread Richard J. Finn
	That just figgin' rocks.  Without the overhead of X I'm sure it runs 
even that much smoother.

[EMAIL PROTECTED] wrote:

I have only run Freevo in framebuffer mode (no X windows! In fact I don't
even know how to run freevo under X!) Just make sure you are booting into
framebuffer mode  (I small tux pic will appear on the top of your screen
while linux boots when you are). I run 640x480x64k by setting vga=785 in my
lilo.conf
Then, in your freevo dir, edit the freevo.conf and set display = fbdev
It helped me tremendously to have already had the knowlede to run mplayer in
vesa  framebuffer mode too! Hope this helps!
--Robert




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users