Author Topic: VemsTune graphics problems (gauge update speed)  (Read 8166 times)

Offline mattias

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1075
  • BHP: 41
    • Sävar Turbo Site
VemsTune graphics problems (gauge update speed)
« on: April 13, 2011, 12:14:55 pm »
If you experience "lag" and display problems with gauges and buttons in the menu, you can change a variable in a text-file.

"rtMinRefreshInterval" is the variable, in number of milliseconds between screen redraw.
You find it in the installation directory under config/v3gui.cfg

Check the CPU usage of the VemsTune process, press shift+ctrl+esc and the process manager appears. If the usage is at 100% for the process when online to the ECU then you have issues. Edit and replace the number with a high enough number so that it flows well on your computer,  setting it to 200 would be 5 Hz  = 5 redraws/second. By mistake this is set too low in some releases.

It's not useful to have any faster redraw than the update rate you get from the ECU, which is usually 15-25 Hz.

This can help a lot on some old laptops that have really crappy ATI chipsets with poor 2D acceleration where the CPU has to do the dirty work, which is not nearly as efficient. Obviously if you get a high update rate from the ECU and have this variable set too low (short interval between redraws) then the computer won't keep up. At the moment the redraw is interrupted which can cause graphics glitches, the developers are working to fix that - if it wasn't for that I wouldn't tell you about the variable, so this problem is probably solved by the next release.
« Last Edit: April 13, 2011, 12:16:36 pm by mattias »

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: VemsTune graphics problems (gauge update speed)
« Reply #1 on: April 28, 2011, 03:58:00 pm »
Thank you so much for this information!

Setting the "rtMinRefreshInterval" to 100 instantly fixed my issues.

The easy way to replicate this problem, is to go to ADC CAL or RAW display.
My test bench harness has ADC7 on a trim pot, and my screen just would not refresh any change to the value - UNTIL I clicked on any of the drop down menus, then it would refresh perfectly.

Why was this not sent out in the auto updates? Seems an easy way to fix the issue instantly (set to compromise value of 50-100 to suit all pc's) My value was set to "10" by the way in 3-24-2011.

I don't know about you guys, but I always use an old computer for tuning, suince they get the crap beat out of them anyway.

I have a Dell C400 laptop, with an Intel 82830M Graphics Controller.

I'll try the new 4-26-2011 vemstune as-is and report back.

Offline mattias

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1075
  • BHP: 41
    • Sävar Turbo Site
Re: VemsTune graphics problems (gauge update speed)
« Reply #2 on: April 28, 2011, 04:38:52 pm »

It's set to 60 ms in the 4-26 release, should work out better on most computers, but older laptops will have issues.

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: VemsTune graphics problems (gauge update speed)
« Reply #3 on: September 06, 2011, 09:42:10 pm »
Is somewhat changed during this period? My 20.07.2011 VT keep CPU loaded heavily (yes ATI on T43p with 1600x1200 screen)! But changing of mentioned value seems has no any influence on gauge update rate. Tried 100, 200, 1000 and 10000.  Yes, I resaved file and restarted VT fter changes.

Gints

Offline mattias

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1075
  • BHP: 41
    • Sävar Turbo Site
Re: VemsTune graphics problems (gauge update speed)
« Reply #4 on: September 06, 2011, 11:45:43 pm »
Gints: Make a report about it, use the built-in tool in VemsTune.

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: VemsTune graphics problems (gauge update speed)
« Reply #5 on: September 07, 2011, 08:00:31 am »
Gints: Make a report about it, use the built-in tool in VemsTune.


Is it works? I have sent two report some weeks ago about ve analize but no any response yet.

Offline mattias

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1075
  • BHP: 41
    • Sävar Turbo Site
Re: VemsTune graphics problems (gauge update speed)
« Reply #6 on: September 07, 2011, 11:12:35 am »
Join #vems on EFnet (www.efnet.org IRC) or mail info@vems.hu to get things rolling a bit..