The online racing simulator
LFS multiplayer crashing constantly
As the title states depending on the server that I'm connected to I can either drive around for a bit and the game crashes or I can't go in the server at all. I have boiled it down to 2 things, 1) I am using WINE on linux (usually followed up by a wine prompt) and 2) I'm in the US and there are no local servers here in the states.

I am on the latest version of the game and my PC is fully updated (or as updated as an Arch setup can be)

Thanks Y'all
I think LFS isn't supported on Linux officially? Someone please correct me if I'm mistaken.
Quote from MicroSpecV :I think LFS isn't supported on Linux officially? Someone please correct me if...

It isn't technically but it runs with WINE except for multiplayer on some servers, I have noticed that said servers are typically heavy with traffic and/or hot laps at either blackwood or Westhill. Drift servers it runs fine though, that's the weird bit
#4 - gu3st
Quote from MicroSpecV :I think LFS isn't supported on Linux officially? Someone please correct me if I'm mistaken.

It should work fine in Linux, especially considering it's DX9, although at this point even DX11/DX12 support in Wine (via DXVK) is fairly mature and stable for even the newest AAA titles.
Since the introduction of mod support, running LFS via Wine seems hit-and-miss for me

In multiplayer there is likely to be more variance in which mods are loaded.

I just saw the post about the Skoda Felicia (https://x.com/LFSracing/status/1872589124714242501), decided to give it a go in Blackwood, and was rewarded with a crash :-)

It's deep within the D3D implementation though, so I don't know what is going on. Oddly seems to be in an audio processing thread so potentially it's something completely external to LFS misbehaving.


Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x6ab29b25).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
EIP:6ab29b25 ESP:0509f764 EBP:0509f7b8 EFLAGS:00010206( R- -- I - -P- )
EAX:00000000 EBX:1c5eb0c0 ECX:001b83f8 EDX:00000000
ESI:1e290030 EDI:00000000
Stack dump:
0x0509f764: 302377b0 0509f888 6ab2f006 00000000
0x0509f774: 1e290030 001b83f8 01411f5c 00000000
0x0509f784: 04000000 00000005 0509f7b0 0142163c
0x0509f794: 00008892 0509f7d8 7bc5c6ce 00000010
0x0509f7a4: 01421654 0509f7e8 1c5eb0c0 0509f888
0x0509f7b4: 302377b0 0509f7d8 6ab30a42 00000000
Backtrace:
=>0 0x6ab29b25 in ucrtbase (+0x69b25) (0x0509f7b8)
1 0x6ab2f006 memmove+0x106(dst=0x000000000, src=1E290030, n=0x1b83f8) [C:\LFS\dlls\msvcrt\string.c:3154] in ucrtbase (0x0509f7b8)
2 0x6ab30a42 memcpy+0x22(dst=0x000000000, src=1E290030, n=0x1b83f8) [C:\LFS\dlls\msvcrt\string.c:3163] in ucrtbase (0x0509f7d8)
3 0x03016d76 wined3d_context_gl_unmap_bo_address(context_gl=<is not available>, dst=<is not available>, src=<is not available>, range_count=<is not available>, ranges=<is not available>) [C:\LFS\dlls\wined3d\context_gl.c:3125] in wined3d (0x0509f838)
4 0x03016d76 wined3d_context_gl_copy_bo_address+0x1b6(context_gl=<is not available>, dst=<is not available>, src=<is not available>, range_count=<is not available>, ranges=<is not available>) [C:\LFS\dlls\wined3d\context_gl.c:3124] in wined3d (0x0509f838)
5 0x030094ff wined3d_buffer_load_location+0x33f(buffer=<is not available>, context=<is not available>, location=<is not available>) [C:\LFS\dlls\wined3d\buffer.c:660] in wined3d (0x0509f8b8)
6 0x0300aa10 wined3d_buffer_load+0x1a0(buffer=<is not available>, context=<is not available>, state=<is not available>) [C:\LFS\dlls\wined3d\buffer.c:902] in wined3d (0x0509f948)
7 0x0300cd37 context_update_stream_info+0x137(context=<is not available>, state=<is not available>) [C:\LFS\dlls\wined3d\context.c:306] in wined3d (0x0509f9b8)
8 0x0301982f context_apply_draw_state+0x263(indexed=<internal error>, state=<internal error>, device=<internal error>, context=<internal error>) [C:\LFS\dlls\wined3d\context_gl.c:4244] in wined3d (0x0509fe88)
9 0x0301982f draw_primitive+0x4df(device=<is not available>, state=<is not available>, parameters=<is not available>) [C:\LFS\dlls\wined3d\context_gl.c:5187] in wined3d (0x0509fe88)
10 0x0302ac4e wined3d_cs_exec_draw+0x10e(cs=<is not available>, data=<is not available>) [C:\LFS\dlls\wined3d\cs.c:1006] in wined3d (0x0509fec8)
11 0x0302e599 wined3d_cs_command_unlock(queue=<internal error>, cs=<internal error>) [C:\LFS\dlls\wined3d\cs.c:3308] in wined3d (0x0509ff28)
12 0x0302e599 wined3d_cs_execute_next+0xd1(ctx=<couldn't compute location>) [C:\LFS\dlls\wined3d\cs.c:3307] in wined3d (0x0509ff28)
13 0x0302e599 wined3d_cs_run+0x139(ctx=<couldn't compute location>) [C:\LFS\dlls\wined3d\cs.c:3374] in wined3d (0x0509ff28)
14 0x7b6293e0 in kernel32 (+0x293e0) (0x0509ff48)
15 0x7bc5ca07 in ntdll (+0x5ca07) (0x0509ff5c)
16 0x7bc5d228 in ntdll (+0x5d228) (0x0509ffec)
0x6ab29b25 ucrtbase+0x69b25: movq %mm0,0x0(%edi)
Modules:
Module Address Debug info Name (129 modules)
PE 00400000-010f7000 Deferred lfs
PE 016b0000-01b3c000 Deferred ole32
PE 01b40000-01d5f000 Deferred rpcrt4
PE 01d60000-01e60000 Deferred shlwapi
PE 01e60000-01f9c000 Deferred dsound
PE 02ae0000-02b66000 Deferred winex11
PE 02e60000-02fc3000 Deferred d3d9
PE 02fd0000-0434e000 Dwarf-4 wined3d
PE 04380000-04587000 Deferred d3dcompiler_43
PE 06260000-062ee000 Deferred mmdevapi
PE 062f0000-0636a000 Deferred winepulse
PE 10000000-101ff000 Deferred d3dx9_43
ELF 5a200000-5cdea000 Deferred libnvidia-glvkspirv.so.535.183.01
ELF 5ce00000-5fede000 Deferred libnvidia-glcore.so.535.183.01
ELF 60000000-61dd2000 Deferred libicudata.so.72
PE 61fc0000-620b9000 Deferred dinput8
PE 62500000-628ff000 Deferred oleaut32
PE 63080000-630aa000 Deferred zlib1
PE 643c0000-6444c000 Deferred ws2_32
PE 64a80000-64ad8000 Deferred win32u
PE 65680000-65900000 Deferred msvcrt
PE 66080000-660e6000 Deferred msacm32
PE 66640000-6665c000 Deferred version
PE 667c0000-66809000 Deferred shcore
PE 67500000-67552000 Deferred imm32
PE 67bc0000-6805d000 Deferred comctl32
PE 684c0000-68610000 Deferred combase
PE 68880000-68d46000 Deferred user32
PE 69840000-69938000 Deferred advapi32
PE 6aac0000-6ada1000 Dwarf-4 ucrtbase
PE 6aec0000-6b065000 Deferred setupapi
ELF 6b18d000-6b298000 Deferred libgcrypt.so.20
ELF 6b298000-6b310000 Deferred libmp3lame.so.0
PE 6bbc0000-6bc59000 Deferred sechost
ELF 6bcc4000-6bd2a000 Deferred libmpg123.so.0
ELF 6bd2a000-6be00000 Deferred libsystemd.so.0
ELF 6bf5e000-6bfbf000 Deferred libopus.so.0
PE 6da80000-6dc9c000 Deferred gdi32
ELF 6dcd3000-6dd60000 Deferred libvorbisenc.so.2
ELF 6dd60000-6de00000 Deferred libsndfile.so.1
ELF 6e206000-6e25e000 Deferred libflac.so.12
ELF 6e25e000-6e2bf000 Deferred libdbus-1.so.3
ELF 6e2bf000-6e350000 Deferred libpulsecommon-16.1.so
ELF 6e800000-6f197000 Deferred libvulkan_intel.so
ELF 6f1b8000-6f1e2000 Deferred libgpg-error.so.0
ELF 6f1e2000-6f240000 Deferred libpulse.so.0
PE 6f240000-6f3c2000 Deferred winmm
ELF 6f3da000-6f400000 Deferred liblz4.so.1
ELF 6f800000-71014000 Deferred libz3.so.4
ELF 7102d000-71059000 Deferred libvorbis.so.0
PE 71080000-710a9000 Deferred hid
PE 71400000-720aa000 Deferred shell32
ELF 72200000-72abf000 Deferred libvulkan_radeon.so
ELF 72c00000-7a642000 Deferred libllvm-15.so.1
PE 7a800000-7acc8000 Deferred opengl32
PE 7b000000-7b51b000 Deferred kernelbase
PE 7b600000-7b756000 Dwarf-4 kernel32
PE 7bc00000-7beba000 Dwarf-4 ntdll
ELF 7c600000-7cec2000 Deferred libvulkan_intel_hasvk.so
ELF 7cec4000-7ced1000 Deferred libcap.so.2
ELF 7d000000-7d005000 Deferred <wine-loader>
ELF 7d600000-7dd15000 Deferred libvulkan_lvp.so
ELF 7dd41000-7dd5e000 Deferred libxcb-glx.so.0
ELF 7de00000-7e008000 Deferred libicuuc.so.72
ELF 7e031000-7e200000 Deferred libxml2.so.2
ELF 7e592000-7e5c8000 Deferred liblzma.so.5
ELF 7e5c8000-7e600000 Deferred libedit.so.2
ELF 7e600000-7e60b000 Deferred libogg.so.0
ELF 7ea29000-7ea65000 Deferred libglx.so.0
ELF 7ea65000-7eae1000 Deferred libgldispatch.so.0
ELF 7eae1000-7eb4d000 Deferred libgl.so.1
ELF 7eb4d000-7ebef000 Deferred libnvidia-glsi.so.535.183.01
ELF 7ebef000-7ed1b000 Deferred libglx_nvidia.so.0
ELF 7ed1b000-7ed46000 Deferred libtinfo.so.6
ELF 7ed46000-7ed50000 Deferred libffi.so.8
ELF 7ed50000-7ed58000 Deferred libatomic.so.1
ELF 7ed58000-7ed7f000 Deferred libgcc_s.so.1
ELF 7edb0000-7edb8000 Deferred libasyncns.so.0
ELF 7edb8000-7edcd000 Deferred winepulse.so
ELF 7edf1000-7edff000 Deferred libvklayer_mesa_device_select.so
ELF 7edff000-7ee04000 Deferred libdl.so.2
ELF 7ee04000-7ee0b000 Deferred libnvidia-tls.so.535.183.01
ELF 7ee0b000-7ee29000 Deferred libelf.so.1
ELF 7ee29000-7ee36000 Deferred libdrm_amdgpu.so.1
ELF 7ee36000-7ee3b000 Deferred libpthread.so.0
ELF 7ee3b000-7ee3e000 Deferred libxshmfence.so.1
ELF 7ee3e000-7ee43000 Deferred libxcb-shm.so.0
ELF 7ee43000-7ee56000 Deferred libxcb-randr.so.0
ELF 7ee56000-7ee5f000 Deferred libxcb-sync.so.1
ELF 7ee5f000-7ee6a000 Deferred libxcb-xfixes.so.0
ELF 7ee6a000-7ee6f000 Deferred libxcb-present.so.0
ELF 7ee6f000-7ee7e000 Deferred libwayland-client.so.0
ELF 7ee7e000-7ee85000 Deferred libxcb-dri3.so.0
ELF 7ee85000-7ef3d000 Deferred libzstd.so.1
ELF 7ef64000-7efe5000 Deferred libvulkan.so.1
ELF 7efed000-7eff2000 Deferred librt.so.1
ELF 7eff2000-7f00b000 Deferred libdrm.so.2
ELF 7f00c000-7f0ae000 Deferred opengl32.so
ELF 7f171000-7f179000 Deferred libxfixes.so.3
ELF 7f179000-7f186000 Deferred libxcursor.so.1
ELF 7f186000-7f19b000 Deferred libxi.so.6
ELF 7f19b000-7f1a0000 Deferred libxcomposite.so.1
ELF 7f1a0000-7f1af000 Deferred libxrandr.so.2
ELF 7f1af000-7f1bd000 Deferred libxrender.so.1
ELF 7f1bd000-7f1c4000 Deferred libxxf86vm.so.1
ELF 7f1c4000-7f1c9000 Deferred libxinerama.so.1
ELF 7f1c9000-7f1d8000 Deferred libmd.so.0
ELF 7f1d8000-7f1ef000 Deferred libbsd.so.0
ELF 7f1ef000-7f1f6000 Deferred libxdmcp.so.6
ELF 7f1f6000-7f1fb000 Deferred libxau.so.6
ELF 7f1fb000-7f229000 Deferred libxcb.so.1
ELF 7f229000-7f37b000 Deferred libx11.so.6
ELF 7f37b000-7f391000 Deferred libxext.so.6
ELF 7f391000-7f396000 Deferred libx11-xcb.so.1
ELF 7f3b8000-7f443000 Deferred winex11.so
ELF 7f443000-7f449000 Deferred ws2_32.so
ELF 7f6d3000-7f6ff000 Deferred libexpat.so.1
ELF 7f6ff000-7f752000 Deferred libfontconfig.so.1
ELF 7f752000-7f775000 Deferred libbrotlicommon.so.1
ELF 7f775000-7f7b2000 Deferred libpng16.so.16
ELF 7f7b2000-7f881000 Deferred libfreetype.so.6
ELF 7f881000-7f986000 Deferred libm.so.6
ELF 7fe1a000-7fe28000 Deferred libbrotlidec.so.1
ELF 7fe28000-7fe45000 Deferred libz.so.1
ELF 7fe6c000-7ffe0000 Deferred win32u.so
ELF f7c00000-f7e28000 Deferred libc.so.6
ELF f7e2b000-f7e30000 Dwarf libwine.so.1
ELF f7ec1000-f7f6f000 Deferred ntdll.so
ELF f7f77000-f7fac000 Deferred ld-linux.so.2
Threads:
process tid prio name (all IDs are in hex)
00000038 services.exe
0000003c 0
00000040 0 wine_rpcrt4_server
0000004c 0 wine_rpcrt4_io
00000070 0 wine_rpcrt4_io
000000a0 0 wine_rpcrt4_io
000000b8 0 wine_rpcrt4_io
000000dc 0 wine_rpcrt4_io
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0 wine_sechost_service
0000005c 0
00000060 0
00000064 0
000000c4 0
00000068 winedevice.exe
0000006c 0
00000074 0
00000078 0 wine_sechost_service
0000007c 0
00000080 0
00000084 0
00000098 0
0000009c 0
00000088 explorer.exe
0000008c 0
000000c8 0
000000cc 0 wine_rpcrt4_server
00000090 plugplay.exe
00000094 0
000000a4 0
000000a8 0 wine_sechost_service
000000ac 0 wine_rpcrt4_server
000000b0 svchost.exe
000000b4 0
000000bc 0
000000c0 0 wine_sechost_service
000000d4 rpcss.exe
000000d8 0
000000e4 0
000000e8 0 wine_sechost_service
000000ec 0 wine_rpcrt4_server
000000f0 0 wine_rpcrt4_server
000000f4 0 wine_rpcrt4_io
000000fc (D) C:\LFS\LFS.exe
00000100 0
00000104 0 <== wined3d_cs
00000108 15 winepulse_mainloop
0000010c 15 winepulse_timer_loop
00000110 15 wine_dsound_mixer
0000013c 0
System information:
Wine build: wine-8.0 (Debian 8.0~repack-4)
Platform: i386 (WOW64)
Version: Windows 10
Host system: Linux
Host version: 6.1.0-13-amd64

I've been playing LFS under WINE on Linux a bit the last week. Had two crashes. Both times were on that 'Just A Ride' mod server so I wonder if it is something to do with loading mods under linux/WINE.

Just guessing.

FGED GREDG RDFGDR GSFDG