• Welcome to MX Bikes Official Forum. Please login or sign up.
 
March 28, 2024, 01:01:18 PM

News:

MX Bikes beta18j available! :)


MaxHUD plugin

Started by HornetMaX, October 01, 2014, 11:02:44 PM

Previous topic - Next topic

HornetMaX

@GDUBMX: any news ? Issue still there ? Can anybody else confirm ?

Asdrael

I don't have that particular issue, however, I sometime randomly have stuff not willing to show. I have to turn the panel in question off and on again to usually fix it. I have up to date stuff to, including the redis.
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord

GDUBMX

Quote from: HornetMaX on March 28, 2017, 01:30:26 PM
@GDUBMX: any news ? Issue still there ? Can anybody else confirm ?

Yep issue still there mate, every bike, every track with or without other elements. It's definitely a micro stutters like cpu throttling, only ever so slightly. The novice/casual pc user wouldn't even notice  I doubt but as an enthusiast and builder it bugs the crap out of me! Haha. Do you want a comparison video mate?
<br />GDUBMX YouTube<br />

HornetMaX

Quote from: Asdrael on March 28, 2017, 01:54:42 PM
I don't have that particular issue, however, I sometime randomly have stuff not willing to show. I have to turn the panel in question off and on again to usually fix it. I have up to date stuff to, including the redis.
When it happens, screenshot and short description and I can have a look.

Quote from: GDUBMX on March 28, 2017, 02:39:23 PM
Yep issue still there mate, every bike, every track with or without other elements. It's definitely a micro stutters like cpu throttling, only ever so slightly. The novice/casual pc user wouldn't even notice  I doubt but as an enthusiast and builder it bugs the crap out of me! Haha. Do you want a comparison video mate?
Yes, video if you can (but I don't know if it will be visible in the video). As an alternative, you could use software that logs fps (MSi afterburner allows this, surely others too) and do one lap with/without the offending widget activated. You can also PM/email me your MaxHUD.ini (and MaxHUD.log, if it is created).

Random questions:

  • Which widgets do you normaly have ON ?
  • Does the micro stuttering happen with other widgets (e.g. HUDMap surely eats up more than HUDJoypad) ? Or is it only HUDJoypad ?

P.S.
Normally I'm pretty sensitive to stuttering: I have a 120Hz screen and literally hate wild fps variations.

GDUBMX

I only have Rumble and standings on, as I mentioned above even with the other elements switched off there is still a stutter. And as stated in a previous post this is not a vsync issue and I don't drop and frames. It's not a deal breaker as I don't really use that element anyway I was just testing.
<br />GDUBMX YouTube<br />

HornetMaX

Quote from: GDUBMX on March 28, 2017, 06:40:16 PM
I only have Rumble and standings on, as I mentioned above even with the other elements switched off there is still a stutter. And as stated in a previous post this is not a vsync issue and I don't drop and frames. It's not a deal breaker as I don't really use that element anyway I was just testing.
OK. But I was more after a different info.
You said that standings ON, joypad OFF works fine while standings ON joypad ON stutters.
Question: does it stutter with joypad OFF and any other widget/widget combo ON ?
E.g. Joypad OFF + all other widgets ON = stutter or not ? And setting Joypad ON (so all ON) ?

This is just a try to figure out if the problem is localised in the HUDJoypad widget code or not.

GDUBMX

Quote from: HornetMaX on March 28, 2017, 09:29:22 PM
Quote from: GDUBMX on March 28, 2017, 06:40:16 PM
I only have Rumble and standings on, as I mentioned above even with the other elements switched off there is still a stutter. And as stated in a previous post this is not a vsync issue and I don't drop and frames. It's not a deal breaker as I don't really use that element anyway I was just testing.
OK. But I was more after a different info.
You said that standings ON, joypad OFF works fine while standings ON joypad ON stutters.
Question: does it stutter with joypad OFF and any other widget/widget combo ON ?
E.g. Joypad OFF + all other widgets ON = stutter or not ? And setting Joypad ON (so all ON) ?

This is just a try to figure out if the problem is localised in the HUDJoypad widget code or not.

Haha we'll get there mate.. :)

This is what I try to use every session:
Stutters with joypad on
Stutters with joypad on and standings on
Stutters with joypad, standings and Rumble on

Only stutters when joypad is on and that's it. Everything else works fine without joypad on.

If I attempt to use anything with joypad it stutters. Keep everything on and turn joypad off, stutters goes away.
<br />GDUBMX YouTube<br />

HornetMaX

Weird weird weird ... can you send me the .ini and the .log ?

GDUBMX

March 29, 2017, 10:13:27 AM #143 Last Edit: March 29, 2017, 10:25:19 AM by GDUBMX
https://www.youtube.com/v/TV7NHye8ggc

Youtubes bad compression may make it difficult but you can see it.
If you look carefully, when joypad is on and im turning if you look at those toyota tough blocks they jolt to the left over and over. Once off, everything is smooth. 60FPS while recording, no drops at all.

log:
MaxHUD v2.0.7b - 29 Mar 2017, 08:54:47
@Startup - 29 Mar 2017, 08:54:47
    Game        = MXB
    szSave path = C:\Users\Tortu\Documents\PiBoSo\MX Bikes\
    Save path   = C:\Users\Tortu\Documents\PiBoSo\MX Bikes\
    Data path   = C:\Program Files (x86)\MX Bikes\plugins\MaxHUD_data\
    Ini file    = C:\Users\Tortu\Documents\PiBoSo\MX Bikes\MaxHUD.ini
    Log file    = C:\Users\Tortu\Documents\PiBoSo\MX Bikes\MaxHUD.log
    Log level   = 2
    Sprites / Fonts : 21 / 5 (2f + 3v)

   Widget creation ...
      LiveGapBase done !
      LiveGapBase done !
      Helmet done !
      Timing done !
      LiveGapBar done !
      Speed done !
      Fuel done !
      Map done !
      Radar done !
      Standings done !
      Inputs done !
      Joypad done !
      Rumble done !
      Suspensions done !
      Lean done !
      General done !
@END Startup
@RaceEvent - 08:55:00
@END RaceEvent
@RaceAddEntry - 29 Mar 2017, 08:55:14
@END RaceAddEntry
@EventInit - 29 Mar 2017, 08:55:14
@END EventInit
@TrackCenterLine - 29 Mar 2017, 08:55:14
  Segs = 26 (11S + 15A), 914.87m
  FL =      11.50, ST =       0.00
    S0 =     316.39
    S1 =     621.28
  HUDMap ACL segs = 101
@END TrackCenterLine
@RaceSession - 29 Mar 2017, 08:55:14
@END RaceSession
@RaceAddEntry - 29 Mar 2017, 08:55:14
@END RaceAddEntry
@RaceCommunication = 29 Mar 2017, 08:55:14
@END RaceCommunication
@RunInit - 29 Mar 2017, 08:59:46
@END RunInit
@RunStart - 29 Mar 2017, 08:59:46
@END RunStart
  @RaceVehicleData: new iRaceNum = 84
  @Draw: new iDrawState = 0
@RunSplit - 29 Mar 2017, 09:04:32
@END RunSplit
@RunSplit - 29 Mar 2017, 09:04:59
@END RunSplit
@RunLap - 29 Mar 2017, 09:05:31
@END RunLap
@RunStop - 29 Mar 2017, 09:05:38
@END RunStop
@RunStop - 29 Mar 2017, 09:05:43
@END RunStop
@RunStart - 29 Mar 2017, 09:05:44
@END RunStart
@RunStop - 29 Mar 2017, 09:06:20
@END RunStop
@RunStop - 29 Mar 2017, 09:08:05
@END RunStop
@RunDeinit - 29 Mar 2017, 09:08:09
@END RunDeinit
@EventDeinit - 29 Mar 2017, 09:08:11
@END EventDeinit
@RaceDeinit - 09:08:11
@END RaceDeinit
@Shutdown - 29 Mar 2017, 09:08:18
@END Shutdown


.ini

[MaxHUD]
_ini_version=2
active=1
sample_rate=50
notify_events=0
log_level=2
[HUDGeneral]
_ini_version=1
_pos_x={0.200000,0.200000,0.200000}
_pos_Y={0.200000,0.200000,0.200000}
_pos_linked=1
_optlinked=1023
_profile=0
font_fixed={0,0,0}
font_variable={2,2,2}
[HUDHelmet]
_ini_version=1
_enabled={0,1,1}
_optlinked=1023
show_helmet={1,1,1}
top_offset={0,0,0}
bottom_offset={0,0,0}
visor_color={0,0,0}
visor_shade={1,1,1}
vibrate={1,1,1}
helmet_rotation={0,0,0}
helmet_rotation_factor={4,4,4}
helmet_rotation_inverse={0,0,0}
[HUDTiming]
_ini_version=1
_enabled={0,1,1}
_pos_x={-0.157639,-0.157639,-0.157639}
_pos_Y={0.223148,0.223148,0.223148}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_color_light=[255,230,230,230]
_color_dark=[255,140,140,140]
_color_fast=[255,0,128,0]
_color_slow=[255,0,0,128]
size={1,1,1}
mode={1,1,1}
split_hold={2,2,2}
show_background={1,1,1}
[HUDLiveGapBar]
_ini_version=1
_enabled={0,1,1}
_pos_x={0.233333,0.233333,0.233333}
_pos_Y={0.000000,0.000000,0.000000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_color_bar_slow=[150,0,0,128]
_color_bar_neutral=[150,230,230,230]
_color_bar_fast=[150,0,128,0]
_color_text_slow=[255,0,0,128]
_color_text_neutral=[255,230,230,230]
_color_text_fast=[255,0,128,0]
size={1,1,1}
bar_scale={2,2,2}
split_hold={2,2,2}
downsample={0,0,0}
show_background={1,1,1}
[HUDSpeed]
_ini_version=1
_enabled={0,1,1}
_pos_x={0.420000,0.420000,0.420000}
_pos_Y={0.170000,0.170000,0.170000}
_pos_linked=1
_optlinked=1023
_color_lowrpm=[150,0,0,0]
_color_highrpm1=[150,0,128,205]
_color_highrpm2=[150,0,0,128]
_color_back=[255,140,170,180]
size={1,1,1}
use_miles={0,0,0}
hide_speed={0,0,0}
show_thrbrk={1,1,1}
show_background={0,0,0}
[HUDFuel]
_ini_version=1
_enabled={0,1,1}
_pos_x={0.910667,0.910667,0.910667}
_pos_Y={0.050000,0.050000,0.050000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_color_light=[255,230,230,230]
_color_dark=[255,140,140,140]
size={1,1,1}
show_background={1,1,1}
[HUDMap]
_ini_version=1
_enabled={0,1,1}
_pos_x={0.866667,0.866667,0.866667}
_pos_Y={0.200000,0.200000,0.200000}
_pos_linked=1
_optlinked=1023
_color_track=[255,128,0,0]
_color_back=[200,0,0,0]
size={1,1,1}
rotate={0,0,0}
range={0,0,0}
show_racenums={1,1,1}
show_range={1,1,1}
show_background={1,1,1}
[HUDRadar]
_ini_version=1
_enabled={0,1,1}
_pos_x={0.033333,0.033333,0.033333}
_pos_Y={0.400000,0.400000,0.400000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_color_marker_far=[0,0,200,200]
_color_marker_near=[255,0,0,128]
size={1,1,1}
mode={2,2,2}
range={4,4,4}
markers_size={1,1,1}
markers_fadefov={0,0,0}
show_background={1,1,1}
[HUDStandings]
_ini_version=1
_enabled={0,1,1}
_pos_x={-0.166667,-0.166667,-0.166667}
_pos_Y={0.820000,0.820000,0.820000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_color_you=[255,0,200,200]
_color_others=[255,230,230,230]
_color_ahead=[255,0,0,128]
_color_behind=[255,0,128,0]
size={0,0,0}
gaps={0,0,0}
show_names={0,0,0}
show_background={0,0,0}
[HUDInputs]
_ini_version=1
_enabled={0,1,1}
_pos_x={0.033333,0.033333,0.033333}
_pos_Y={0.740000,0.740000,0.740000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
size={1,1,1}
input_device={0,0,0}
steering_axis={0,0,0}
steering_angle_scale={4,4,4}
show_background={1,1,1}
[HUDJoypad]
_ini_version=1
_enabled={0,1,1}
_pos_x={1.058667,1.058667,1.058667}
_pos_Y={0.928000,0.928000,0.928000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_color_front=[150,180,180,180]
_color_dots=[255,128,0,0]
size={0,0,0}
input_device={1,1,1}
stick1_hor={0,0,0}
stick1_ver={3,3,3}
stick2_hor={8,8,8}
stick2_ver={7,7,7}
trigger_1={4,4,4}
trigger_2={5,5,5}
show_values={0,0,0}
show_background={1,1,1}
[HUDRumble]
_ini_version=1
_enabled={0,1,1}
_optlinked=1023
xinput_device={0,0,0}
rumble_strength={4,4,4}
rumble_threshold={2,2,2}
rumble_range={0,0,0}
rumble_crashed={0,0,0}
[HUDSuspensions]
_ini_version=1
_enabled={0,1,1}
_pos_x={-0.166667,-0.166667,-0.166667}
_pos_Y={0.880000,0.880000,0.880000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
size={1,1,1}
show_infos={0,0,0}
show_background={1,1,1}
[HUDLean]
_ini_version=1
_enabled={0,1,1}
_pos_x={0.300000,0.300000,0.300000}
_pos_Y={0.775000,0.775000,0.775000}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_steer_scale=1.000000
_slip_scale=1.000000
size={1,1,1}
show_steer={0,0,0}
show_slip={0,0,0}
show_background={1,1,1}

https://mega.nz/#!8gtGSbqT!Ml7JJE07o_RerKQ883TYBs5HvUdRJoDIbSxJVCquvAg < Packaged
<br />GDUBMX YouTube<br />

HornetMaX

Can't see a lot going on in the video but I seem to be bale to download only the 30fps version, I'll check at home.
I even asked a colleague to do a blind test (look the video and tell if there's stuttering or not, without knowing if the HUDJoypas was active or not): he detected some stutternig, but got it wrong on 2 cases out of 5 (saying there was stuttering when HUDJoypad was off)..

One thing: from your .ini I see that you have configured HUDInputs (that you don't use on-screen) to use your first joypad (index 0) while you have configured HUDJoypad to use your second joupad (index 1).

[HUDInputs]
... ... ...
input_device={0,0,0}

[HUDJoypad]
... ... ...
input_device={1,1,1}

[HUDRumble]
... ... ...
xinput_device={0,0,0}


That's weird, normally you should set the same input device for both widgets.

Also, if you use rumble then it means you have an XInput joypad, so you should set that as input device in both HUDInputs and HUDJoypad.
In the options of each widget you typically have 8 DirectInput joypads (1-8), followed by 4 XInput ones (some may be disconnected).

If you only have a XInput joypad conncted to your PC, use the 1st XInput device as input device for HUDInputs and HUDJoypad.
[You are already doing it for HUDRumble, as it can only see XInput devices and not DirectInput ones.]

You can change this from the menu (that should give "input_device={8,8,8}" in the .ini, I guess, for both HUDInputs and HUDJoypad).

Totally not granted it will make any difference but worth a try.

GDUBMX

Sorry mate, I thought I had edited this post. Weird is right, I switched my overclock back to stock speed and the stuttering seems to have gone? Weird I know but I must of had some kind of unstable settings although it blitzed through stress tests and benchmarking no troubles.  Either way it's gone for now haha. Will check out those inputs though mate for sure. Thanks for this great app and your support Max. Much appreciated mate
<br />GDUBMX YouTube<br />

Asdrael

March 29, 2017, 02:47:06 PM #146 Last Edit: March 29, 2017, 02:48:54 PM by Asdrael
Saw that you are using Watercooling on your setup. I'm guessing CPU and/or GPU. Don't forget that WC those units effectively lowers the airflow within the case, resulting in cooling issues for the RAM and possibly MB chipset(s), as they are usually very near the CPU and benefit from its fan(s). WC is great for OCing the CPU, nice for the GPU (if you have a full block covering chip+memory), but can be an issue for OCing the RAM if not compensated by case fans. I gave up on WC once the new copper blocks started appearing (and one tube link broke on my tank scaring the shit out of me).
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord

HornetMaX

Cool. I was about to send you an early version of the next reelase of theplugin just for testing, now you'll have to wait like the others :)

GDUBMX

Haha you still can mate :) I'm beta testing about 4 different projects for people at the moment why not make it 5!
<br />GDUBMX YouTube<br />

HornetMaX

Quote from: GDUBMX on March 29, 2017, 04:10:11 PM
Haha you still can mate :) I'm beta testing about 4 different projects for people at the moment why not make it 5!
Yeah ... why not. But still not :)