[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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 
gaya / directfb / video memory
04-18-2010, 08:18 PM
Post: #1
gaya / directfb / video memory
Hello,

I am still searching for a solution for the following problem.

Gaya is a DirectFb based application
There is no way to start a different DirectFB application from gaya as long as gaya is running
There is no way to stop gaya , rather than killing the gaya process.
Killing gaya does not properly releases the video memory occupied by gaya/directFb
As a result, there is no way to stop/restart gaya several times without wasting the video memory until the system is not working properly.

There could be a solution by reseting the video memory or framebuffer to release the memory, but I am not unix expert enough to figure out how to do so.

Does anybody have an idea for that problem?

-

-
Panasonic TH50PZ70E -Denon AVS1909
Sony PS 3 40GB-Octagon 1018-Logitech Harmony 885
Popcorn Hour A110+A200
Focal Suspense-JBL SUB 175 - T&A Pulsar TAV 500 - T&A Pulsar TAR 400 E
2 x NAS Intel SS4200 6TB each
Find all posts by this user
04-18-2010, 09:51 PM
Post: #2
RE: gaya / directfb / video memory
First gaya is not a directfb application. Also Killing gaya does seem to release everything the SDK libraries ok for mvpmcx2/GBPVR client users

What is you definition of several?

Martin
Find all posts by this user
04-18-2010, 10:05 PM (This post was last modified: 04-18-2010 10:06 PM by accident.)
Post: #3
RE: gaya / directfb / video memory
I think I might be on the same page and for me personally, if gaya isn't going to get updated in the future (ajax abilities, etc) then its holding some of us back and we need to start considering replacement options..
Find all posts by this user
04-19-2010, 07:07 AM (This post was last modified: 04-19-2010 07:07 AM by thica.)
Post: #4
RE: gaya / directfb / video memory
(04-18-2010 09:51 PM)emveepee Wrote:  First gaya is not a directfb application. Also Killing gaya does seem to release everything the SDK libraries ok for mvpmcx2/GBPVR client users

What is you definition of several?

Martin

Hi,

example:

Kill gaya OK
start directfb Application OK
start mono / amptest from directfb Application (with shutdown/restart dfb) ok
Terminate directfb application OK
Restart gaya OK
suspend nmt OK
awake nmt OK

after doing this 2-3 times, I am not able to either start a dfb application
or mono from gaya (command line shows: out of video memory or mono hangs initialisizing the video system.
(04-18-2010 09:51 PM)emveepee Wrote:  First gaya is not a directfb application. Also Killing gaya does seem to release everything the SDK libraries ok for mvpmcx2/GBPVR client users

What is you definition of several?

Martin

Hi,

example:

Kill gaya OK
start directfb Application OK
start mono / amptest from directfb Application (with shutdown/restart dfb) ok
Terminate directfb application OK
Restart gaya OK
suspend nmt OK
awake nmt OK

after doing this 2-3 times, I am not able to either start a dfb application
or mono from gaya (command line shows: out of video memory or mono hangs initialisizing the video system.

-

-
Panasonic TH50PZ70E -Denon AVS1909
Sony PS 3 40GB-Octagon 1018-Logitech Harmony 885
Popcorn Hour A110+A200
Focal Suspense-JBL SUB 175 - T&A Pulsar TAV 500 - T&A Pulsar TAR 400 E
2 x NAS Intel SS4200 6TB each
Find all posts by this user
04-19-2010, 11:04 PM
Post: #5
RE: gaya / directfb / video memory
I think I understand the problem better now. When I develop and run via telnet, as opposed to running from a cgi script. I see the some odd things after I shutdown but I've written that off to hardware signalling not directfb problems. To avoid this before I exit telnet I always killall gaya. I figured I could use nohup but that requires more thought.

Also after amp_test (which is the only directfb app) runs you probably also need to use losetup to close the loopback device it leaves open.

Martin
Find all posts by this user
04-20-2010, 07:28 AM
Post: #6
RE: gaya / directfb / video memory
Hi,

that hint with losetup loop device might point in the rigth direction. I will investigate in that direction

-

-
Panasonic TH50PZ70E -Denon AVS1909
Sony PS 3 40GB-Octagon 1018-Logitech Harmony 885
Popcorn Hour A110+A200
Focal Suspense-JBL SUB 175 - T&A Pulsar TAV 500 - T&A Pulsar TAR 400 E
2 x NAS Intel SS4200 6TB each
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Way to disable video controller or screensaver after timeout? jorgb 1 1,546 10-12-2011 10:08 AM
Last Post: JorgeRMatias
  Help required to fix Extended gaya Extended 0.4 AquaFire 2 2,075 03-17-2011 07:46 AM
Last Post: accident
  iPad streaming: Air video Geeum 6 13,220 03-15-2011 07:25 AM
Last Post: cocochen
  TankTV (AppleTV Clone & Gaya replacement) vinayp 69 24,178 01-08-2011 05:48 PM
Last Post: AlramEast
  unix/c gurus - Starting a process from gaya without it hanging lordy 5 2,446 05-04-2010 06:43 PM
Last Post: lordy
  Easiest Video Juke box to set up? mark845 3 1,627 04-15-2010 10:53 PM
Last Post: AlramEast
  No Video output after loading beanyman1000 3 1,322 04-12-2010 06:56 PM
Last Post: spawn
  Launch script after playing a video antro31 4 1,955 04-03-2010 06:32 PM
Last Post: antro31
  Gaya, mono and interprocess stuff - how does it work? frankvw 11 3,542 03-20-2010 07:28 PM
Last Post: frankvw
  RAR support in gaya / mono / YAMJ x0r 1 2,007 03-09-2010 01:19 AM
Last Post: lundman

Forum Jump: