Graphics and game compatability on the diamond - Touch Diamond, MDA Compact IV General

I've noticed a number of games that don't work right at the start, eg Pocket Lemmings, Guitar Hero. Now they basically seem to drop out as soon as they try to initialise the screen.
Today I started looking at beginning a bit of game development, and with that in mind download microsofts "skitime" starter pack. Basically this is a rubbish game demonstrating the structure and layout to build a DirectDraw based C++ game for windows mobile 6.
The interesting thing about it is that it works in the emulators, but not on the diamond so I spent a lot of time digging into where and why it doesn't work. In a nut shell, the directdraw initialisation stuff calls the "GetCaps" function (presumably this is somewhere in ddi.dll) and the relevant "capabilities" it returns are:
DDSCAPS_BACKBUFFER | DDSCAPS_FLIP
Basically these tell my application that I can do double buffering in video ram (good for performance)
However, when it then tries to create the structures for the primary surfaces, it fails with an E_OUTOFMEMORY. Dig a bit deeper and the info about the device suggests there is only 614400 video memory available, enough for 640x480x16bits.
So the problem is that it is telling the app that it supports double buffering, but it doesn't have the video memory to allocate 2 full frames worth of buffers. In terms of my own app, this is easily worked around, in fact putting in a better check against memory as well fixes it properly. But what I'm really wondering is whether this is what stops other games from working as well.
So, a potential fix would be to make the device not report that it can do double buffering, I did some searching of the registry, but I don't think this device info is stored there, my current guess is that the information is hard coded into the ddi.dll driver file. So, either a hacked ddi.dll file, or maybe it's getting the information from elsewhere.
Thoughts? I would really like to see if we can get more "standard" apps working by fixing this.

Related

DVD to Pocket PC HELP Needed!

Ok. I've been trying to get this program (DVD to Pocket PC) working properly, with no success.
I downloaded the demo version, and it 'started' to make a 5 minute copy of a DVD. It ripped the DVD, then crashed when attempting to turn the MPG file into a WMV file. I was able to manually convert the file to WMV format, and it ran on the XDA.
The problem is, the program doesn't work anymore. I can't get it to rip ANY more DVD's, not even the same DVD I used initially.
I love the idea of the program, and was really looking forward to buying it if it worked properly. I have a shiny new 512MB SD card just begging to be used.
Does ANYONE out there have the actual, whole version of the program that they can tell me about? I have been burned before buying badly written Pocket PC programs, and don't want that to happen again. If someone can loan me the full version so I can evaluate it, I'd REALLY appreciate it!
I just want to make sure the program works properly. The demo seems to be really flaky.
Thanks.
-Robert
([email protected])
The demo crashes for me too at the same stage you described, so I uninstalled the damn thing and moved on.
I'm using Win2K, and this may be my problem - the website says XP only. Whatever. Can't be bothered.
I guess this program must work - otherwise, why do they sell it? Crashing halfway through is an obvious bug, no?
I have the full version, running on xp pro, it works flawlessly, I leave a dvd in the drive overnight and in the morning I have a film for transferring to sd or cf card, never crashed on me either.
That's interesting.
I am also using XP Pro, and like I said in the previous post, the program (demo) 'started' ripping the DVD, then promptly crashed at the point when it was supposed to be converting it to WMV. I was highly disapointed to say the least.
I even tried uninstalling the program and reinstalling. The exact same thing occurred.
I'm using the full version on WindowsXP, and it's GREAT!! 8) 8) 8)
I uninstalled it again and reinstalled, and now it's working properly. VERY cool. I think it's worth the $25.00.
I also have the full version of this software, worth every penny
One thing worth mentioning is the Step 2 Only option from the Special menu
If the program doesn't complete the final step of converting to WMV, just select the Step 2 only option and it'll finish off
You can also trick it into converting any mpeg files into wmv by renaming them to DVD.mpg, placing them in root c:\ and running a Step 2 Only
Very useful for TV episodes, as it compresses Simpsons episodes to 30mb
I think I saw this software in PC Magazine. Are you saying that you can download an entire Movie DVD onto your PDA?
Yep,
It compresses a 90minute movie to approx. 128mb
so increase the size slightly for longer films
i've had two 90minute films no problem on a 256mb SD card, and haven't had any issues with slow load time or memory problems
Hope this helps
How do you download the DVD? Can you give me kind of a dumb guys version. I'm a bit new to this stuff.
Also, maybe I can ask you... I can't seem to open images with TIF extensions?
how to make a dvd small enough to fit on your 512MB sd card
http://www.makayama.com/dvdtopocketpc.html
the easist way to open tif is to use
irfanview to change the picture from tif to jpg
otherwise maybe this program does it
http://www.acdsystems.com/English/Products/WinCE/feature2?LAN=englishX10
alternatives
This is slightly off the thread, but...
I personally thought that $25 was a bit steep for software that just rips a DVD, and then uses freely available microsoft tools to convert it into a small file. Theres a whole load of free stuff available that will do all this.
Another problem I had with the software is that it is not configurable. The demo 5 minute video I produced had a frame rate of 20 fps. The playback was noticably jerky. I would be prepared to suffer a 25% increase in file size for 25fps.
I would recommend anyone thinking of buying this software to check out the following free tools, to see if you can't get a result as good or better:
http://www.dvddecrypter.com/
http://fairuse.free.fr/lang_en/index.html
If the video files don't play in the built in media player, check out...
http://www.pockettv.com/
Plus look at the guide to creating content in http://www.pockettv.com/index.html#forums

Direct3D Mobile / OpenGL ES?

Does anyone know if these are properly implemented through the APIs? I am aware that the HTC home screen supposedly uses the 3D chip, but nowhere says how.
If it is properly implemented it would be very interesting for developers and gamers alike.
Judging by peoples experiences with DirectDraw at least that API is not accelerated. OpenGL ES is though and Direct3D is probably mapped to Open GL ES calls and would also be accelerated (with some form of, probably slight, performance penalty).
There are two threads in this subforum that are asking for benchmark results from the Diamond but so far none of the current owners seem interested in providing anything.
ill do a benchmark if its easy to do, what program do i use?
jkr284 said:
ill do a benchmark if its easy to do, what program do i use?
Click to expand...
Click to collapse
http://www.spbsoftwarehouse.com/products/benchmark/??en
http://int13.net/gxmark.htm
http://classic.pocketgear.com/software_detail.asp?id=8287
As far as easy goes you just run the application basically.
Thanks
Ive been trying to run a full spb test on the diamond at default settings and on battery power. It didnt like the word test (seemed to stick at about 90% of opening the alice word doc then looped forever!) and also didnt like the pocket internet explorer test (well it opened opera browser for the test, and didnt like it for some reason!), just running it now with buit in application tests disabled.
Ok First Heres the SPB Benchmark results with "Built in Applications Test" Disabled:
- <benchmark-results>
- <info>
<platform-name>HTC Touch Diamond P3700</platform-name>
<device-name>HTC Diamond</device-name>
<start-date>06.05.2008</start-date>
</info>
- <main-tests>
<fs-largefilewrite>566.700000</fs-largefilewrite>
<fs-largefileread>107.900000</fs-largefileread>
<fs-largefilecopy>679.800000</fs-largefilecopy>
<fs-manyfileswrite>5897.500000</fs-manyfileswrite>
<fs-manyfilesread>429.300000</fs-manyfilesread>
<fs-manyfilescopy>4549.900000</fs-manyfilescopy>
<fs-dirlisting>1334.200000</fs-dirlisting>
<fs-db>756.900000</fs-db>
<grf-ddb>6.670000</grf-ddb>
<grf-dib>25.095000</grf-dib>
<grf-gapi>5.390000</grf-gapi>
<misc-zip>2660.000000</misc-zip>
<misc-jpeg>417.600000</misc-jpeg>
<misc-arkaball>8.140500</misc-arkaball>
<misc-mflops>3578.800000</misc-mflops>
<misc-mops>1001.700000</misc-mops>
<misc-mwips>7229.000000</misc-mwips>
<misc-memcpy>8.449000</misc-memcpy>
</main-tests>
</benchmark-results>
GXMark produced a white screen! i had to reset the device! No Idea whats up there!
Pocket Pc Mark wouldnt do a run on the graphics test, it got to 6/8 test and then locked, had to reset again, sorry!
Thanks for your efforts!
The SPB results are actually very poor unfortunately. Almost too poor, did you have lots of stuff running in the background or anything like that?
Apart from the pure CPU tests (including decompressing a JPEG and a ZIP file which both are very CPU bound as well) both filesystem operations and graphics operations are a lot lower (or at best equal in some cases) to what you would see on a Kaiser for an example..
I think at least we can say with certainty that the GAPI and GDI/DDI drivers are not any better than on the Kaiser, very minor boost due to faster memory and CPU sped can possibly be achieved but that's nothing compared to real hardware acceleration.
I really do hope that the next version of Windows Mobile and the included APIs andate some sort of all around graphics acceleration Video hardware acceleration seems to much like a tack on in current WM and the Diamond seems to be the ultimate proof of that.
the only things running are the default progs in the background like touchflo etc. something has been improved as ackys breakout and bejeweled 2 run beautifully in vga aswell, they ran like **** on my touch cruise (slowdown and stutters) in reality this phone ****s all over the cruise performance wise in games and general use.
One thing that was better on the cruise is the 3g reception which i could get inside my house but not with the diamond.
Tomtom6 displays real nice in vga also but takes a longer time plotting routes, much longer!
Try a psx emulator and see if it runs :]
"I really do hope that the next version of Windows Mobile and the included APIs andate some sort of all around graphics acceleration Video hardware acceleration seems to much like a tack on in current WM and the Diamond seems to be the ultimate proof of that."
it would still require drivers even if ms provided them like in normal windows
doubt ms would pay the coins htc dident
Can anyone with a Diamond please run the Futuremark benchmark as it does an open gl test as well as 2d and more, thanks
http://www.futuremark.com/download/spmarkjavajsr184/
I downloaded the suite (clicked all the tests)
Ran it and heres what i got:
http://service.futuremark.com/orbmobile/projectdetails_spmarkjavaweb.jsp?projectId=23157&projectType=20
Looks like it didnt want to do the 3d test......
This is discouraging. Most of the tests don't run, and those that run give really low results? Sounds familiar. I really don't want this to be yet another great hardware with lackluster software support...
Rudegar said:
it would still require drivers even if ms provided them like in normal windows
doubt ms would pay the coins htc dident
Click to expand...
Click to collapse
yes of course it would need drivers
but current Windows Mobile seems to be built with the assumption that there will be no specialized graphics hardware (so everything is build to run in software)
desktop windows is built on the assumption that there will be hardware acceleratio for 3D, video playback and even the GUI, I'm hoping windows mobile 7 sports a similiar approach, thus "forcing" manufacturers who want to ship even baseline WM devices to support their hardware with graphics drivers
also something with the underlying framework in windows mobile seems off when it comes to hw accelerated graphics, as I mentioned earlier it feels like a tack on that wasn't planned in the first place
thus even when we have devices with hardware and drivers it still not universally applicable (check the diamond for a perfect example, it has some level of hardware acceleration but it's not general and system wide for whatever reason)
so what I am hoping for is a standardized, general system wide assumption that future WinMo will have graphics hardware just the same as any PC today has some level of hardware acceleration (in effect making it close to impossible for companies like HTC to ship devices with hardware but without drivers)
jkr284 said:
I downloaded the suite (clicked all the tests)
Ran it and heres what i got:
http://service.futuremark.com/orbmo...arkjavaweb.jsp?projectId=23157&projectType=20
Looks like it didnt want to do the 3d test......
Click to expand...
Click to collapse
Thanks for running the test
Radeon123 said:
Thanks for running the test
Click to expand...
Click to collapse
My Pleasure!
To everyone worrying about gaming and movie performance i wouldnt worry at all,
The latest coreplayer has no lag in high quality films
Ive tried loads of astraware native vga games and they run flawlessly, with soe tweaking as shown on other threads the interface is now ery quick. I wouldnt bother stressing yourselves over the performance as its stellar for the size of the device.
jkr284 said:
My Pleasure!
To everyone worrying about gaming and movie performance i wouldnt worry at all,
The latest coreplayer has no lag in high quality films
Ive tried loads of astraware native vga games and they run flawlessly, with soe tweaking as shown on other threads the interface is now ery quick. I wouldnt bother stressing yourselves over the performance as its stellar for the size of the device.
Click to expand...
Click to collapse
640x480 movies? (Coreplayer played those fine up until the latest Kaiser ROM)
3D games or regular 2d ones? (basically all astraware games run just fine on my tytn ii for an example)
I'm not trying to rain on your parade, it just seems as if the Diamond is basically missing the performance some of us thought it to have. (Though that's not to say that the performance is poor)
UPDATE ON CALL OF DUTY: Works absolutely awesome, NOT using minimal settings, i was able to play pretty well. NOTE: Tytn2 and Touch Cruise was NOT able to play due to heavy lag even with minimal settings. Game was perfectly fine, with except with just a small little, not lag, but looks like the rendering was a bit slow as i looked around, when i used hardkeys and stylus at the same time. NOTE: ALL pdas lag in gaming when using hardkeys and joystick at the same time. However, it was minimal, and call of duty was enjoyable to say the least. SO yes, it DOES have graphic accelerators. Proper benchmarks will be done when i have proper time.
UPDATE. SPB benchmark seems to hang. cant run it. hangs at testing word document.
http://forum.lowyat.net/topic/711698
Baronic said:
UPDATE ON CALL OF DUTY: Works absolutely awesome, NOT using minimal settings, i was able to play pretty well. NOTE: Tytn2 and Touch Cruise was NOT able to play due to heavy lag even with minimal settings. Game was perfectly fine, with except with just a small little, not lag, but looks like the rendering was a bit slow as i looked around, when i used hardkeys and stylus at the same time. NOTE: ALL pdas lag in gaming when using hardkeys and joystick at the same time. However, it was minimal, and call of duty was enjoyable to say the least. SO yes, it DOES have graphic accelerators. Proper benchmarks will be done when i have proper time.
UPDATE. SPB benchmark seems to hang. cant run it. hangs at testing word document.
http://forum.lowyat.net/topic/711698
Click to expand...
Click to collapse
I would love to see a youtube video of COD on the diamond. Can you please post. I would really appreciate it.

HTC Diamond G-Sensor - New Use IDEA!!! MP3 Playback speed adjustment for runners

Hi ...
Various manufacturers have come up with sensors and software (even special running shoes) as accessories to iPod etc to allow beat analysis + playback speed modification based on a runners pace (detected by a pedometor).
I'm thinking, as a runner, and an owner of the very capable Diamond, that the G-Sensor could do this very job.
I personally run, using the Diamond as an MP3 player, with it mounted in a tiny arm band holder.
The very nature of the position of the phone will produce "G" signals which will match the pace of my running.
If this was combined with a fairly standard "Beat analysis" algorithm in an MP3 player, it should be possible to adjust the speed of MP3 playback (within margains) to match the running pace.
Does this sound like a reasonable idea ?
If so, is there anyone out there that has the skill and time to develop such an application ?
I'm sure it would be very popular.
I have lots of ideas about how it would work and what parameters would be useful to adjust etc.
Looking forward to any responses.
Interesting, and probably the movement data could be used for a pedometer as well, could be a battery efficient way to track running distance.
I just set up yesterday my Diamond to play MP3's via WMP and track my running with RunGPS at the same time, using the wired remote to control the tracks. Very cool. If you are a serious runner/cyclist I suggest you try RunGPS, you can export to google maps etc but the feature I like the most is you can get voice announcements over your headphones e.g. announce your current speed, average speed, distance run etc etc every 5 minutes. I have just started training for my first marathon so it's good to help me learn to keep a constant pace (aim is to finish under 4 hours, and most importantly just to finish....)
GPS obviously hits the battery life, running for 1.5 hours yesterday with rungps and mp3 playing took my (Stock) battery from 100% to 50%.
Hiya Bigruss ...
I've taken a look at the trial version of RunGPS - it looks great. I'll give it a try this afternoon on my half-marathon training run (ING Amsterdam).
I see this chap has plans to add a pedometer function based on the G-Sensor in his very nice GPS Cycle Computer software.
http://forum.xda-developers.com/showthread.php?t=424423
I'll keep an eye on that!
Bit more info for this idea
A few more ideas on this ...
I would imagine that the G-Sensor / Pedometer area isn't too difficult, as mounting the phone on the arm creates a steady swinging action in direct correlation to your pace.
BUT the MP3 adjust side requires several things :-
1) An MP3 player that will adjust playback speed without pitch adjustment. (Many do this now within reasonable limites, but not the built in one).
2) A beat analysis program to establish where possible a number of BPM in the music (easier with dance music etc) - similar algorithm used in all the visualizations for WMP etc.
3) G-Sensor based pace rate analysis.
4) Interface between the two with some adjust parameters from the user.
I think it's pretty complicated! But it would make the diamond a seriously impressive partner to the thousands of runners out there.
Anyone up for the challenge ?
P.

Windows Phone 8 questions

Based on what I've seen today it still has no:
- system dictionary for definition lookup(only for predictive text). The Kindle App does nothing when I press & hold on a word, unlike on my iOS device.
- hi-speed media scrubber for music. you know the little round knob on the progress bar that allows you to move the time index to any point in a song or video.
- unified search aka Local Search(apps, music, videos, contacts, emails)
The music app is pretty bad. I had several attempts to build a proper one, but the developer can not interact with the music library, other than playing existing playlists or songs.
You can't make custom playlists(actually you can, but it very, very, VERY complicated and prone to error and simply does not worth the shot), change the order of music inside the list and stuff like that for a third party app, and that sucks.
There are no new APIs for XNA (which is used to access the songs in the phone) so there is no way of making one.
If there is something I can say it is not right on WP, that's the music app.
mcosmin222 said:
The music app is pretty bad. I had several attempts to build a proper one, but the developer can not interact with the music library, other than playing existing playlists or songs.
You can't make custom playlists(actually you can, but it very, very, VERY complicated and prone to error and simply does not worth the shot), change the order of music inside the list and stuff like that for a third party app, and that sucks.
There are no new APIs for XNA (which is used to access the songs in the phone) so there is no way of making one.
If there is something I can say it is not right on WP, that's the music app.
Click to expand...
Click to collapse
Does that imply that there´s the same limitation for video? ...and ...as a result of that a videoplayer with support for more codecs is very unlikely to ever happen?
TarKin said:
Does that imply that there´s the same limitation for video? ...and ...as a result of that a videoplayer with support for more codecs is very unlikely to ever happen?
Click to expand...
Click to collapse
The File-Assosciation feature in WP8 works like this. Your App can define certain file endings (e.g. .mkv) which it can handle. If those are found on a SD-Card or downloaded the according registered App is then started for those files. The App can then do whatever it is it does as long as it keeps to reading the file (the original can't be manipulated although the app could copy it into it's isolated storage and manipulate it their). But there is one Caveat - there are several file extensions that are reserved for the OS which means that 3rd party Apps can't register for them. One of them is .mp3. Avi is another one of those (you can look them up in MSDN).
.mkv on the other hand is an extension that Windows Phone itself does not know so people could build Apps that would be able to consume them. Given that we now have Native Code capabilities writing a decoder or recompiling one written for another platform is possible, though it remains to be seen wether anyone will put the effort into it.
StevieBallz said:
The File-Assosciation feature in WP8 works like this. Your App can define certain file endings (e.g. .mkv) which it can handle. If those are found on a SD-Card or downloaded the according registered App is then started for those files. The App can then do whatever it is it does as long as it keeps to reading the file (the original can't be manipulated although the app could copy it into it's isolated storage and manipulate it their). But there is one Caveat - there are several file extensions that are reserved for the OS which means that 3rd party Apps can't register for them. One of them is .mp3. Avi is another one of those (you can look them up in MSDN).
.mkv on the other hand is an extension that Windows Phone itself does not know so people could build Apps that would be able to consume them. Given that we now have Native Code capabilities writing a decoder or recompiling one written for another platform is possible, though it remains to be seen wether anyone will put the effort into it.
Click to expand...
Click to collapse
ok. i was mainly into psp dev. before, and never had a winphone in my hands so far.
but if you say that´s possible, then i´ll go for the lumia920, reg. for a dev account and see what i can do
StevieBallz said:
The File-Assosciation feature in WP8 works like this. Your App can define certain file endings (e.g. .mkv) which it can handle. If those are found on a SD-Card or downloaded the according registered App is then started for those files. The App can then do whatever it is it does as long as it keeps to reading the file (the original can't be manipulated although the app could copy it into it's isolated storage and manipulate it their). But there is one Caveat - there are several file extensions that are reserved for the OS which means that 3rd party Apps can't register for them. One of them is .mp3. Avi is another one of those (you can look them up in MSDN).
.mkv on the other hand is an extension that Windows Phone itself does not know so people could build Apps that would be able to consume them. Given that we now have Native Code capabilities writing a decoder or recompiling one written for another platform is possible, though it remains to be seen wether anyone will put the effort into it.
Click to expand...
Click to collapse
I haven't had the chance to look over what the native code can do and what it can't do, but it is to be expected that it will have limitations, just like C# has.
You can render images (obviously) and output them using Direct3D which is pretty much what e.g. VLC does on the Desktop. You have complete read access to files on the SD-Card for your registered filetypes. MKV could be registered, MP3 or AVI could not (because they are in use by the system already).
But of course you would not be able to offload processing to the dedicated decoding units like with the built-in Codecs, which will mean more processor utilization and worse battery life. Still as a programmer I don't see too many actual road blocks (but it's a bumpy road to do this to be sure).
@TarKin: before you drop the money perhaps it would be best to start looking into the SDK. I'm not an expert in Multimedia-programming by any measure so you might be able to spot problems in there beforehand.
If you're still going for a L920 with these uncertainties for your use-case: welcome to the family, I'm anxiously awaiting mine.

Nexus 7 Grouper Custom ROM for Low Memory Usage Better Sound More Data Onscreen

I have been working on a custom rom for my own peronal requirements, namly
1) low memory use
2) The best true hi-fi sound possible from a nexus 7
3) Getting the most data onscreen as possible
I decided to share my findings in hope that other more knowledgeable can point me in the right direction for my next step
1) The lowest memory use rom ( flashed as stock, ie no extra mods and kernel that came with the mod ) i have tried ( having tried about 20 different roms, 32 if you include updates ) is the Vanir based PRIME rom by prime directive
http://forum.xda-developers.com/showthread.php?t=2098139
As standard that reads an average of 400mb on a newly installed system ( after a full wipe including internal sd data ).
Obviously apps squew these statistics so tests are done with only the OS going, ie no app loaded. In my tests i used a custom gapps with only framework,login,setup,and phonesky, later i integrated those into my test rom.
Now if we flash a trinity ( alpha3 1700oc ) or Omega kernel that goes down to approx 300mb
Now if we load Rom Toolbox Pro, and advanced freeze the crappy google services from playstore and framework ( and freeze the downloaded services altogether ) this goes down to 270mb ( and no loss of function in playstore )
On my test system with the test rom i am using ( incorporating all the above and including multirom ) and 60+ apps ( mainly programming engineering git etc some autostarting ) i am running at 344mb ( measured through settings>apps>running ) or 260mb measured through Trickster mod.
2) I have found combining the KingBeats alsa binaries with V4A frontend gives the best sound in 2 scenarios.
a) Listening through high quality headphones, obviously you will be listening to FLAC's or raw WAVES ( maybe some of the other more esoteric lossless compressors ) and you DO NOT WANT any undue post processing of the digital audio stream ( ie equalizers and various audio effects which claim to "enhance" the sound ) so you use Andless ( which i have now included in my test rom ) which hits alsa directly bypassing the entire android audio enhancement chain. This with the much improved alsa binaries this gives the best sound possible with the on-board electronics.
b) Listening to radio etc through external portable speakers, Bluetooth or equivalent, or listening through crap headphones. Here quality counts less than portability and convenience and big benefits can be gained from post processing the audiostrem, so you are probably listening to streamed MP3 or AAC and possibly further streaming to a Bluetooth device over a VERY low bandwidth link, In this situation i use the included V4A settings util, which seems to be the best in this genera, just turn it on and play with the many settings till you get the mix you desire, this will in no way interfere with the sound quality from andless
3) I have my dpi cranked up to 140 and use my little finger and a stylus, i would like to go further and use desktop mode ( available from trhe power menu ) permanently, unfortunately There is a bug with the pie controls, and pie is not great anyway, so i am looking at integrating this project http://forum.xda-developers.com/showthread.php?t=1788518
which has a really sweet touch navigation interface
I know my way round C a bit, lots of linux distro experience, not bad at bash, zero java
What do you guys think is my next step, do i need to learn some java and get hands dirty or can i find what am after out there somewhere
I been trying to find a very fast low ram setup myself in order to data log stuff for my vehicles. My best find so far was SLIMbean (everything not needed erased or frozen), along with Trinity (not current release). Kernel settings played a large improvement setting i\o to deadline, and oc to 1500-1600. Haven't tried the rom your specifying for this experiment, but will play with that. I need to log ~20 inputs at 1hz (1sec) for a few min, so a lot of read and writes happening at the same time.
gokart2 said:
I been trying to find a very fast low ram setup myself in order to data log stuff for my vehicles. My best find so far was SLIMbean (everything not needed erased or frozen), along with Trinity (not current release). Kernel settings played a large improvement setting i\o to deadline, and oc to 1500-1600. Haven't tried the rom your specifying for this experiment, but will play with that. I need to log ~20 inputs at 1hz (1sec) for a few min, so a lot of read and writes happening at the same time.
Click to expand...
Click to collapse
Prime should be good for that, i think you'll be surprised at the stats for memory, be wary thou Prime 04-02 ( which is what im experimenting on ) has quite a few unresolved bugs, and since no one seems to run any kind of bug tracker ( bugzilla folkes ! ) they will only get resolved if and when Prime directive gets a new computer and finds them himself.
If you get really stuck knock together a specific linux setup and run it under multirom, you can use any of the linux based custom kernels ( that have the kex patch ) running init on a custom userland if your running a single application without xorg you can just init straight into it and cut out all the normal android and linux userland crap, just pick and compile what you need ( linux from scratch is your friend here ) to run your app, if its anything to do with linux its dependencies will be well documented. The obvious problem is user input since you dont have a keyboard and you are prob using the usb for you datalogger, any osk will mean xorg and a shed load of deps, but if its a auto setup maybe you can do with the 3 hardware buttons ?( accessible through acpi and udev rules ) for on-of etc, that will save you a shed load of ram.
If you really need input and an osk try Linux from scratch with E17, E17 is built for touch ( and multi-touch) screens so is sweet, and can run in as little as 100mb all in
I plan to turn this hunt into a rom one day, am hesitant to let my experimental one out since i have no real code input, ive just been swapping apk's bins etc and writing scripts, dont really constitute a new rom

Categories

Resources