yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze General] Sleuth255:
Way cool stuff btprice2001 :)

You log contains no $GPVTG! :eek: That means that HTC GPSID is deriving speed and heading info from position data. TomTom can't navigate without $GPVTG so issues no gps device found. No wonder there's speed lag...

Heh... the NaN error is all HTC too :rolleyes:
[Touch Pro, Fuze General] Sleuth255:
Not all the time. When I have good signal the lock sticks. If I have weak signal (like inside a house) then it can bounce in and out. Fire up visualgpsce and watch the sequence inside and you'll see what I mean.
[Touch Pro, Fuze General] mindfrost82:
Mine will get a fix and lose it after a second, but it usually only does this for about 15-30 seconds, then it'll lock on and keep it.
[Touch Pro, Fuze General] Ninja1:
OK, I still have position and speed lag, but it is better than with the stock 2.06 settings. Another odd thing...both Google Maps and Live search show my position as consistently about 30 feet or so west of my actual position.

iGuidance accurately shows my position when at rest. Speed lag is consistent at about 3 seconds. Positional lag runs about 1 second at 30mph, and increases about 1/2 second per 10mph.
[Touch Pro, Fuze General] mindfrost82:
That sounds like what I have with the Da_G 2.06 ROM already...which is usable, but still off compared to my Tilt.

My lag has never been very bad, but it is noticable.
[Touch Pro, Fuze General] Sleuth255:
@ninja1: could you post a reg of your HKLM\System\CurrentControlSet\GPS Intermediate Drivers Key and all subkeys/values plz?

Just load up dotfred go to the key, tap/hold and choose export.
[Touch Pro, Fuze General] btprice2001:
Not really sure what any of that means but glad I could help:) I could use Tomtom just fine with Da_G's regular roms btw. It's only with the GPS-stripped version that I get "No GPS device!"
[Touch Pro, Fuze General] Da_G:
TomTom is probably looking for the GPVTG sentence and not finding it, so it's returning that error.. google maps can operate fine without that sentence though. How odd that it's not coming through.. the gps should be generating that..
[Touch Pro, Fuze General] noellenchris:
that happened earlier when I set the Max setting to 128.. I switched back to 256 and then I eventually went outside and after a few soft resets and pwr off's it found sats and started acting normal again. I'm going to try something between 128 and 256 next.
[Touch Pro, Fuze General] Sleuth255:
I would have expected that too. Also: no "GPVTG" string found in gpsid_htc.dll. very strange...

edit: I guess that if gpsid_htc.dll isn't generating it then gpsid_ms.dll might be supressing it from the raw data stream for some reason.
[Touch Pro, Fuze General] Ninja1:
As requested.
[Touch Pro, Fuze General] Sleuth255:
Thx, no surprises there. How do you have iGuidance set up? COM4: and at what speed?

edit: crap.... whatever happened to Eli Manning today????
[Touch Pro, Fuze General] Jouke74:
Jouke74

For all of you which have the GPS going on and off check the value of SleepOnNoData. If this value is lower then your polling interval, it means that your GPS will be turning on and off constantly. This is probably not good for the GPS chip, and also not for obtaining a fix.

Eg. SleepOnNodata = 100 and PollingInterval = 300 means that your GPS will be turned off two times during one PollingInterval... at 100 and 200 milliseconds it does not get data, so it goes to sleep, then on the third it gets data from the satellite polling.

Put the SleepOnNoData back to 1 second, which is 1000. For the Lag and Speed it makes little to no difference, but it does for the first fix (I measured).

I posted this already earlier, but people seem to have ignored my post.

Comparing my HTC (Google maps) with my TomTom HD one it shows nearly identical readings (in speed and lag) in my car having around 9 sattelites driving 80 Km / H with this registry settings:

- HKLM\SYSTEM\CurrentControlSet\GPS Intermediate Driver\Drivers\GpsOneDevice\PollInterval = 250

- HKLM\SYSTEM\CurrentControlSet\GPS Intermediate Driver\Drivers\InputBufferSize = 128

- HKLM\SYSTEM\CurrentControlSet\GPS Intermediate Driver\Drivers\OutputBufferSize = 128

- HKLM\SYSTEM\CurrentControlSet\GPS Intermediate Driver\Drivers\SleepOnNoData = 1000

- HKLM\SYSTEM\CurrentControlSet\GPS Intermediate Driver\Multiplexer\MaxBufferSize = 256

COM4:

Baud = 4800

ROM all original:

Radio 1.02.25.19

Rom 1.90.478.2 Dutch

Protocol 52.33.25.17U

PS. I don't have TT7 for my HTC and I won't install an illegal version.
[Touch Pro, Fuze General] Sleuth255:
Nice post. Forgot about that little ideosyncracy. Funny that it didn't crop up until I loaded the Blackstone radio though. Testing now...

edit: well, the fix bounced once then locked while I was inside the house.. That's more or less what I was seeing before.

edit2: yep confirmed with a hot fix. Lock still bounces in an out a bit using visualGPSce then locks after a few seconds.
[Touch Pro, Fuze General] Da_G:
Ok, I just got done doing a bit of driving with Google Maps + MS GPSID, and the position lag is most definitely still there. I did 3 soft resets while I was out and I noticed differing behavior each time (one time it was off by about 30 ft as someone mentioned before, ive also seen that before)

So i'm going to say that all the tweaks we are doing are probably just creating a placebo effect more than anything.. unless gpsid_htc.dll is passing the values farther up the tree. Don't think so, but rather than guess, i'm starting to poke my nose into gpsdriver.dll..

I'm thinking either gpsdriver.dll or the radio rom, at this point.
[Touch Pro, Fuze General] Ninja1:
Com 4 @ 9600.

As for Eli, WTF? It was like watching a slow death...
[Touch Pro, Fuze General] mindfrost82:
No way we could pull some of those dll files from the Tilt could we?

I have no position lag at all on my Tilt.
[Touch Pro, Fuze General] Da_G:
It's worth a shot, i suppose. Find me a link to the latest tilt official ROM and i'll yoink the gps related stuff and see what's compatible.
[Touch Pro, Fuze General] mindfrost82:
Here ya go: http://www.htc.com/us/SupportDownload.aspx?p_id=67&cat=2&dl_id=94

Just do the two dropdown boxes at the bottom and click on the button.
[Touch Pro, Fuze General] btprice2001:
Here is the latest Tytn II as well

http://member.america.htc.com/downl....0_radio_sign_25.83.40.02_1.65.17.56_Ship.exe
[Touch Pro, Fuze General] Da_G:
Right-o! It's third on my list after fixing those 2 broken cabs in my ROM thread.. i might be out for the rest of the day so i'll probably get to it tomorrow. :)
[Touch Pro, Fuze General] Sleuth255:
Probably won't affect anything, but I'd try bumping the speed to 115200.

re Eli: Mob must've told him to throw the game....
[Touch Pro, Fuze General] X2D:
Flashing Da_G's rom then going for some runs around and probably to the store to get food. Will edit this post or reply with results with absolutely no tweaks just GPS Test preinitialize after quick GPS downloads then after the lock on close GPS Test and try Garmin on the way there then iGO on the way back, if I see no change in position lag im going to install the second cab listed for the GPS tweaks. All while DRIVING! This is safe and effective ;)
[Touch Pro, Fuze General] Sleuth255:
It'll be interesting to see if those navigation pgms see the gps. The test rom doesn't issue $GPVTG statements for some reason. TomTom won't run without that sentence. Let us know!
[Touch Pro, Fuze General] Ninja1:
OK, bumped to 115200. This changed the warm TTF to 3 seconds while in the house. Not sure about lags as I am watching SD and Pitts play...can't let anything interrupt the Playoffs!
[Touch Pro, Fuze General] Ninja1:
Oh Oh. The wife and kids are home...time to be a Dad and not a tester. See you all 'morrow noc.
[Touch Pro, Fuze General] X2D:
GPS Log attached is from Beeline GPS, one of the only two programs that worked with this setup (did not try google), Garmin XT allowed me to lock on after a cold start as did Beeline GPS. Unfortunately iGO did not work. I did not have Tom Tom installed on my card so I did not test that and this is without the fix cab. Going to test that in a little bit.

Edit:

Just went on a further drive, installed the GPSIDRegFix and turned device off for 15-20 sec and turned it back on, 30 min later and it would not get a fix. GPS Test would come really close (or what it looks like) to getting a fix or get a fix for maybe 1-2 seconds then drop.

Uninstalled, turned device off etc, within 6 seconds got a fix drove home with the nice Garmin lady that told me the best path to take. Sadly I would pass an intersection or an overpass or make a turn and still experience a 2-3 second delay no matter what speed.
[Touch Pro, Fuze General] noellenchris:
On my test today, TT7 was on the money. Hard to count lag. 1 sec or less passing roads. I shutdown TT7 and loaded up my Garmin XT. I had consistent 3-4 sec lag. I will test Garmin again in AM on the way to work using the Intermediate driver instead of the Com4 option. Not sure if it makes a difference, but I thought I read somewhere that using the intermediate driver worked for someone. We'll see. I'm still using the settings below.

HKLM\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer

MaxBufferSize = 256

HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers

InputBufferSize = 256

OutputBufferSize = 128

SleepOnNoData = 1000

HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOneDevice

PollInterval = 250

My Log files are set to 0.

My Performance settings are:

File sys cache = enabled

File sys cache size = 8mb

File sys filter cache = 131072

Glyph cache = 128KB
[Touch Pro, Fuze General] Sleuth255:
Well, it looks like you're reproducing my TomTom results now. Now there are (at least) two. :)

It also looks like TomTom and other navigators differ with regards to position lag. I was wondering about this.

Is TomTom set to use the Built-in GPS device or COM4:? If its COM4:, what speed did you set?
[Touch Pro, Fuze General] noellenchris:
It is using the built in GPS... is that the same as the garmin Intermediate driver? I will see 2morrow. Hopefully no lag (thinking out loud) I own Garmin XT and the 2009 maps for my wife's Garmin. I don't own TT7 and I will only be able to nav in my town with free map...lol

gnite..
[Touch Pro, Fuze General] maw:
Just wanted to say that the BS radio is awesome! Woke up this morning and my battery level didn't budge one bit! COOL!

Now to test the GPS....
[Touch Pro, Fuze General] maw:
Just tested the GPS, still a lot of lag! I'm going to try the settings from noellenchris and see if that reduces the lag. I still have position lag....
[Touch Pro, Fuze General] land2634:
Just wanted to state that on several different devices, Garmin always had HORRIBLE lag that led me to believe it was software related. Other people I know noticed the same. If I had to estimate, the lag was about 8-10 seconds at least, regardless of device. The position would only update once every 2-2.5 seconds.
[Touch Pro, Fuze General] maw:
I tested the GPS with noellenchris's settings and no ****, almost 0 lag! WOW! It trails about a second position wise and full stop from 50 to 0 in 4-5 seconds!

I really got to say, this BS radio is the bomb!

- better sound reception/quality

- better GPS accuracy

- better battery!

Damn... why didn't they make this radio for the Touch Pro as well?! It would save a lot of people headaches and don't even mention the hours! I was wondering, can't Da_G take apart this radio and extract the drivers necessary and put them in a Raph radio?? But there are so many good things in this radio... Let's see what HTC comes out with...
[Touch Pro, Fuze General] Brendo:
Well I've been using stock rom and radio, so now I'm gonna try give a new radio a crack since my current one seems not to even get detected (always shows 'no gps device')
[Touch Pro, Fuze General] mindfrost82:
I'm still having the same amount of lag, even with the new reg settings. Maybe mine was never as bad as some of your's, but its still there, about a second or so, which, as I mentioned before, is still usable.

No registry setting I make seems to make any noticable difference at all with my lag.

One thing I noticed with my speed lag is that the cursor usually stops within a second or so, but the speed display is still 3-4 seconds behind that. So even though the cursor stops almost when I do, it'll still show I'm going 5-10mph for a few seconds.

My position lag has almost always been 1-2 seconds, no matter what registry changes I've made.

I'm going to wait for Da_G and hopefully he can get some of the DLL's from the Tilt(Kaiser) to work and we can test that theory.

Sleuth--If we would stop getting snow I would make a video like you did, but its too dangerous with snow on the road since I would have to hold my camcorder in one hand lol.
[Touch Pro, Fuze General] s.bonito:
THANX a lot, that works fantastic... after a few seconds it was synchronized. I'm using Garmin Mobile XT with [ROMeOS²] [GER] v1.70.3.
[Touch Pro, Fuze General] Sleuth255:
Position Lag Summary

Since people have begun reporting success at curing this, I thought I'd post a summary:

I've been busy tracking reg settings and these are the ones that appear to be having the most impact:

MaxBufferSize in Multiplexer set to 256

PollInterval in GPSOneDevice set to 250

SleepOnNoData in Drivers set to 1000

CurrentLogFile and OldLogFile in GPS Intermediate Driver set to NULL

I have attached an updated Cab called GPSIDregfix.cab that sets these values.

ROM versions may impact this as well. It appears that the v2.0 or greater Diamond GPS drivers are involved with people who cure position lag

Radio versions may impact this as well. All posters who have cured position lag are running the 1.10.25.25 Blackstone radio. 1 Poster (me) has also achieved this with the 1.02.25.28 Radio. No posters have reported cured position lag using any other radio atm.

Also, it has been noted that different GPS Navigation software is impacted differently. Garmin software has been cited as being notorious for position lag. TomTom v7 can be achieve 0 position lag and is fully usable for navigation. The status of iGO is that settings/radio updates can reduce position lag to mostly 1 or less seconds. 1 poster has reported here and he considers it satisfactory and usable for navigation.

Edit: cab updated. It was pointed out that SleepOnNoData somehow was left at 100 with the original.

Edit2: now CurrentControlSet has a "0" in it lol. Fixed... what I deserve for changing cabs prior to 2nd cup of coffee :o
[Touch Pro, Fuze General] maw:
I have been using only iGO8 version 8.3.2.64873 all the time. Like I said in my earlier postings TT7 hasn't been satisfactory to me. With the new BS radio and settings I have practically no position lag (just 1 maybe sometimes 2 seconds) and speed lag has a delay in the navigation when full stopping of about 4-5 seconds eventhough the position of the GPS has stopped on the screen.

BTW I see that noellenchris has his glyph cache set to 128 KB under performance in advanced config. I have mine set to 32 KB as advised, will changing it to 128 KB make it better??
[Touch Pro, Fuze General] Sleuth255:
Kaiser GPSID

I've been looking at this myself. My 3.0 Sleuth Kaiser ROM doesn't have a gpsdriver.dll. Instead it has a gpsid.dll and a gpsid_qct.dll. The second dll is referred by the GPSID key and loaded in Drivers\Builtin. The first isn't loaded as a driver or service. Both are stored as modules in the ROM. Kaiser also uses a version 1 GPSID (ours is a version 2). Hopefully this GPSID will work with Raphael's RIL. I'm sure that either Da_G or I will have more on this itnf.
[Touch Pro, Fuze General] Sleuth255:
@maw: I made the statement I did about iGO because you haven't declared it cured, merely acceptable for navigation. I would consider "cured" something equal to what I posted in the video. edit: (after re-reading the summary) I'll modify my post since you think its satisfactory.

Curing or reducing speed lag will be interesting. I need to find out what's going on with $GPVTG especially in light of the fact that either the HTC GPSID generates it in some as yet unknown way or the MS GPSID suppresses it for some as yet unknown reason.
[Touch Pro, Fuze General] p50kombi:
Curious, has anybody tried the new xperia radio rom? 1.10.25.18?

I've just got it loaded, but haven't had time yet to try it using TomTom.

I've added the reg edits manually, but to be honest, I always had very little lag.

So it's hard for me to compare.

Using pcfsabre's rom's..

I used the 1.10.25.28 radio, which performed pretty good before.

If anybody's interested I can post results tomorrow after driving home tonight with the .18 radio :)

ps. of the record, Sleuth, any progress in removing ezinput (or et9) but keeping fully functional hw keyboard?

I haven't had any luck yet, and tried loads of different things...
[Touch Pro, Fuze General] p50kombi:
woops..

Sleuth, after looking into your CAB, I think your cab sets the SleepOnNoData to 100 instead of 1000..

Just thought I'd let you know :D
[Touch Pro, Fuze General] Sleuth255:
The original cab did that. The one I just posted should have it reset to 1000. I'll modify the attachment in the original post.

edit: Crap this one has it too.... must not've saved the file b/f exiting notepad. Damn! uploading fix now...

SleepOnNoData hasn't been confirmed to change much however. I've been running at 100 forever. A recent change to 1000 appeared to make no difference. I included it because the GPSID references it and it just makes sense that SleepOnNoData should be greater than PollInterval.
[Touch Pro, Fuze General] maw:
@sleuth: well if you put it that way, it ain't cured as yet... let me put it this way, it's getting better using this prescription, but it will need a proper vaccine (radio/rom) to completely cure it :) I kept to the medical terminology just for kicks LOL
[Touch Pro, Fuze General] p50kombi:
No worries :)

Just thought I'd give you a heads up :)
[Touch Pro, Fuze General] Sleuth255:
Slightly OT but I just noticed my battery on the second day after recharge is at 70%. :eek:
[Touch Pro, Fuze General] Dyaus:
Been following this thread and doing some testing myself and figured I'd throw in my 2 cents.

In the last couple of days I switched to BS Radio 1.10.25.25 and PROven ROM 1.11. I also applied the registry settings noellenchris posted back a couple of pages. My position lag is now virtually zero. I do still have speed lag though. This is with TT 7.

I did notice that this setup seems to take longer to get a cold lock then my previous setup which was PROven ROM 1.09 and Radio v1.02.25.32. I used to be able to get a cold lock in a a couple minutes now it takes about 5 minutes to get a cold lock.

I usually fire up VisualGPSce until it gets a lock and then fire up TT or Google Maps and they'll get a lock pretty quickly (<20 seconds).

I don't really mind the speed lag, so having the positional lag working good makes me happy =).

I don't mind doing any tests to help out, so if anyone would like me to test anything, let me know.
[Touch Pro, Fuze General] mindfrost82:
Sleuth: One of your cabs is messed up because now I have a key:

HKLM\SYSTEM\Cur0rentControlSet with some of the GPS settings in it lol.
[Touch Pro, Fuze General] noellenchris:
I've played a lot with the glyph setting on my Hermes. Going to 32KB was definately noticeable update on the Hermes. So I guessed that the 128KB on the TP would help and it has plenty of RAM. Otherwise, I really haven't tested, I just assumed it would help.

Glad my settings seemed to help you. I did change the maxbuff setting to 128 today and really didn't notice a difference. Garmin Xt still is laggy with either the Intermediate driver or Com4 setting...hmmm
[Touch Pro, Fuze General] maw:
Ok, I changed it to 128 KB.... I will check and see what kinda difference this makes. Maybe it will make my navigation work faster in the process hopefully getting rid of the last 1-2 seconds lag.... :)

Will report back....
[Touch Pro, Fuze General] noellenchris:
Do you have position lag with your Garmin Mobile XT? I do...but not with TT7.

I'm looking into the program for the TouchHD that reduces the screen resoulution. I don't know how to get it to work on the TP. If I could reduce the resolution to 240x320 then Garmin may repaint the maps quicker....plus a lot of qvga apps would also work... Any ideas?
[Touch Pro, Fuze General] X2D:
I am going to test the latest GPS fix cab you posted Sleuth with a different ROM again and then Da_G's again.

I am really trying to find a solution that isn't going to make me pay money to unlock my phone which honestly should be a free service but I can't complain, people have to make money for stuff so it's whatever, but if I happen to jack up this phone and send it back under warranty and reflash all of the original stuff then wouldn't that be wasted money? If I got a new phone would I have to re-unlock it?

Meh, will report back my findings with this latest GPS cab using the .28 Radio on T.i.R's ROM (reflashed last night out of boredom, I flash my phone at least once a day it seems like).
[Touch Pro, Fuze General] s.bonito:
@noellenchris Not so far... But in the next days I'll drive a longer distance... Next Monday I can tell you more ;)
[Touch Pro, Fuze General] noellenchris:
Does anyone know how to change the DPI? Or of software to change DPI, if we change that then we may be able to reduce screen resolution and speed up graphics....? Still digging into GArmin's lag.....:confused:

I found what I was looking for...... http://xdaforums.com/showthread.php?t=327830
[Touch Pro, Fuze General] Sleuth255:
damn if it aint true lol.... WTF, can't type today...

fixed (if you can believe that)...
[Touch Pro, Fuze General] Da_G:
I still think we need to be looking elsewhere than the GPSID settings for this problem.. microsoft GPSID is known not to have this issue regardless of settings, and it exhibits the same problems, to me that means gpsid_htc.dll is absolutely not the source of the issue(s)..

I'm looking at the tilt stuff now, will post back w/more info in a bit..

Wierd stuff on the GPVTG sentence btw. I can't find anywhere that it's generating it in the drivers.. really odd that msft gpsid isnt spitting it out.
[Touch Pro, Fuze General] Da_G:
tilt uses taiserver.dll to handle gps commo rather than communicating directly to SMD: port which uses RIL, not too sure if it'll work, but it might.. id give it a 20% chance.. no time to port it now, on the way out the door :) I'll check it out more in depth in a few hours :)
[Touch Pro, Fuze General] Black1982:
I installed that cab too and i have the same wrong registry key! Should

i just delete that key?

GPS still works btw.
[Touch Pro, Fuze General] X2D:
Just installed it and it's fine for me, will test on the drive home with again Garmin, iGO, OCN8, TomTom, BeelineGPS and see what happens!
[Touch Pro, Fuze General] DSF:
How's on when changing directions? Does it 'hang' for a while then throw to actual position? (see Sleuth video).

If yes, try a route simulation. If in the simulation everything is ok.. then you still have positional lag
[Touch Pro, Fuze General] Sleuth255:
The bad key won't be used. Delete it if you like a clean registry I guess. You can also uninstall it then install the latest one I posted.