Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
directfb experimentation.....
02-23-2009, 08:54 PM
Post: #1
directfb experimentation.....
Hi!

One of those missing symbols again.. Sad

I installed a debian base system and chroot:ed to that on the NMT.

I copied all the libs from the "normal" NMT /lib dir to a custom dir inside the chroot environment and added that dir in the LD_LIBRARY_PATH. Then I installed mplayer with directfb support (just for test)... I also copied the directfbrc and smp8634rc from /etc to the chroot environment...

But when trying to run mplayer ... the directfb (from the original NMT /libs) returns that it cannot find the "write_int" symbol.. is that a symbol anyone have seen and maybe knows where it comes from?

Code:
root@venus:/# mplayer -vo directfb Aqua\ -\ Lollipop.mpg
MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: SGI MIPS
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Aqua - Lollipop.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG1  352x288  (aspect 8)  25.000 fps  1700.0 kbps (212.5 kbyte/s)
DirectFB: Preinit entered
(*) DirectFB/Config: Active DTV standard hdtv60
(*) DirectFB/Config: Active DTV signal sdtv
(*) DirectFB/Config: Active DTV connector hdmi
(*) DirectFB/Config: Active Component standard hdtv60
(*) DirectFB/Config: Active Component signal sdtv
(*) DirectFB/Config: Active Component connector ycrcb
(*) DirectFB/Config: Active Analog standard ntsc
(*) DirectFB/Config: Active Analog signal ntsc
(*) DirectFB/Config: Active Analog connector cvbs
(*) DirectFB/Config: Driver options file /etc/smp8634rc
(!) DirectFB/Config: Unable to open config file `//.directfbrc'!

     =======================|  DirectFB 1.0.0  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-02-11 11:58)
(!) Direct/Modules: Unable to dlopen `/home/firmware/release/SMP8634/2.7.176/dcc              hd/directfb/lib/directfb-1.0-0/systems/libdirectfb_em86.so'!
    --> /nmt_root/lib/libsamples_t.so: undefined symbol: write_int
(!) DirectFB/core/system: No system found!
vo_directfb2.c <276>:
        (#) DirectFBError [DirectFBCreate (&dfb)]: No (suitable) implementation               found!

Regards // OwL

I Have
Find all posts by this user
02-23-2009, 11:22 PM
Post: #2
RE: directfb experimentation.....
In my experience "Unable to dlopen...." was caused linking in a custom uclibc which wants to open the Sigma libdirectfb.

I don't think you will have much luck with mplayer without using hardware acceleration.

Martin
Find all posts by this user
02-24-2009, 07:03 AM
Post: #3
RE: directfb experimentation.....
(02-23-2009 11:22 PM)emveepee Wrote:  In my experience "Unable to dlopen...." was caused linking in a custom uclibc which wants to open the Sigma libdirectfb.

I don't think you will have much luck with mplayer without using hardware acceleration.

Martin

naaa.. I don't expect mplayer to actually produce useful output... It was only used to test wether the directfb implementation works "as is" without custom settings/options under right circumstances...

I will continue testing some stuff and see where I get.. Wink the ultimate goal is gtk+ and webkit..... or maybe SDL + ScummVM...

Regards // OwL
Find all posts by this user
02-24-2009, 09:01 AM
Post: #4
RE: directfb experimentation.....
Hi!

If it is of any interest, I have already running embedded Qt 4.4.3 with directfb support on the PCH A-100. So I may say that directfb is working "as is", but I must note that not all of the Qt demos/examples are working 100%.

Some don't even startup, some crash after some time, and others just work. Like the fluidlauncher demo.

And no, the webkit browser example is not running at all Dodgy
I still have to look into this.
Find all posts by this user
02-24-2009, 09:36 AM
Post: #5
RE: directfb experimentation.....
(02-24-2009 09:01 AM)SoloHan Wrote:  Hi!

If it is of any interest, I have already running embedded Qt 4.4.3 with directfb support on the PCH A-100. So I may say that directfb is working "as is", but I must note that not all of the Qt demos/examples are working 100%.

Some don't even startup, some crash after some time, and others just work. Like the fluidlauncher demo.

And no, the webkit browser example is not running at all Dodgy
I still have to look into this.

Ah! That's cool! .... =) maybe there is no full support for everything in the syabas directfb implementation...

I will continue investigate why my setup does not work.... Sad

Do you run in a chrooted debian environment on the NMT or have built everything yourself?

Regards // OwL
Find all posts by this user
02-24-2009, 09:41 AM
Post: #6
RE: directfb experimentation.....
(02-24-2009 09:36 AM)OwL Wrote:  Ah! That's cool! .... =) maybe there is no full support for everything in the syabas directfb implementation...

I will continue investigate why my setup does not work.... Sad

Do you run in a chrooted debian environment on the NMT or have built everything yourself?

Regards // OwL

I've build (cross compiled) everything myself on a Ubuntu virtual machine on a Windows host. Tongue
After that I just copied the Qt libs & demo's/examples over to the PCH in a separate directory.

SoloHan.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  gaya / directfb / video memory thica 5 3,998 04-20-2010 07:28 AM
Last Post: thica
  starting mono - directfb jo-the-ripper 5 3,696 11-18-2009 11:33 AM
Last Post: bozoo
  directfb and lircd issue bozoo 2 2,308 10-25-2009 04:25 PM
Last Post: emveepee
  Cygwin - Toolchain/DirectFB - Install-Tutorial jo-the-ripper 9 13,589 09-14-2009 12:43 PM
Last Post: philofred
  DirectFB +SDL + pyGame + python iamajs 4 3,988 07-11-2009 09:07 AM
Last Post: chris57
  Disko - directfb PoPEye 0 1,346 03-15-2009 02:11 AM
Last Post: PoPEye
Bug Toolchain + Directfb: JPEG support is missing FrEEzEr 6 6,386 03-02-2009 08:26 PM
Last Post: PoPEye
  GTK+ DirectFB... OwL 7 3,872 02-22-2009 07:56 PM
Last Post: dc11ab
  Need help with PCH DirectFB + SDL... OwL 0 1,582 12-11-2008 10:43 PM
Last Post: OwL
  some dirs & files missing in the directfb source provided by syabas joelai 1 2,965 08-14-2008 03:41 AM
Last Post: emveepee

Forum Jump: