Files
makeCAD/docs/book/src/guide/troubleshooting.md
T
brett19 054392abbe Wave 509/509: Kernel rig: assembly cases for mass properties, align, find limits and moving items between parts (and 38 more)
39 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. These commits sit on several merged branches, so the wave holds their combined result.

- 1b17dd7f5 brett19: Merge fixes: every crate and test target compiles on the merged tree, but for crates/geom's hlr
- 8f2c11da2 brett19: Drawings hidden lines: read develop's B-rep records
- c30ca0216 brett19: Hidden-line fixtures: build develop's records from the fixtures' data
- 5dd2509ae brett19: Hidden lines: tests of the bounded edges, face charts and placed revolutions
- 1642df0ea brett19: drawing-hlr doc: what is drawn and refused on develop's records
- ddcb80c8e brett19: hlr tests: a placed revolution is refused when its placement is not rigid
- e4977721f brett19: Hidden lines: a traced intersection is drawn only where its spline lies on both surfaces
- b3ef6ae52 brett19: Hidden lines: kernel bodies through the production prepare against closed forms
- 4cd2ae062 brett19: Tests from main: the world state is a Result here
- 51d7ad09e brett19: A blend's pick measures close edges on their curves, not their polylines
- 11a89713c brett19: Merge fixes from the first SMLib test pass
- 48fcb7aac brett19: Merge fixes from the ui test pass and the gates
- abd739855 brett19: A silhouette takes its facing from the surface's normals
- 85114c5a2 brett19: Clippy and rustfmt on the merged tree
- 55a46569f brett19: Stepwise open checks every feature under the session's mode
- 4627402e4 brett19: Clippy without SMLib: the planar-sheet edge reader is built only with it
- 5fbece0ac brett19: STEP import: a ball's halves whose seams are off each other's quarter lines each form within one turn
- eb78d20b0 brett19: Lid ring sketch test: find the ring under the pick, not by main's kernel's name
- 3048d8c49 brett19: Viewport culling test: each box's triangles from its mesh, not 12
- dc88b80e2 brett19: Timeline chip test: a fillet that really reduces
- 876203621 brett19: Edge names: a seam names its one face once; the curve-id test reads every edge kernel-neutrally
- 900635710 brett19: rustfmt on the merged tree
- b7e83cd7c brett19: Known failing on SMLib: two of main's new tests assume truck's box mesh and fillet torus
- 63bde053a jyviko: Locales: Vietnamese for the setback-too-short refusal, now that vi is a complete catalog
- 967a1caa6 brett19: Kernel rig: exact volumes for 1213's bent-tube round and 4782's bar round, rel 1e-6
- 82c821d2a brett19: After the merge: clippy's auto-deref, and the mesh-decisions list for the merged tree
- 5862ee223 brett19: After the merge: main's new tests on the SMLib kernel
- be78372b2 brett19: Twisted sweep: circles about a straight path are exact cylinders (solidcore#2184)
- 312d14500 jyviko: After the merge: a hole that misses is found by exact boxes; a face is a one-face patch; main's mesh-box helpers gone
- 6f7e51acb jyviko: After the merge: split_move's Result reaches its callers; to_local's duplicated move check goes
- 8f0c79b20 jyviko: After the merge: main's two new tests take world_state's Result, as the rest of their files do
- 5f4d70061 jyviko: After the merge with main: its new code on develop's exact bounds, types and thread fields
- 2b2ab6627 jyviko: Cargo.lock: develop's profile, smlib and step crates at main's 0.30.1
- e6a4b0a9a jyviko: Kernel rig: main's six new sketch-only commands are exempt from a kernel case
- 5acbd2e71 jyviko: Cuts leave the bodies their tools can't reach, by exact boxes (#10225 on exact geometry)
- d2b202307 jyviko: Kernel rig: main's new view, rendering, appearance and settings commands are exempt from a case
- 21db090ba jyviko: Kernel rig: construct.plane.axis_point gets construction cases
- c1f45cae2 jyviko: Kernel rig: assembly cases for mass properties, align, find limits and moving items between parts
- 084695416 jyviko: Kernel rig: export and print face cases in the import area

Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-11-02 17:34:24 -05:00

10 KiB
Raw Blame History

Troubleshooting: SolidCraft won't start

0.10.0 closes a few seconds after it starts (Windows)

SolidCraft 0.10.0 crashes at startup on Windows PCs that draw with Direct3D 12 and the system shader compiler. That covers older Intel graphics, PCs without a graphics driver (the "Microsoft Basic Display Adapter"), virtual machines and Remote Desktop sessions. Install 0.10.1 or later, which fixes it. Versions before 0.10.0 don't have this problem.

Start in safe mode

Safe mode starts with default settings (your own settings stay as they are, for the next normal start), skips the "Recover unsaved design?" offer and draws with the software renderer.

  • Windows: run solidcraft.exe --safe-mode from a terminal in the install folder, or add --safe-mode to the end of a shortcut's Target.
  • macOS: open -a SolidCraft --args --safe-mode
  • Linux: solidcraft --safe-mode (Flatpak: flatpak run io.tangencylabs.solidcraft --safe-mode)

Setting SOLIDCRAFT_SAFE_MODE=1 does the same. From 0.10.2, if two launches in a row stop before the window opens, the next one starts in safe mode by itself. SOLIDCRAFT_RENDERER=cpu uses only the software renderer and keeps your settings.

A design won't open or hangs while opening

  • Open the previous save. Every save keeps the version it replaced next to it as <file>.bak (see Files). Copy it to a new name ending in .sc, for example bracket-previous.sc, and open that. Work saved after the previous save is not in it.
  • Check the crash reports. If SolidCraft crashed while the design was open, the newest report in the crashes folder (see the table below) usually holds a design.sc with the design as it was. solidcraft-cli crashes lists the reports.
  • Unsaved designs are in the recovery folder, not next to the file.
  • Report it. GitHub doesn't accept .sc (or .solidcraft) attachments, so zip the file (design.sc.zip) and attach it to an issue, with the crash report if there is one.

Reset the settings

SolidCraft keeps its settings and its data in the folders below. All installed versions share them. No version changes anything outside them: no system settings, drivers or registry entries. Quit SolidCraft, then rename (don't delete) the folders. SolidCraft starts with defaults and makes new ones. Rename them back to restore your settings, or send them to us with a bug report.

System Settings (app.ron, graphics.json) Data (recovery, crashes, control, thumbnails)
Windows %APPDATA%\SolidCraft %LOCALAPPDATA%\SolidCraft
macOS ~/Library/Application Support/SolidCraft (the same folder)
Linux ~/.local/share/solidcraft (the same folder); thumbnails in $XDG_CACHE_HOME/SolidCraft or /tmp/SolidCraft
Linux (Flatpak) ~/.var/app/io.tangencylabs.solidcraft/data/solidcraft (the same folder)

On Windows, paste %APPDATA% or %LOCALAPPDATA% into the Explorer address bar to open the folder. Releases before the rename used SolveCraft folders next to these; SolidCraft only reads them, so you can leave them alone.

  • The recovery folder holds autosaves of designs that were never saved. Rename the data folder rather than deleting it, so you can still open those autosaves (.sc files, or .solidcraft from earlier releases) with File > Open.
  • The crashes folder holds crash reports. Please attach the newest one to a bug report.

From 0.10.2, SolidCraft also checks the settings files at start. A file it can't read is renamed to app.ron.bad-<time> or graphics.json.bad-<time>, and SolidCraft starts with defaults instead.

"No graphics adapter" or nothing happens at all

SolidCraft needs Direct3D 12 or Vulkan on Windows, Metal on macOS, and Vulkan or OpenGL on Linux. Without a graphics driver it falls back to the system's software renderer (WARP on Windows, llvmpipe or lavapipe on Linux), which is slow but works. From 0.10.2, if no window can be opened at all, SolidCraft tries the software renderer once and otherwise shows a message saying what failed (earlier versions closed without a word).

On Windows, if the graphics API cannot create the window's renderer, SolidCraft tries the remaining APIs in order: Direct3D 12 → Vulkan → OpenGL, then software rendering. The status message and Preferences › Graphics say which API failed and why. The saved graphics preference stays unchanged. With an explicit WGPU_BACKEND, a failed start shows the error and exits without switching; change or remove that variable to try another API.

Things to try:

  • Install the graphics driver from the GPU maker (Intel, AMD, NVIDIA) rather than Windows Update.
  • In a virtual machine, turn on 3D acceleration. Over Remote Desktop, try it on the machine itself.
  • Run solidcraft --crash-log to list recent crash reports, and attach the newest one to an issue.
  • On an Intel Mac (Intel Iris graphics, macOS 12), "Parent device is lost" at start comes from the Metal compiler refusing wgpu's indirect-call validation shader. SolidCraft leaves that validation off on Intel Macs. To change it, set WGPU_VALIDATION_INDIRECT_CALL=1 (on) or 0 (off) before starting; a value you set is always kept.

The desktop stutters or freezes while SolidCraft builds bodies

Some graphics drivers hang on the shader SolidCraft uses to build bodies on the GPU, and the system then resets the GPU. SolidCraft already builds bodies on the CPU on the AMD FirePro D300/D500/D700 (Mac Pro 2013). On another GPU that does this, start SolidCraft with SOLIDCRAFT_CPU_TESS=1 set to build bodies on the CPU, and open an issue with the GPU's name.

The interface looks blurry on Linux with display scaling

On Linux, SolidCraft runs through XWayland whenever an X display is available, because file drag and drop from a file manager only works there (niri is the exception and stays on native Wayland). A compositor that doesn't let X11 apps scale themselves draws an XWayland window at 100 % and stretches it to the monitor's scale, so text and icons look soft. That happens with fractional scaling (125 %, 140 %), and on GNOME 47 (RHEL and Rocky Linux 10) at any scale, 200 % included. The diagnostics in a bug report show it as about 1 physical pixel per point at a scale of 200 %.

Run SolidCraft on native Wayland instead: Preferences › Graphics › Window system › Wayland, which applies at the next start. Versions without that setting (0.21.0 and earlier) take SOLIDCRAFT_WAYLAND=1 in the environment:

SOLIDCRAFT_WAYLAND=1 solidcraft

On native Wayland, dropping files onto the window doesn't work; use File > Open or pass the file on the command line. Wayland, XWayland and niri has the details.

Trackpad pinch does nothing on Linux

A Wayland compositor reports touchpad gestures only to native Wayland windows. Through XWayland there is no gesture protocol, so a pinch never reaches SolidCraft at all (two-finger scrolling still works there, because X11 reports it as a wheel). Run SolidCraft on native Wayland (see above) and pinch zooms the view at the cursor, as it already did on macOS and the browser.

SolidCraft closes right away on Windows

A graphics driver can crash the app while it starts, before SolidCraft can show anything (an old Intel Vulkan driver, igvk64.dll, did). Windows' Event Viewer names the driver under Windows Logs › Application ("Faulting module name").

From 0.11.1, SolidCraft on Windows starts Direct3D 12 first and loads no other graphics API when Direct3D 12 has a graphics card; Vulkan and then OpenGL are tried only on a computer without one. Earlier versions started Vulkan, Direct3D 12 and OpenGL together and preferred Vulkan. To choose the graphics API yourself, in any version, open a Command Prompt and start SolidCraft from it:

set WGPU_BACKEND=dx12
"C:\Program Files\SolidCraft\solidcraft.exe"

vulkan and gl are the other choices. setx WGPU_BACKEND dx12 keeps it for apps started from the Start menu after you sign in again. From 0.11.1 the setting can also live in graphics.json in the settings folder, as {"msaa": 4, "backend": "dx12"} (auto is the order above). Safe mode ignores it and always uses the software renderer.

With OpenGL on Windows, the window has the Windows title bar above SolidCraft's application bar instead of using the application bar as its title bar. Some OpenGL drivers (older Intel HD and UHD graphics) otherwise show the picture a title bar's height lower than the window, so clicks land above what they point at.

SolidCraft restarted, saying the graphics device was reset

When the graphics driver stops responding, the system resets it (on Windows, "Display driver stopped responding and has recovered"), and the graphics device SolidCraft draws with is gone for good: the window can't draw anything more. SolidCraft then closes, keeps your unsaved changes for recovery as it does after a crash, and starts again; the new window says what happened, with what the graphics driver reported, and offers the changes back. The old window closes on its own; SolidCraft doesn't wait for the driver to release it. If the device is reset again within ten minutes of that restart, the next start uses software rendering, which doesn't depend on the graphics driver. Updating the graphics driver from the GPU maker usually stops the resets. Laptops that lose the device on waking from sleep (often with an NVIDIA GPU that doesn't drive the screen) can keep SolidCraft on the integrated GPU instead: Preferences › Graphics.

A design saved by 0.10 won't open in an older version

Designs saved by a newer SolidCraft use a newer file format. Older versions refuse them with "this design was saved by a newer SolidCraft" and don't change the file. Open them with the current version.

Save As says the file can't be found (Windows)

If saving into Documents (or Pictures, Desktop and other protected folders) fails with a "File not found" message from the Windows save dialog and nothing is saved, Windows Security's Controlled folder access is probably blocking SolidCraft. Windows usually also shows an "Unauthorized changes blocked" notification. Either save to a folder that isn't protected, or allow SolidCraft: Windows Security › Virus & threat protection › Ransomware protection › Controlled folder access › Allow an app through Controlled folder access, then add solidcraft.exe.