Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Experience with DirectFB running MythTV?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
memborg
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2003
Posts: 121
Location: Aalborg, Denmark

PostPosted: Sun Nov 14, 2004 11:39 am    Post subject: Experience with DirectFB running MythTV? Reply with quote

Hi
I was wondering if any one have had any experience running mythtv in the console via DirectFB?

If some one have done this I would like to know how. I have mplayer running via DirectFB, but Myth will not start. It tells me there's no X server to connect to.

/Memborg
Back to top
View user's profile Send private message
thinknot
n00b
n00b


Joined: 17 Feb 2004
Posts: 27
Location: Austin, TX

PostPosted: Tue Nov 30, 2004 10:51 pm    Post subject: Reply with quote

I can't be sure, but it doesn't sound like you got the build right. As I understand it.
X and directfb are mutually exclusive as far as mythtv support is concerned. IOW you can only have support for one or the other.

You need to have USE="+directfb" to get the build configured correctly.

Apologies if I'm making assumptions about how you configured things.
Back to top
View user's profile Send private message
thinknot
n00b
n00b


Joined: 17 Feb 2004
Posts: 27
Location: Austin, TX

PostPosted: Tue Nov 30, 2004 11:04 pm    Post subject: mythtv build w/o X Reply with quote

As long as I'm on this thread, I thought I'd ask a related question:

I can't seem to get mythtv to build when I don't have x11 headers installed. My system is an all-framebuffer PVR that usually runs freevo.

The error I get is pretty obvious:
Code:

g++ -c -pipe `directfb-config --cflags` -Wall -W -O2 -march=pentium4 -fomit-frame-pointer -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSE_ALSA -DUSE_LIRC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/qt/3-embedded/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include -I/usr/qt/3-embedded/include -o mythwizard.o mythwizard.cpp
util.cpp:13:22: X11/Xlib.h: No such file or directory
util.cpp:14:37: X11/extensions/Xinerama.h: No such file or directory
util.cpp: In function `void GetMythTVGeometry(Display*, int, int*, int*, int*,
   int*)':
util.cpp:550: error: `XineramaQueryExtension' undeclared (first use this
   function)
util.cpp:550: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
util.cpp:551: error: `XineramaIsActive' undeclared (first use this function)
util.cpp:553: error: `XineramaScreenInfo' undeclared (first use this function)
util.cpp:553: error: `xinerama_screens' undeclared (first use this function)
util.cpp:554: error: `screen' undeclared (first use this function)
util.cpp:559: error: `XineramaQueryScreens' undeclared (first use this
   function)
util.cpp:582: error: `XFree' undeclared (first use this function)
util.cpp:586: error: `DisplayWidth' undeclared (first use this function)
util.cpp:587: error: `DisplayHeight' undeclared (first use this function)
make: *** [util.o] Error 1


My use flags are:
Code:

[ebuild  N    ] media-tv/mythtv-0.16  -X +alsa -arts -cle266 -debug +directfb -dvb -lcd +lirc +mmx -nls -nvidia -opengl +oss -xv 0 kB


I checked the generated settings.pro and it seems to be correct:
Code:

# X11 support
#CONFIG += using_x11

# Default Xv support
#CONFIG += using_xv
#EXTRA_LIBS += -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm

# DirectFB support
CONFIG += using_directfb
EXTRA_LIBS += `directfb-config --libs`
QMAKE_CXXFLAGS += `directfb-config --cflags`


I couldn't find much pertinent info on the mythtv site/docs/wiki. So my hypotheses are:

1) x11 is required to build this sucker, even if you're not using it
2) I've got something configured incorrectly

Any insight in to which direction I should pursue is super-appreciated.
Back to top
View user's profile Send private message
norton
n00b
n00b


Joined: 01 Dec 2004
Posts: 1

PostPosted: Wed Dec 01, 2004 12:49 am    Post subject: Reply with quote

The ebuild is broken when using directfb & qt-embedded. I had to mddify the ebuild. In the section, src_compile(), there is a line
export QMAKESPEC="linux-g++" problem is, when using qt-embedded, this should be export QMAKESPEC="qws/linux-x86-g++"

This allows it to compile to a certain point, then bombs about complaining about not exceptions enable (as they are disabled in the qmake.conf when using qws.. Removing -fno_rtti and -fno-exceptions from the qmake.conf in /usr/qt-embedded/3/mkspecs/qws/linux-x86-g++/ allows to compile further, but complains about unreferenced entries in libmyth & libmythtv when doing mythepg..

There is where I'm at right now.. stuck. I had it compile if left in -fno_rtti, but it crashes constantly.. also, key bindings get stuffed up running mythsetup so you cannot do anything


(This is from memory as i'm not near the box)
Back to top
View user's profile Send private message
EmmEff
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 197

PostPosted: Wed Dec 01, 2004 3:45 am    Post subject: Re: mythtv build w/o X Reply with quote

thinknot wrote:

I can't seem to get mythtv to build when I don't have x11 headers installed. My system is an all-framebuffer PVR that usually runs freevo.


Just curious, which video card are you using? How is the performance with Freevo?
Back to top
View user's profile Send private message
thinknot
n00b
n00b


Joined: 17 Feb 2004
Posts: 27
Location: Austin, TX

PostPosted: Wed Dec 01, 2004 10:35 pm    Post subject: Re: mythtv build w/o X Reply with quote

EmmEff wrote:
thinknot wrote:

I can't seem to get mythtv to build when I don't have x11 headers installed. My system is an all-framebuffer PVR that usually runs freevo.


Just curious, which video card are you using? How is the performance with Freevo?


You're gonna love this - I can't remember. I'm using whatever is built into the motherboard on my MSI Mega 865. Oh wait here's from /proc/pci:
Code:

VGA compatible controller: Intel Corp. 82865G Integrated Graphics Device (rev 2).

So I'm not getting any extra graphics acceleration on the fb since I'm just running standard VESA.
Performance is mostly accceptable with freevo, except it seems to have some overhead when running mplayer as its slave. It periodically pegs the processor and drops frames. I don't have any problems running mplayer from the command line.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum