<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Timelapse map disappears]]></title><description><![CDATA[<p dir="auto">Whenever I try to play a timelapse, the map shows briefly, but then goes white. I can still see the controls, but the boat and track are missing. Tried in chrome + edge, on multiple laptops.</p>
]]></description><link>https://community.saillogger.com/topic/191/timelapse-map-disappears</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 13:42:39 GMT</lastBuildDate><atom:link href="https://community.saillogger.com/topic/191.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Sep 2026 18:05:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Timelapse map disappears on Thu, 15 Oct 2026 13:19:47 GMT]]></title><description><![CDATA[<p dir="auto">Yes, working on my devices now, thank you!</p>
]]></description><link>https://community.saillogger.com/post/751</link><guid isPermaLink="true">https://community.saillogger.com/post/751</guid><dc:creator><![CDATA[jaredko]]></dc:creator><pubDate>Thu, 15 Oct 2026 13:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to Timelapse map disappears on Thu, 15 Oct 2026 13:16:05 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, this was helpful to diagnose the root-cause. We have fixed the issue, please try again.</p>
]]></description><link>https://community.saillogger.com/post/750</link><guid isPermaLink="true">https://community.saillogger.com/post/750</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Thu, 15 Oct 2026 13:16:05 GMT</pubDate></item><item><title><![CDATA[Reply to Timelapse map disappears on Wed, 14 Oct 2026 14:30:23 GMT]]></title><description><![CDATA[<p dir="auto">Tried the AI assistant built into the chrome dev console. It suggests a few different root causes related to the canvas size. I confirmed changing my display scale from 125% to 100% in windows 11 fixes the isssue on desktop and is probably why you don't see it on your side. Still broken on my Pixel 10 pro, but looks like it always worked on my Ipad 13 pro.</p>
<p dir="auto">If the canvas size is tied to the dimensions of the track, I've sailed from South Africa to the US and the Med, so that could be a factor?</p>
<p dir="auto">Here's what the AI says.</p>
<p dir="auto">Bug Report: GPU Crash &amp; WebGL Overflow on High-DPR Devices<br />
Symptoms:</p>
<h2>Crash: Map displays a "white screen" or "unhappy face" icon (GPU process crash) on high-DPR devices (e.g., Pixel 10 Pro, or desktops with &gt;100% scaling).<br />
Console Error: GL_INVALID_VALUE: glTexSubImage2DRobustANGLE: Offset overflows texture dimensions when switching layers.<br />
Reproducibility: Works at 100% scaling (DPR 1.0), but fails consistently at 125% (DPR 1.25) or mobile scales (DPR 3.0+).</h2>
<p dir="auto">Root Causes<br />
Massive Canvas Allocation ($2^{25}$px): The element canvas.tl-head-canvas is attempting to set its width and height attributes to 33,554,432 ($2^{25}$). This is likely caused by a logic error where map coordinates or zoom levels are being multiplied by window.devicePixelRatio without being clamped to the viewport size.</p>
<p dir="auto">Why it fails on mobile: A Pixel 10 Pro has a high DPR (3.0–4.0). The math hits this $2^{25}$ limit significantly faster than on a 1.0 DPR screen.<br />
Sub-pixel Mismatch (DPR 1.25): At a 1.25 scale, a CSS width like 570px results in 712.5 physical pixels. The browser rounds the canvas to 712, but the WebGL engine (MapLibre/Mapbox) attempts to update a texture at the 712.5 offset. This "overflows" the actual 712px texture boundary, triggering the glTexSubImage2D error.</p>
<hr />
<p dir="auto">Recommended Fixes</p>
<ol>
<li>Clamp Canvas Dimensions (Immediate Fix for Crash)<br />
Ensure that any code resizing the tl-head-canvas (or any overlay canvas) is clamped to the actual viewport size or the maximum texture size supported by the GPU.</li>
</ol>
<p dir="auto">js</p>
<p dir="auto">// Example fix in the resize handler:<br />
const MAX_SIZE = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 4096;<br />
canvas.width = Math.min(calculatedWidth, MAX_SIZE, window.innerWidth * window.devicePixelRatio);<br />
canvas.height = Math.min(calculatedHeight, MAX_SIZE, window.innerHeight * window.devicePixelRatio);<br />
Use code snippets with caution</p>
<ol start="2">
<li>Normalize Container Dimensions<br />
To prevent the Offset overflows error, ensure the map container always has integer physical pixel dimensions.</li>
</ol>
<p dir="auto">js</p>
<p dir="auto">// Force the container to an integer-friendly size<br />
const rect = container.getBoundingClientRect();<br />
const dpr = window.devicePixelRatio;<br />
container.style.width = <code>${Math.floor(rect.width * dpr) / dpr}px</code>;<br />
container.style.height = <code>${Math.floor(rect.height * dpr) / dpr}px</code>;<br />
Use code snippets with caution</p>
<ol start="3">
<li>Check Pointer-Events on Overlays<br />
The .tl-side container has pointer-events: none globally, but the buttons inside it do not consistently have pointer-events: auto applied, which can block interactions on some mobile browsers even if the crash is avoided.</li>
</ol>
]]></description><link>https://community.saillogger.com/post/749</link><guid isPermaLink="true">https://community.saillogger.com/post/749</guid><dc:creator><![CDATA[jaredko]]></dc:creator><pubDate>Wed, 14 Oct 2026 14:30:23 GMT</pubDate></item><item><title><![CDATA[Reply to Timelapse map disappears on Thu, 15 Oct 2026 08:15:02 GMT]]></title><description><![CDATA[<p dir="auto">Sorry <a class="plugin-mentions-user plugin-mentions-a" href="/user/jaredko" aria-label="Profile: jaredko">@<bdi>jaredko</bdi></a> , your timelapse renders perfectly fine when we try. The only thing I can suspect is rendering engine, is it happening on all devices? It is really strange as we cannot observe what you are observing on your timelapse.</p>
]]></description><link>https://community.saillogger.com/post/748</link><guid isPermaLink="true">https://community.saillogger.com/post/748</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Thu, 15 Oct 2026 08:15:02 GMT</pubDate></item><item><title><![CDATA[Reply to Timelapse map disappears on Mon, 12 Oct 2026 16:55:05 GMT]]></title><description><![CDATA[<p dir="auto">Any updates? Seems to be just the new UI. If I set it back to the old UI it works.</p>
]]></description><link>https://community.saillogger.com/post/745</link><guid isPermaLink="true">https://community.saillogger.com/post/745</guid><dc:creator><![CDATA[jaredko]]></dc:creator><pubDate>Mon, 12 Oct 2026 16:55:05 GMT</pubDate></item><item><title><![CDATA[Reply to Timelapse map disappears on Wed, 30 Sep 2026 07:13:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi thanks for taking a look. Yes, my public timeline link shows the behavior:<br />
<a href="https://saillogger.com/svtrillium/timelapse" rel="nofollow ugc">https://saillogger.com/svtrillium/timelapse</a></p>
]]></description><link>https://community.saillogger.com/post/738</link><guid isPermaLink="true">https://community.saillogger.com/post/738</guid><dc:creator><![CDATA[jaredko]]></dc:creator><pubDate>Wed, 30 Sep 2026 07:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to Timelapse map disappears on Tue, 29 Sep 2026 23:05:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/jaredko" aria-label="Profile: jaredko">@<bdi>jaredko</bdi></a> , we can not reproduce it. Is it happening for all timelapses? Is is it with the new or old UI or both? I am wondering if it has something to do with graphics acceleration on the computer, but multiple laptops eliminate that possibility.</p>
<p dir="auto">Can you send a link that is broken for you?</p>
]]></description><link>https://community.saillogger.com/post/737</link><guid isPermaLink="true">https://community.saillogger.com/post/737</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Tue, 29 Sep 2026 23:05:30 GMT</pubDate></item></channel></rss>