Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mythtv 0.18 ebuilds
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
rlholgate
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2005
Posts: 82
Location: UK

PostPosted: Sun May 01, 2005 4:47 am    Post subject: Reply with quote

Hi - has anyone compiled 0.18 with directfb? I'm not able to do so. I get errors about missing Xinerama functions at link time - which sounds wrong, since that sounds X11-related. Have had a few other X11-related build errors too, which all just makes me think I've probably got my USE flags wrong. They are currently set like this, after a fair bit of somewhat muddled trial and error.
Code:
USE="3dnowext cdr divx4linux dvb dvd dvdr fbcon icq ithreads lame matrox mmx mmxext msn mythtv sse ssh transcode usb xine xinerama xvid -X"

I have previously had myth 0.18 working just fine under X11, with output displaying onto the computer monitor. I can also demonstrate that my framebuffer is working just fine because I can play recordings with mplayer from the command line onto my tv (using Matrox G450 tv-out). I've not had myth working with the tv-output before tho, (i.e. this is my first time trying to compile myth with directfb).

Can anyone tell me if these USE flags are ok, or alternatively, has anyone compiled 0.18 with directfb support and can tell me what to do?
Back to top
View user's profile Send private message
nrdu
n00b
n00b


Joined: 17 Apr 2004
Posts: 66

PostPosted: Sun May 01, 2005 5:23 am    Post subject: Reply with quote

rlholgate wrote:
Hi - has anyone compiled 0.18 with directfb? I'm not able to do so. I get errors about missing Xinerama functions at link time - which sounds wrong, since that sounds X11-related. Have had a few other X11-related build errors too, which all just makes me think I've probably got my USE flags wrong. They are currently set like this, after a fair bit of somewhat muddled trial and error.
Code:
USE="3dnowext cdr divx4linux dvb dvd dvdr fbcon icq ithreads lame matrox mmx mmxext msn mythtv sse ssh transcode usb xine xinerama xvid -X"

I have previously had myth 0.18 working just fine under X11, with output displaying onto the computer monitor. I can also demonstrate that my framebuffer is working just fine because I can play recordings with mplayer from the command line onto my tv (using Matrox G450 tv-out). I've not had myth working with the tv-output before tho, (i.e. this is my first time trying to compile myth with directfb).

Can anyone tell me if these USE flags are ok, or alternatively, has anyone compiled 0.18 with directfb support and can tell me what to do?


Recompile qt with the xinerama flag set to get rid of those errors.
Back to top
View user's profile Send private message
rlholgate
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2005
Posts: 82
Location: UK

PostPosted: Sun May 01, 2005 7:17 am    Post subject: Reply with quote

Hi - thanks for the advice. I have re-emerged qt, it has helped but I'm still getting one of the errors:
Code:
g++  -o mythprogfind main.o    -L/usr/qt/3/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavcodec -L../../libs/libavformat -lmythtv-0.18 -lmythavformat-0.18 -lmythavcodec-0.18 -lmyth-0.18 -lfreetype -lmp3lame -lasound -L/usr/kde/3.3/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib -ldirectfb -lfusion -ldirect -lpthread -lz -ldl -L/usr/X11R6/lib -lGL -lGLU -lqt-mt -lXext -lX11 -lm -lpthread
../../libs/libmyth/libmyth-0.18.so: undefined reference to `ScreenSaverX11::ScreenSaverX11[in-charge]()'
collect2: ld returned 1 exit status
make[2]: *** [mythepg] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/programs/mythepg'
make[1]: *** [sub-mythepg] Error 2
make[1]: *** Waiting for unfinished jobs....
../../libs/libmyth/libmyth-0.18.so: undefined reference to `ScreenSaverX11::ScreenSaverX11[in-charge]()'
collect2: ld returned 1 exit status
make[2]: *** [mythprogfind] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/programs/mythprogfind'
make[1]: *** [sub-mythprogfind] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/programs'
make: *** [sub-programs] Error 2

For reference here is the output of emerge --verbose:
Code:
emerge --pretend --verbose mythtv qt
[ebuild   R   ] media-tv/mythtv-0.18  -X* +alsa (-altivec) +arts -cle266 -debug +directfb +dvb -ieee1394 -jack -joystick -lcd -lirc +nls -nvidia +oggvorbis +opengl +oss +xv 0 kB
[ebuild   R   ] x11-libs/qt-3.3.4-r3  +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc +ipv6 +mysql -nas -odbc +opengl -postgres -sqlite +xinerama +zlib 0 kB

One question I guess - with directfb, should it be using qt or qt-embedded? Qt-embedded hasn't been emerged.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Sun May 01, 2005 4:28 pm    Post subject: Reply with quote

I got it to compile with the latest directfb however I have no success to get it to run with directfb with mythtv .18. It craps out when I switch to live tv. I get an error about not having blit hardware. I have a nVidia Geforce 2 card that I know is supported. I believe this worked in the past so I am not sure what the cause is. I am going to try downgrading directfb and try again.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Sun May 01, 2005 7:37 pm    Post subject: Reply with quote

That did not work either.

---------------------- DirectFB v0.9.21 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2005-05-01 17:52)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 14542)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 14552)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 14553)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
2005-05-01 15:34:34.045 DirectFB output : card : NO hardware blit support
2005-05-01 15:34:34.177 DirectFB could not find appropriate video output layer
2005-05-01 15:35:31.140 Changing from None to WatchingLiveTV
2005-05-01 15:35:31.140 Decoder not alive, and trying to play..
2005-05-01 15:35:31.237 Changing from None to None
(!) [14526: 0.000] --> Caught signal 11 (at 0x38, invalid address) <--
Segmentation fault
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
rlholgate
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2005
Posts: 82
Location: UK

PostPosted: Sun May 01, 2005 9:27 pm    Post subject: Reply with quote

I guess at least you got it to compile, which is one step better than me. Could you post output of "emerge -pv mythtv" so I can see your use flags? Then maybe I'll have another go. Otherwise I'm thinking its downgrade time too.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Mon May 02, 2005 2:42 pm    Post subject: Reply with quote

I will try to get that for you in about 12 hours from now. I got to go to work...
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Tue May 03, 2005 1:51 am    Post subject: Reply with quote

Code:
jmd0 ~ # uname -a
Linux jmd0 2.6.11-gentoo-r4 #1 SMP Mon Mar 28 21:33:20 EST 2005 i686 AMD Athlon(tm) MP 2200+ AuthenticAMD GNU/Linux
jmd0 ~ # emerge -pv mythtv

These are the packages that I would merge, in order:

Calculating dependencies   ...done!
[ebuild   R   ] media-tv/mythtv-0.18  +X +alsa (-altivec) +arts -cle266 -debug +directfb* -dvb -ieee1394 -jack +joystick -lcd +lirc +nls -nvidia +oggvorbis +opengl +oss +xv 0 kB

_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
arkhan_jg
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 199
Location: Dorset, UK

PostPosted: Tue May 03, 2005 8:19 pm    Post subject: Reply with quote

Fraid I can't help with the directfb problem, but there is now an ebuild that works with MMX and O3 on at least three systems (including ones with basic CFLAGS). Post, and bug

The ebuild itself is here.
_________________
make menuconfig not war
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Tue May 03, 2005 10:07 pm    Post subject: Reply with quote

So the ebuild for mythtv 0.18 in portage is ignoring mmx and -O3? I believe I had both of these set when I emerged it...

BTW. I disabled directfb and mythtv now runs fine.

[EDIT]
Ok. I found the comment about this. Thanks.
[/EDIT]
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
rlholgate
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2005
Posts: 82
Location: UK

PostPosted: Thu May 05, 2005 2:00 pm    Post subject: Reply with quote

Alas I have also abandoned pursuit of directfb ... and worse, now although I can get myth to compile, after all that emerging and unmerging for directfb, now the darn thing just seg faults whenever I actually try to watch live tv or view a recording. Not being able to figure out exactly whats wrong, I fear it is time to reach for the debugger ... :-(
Back to top
View user's profile Send private message
keredson
n00b
n00b


Joined: 15 Jul 2003
Posts: 7

PostPosted: Fri May 06, 2005 4:15 am    Post subject: Reply with quote

arkhan_jg wrote:
Fraid I can't help with the directfb problem, but there is now an ebuild that works with MMX and O3 on at least three systems (including ones with basic CFLAGS). Post, and bug

The ebuild itself is here.


i can confirm a 4th. :-)
(and thanks you guys for figuring this out)
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
Goto page Previous  1, 2
Page 2 of 2

 
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