The online racing simulator
Test Patch U16: Updates and fixes
WARNING: THIS IS A TEST

THIS DOES NOT CONTAIN NEW TYRE PHYSICS OR THE NEW GRAPHICS SYSTEM

PLEASE TEST BEFORE YOU POST


Hello Racers,

Here is a new test patch: 0.6U16

The changes are listed below.

0.6U16 is compatible with 0.6U

- You CAN connect online with 0.6U
- You CAN play replays from 0.6U

Please back up or rename your LFS.exe from version U so you can revert to it if necessary.


Changes from 0.6U15 to 0.6U16:

Interface:

Key control (4/5/6/7) of free view FOV improved and reaches 2 deg
Prevented auto-repeat on block message and light switching keys

InSim:

IS_CPP FOV can now be used in-car but not smoothed (0 = no change)
IS_CPP Pos is now relative to "Centre view" not the user setting
FIX: It was possible to miss IS_PSF packet after taking over car
FIX: STime in IS_PSF packet was wrong after car was taken over
NOTE: for these fixes the new driver taking over must have U16

Misc:

Added a little more logging about D3D initialisation to deb.log


Changes from 0.6U14 to 0.6U15:

F12 pit instructions:

Pressure change with new tyre no longer counts as SETUP CHANGES
A new 'cancel' option beside the 'setup changes requested' line
Settings that will be adjusted are now shown in light red colour
FIX: rear tyre pressure was limited by front tyre pressure limits
FIX: symmetric pressure/camber request remained after pit stop

Multiplayer:

More accurate transmission of fuel load from local to remote car
Remote car fuel load is now shown in F12 if /showfuel is enabled
Rolling resistance included in catch-up phase of prediction
FIX: Remote cars with worn tread could wrongly get a puncture

Misc:

Auto-repeat key function reinstated (disabled in previous test)
MPR / SPR are now prevented from being named temp_mpr / temp_spr
Free view mode minimum field of view reduced from 10 to 2 degrees
InSim NLP / MCI minimum time interval reduced to 10 ms (was 40 ms)
Mouse X and Y sensitivity (in Axes tab) lower limit reduced to 0.5
FIX: Message MPR_BLANK sometimes displayed when watching live MPR


Changes from 0.6U13 to 0.6U14:

Multiplayer:

Command /showfuel (no/yes) allows remote car fuel load to be seen
Most admin commands with parameter omitted report current value
FIX: Car on pit speed limiter sent maximum packets per second
FIX: Remote car's tyre temperature over 200 appeared black (cold)
FIX: Remote tyre temperatures increased too slowly in skid or spin

MPR debug commands:

/mprlag X simulates online packet delay of X ms (+ no smoothing)
/mprsmooth X (0 or 1) to disable or enable input smoothing

CPU usage display:

In Graphics or Misc options (in-game) click the car icon then 'P'
You can now see CPU usage for Physics, Draw, Prediction, etc.
The "Pred" line shows CPU usage for prediction of remote cars
Prediction time also shows up in an MPR if /mprlag is set

Support for live multiplayer replays:

Replay identified as live when starting to watch an unfinished MPR
Does not exit replay after fast forwarding to current time
Catch up to live position by clicking >| button
Skins can be downloaded while watching a live replay
Save replay while temp_mpr is being viewed - copy instead of rename
Start new mpr while temp_mpr is in use - tries temp_mpr_1 (up to 9)
/mprflush X to flush mpr to file every X seconds (0 = disable)

VR:

Virtual keyboard is shown at dialog height if no dialog is visible
Space bar VR click auto disabled when you type with real keyboard

Misc:

Increased distance for car subobjects to become invisible
FIX: Free view roll is now reported in InSim IS_CPP packet


Changes from 0.6U12 to 0.6U13:

Multiplayer:

Reduced steering glitch each time a position packet is received
- this requires the sender and receiver to have the new version

Position packets are sent more frequently in response to steering
- packet frequency is further increased at higher speeds
- this requires only the sender to have the new version

Maximum packets per second (/pps) has been increased to 12
- this doesn't change much except in specific circumstances
- FIX: /pps command while in multiplayer was not sent to guests
- this requires only the server to have the new version


Changes from 0.6U11 to 0.6U12:

Skin downloads:

Faster skin downloads when joining server (and auto updater)
Slightly faster skin downloads when driver joins race in-game
FIX: Skin downloading could get stuck after a large header

Interface:

Pit speed limit is shown when car speed is below 2/3 of limit
Command /spectv no - prevent selecting TV camera on spectate
Momentary flick to rear view after SHIFT+R is now avoided
Avoided downshift after pressing SHIFT+X to exit free view
In fact any 'key held' function after SHIFT+key is prevented
Some updated translations - thank you translators!


Changes from 0.6U to 0.6U11:

Graphics:

Car shadows now use anisotropic filtering to reduce shimmering

Views:

Horizon lock now has a strength slider option
View filter time maximum value increased to 1 second
FIX: Filtered view went wrong with low filter time + replay speedup

VR:

Updated OpenVR to version 1.10.30
Improved timing of obtaining view each frame
New "Antialiasing" option to select 4x or 8x multisampling
New "Resolution adjustment" slider (also known as supersampling)
Names over cars could fade differently in each eye in Pimax headset
FIX: Head tracking / mirrors wrong if car leaned with horizon lock
FIX: Free view FOV was wrong after entering VR in free view
FIX: Names above cars looked wrong in Pimax headsets
FIX: Some trees looked wrong in Pimax headsets

Controls:

Gearshift debounce setting now applies to all controller buttons
FIX: Rare manual shift at high speed to 1st/rev during auto shift

Force Feedback:

New settings are available under Axes / FF in Options - Controls
FF Steps maximum value is now 10000 (the maximum in DirectInput)
FF Rate is now controlled by a user setting (25 / 50 / 100 Hz)

LAN:

Easier to set up LAN race: local IP address is shown on host screen
You can enter the local network computer name instead of IP address

Interface:

LFS now assumes 3 screens when aspect ratio is 4:1 (was 3:1)
Yellow and blue flags now alternate with RCM or penalty message

More telemetry data for OutSim:

Enable by setting the OutSim Opts value in cfg.txt
All data options can be switched on with the value ff
The new data is documented in a header file OutSimPack.h

Misc:

When LFS is set to close the reason is logged to deb.log file
CAR.lfs scripts are reliably run when user car is spawned or reset
FIX: Memory leak related to threads (most often for skin download)
FIX: Replays from old Westhill before 2015 now marked as obsolete
FIX: Stop-go penalty caused car to get stuck in custom pit stop
FIX: Driver names ending with a lead byte could corrupt text
FIX: Issues with driver names ending with caret character


INSTALLATION:

A FULL version of LFS 0.6U must already be installed


To install the PATCH using the SELF EXTRACTING ARCHIVE:

1) Move or save the patch into your main LFS folder
2) Double click the patch to extract it to that folder
3) When you see "Confirm File Replace" select "Yes to All"
4) Now you can start LFS in the normal way

NOTE: You can see if the patch is correctly installed when you run
the program (LFS.exe). At the bottom of the entry screen: 0.6U16


DOWNLOADS:

IF YOU ALREADY HAVE 0.6U:
PATCH 0.6U TO 0.6U16 (SELF EXTRACTING ARCHIVE)
www.lfs.net/file_lfs.php?name=LFS_PATCH_6U_TO_6U16.exe (1.6 MB)

FOR HOSTING ONLY:
DEDICATED HOST 0.6U14 (non-graphical version for hosting only):
www.lfs.net/file_lfs.php?name=LFS_S3_DCON_6U14.zip (1.8 MB)
-
(Eclipsed) DELETED by Scawen : fixed title - thanks
Quote from Scawen :...
CAR.lfs scripts are reliably run when user car is spawned or reset
...

I am testing this : it is correctly applying custom and driver setting (view parameter), but in the option the view remain selected (visually) on the previously selected option, even if you are seeing your view defined in the script ...
edit : After thinking to it, it is surely intentional
In that case it should show for "Default driver view :" [in car] selected
and below that it should say "Settings for custom view : (UFR)"

So you can adjust the settings for custom view but that doesn't mean it is the default view.
#4 - AndyG
I can confirm that both supersampling and AA work for me (I use a Rift), thanks. I must admit, the difference between 4x and 8x MSAA is very very subtle (it's great to have the ability to change the settings on track btw, and dynamically see the results!), only really seen on distant straight lines, like armco edges (my test case is Blackwood, which shows quite bad shimmering at the start line, as well as down the first long straight).

SS makes a big difference to image quality as expected. One small request, could you allow values over 200 perhaps? I run 250 (the maximum) in Richard Burns Rally, without an issue (I'm lucky enough to have a 2080Ti), and LFS is easily locked at 90fps, even with 200% SS and 8x MSAA. I'd like a maximum of 300% ... might not work very well, but easy not to use it in that case! (I appreciate it is very much diminishing returns here - but if I have the headroom, I might as well spend it on something.)

One other thought - are your shadows done in the MSAA pass? They seem to be the main culprits of the remaining distant shimmer issues. I know from experience though that this can be a very difficult problem to solve, depending on how your renderer is structured.
#5 - bouba
Not related to VR, but in the past we had the new persistent tire marks feature. It's great for immersion but it's a horrible distraction for hotlapping and driving consistently. It's mostly a problem in multiplayer where noobs/crashers drive off track or drift all over the place and leave huge tire marks which accumulate over the races and the result is a track that's painted in them. It'd be great to have the option to enable or disable persistent tire marks.
Can't wait to test tonight, you also increased the filter time, thanks a lot.

OMG, just saw on my profile pic on the left, more than 15y oO"
the super-sampling is a HUGE improvement in clarity, crispiness , and shimmering go from distracting to have to search for it to see it.
So great improvement overall, thanks you very much.

The filter to 1s is better, but still get nauseous after few laps in rally cross BL ,when with lock to horizon I can play 10 laps without any bad feeling. But I can stick to lock to horizon, no need to increase the filter time more.

Antialiasing x4 or x8 made now visual change for me.
Test Patch U3 with some more VR updates.

Resolution adjustment range now 0.25 to 2.25 (0.5 squared to 1.5 squared)

FIX: Free view FOV was wrong after entering VR in free view
FIX: Names above cars looked wrong in Pimax headsets

https://www.lfs.net/forum/thread/93185
Hey, there's a small glitch with the replays and the filtered view: when you speed up replays over 8x or above, the view glitches out and starts spazzing around depending how low the filter time is. I guess it's mostly dependent on fps as single player replays have this effect after 16x speedup, but just pointing this out so everyone with a VR set knows to avoid speeding the replays too much in cockpit/custom view Tongue
Fix upshift glitch.
Quote from Tomislav531 :Fix upshift glitch.

You might wanna elaborate.

I noticed the gearshift debounce was a bit higher than I'm used to, so i just set it back to 10ms.
This can be done in Settings > Misc.
Is this it?
I suppose yes. Intake air restriction + sequential gearbox is not well behaving
Thanks for the feedback.

Quote from AndyG :One other thought - are your shadows done in the MSAA pass? They seem to be the main culprits of the remaining distant shimmer issues. I know from experience though that this can be a very difficult problem to solve, depending on how your renderer is structured.

Do you mean the car shadows? I'll have a quick go at switching on anisotropic filtering for them. I've been experimenting with that on the new shadow system where there is a similar problem (but worse). Anisotropic filtering helps though I haven't yet dealt with the well known issue that comes up at the seam between two cascades. I can fix it by a brute force method but I'll be having a look at the other two documented solutions.

EDIT: I've tried that on the public version car shadows and it is helpful, in VR and not. So I'll include that. The car shadows will use the user setting for anisotropic filtering. There are no cascades to mess things up.

Quote from MagicFr :Antialiasing x4 or x8 made now visual change for me.

Yes that is hard to see, I managed to see the difference along the top of a light object against a dark background. It got rid of some faint ripples that were there with 4x. But as you say the supersampling was a lot more useful.

EDIT: Attached a screenshot. The top of that wall across the middle of the picture is a good example of the difference between 4xAA and 8xAA.

Quote from nikopdr :Hey, there's a small glitch with the replays and the filtered view: when you speed up replays over 8x or above, the view glitches out and starts spazzing around depending how low the filter time is.

Good find, thanks.
Attached images
lfs_00000005.jpg
I actually meant world shadows - especially those in the far distance, e.g. at Blackwood on the long straight. They shimmer quite badly, much more so than the rest of the environment it seems to me.
OK, thanks. Those old shadows are done by vertex colours so I can't think of any quick fix to improve them. The new system in development uses shadow maps so it'll all be different.
Sounds good, thanks.
[ off topic and random progress report! Big grin ]

The cool thing is how your comment, although you were talking about the 'old' shadows, got me into this anisotropic filtering experiment (that was on one of my lists) for the new shadows. It has resulted in a real improvement. See the before and after comparison in the attached shots. I implemented Andrew Lauritzen's fix for the glitch at cascade boundaries.
Attached images
lfs_00000845.jpg
lfs_00000846.jpg
Yeah that's awesome, the "before" shot looks even worse when moving, I'm sure (because the aliasing causes shimmer).
Nice improvement!
indeed it is great Smile
side note : two snapshots : South City and Fern Bay ... Next one on Kyoto ? Ya right
Next week - a full progress report! Omg omg omg Heart
Is it planned to add a supersampling option for normal desktop users as well?
Quote from Günni92 :Is it planned to add a supersampling option for normal desktop users as well?

Fair question, and I've already made a note about it after nacim mentioned it on another thread.

I'm interested to try it at some point and see how it looks but not really in a hurry to do it right now because I'm really busy trying to get some things finished in the development version. It's the sort of thing that would take a couple of days to think it through and get it working well and not clashing with other things.
Stumbled upon old MPRs in my LFS folder,I noticed it shows "obsolete replay" at old Blackwood MPRs,but it does not so at old Westhill ones,LFS still runs them,even if positions are totally off - maybe they should be marked as obsolete too? Just a little fix suggestion,even if with new graphics it would be the case for all MPRs.
This thread is closed

Test Patch U16: Updates and fixes
(392 posts, closed, started )
FGED GREDG RDFGDR GSFDG