Skip to content

Troubleshooting

mzzvxm edited this page Dec 5, 2026 · 28 revisions

Troubleshooting

Built from log and error strings in the source. If a symptom is not here, the repository does not describe it. When a setting seems to do nothing, check where its value comes from: a command-line option beats an environment variable, which beats larecomp.toml (see Getting Started).

Startup and game data

Symptom or message Cause and fix
Install wizard appears although you installed No valid game data folder was found. A folder counts only with default.xex and at least one of xarchive_cache.rpf, xarchive_audio.rpf, xarchive_audlo.rpf. See Getting Started.
game_data_root is set to '...' but that directory has no default.xex plus xarchive_*.rpf; ignoring it and auto-detecting instead The folder passed with --game_data_root is not valid. Logged at startup under Game data:.
MCLA_GAME_DATA is set to '...' but that directory has no default.xex plus xarchive_*.rpf - ignoring it and auto-detecting instead. Same for the environment variable. Printed to stderr, because logging is not up yet.
no game data found from the executable directory (...); falling back to '...' Auto-detect found nothing; the wizard runs against that fallback.
Game files are missing and there is no UI to install them from The install wizard cannot be shown.
Embedded achievements.toml resource is empty / not found The achievements metadata resource is missing from the build.
Message box: LARecomp cannot save to ... Your saves are kept in ... instead The default user folder is not writable. The code mentions Controlled Folder Access as a cause. Saves, cache and the rest moved to a larecomp folder under the local application data folder and existing saves were copied.
cannot write to '...' nor to '...'; saves and the shader cache will fail Neither location is writable. Set user_data_root to a writable folder.
Message box: LARecomp could not start on this PC's graphics card. with a line such as Direct3D 12: the device could not be made, and this is Windows 10 version 2004 (build 19041.746), which has not had the update (KB4601319, build 19041.804 or newer) that Windows 10 needs to run the Direct3D 12 files that come with the game; Windows Update installs it The game ships its own Direct3D 12 runtime, and Windows 10 accepts it only from version 1909 with a servicing update: KB4601315 for 1909 (build 18363.1377 or newer), KB4601319 for 2004 and 20H2 (19041.804 and 19042.804 or newer). Install the update the line names (Windows Update does), then start again. A line that says which is older than the Windows 10 version 1909 ... means the Windows 10 itself is too old: update it to a newer version. Windows 10 21H1 and newer, and Windows 11, are not affected. Where the Windows is not the cause the line says no graphics card here has a driver for it or the graphics driver could not be started (is it installed and up to date?) instead: update the graphics driver. The log has the same sentence as [gpu] Direct3D 12 could not be started, and ....
The same box, and the graphics card is too old for it The native renderer asks for Direct3D 12 shader model 6.0 and binding tier 2. The program keeps a second renderer, the compatibility renderer, which also runs on cards with shader model 5.1 or binding tier 1, with fewer options (no ambient occlusion, HDR, upscalers or frame generation) and a lower frame rate. The box has a button, Use the compatibility renderer (the first button and the default; Close is next to it): it saves the choice and starts the game again. The shader build's failure dialog has the same button (COMPATIBILITY RENDERER), and after two starts in a row that never got going the next start offers it. By hand: put gpu.driver = "d3d12" ("vulkan" on Linux) in larecomp.toml, or start with --gpu.driver=d3d12; gpu.driver = "larecomp" is the native renderer again. If a launch option or REX_GPU_DRIVER already sets gpu.driver, the box names it instead of offering the button.

ISO install wizard

Error texts shown by the wizard (src/isoinstaller/larecomp_iso_installer.cpp):

Text Meaning
Unable to open the selected ISO. File cannot be opened.
The selected file is not a recognized Xbox 360 game ISO. Not an Xbox 360 disc image.
The ISO root directory could not be read. / is invalid. Damaged image.
The ISO does not contain default.xex. Wrong image.
The selected ISO is not MCLA: CE. Found Title ID: <id> Wrong game.
Title ID could not be found in the ISO's default.xex. / default.xex is not a valid Xbox 360 executable (Missing XEX2 magic). / Failed to read default.xex header. The executable in the image could not be validated.
Unable to create the game directory: ... / Unable to create an install subdirectory: ... / Unable to create <path>. / Failed to write <path>. Target is not writable or has no space.
Failed to read <path> from the ISO. Read error in the image.
The ISO contains an unsafe file path. The image holds a path outside the install folder; the install refuses it.
The ISO directory tree is unexpectedly large. / Failed to read an ISO directory entry. / ...name. / The ISO contains an invalid directory entry name. Image structure problems.
Installation completed, but game files are missing from the install directory (see the log for which). Check the log.

Settings and saving

Symptom or message Cause and fix
Config: could not write <path>; the file is as it was The settings file could not be replaced. It is written to a temporary file and moved over, so the old file is intact.
Config: <name> not saved, its value cannot be written as TOML The value is not valid TOML (for example a string that is not UTF-8). The setting is not saved.
Config: no path to save to No config path known.
A change in the menu did nothing Restart-only rows take effect at the next launch. Native MSAA, TEXTURE FILTERING and the FSR1 render scale apply live. The label carries a (RESTART) or (NEXT START) suffix, and leaving the menu offers RESTART NOW. A debug-only setting changed in the DEBUG menu or the F4 panel lasts one session and is not written to larecomp.toml. A command-line option or an environment variable beats the file, so look there when a value in larecomp.toml has no effect.
[pause-menu] could not write the restart-only settings to <path> The toml could not be written.
Could not restart the game Your session stays open if the game cannot relaunch. Choose Restart Game to try again.
A command-line value is not kept By design: values from the command line or environment are never written back (see Getting Started).
Rows of the other renderer are missing The menu lists only the rows of the renderer running at launch.
The game says "You are not signed in" and YES does nothing; nothing is saved Update the game: every connected controller now plays as player one (hid.shared_pads, on by default). It happened when the controller in your hands was not the first one the system listed: a second controller, or one that a remapping tool lists twice. On an older build, add [hid] and shared_pads = true to larecomp.toml and restart, or press Enter on the keyboard at the title screen.
Crash when clicking a pause-menu row Update to a build with the menu mouse fix. Older builds could crash when a visible row had no usable menu entry.

Performance

  • Stutter in a non-Release build with logging on: set REX_LOG_LEVEL=warn. documentation/RUNNING.md says trace logs about 7,500 lines (1.4 MB) per second during gameplay.
  • Frame pacing: use fps_limit (30, 60, 120, 144, uncapped). real_frame_delta is not a cap; it feeds the simulation the measured frame time. Turning it off returns to the 30 Hz timestep; the cap, hitch clamp and city LOD keep working.
  • MCLA_TIMING_LOG=1 writes a frame timing log. From documentation/RUNNING.md: cpu climbing with poison above 0 is a corrupt command buffer by the game's own check; everything flat while fps falls points at guest CPU.
  • HUD or minimap glitches: on the compatibility renderer, try MCLA_ALLOW_INVALID_FETCH=false.
  • Crashes: the crash handler writes the resolved call stack into the main log, not a separate file.
  • Reporting a graphics problem (a start that fails, a crash, wrong graphics): send logs/larecomp_NNN.log with its [gpu] lines. They name the card and driver, the video memory budget, the Windows version and, in one line, what the card and driver can do: [gpu] capabilities: ... (Direct3D 12: the shader model, the resource binding tier, wave operations, 16-bit shader operations, rasterizer ordered views, typed UAV loads of more formats; Vulkan: 64-bit integers in shaders, buffer device address, the descriptor indexing features, BC textures, the bound descriptor sets and push constant size). That line saves the reader from asking you to run a tool to find out.
  • A graphics pipeline failure can include a Direct3D 12 or Vulkan error code. A GPU crash can include the recent rendering passes. The main log contains these details and any graphics validation messages.
  • A stop of several seconds as a race starts (mostly with the Vulkan graphics API, or while another program keeps the processor busy: a second game, a browser, a capture program): the game was waiting for one shader to be prepared by a background thread that the system was slow to run. The game no longer waits long for it: the thread is given a normal turn after a fraction of a second, and if it is still not done the game prepares the shader itself. The list of shaders prepared before the first frame also holds more of the ones a race needs, so fewer are made in the middle of a race. If it still stops for seconds, send logs/larecomp_NNN.log: a [pipeline] sync wait handover line says a wait was cut short.
  • The garage's INTERIOR view (CUSTOMIZE VEHICLE > EXTERIOR/INTERIOR > INTERIOR) turns red and the frame rate drops: update the game. The car's own rear lamps were lighting the inside of its cabin; they now light only what is behind the car. The red cast was there on every graphics card; the slow-down showed most on integrated graphics and on the Steam Deck. A first fix covered some cars; the one that followed covers every car, also those whose front markers the game files with the rear lamps.
  • Blocky dark or teal patches on the driver's hands and arms in the cockpit view (mostly with the ENHANCED RT preset): update the game. The car's own contact shadow was being cast onto the inside of its cabin; from inside the car it is now left out. Until you update, CONTACT SHADOWS off clears it.
  • A wall or the ground flickering between lit and dark, or a dark wedge across it that jumps for a frame (seen on the river-bed walls in cutscenes): update the game. One of the game's own sun shadow lookups read past its four shadow maps for surfaces that lie outside all of them, so what it found there changed from frame to frame; those surfaces are now simply lit by the sun. It happened in every preset. The first start after the update prepares the shaders once more (about two minutes).
  • In the garage, with a window or screen that is not 16:9 (1280x800 for example), the picture squeezes for a moment with black bars above and below each time a part is previewed: update the game. While a part loads the game shows two frames again that the port took for a flat picture, such as a movie, and showed in the wrong shape; they now keep the shape of the 3D picture.
  • The garage floor crawls with fine speckle (presets with SURFACE REFLECTIONS): update the game. The rough floor's reflection was gathered from too few samples to hold still; it is now gathered over a wider, softer footprint and settles while the camera stands.
  • A dark patch under a car with straight edges that reach past the car's body, on the road, a sidewalk or grass, without SUN SHADOWS RT (seen since the end of November): update the game. The port's own shadow under a car is now drawn only together with SUN SHADOWS RT, where it follows the traced shadow; without it the game's own shadow under the car is back.

The native render thread now waits for work or the next presentation deadline, reducing idle CPU polling. On a normal fast exit the native renderer can leave final device cleanup to the operating system after the game's shutdown work. That avoids waiting on the graphics driver at close.

The native renderer keeps the current swap chain when the window reports an unchanged size and presentation settings are unchanged. This avoids waiting for the GPU on duplicate resize events.

The renderer does less work for far sun shadows, the HUD radar and car paint reflections between refreshes. It also cuts work in ambient occlusion, bounce lighting, surface reflections and parts of the game's CPU update. These changes target smoother frame times, especially in busy scenes.

Car and lamp shadows, distant ray traced bounce light and steady parts of light beams can reuse earlier work. The renderer also combines some lighting work and prepares upscaler inputs in fewer passes. City ray tracing can use less video memory.

PRESET (VRAM! ...) means the game is close to its video memory budget or an allocation failed. The label points to a setting group to check. Review the named effect or choose a lower RENDER SCALE. The warning leaves your saved settings in place.

Menu and HUD art can briefly appear without sharpening while the game prepares the sharpening pipeline in the background.

On Windows systems with two GPUs, the game can skip a busy display update when one GPU renders the game and another drives the display. This applies with VSync, present wait and frame generation off.

PRESET (CITY RT ALLOC) means a city ray tracing structure could not be allocated. PRESET (CITY RT POOL) and PRESET (CITY RT CAP) mean the hit-data pool or the structure limit is reducing city coverage. These warnings appear on the graphics preset row.

Mods

See the full table in Mod Loader. Quick checks:

Symptom Check
Mod not loading Is it in the folder the loader reads? Only the first of modloader/, mods/, models/ is read; the log warns about the others (<dir>/ is ignored).
Mod loads nothing, old mod still active nothing built, model replacement disabled removes the old archive; otherwise fix the first [mods] ... : error line.
Character stays the original driver The asset name must match a shipped one. <mod>/<asset>: not found in xarchive_cache.rpf means it does not. The game can switch to a variant; a mesh named all replaces every character.
Mesh refused as too big A wheel grows by itself up to a limit (see Wheel Mods); past it, reduce the mesh. Turning on model_mods_decimate welds a mesh down instead, and also stops wheels from growing.
Mod textures wrong on a wheel Try model_mods_rim_keep_badge, and see model_mods_rim_texture_mode in Wheel Mods.
Car skipped See the table in Car Mods.
already shipped by another mod, skipped Two mods ship the same file path. Remove one.
Game crashes at boot after adding many archives The loader records a crash once nine archives are mounted; music is capped at four archives.

Texture mods

Symptom Cause
Replacement ignored The file name has no 16-digit hex hash (carries no texture hash in its name), or the format is refused (reason logged once per file), or the hash is shadowed by another file (which wins).
Replacement not used after editing Reload with the menu row or texture_reload.
Nothing changes at all texture_mods is false, or the renderer is not the Plume renderer.

Custom music

See the troubleshooting table in Custom Music. Common causes: not MPEG-1 at 32, 44.1 or 48 kHz, track too long for the header budget, two files with the same bank name, more than 1785 songs.

Online

See the troubleshooting table in Online Play and the log reference in Relay Server. A --join_server that fails writes its reason to logs/join_server.txt; the table under Joining a server from the command line says what each reason means.

Vinyls and photo mode

  • Vinyl decals missing outside the editor: leave vinyl_auto_readback on.
  • Photo preview stale or garbage: leave photo_auto_readback on.
  • Import: '<name>' not found in <dir>: put the .vgp in vinyls/ in the working directory.

Linux and the Steam Deck

Symptom Cause and fix
The game does not close when Steam stops it, or on Ctrl+C in the terminal Steam and the Steam Deck stop a native game with SIGTERM, Ctrl+C in a terminal is SIGINT and closing the terminal is SIGHUP. The game takes all three as a request to quit, the way the pause menu's QUIT does: the frame loop ends, the close work is done, the saves are kept, and the log says [quit] SIGTERM received (or the signal's name). Copies of the signal that come within a quarter of a second count as one request (timeout sends one to the process and one to its group). A signal that comes more than a quarter of a second after the first (a second Ctrl+C) ends the game at once, with the exit status 128 plus the signal's number: that is the way out of a quit that hangs. A SIGHUP that was ignored when the game started (nohup) stays ignored. Windows is unchanged.
WEATHER is set to REAL and nothing changes REAL asks two web services over HTTPS: the first finds your city from your public address, the second gives the weather of the place it found. On Linux and the Steam Deck the game uses the system's libcurl for that (libcurl.so.4, or libcurl-gnutls.so.4), loaded when it is first needed. If it cannot be loaded the game keeps its own weather and the log says why once, with what the system's loader answered, for example [RealWeather] the request to https://ipapi.co failed: libcurl could not be loaded (libcurl.so.4: cannot open shared object file: No such file or directory; ...). Install your distribution's libcurl package, or the library the answer names (a library missing behind libcurl, the TLS one for example, is named the same way). A failed request is tried again after five minutes, a good answer is used for an hour.
The window has a generic icon in the dock or task bar A desktop shows the icon of the menu entry that the window's app id names. The game's app id is larecomp, so the entry it looks for is larecomp.desktop (the launcher's menu entry, with Icon=larecomp). The game sets the id itself when you start it from a terminal or a Steam shortcut, unless SDL_APP_ID is already set to something else, which it leaves alone. The log says which id the window got and the entry that goes with it: [display] window app id: larecomp (the desktop shows the icon of larecomp.desktop for it); with your own SDL_APP_ID the line names that id and its entry.
The first-run setup or the save import asks for a file and no chooser opens On Linux they use the system's file chooser (the desktop portal, or zenity); GTK is not needed. Where there is neither, the game shows a box to type or paste the file's path (quotes, ~ and file:// addresses are accepted), and the log says that no file chooser could be opened.

FAQ

Where is my config file? larecomp.toml beside the executable. It is created and edited by the game; see Getting Started.

Can I set an option without the menu? Yes, every cvar can be set in larecomp.toml or as --name=value; see Settings Reference.

Why is a menu toggle inverted? Rows backed by disable_* cvars show ON when the cvar is false.

Does a mod change the game's files? No. Mods are packed into xarchive_mods.rpf (and music archives) in the game data folder, mounted last. Shipped archives are never modified.

How do I turn off all mods? model_mods = false for meshes and files, texture_mods = false for textures; or switch single mods off in the Mod Browser.

Which options need a restart? Rows with a (RESTART) suffix in the menu, and cvars marked "Needs a restart" in Settings Reference.

Why did PRESET change to CUSTOM? Editing a setting on one of the four effect pages switches a named preset to CUSTOM. It keeps that preset's values for settings you leave alone, including after restart. Existing files with covered settings and no preset also start on CUSTOM after updating. See Graphics presets.

Why is CAR SELF-REFLECTIONS RT grey? It needs CAR SELF-REFLECTIONS and a GPU with support for DirectX Raytracing 1.1 or Vulkan ray queries. The log's [gpu] car ray tracing: line reports support. See Ray traced car effects.

Why did the game prepare shaders again after an update? The shaders are built from your own game files on the first start, and an update that changes the shader packs rebuilds the affected packs: a PREPARING CONTENT window says "Updating the shaders from your game files...". It happens once per such update. The packs live in the cache/shaders folder (shader_pack_dir), and shader_pack_threads sets how many threads build them.

Startup also prepares common graphics pipelines, including enabled variants such as car paint. This can reduce hitches when those effects first appear.

On Vulkan, the game saves compiled pipelines in cache/vulkan_pso_*.cache and reuses compatible data on later launches. This can shorten pipeline preparation after the first run. A change of graphics card or driver can require a fresh cache.

Why do the headlights not light the road? Turn on HEADLIGHTS in GRAPHICS > LIGHTING AND SHADOWS. They light the road from dusk to dawn while a car's lights are on.

Why do I see no light beams or haze? Check LIGHT BEAMS in GRAPHICS > LIGHTING AND SHADOWS. Look for beams around headlights or street lamps, where there is light to show them.

Why are surface reflections hard to see? Check SURFACE REFLECTIONS in GRAPHICS > REFLECTIONS and try a wet street under lamps. A dry road shows much less. See Reflections on surfaces.

Why do I see one shadow from both headlights? LOCAL LIGHT SHADOWS on MEDIUM uses one shadow per car. HIGH gives each of your headlights its own shadow. See Headlights and light shadows.

Why are there thin diagonal lines on kerbs or stripes on a wet road? To identify the effect, compare AMBIENT OCCLUSION / RT, CONTACT SHADOWS, BOUNCE LIGHT and SURFACE REFLECTIONS one at a time. For a report, include a picture and the active settings. See Noise in the effects.

Which graphics preset does the Steam Deck start with? A fresh Steam Deck configuration starts on VANILLA. Saved settings keep their priority. See Graphics presets.

Why does my car's neon not light the road? Turn on NEON UNDERGLOW under GRAPHICS > LIGHTING AND SHADOWS. LIGHT BOUNCE adds reflected light from neon, headlights and tail lights. See Neon light.

Why is the vendor denoiser missing, grey or asking for a restart? GRAPHICS > DISPLAY shows DLSS RAY RECONSTRUCTION on GeForce RTX, or AMD FSR RAY REGENERATION on Radeon RX 9000 with Windows 11. Other systems use LARecomp's denoisers. NEEDS DLSS means to select DLSS under UPSCALING. D3D12 ONLY means to use Direct3D 12 for the AMD option. N/A means the hardware, driver or build refused the feature, SETUP points to missing runtime files, and FAILED means that vendor filter stopped for this session. With DLSS, Super Resolution continues while LARecomp filters the effects. NOT NEEDED means none of the effects the option can clean is active. RESTART on the NVIDIA row means the game needs to restart to load the plugin. AMD's option applies live. See Denoiser for the runtime files.

Why is a ray tracing row grey? NO RT GPU means the GPU or driver lacks support. SUN SHADOWS RT needs CONTACT SHADOWS. SURFACE REFLECTIONS RT needs SURFACE REFLECTIONS. CITY IN CAR PAINT RT needs CAR SELF-REFLECTIONS RT and may report NOT READY if the city data could not be built. See Ray traced city.

Why does the row say BUILDING DATA? The game is making the city data from your game files in the background (the launcher's setup normally does it before the first start). The row is not grey: your choice works, and the effect comes in by itself when the files are done. Until then the paint keeps the game's reflection and the shadows are the game's. See Ray tracing data.

What happens when BOUNCE LIGHT RT is unavailable? The screen-space BOUNCE LIGHT can take over when enabled. The [gi] and [gi apply] lines in the log report why the ray traced effect could not draw.

What changed in rainy title shots? The title camera now places the road reflection at the height of the ground it looks at. Bright puddle patches can still appear.

How do I check or rebuild the ray tracing data? larecomp.exe --check_city_hit says whether it is in place and current (add --check_city_hit_deep=true to read it all back), and deleting the city folder of the shader pack folder (cache/shaders/city) makes the game or the launcher build it again. The logs are logs/city_pack_build.txt, logs/city_hit_build.txt and logs/city_hit_check.txt. See Launch actions that do a job and close.

Where did the mirror settings go? GRAPHICS > REFLECTIONS > MIRRORS controls the side and cabin mirrors. GAMEPLAY > CAMERA > REAR VIEW controls the optional HUD widget, which hides while the working cabin mirror is visible. See Side mirrors.

Clone this wiki locally