Skip to content

XEarthLayer v0.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 21:49
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.

XEarthLayer 0.5.1 takes the kernel extension out of macOS, lights the roads at night, and makes distant scenery lighter and sharper.

On a Mac, read Upgrading from 0.5.0 before you install. XEarthLayer now mounts its scenery through macFUSE's FSKit backend only. That needs macOS 15.4 or later, macFUSE 5.3.3 or later, and one switch in System Settings, which approving the kernel extension for 0.5.0 did not turn on.

Platform Download
Debian, Ubuntu (glibc 2.34 or newer) xearthlayer_0.5.1-1_amd64.deb
Fedora 44 or newer xearthlayer-0.5.1-1.fc44.x86_64.rpm
Arch and derivatives aur-package.zip (PKGBUILD and .SRCINFO; unpack it and run makepkg -si)
Other Linux x86_64 (glibc 2.34 or newer) xearthlayer-v0.5.1-x86_64-linux.tar.gz
macOS 15.4 or newer, Apple Silicon xearthlayer-v0.5.1-arm64-macos.pkg, Homebrew (below), or xearthlayer-v0.5.1-arm64-macos.tar.gz

There is no Intel Mac build. The xearthlayer-publish downloads are the tool for building scenery packages, which you only need if you publish your own.

XEarthLayer is now licensed under the GNU General Public License, version 3 or later. Releases up to and including 0.5.0 remain available under MIT. Nothing changes in how it works.


What is new

No kernel extension on macOS. XEarthLayer mounts its scenery through macFUSE's FSKit backend, so a new Mac no longer boots into Recovery or lowers its security. With X-Plane on an external drive, XEarthLayer checks at startup that the drive honours ownership and says how to turn it on. Quitting with q, Ctrl+C or SIGTERM leaves nothing mounted, even during the first seconds of startup, and xearthlayer diagnostics has a macFUSE section.

Roads light up at night. Motorways and main roads carry chains of street lamps, read from the road overlays and airport packs X-Plane loads, in your scenery_packs.ini order and with X-World Pro included. Cities are lit closer to what you see from the air: most neighbourhoods are LED white and the remaining sodium districts a softer amber. Close to the aircraft the lit layer fades and leaves the ground to X-Plane's own 3D lights. Night textures are generated in about half the time, are ready sooner when scenery loads, and stay in memory through a scene load.

Distant scenery keeps its light. The smaller versions of each texture, which X-Plane draws in the distance, were averaged from stored pixel values that are not proportional to light, so each came out darker than the one above it: an eighth of the light was gone by the eighth level. They are now averaged in light, on the CPU and GPU encoders alike. Distant towns, hills and coasts look lighter and more detailed.

Kinder to home routers. network.connections (max, high or low) sets how many connections XEarthLayer opens, for scenery, prefetch and package downloads. The default, high, opens a fifth fewer than 0.5.0 did. xearthlayer setup asks for it.

No more magenta squares that stay. An answer from the imagery server that is not an image is retried and never saved, a tile with any unusable piece is shown but not kept, and bad pieces already in the cache are removed the first time they are used. Each imagery provider now keeps its own downloaded imagery, so switching provider can no longer mix two providers in one tile.

Prewarming an airport covers its whole area. xearthlayer run --airport left out the tiles lying across the edge of the area it prepares, and X-Plane then waited for them during the scene load. They are now prepared with the rest.

A steadier session. An error XEarthLayer recovers from no longer unmounts the scenery, a tile that finishes just as X-Plane stops waiting for it is kept, and a failure while starting under the dashboard ends run rather than hanging.

The GPU encoder is about twice as fast (texture.compressor = gpu). Tiles X-Plane is waiting for go before prefetch tiles, and a GPU that fails or hangs mid-flight hands the work to the CPU encoder for the rest of the session instead of stopping scenery from loading.

Smaller things. xearthlayer cache clear deletes only the cache and refuses while XEarthLayer is running. run --no-cache and --no-prefetch now do what they say. Settings outside their range are refused when config.ini is read. The dashboard's latency line describes the last five minutes, and the Prefetch pane has a utilization sparkline. BC3 compression, texture.format and run --dds-format are gone: choosing BC3 never produced usable scenery.

The CHANGELOG has the full list.


Install

Close X-Plane and stop any running XEarthLayer first.

Debian and Ubuntu: sudo apt install ./xearthlayer_0.5.1-1_amd64.deb

Fedora: sudo dnf install ./xearthlayer-0.5.1-1.fc44.x86_64.rpm

Other Linux, from the tarball:

tar xzf xearthlayer-v0.5.1-x86_64-linux.tar.gz
mkdir -p ~/.local/bin
mv xearthlayer ~/.local/bin/

macOS: XEarthLayer needs macOS 15.4 or later and macFUSE 5.3.3 or later with its file system extension turned on. The macOS guide walks through it. Then choose one:

  • Installer package. Open xearthlayer-v0.5.1-arm64-macos.pkg and follow the Installer. It puts xearthlayer in /usr/local/bin, and installs without a network connection.
  • Homebrew. brew install --cask xearthlayer/tap/xearthlayer, or brew upgrade --cask xearthlayer/tap/xearthlayer if you installed 0.5.0 this way. If macFUSE is already installed from its own installer, add --skip-cask-deps.
  • Tarball. Unpack it and move xearthlayer to ~/.local/bin. The first run needs a network connection, because macOS checks the notarization once.

Then check it: xearthlayer --version should print 0.5.1.

New to XEarthLayer? Run xearthlayer setup. It asks for the network connections level (High suits most home routers), and when it finishes it offers to open the package manager, where you install the regions you fly: press 2 for the Library, mark regions with Space, press i.


Upgrading from 0.5.0

Your configuration and packages carry over. After installing, bring the configuration up to date:

xearthlayer config upgrade

It adds the [network] section and removes fuse.macos_backend and texture.format, which no longer exist. A configuration that still has them loads as before.

On a Mac, before your first flight:

  1. Update macFUSE to 5.3.3 or later if you have an older version.
  2. Open System Settings → General → Login Items & Extensions, click the ⓘ next to File System Extensions, and turn on macFUSE (local). System Settings may list both macFUSE and macFUSE (local); XEarthLayer needs macFUSE (local). The kernel extension you approved for 0.5.0 is no longer used, and approving it did not turn this on.
  3. If X-Plane is on an external drive (under /Volumes), give /usr/libexec/fskitd Full Disk Access under Privacy & Security → Full Disk Access (click +, press Cmd+Shift+G and type the path). The drive must also have ownership turned on; if it is off, XEarthLayer stops at startup and prints the sudo diskutil enableOwnership command for your drive.

If the mount fails, macFUSE's own message (os error 35) rarely says why. The reason is in the system log, which /usr/bin/log show --last 5m --predicate 'process == "fskitd"' shows right after the failure.

What else to expect:

  • One default changes for everyone: network.connections is high, so XEarthLayer opens a fifth fewer connections than 0.5.0 did. With prosumer or enterprise network hardware, xearthlayer config set network.connections max gives you 0.5.0's limits back. If your router used to drop out while flying, try low.
  • The first start downloads some imagery again. Downloaded imagery is now kept per imagery provider, and the old shared imagery cache is deleted in the background the first time XEarthLayer starts. On a large cache this can take a few minutes, and XEarthLayer finishes it before it exits, so quitting early in that first session can take longer than usual and the scenery stays mounted until it is done. Tiles already built stay in the cache; only a tile that has to be built again downloads its imagery again.
  • Tiles already in the cache keep their darker distant levels until the cache replaces them, so for a while a new tile beside an old one may look lighter at long range. To see the change everywhere at once, run xearthlayer cache clear, which deletes only the cache. The first flight afterwards builds every tile again from imagery already downloaded.
  • Night lighting saved on disk by 0.5.0 is generated again the first time it is needed, so the first night flight in each area does more work.
  • Night lighting now shares cache.memory_size. With a memory cache above about 1.7 GB, night lighting takes 15% of it and scenery tiles keep 85%. Below that, night lighting keeps its 256 MB on top of the memory cache, as before.
  • Settings are checked when XEarthLayer starts. A value in config.ini outside its range now stops XEarthLayer with a message naming the setting and its range. prefetch.box_extent = 6.5, an old default, is read as 7.0, and config upgrade rewrites it.

Coming from a 0.5.1 beta or rc? Install this build; your packages carry over. On Homebrew, leave the pre-release channel first with brew uninstall --cask xearthlayer@prerelease, then install xearthlayer/tap/xearthlayer. From beta.1 or beta.2, also run xearthlayer config upgrade.

Coming from 0.4.x? Follow Upgrading from 0.4.x in the 0.5.0 release notes first: the rebuilt world replaces the old one, and the old packages must be removed before new ones are installed.


Known issues

FUSE read counts on the dashboard are low on macOS. macOS serves repeat reads of a texture from its own cache, so XEarthLayer only sees the first one. Nothing else depends on that count.

Saving a setting rewrites config.ini from its template. Comments you added to the file by hand are lost, as they are with xearthlayer config set. The values are kept.

Antarctica is not in the library yet.


Credits

Thank you to everyone who contributed to 0.5.1:

  • @mmaechtel found and wrote the linear-light mipmap fix, measured it and made it fast (#458). They also found the GPU worker's lost-request bug (#464), fixed the test crash on NVIDIA GPUs (#456), and caught a lost startup log line before it shipped (#457).
  • @zodiac1214 built and flew the first FSKit mount on macOS, through fuse3 and XEarthLayer (#357), and found the Full Disk Access step for external drives.
  • @Fshrink reported the .deb that would not install and the modem that dropped out, which led to network.connections (#353).
  • @karlrado worked out the cause of the .deb failure and the workarounds (#353).
  • @dlicudi, @mmaechtel and @zodiac1214 agreed to relicense their contributions under the GPL (#376).
  • Everyone who flew the betas and the release candidate and told us how it went.

Night lighting is generated from NASA's VIIRS nighttime lights:

NASA VIIRS Land Science Investigator-led Processing System. (2025). VIIRS/JPSS1 Lunar BRDF-Adjusted Nighttime Lights Yearly L3 Global 15 arc second Linear Lat Lon Grid Dataset. NASA Level 1 and Atmosphere Archive and Distribution System Distributed Active Archive Center. Date Accessed: 2026-10-16