Troubleshooting
The place to look is urdeck.log in the data folder (Open data folder in the tray menu; %APPDATA%\UrDeck). Each line starts with the date and time, and at 5 MB the file becomes
urdeck.log.1. Almost everything UrDeck does not like is written there once, with the name of the thing and the reason.
The configuration is not applied
- A file that is not valid JSON is ignored and the last good configuration stays in use; the log says why. Comments and trailing commas are accepted.
- UrDeck notices a saved change after about a second. A theme is re-read when the configuration is reloaded, so after editing
theme.json, save the configuration file too. - An unknown
typeIdleaves its place empty. Acol,row,widthorheightout of range is clamped with a warning. - With the monitor the deck remembers (
display) not connected, there is no window at all, only the tray icon. Removedisplayfrom the file, or choose Choose automatically in Settings. See the monitor.
A widget the editor cannot show
The editor never changes a widget it does not understand: the widget’s settings stay in the file untouched, and the only thing it can do to it is Remove it as a whole (which Undo takes back). In the Pages section the widget is a dashed placeholder where it sits on the page (or in the dock), and selecting it explains why.
- “Focus timer did not load”. A plugin that provided this widget before is still in the plugin folders but failed to start, was built
against another version of UrDeck, or no longer offers the widget. The pane names the plugin file and the reason, and Show in
the log opens
urdeck.log, where the same reason is written once. Fix or replace the plugin file; UrDeck loads it again by itself and the widget returns with its settings. The deck leaves the space empty meanwhile. - “acme.widgets.ticker is not installed”. No plugin provides this widget type: it was never installed, or its plugin file was removed (the pane then names the file that provided it). The pane shows the widget’s settings as read-only text. Install the plugin and the widget returns, or Remove it.
- “3x1 is not a Stats size”. A widget placed at a size its type does not declare. The deck draws it anyway; the editor marks it with a badge, lists the sizes the widget comes in, and offers the nearest ones that fit as buttons. Nothing changes until you press one.
- “Two widgets overlap” or “is outside the page”. A hand-edited file placed widgets on the same cells or beyond the grid. The editor names them above the preview and offers Move it to the first free space.
A theme
- A value is ignored. The log has one warning naming the theme, the key and the value, and the default is used instead:
a colour that does not parse, a number outside its range, a name that is not allowed, a value of the wrong kind. Run
urdeck-cli theme validatefor the same findings with a suggestion for a misspelled key. See checking a theme. - The whole theme is missing. A
theme.jsonthat is not valid JSON makes the theme unavailable and the default theme is used. - A font does not show. A font named by family is used only where it is installed. Put the
.ttfor.otfin the theme folder and name the file. See fonts and licences. - Text is hard to read.
THEME060toTHEME062measure the contrast of the text on the card fill. A translucent fill is measured overcolors.background, but the page behind may be a moving background. - The border does not move. It moves only at the motion level
full, never on a dashed border, andspinneeds a conic gradient. See motion. - A shadow or glow is smaller than I wrote. Over translucent cards it is limited to the gap between cards, and the log says so once.
A background
The deck shows the theme’s background colour, the widgets are unaffected, and urdeck.log has one line that starts with
Background and names the cause:
- an unknown shader name, a folder that cannot be read, or a loose
.skslfile (the line names the folder to make;urdeck-cli shader initmakes it); - a missing or unreadable
manifest.json(SHADER001toSHADER003;urdeck-cli shader initwrites one), or anentrythat is missing or leaves the folder; - SkSL that does not compile (the compiler’s message is in the line, with its line number);
- a picture that is missing, too large, or not an image (its path is in the line);
- a failure while painting, or a GPU surface that does not start.
With a theme that has a still background, that is what shows instead of the colour (and the colour when it fails too).
Warnings that do not stop the background (a parameter without a description, an unknown manifest key) are logged the same way,
with their SHADERnnn code, listed below. A background that failed is not tried again until its configuration, its files or the
theme changes; fix the file and save the config.
A shader that is too heavy for your GPU, or a game that stutters beside the deck: lower scale to 0.25. See
speed, colours and images.
UrDeck.Host.exe --snapshot out.png draws the background too (a shader at iTime 10, whatever the speed, with the palette of the
theme in use, a theme’s default, still background and scrim as the deck draws them), so a snapshot with the same configuration is
the same every time. The snapshot is drawn on the CPU and does not need the GPU.
Theme findings
Every finding of urdeck-cli theme validate has a code that never changes meaning. error means the deck cannot use the theme
or the file, warning means it works and could be better, info is a remark. The deck logs the findings it can act on (the
codes marked “also logged”); the rest only the tool reports. The table is made from the product’s own list.
| Code | Severity | Meaning and how to fix it |
|---|---|---|
THEME001 | error | theme.json is missing, is not valid JSON or holds no object: add it, or fix the syntax at the position given. Nothing else is checked |
THEME002 | warning | a key the deck does not read (a typo, or a key left over from an older draft): fix the name, the message suggests the nearest key |
THEME003 | warning | a value of the wrong JSON type (also logged): the deck skips that value and takes the default |
THEME004 | warning | a number outside its range, which the message gives (also logged): the deck uses the default |
THEME005 | warning | a value that is not one of the names allowed, which the message lists (also logged; the case does not matter) |
THEME006 | warning | a colour that is not #RRGGBB or #AARRGGBB (also logged) |
THEME007 | warning | a list outside its length limits or with an invalid element (also logged): the deck drops the list whole |
THEME008 | warning | a group that needs a member it does not have, such as a gradient without colors (also logged): the group is ignored |
THEME020 | error | a font file is missing from the theme, is not a .ttf, .otf or .ttc, or its path leaves the theme's folder (also logged when it leaves the folder or cannot be loaded): add the file, fix the name, keep it inside the folder |
THEME021 | warning | a font file is over 3 MB (subset it) or has no licence file beside it (*-OFL.txt, LICENSE* or *-LICENSE*): add the licence so the theme can be shared |
THEME022 | warning | a font named by family, which is used only where it is installed: put a .ttf or .otf in the folder and name the file |
THEME023 | warning | a weight outside a variable font's range, or one a static font does not have, for a role (also logged): choose a weight the file has |
THEME040 | warning | background.default.name is not a background that exists: use a built-in one, or point --background-dir at yours |
THEME041 | warning | meta.pairsWith.backgrounds names a background that does not exist: fix the name or remove it |
THEME042 | warning | the default background is not in the theme's own pairsWith list: add it |
THEME043 | warning | the still background picture is missing, leaves the folder or is over 8 MB |
THEME044 | warning | icons.set names an icon set that exists neither in the theme's icons/ folder nor among the built-in sets (also logged): fix the name |
THEME050 | warning | a border style, gradient or animation with card.borderWidth 0 (also logged): give the border a width |
THEME051 | warning | card.borderAnimate spin without a conic card.borderGradient (also logged): the deck switches the animation off |
THEME052 | warning | a pattern whose marks are closer than three pixels at the panel width (also logged): raise spacing |
THEME053 | warning | outside corner marks reaching past card.gap, thickness included (also logged): move them in or widen the gap |
THEME054 | warning | a shadow or glow whose reach is more than the gap over a translucent fill (logged as information, the deck limits it): reduce the blur or offset |
THEME055 | warning | a line (border, highlight, accent strip, corner mark) that resolves under one pixel, which the deck draws 1 px wide (also logged) |
THEME056 | info | card.compact.shape circle on a card that is not square, which is a capsule (also logged) |
THEME057 | warning | card.borderAnimate on a dashed card.borderStyle (also logged): the border is drawn still, because the moving ring is stretched round the card and a dash pattern fitted to each side does not survive that |
THEME060 | warning | the text colour on the card fill, or on its gradient's darkest or lightest stop, is under 4.5:1: change the colours; a translucent fill is composited over colors.background, and the message says so because the page behind may be a moving background |
THEME061 | warning | the text colour on a card tint is under 4.5:1 (a tinted card keeps colors.text): change the tint at the position the message names |
THEME062 | info | the muted text colour on the card fill is under 3:1 |
THEME070 | error | an icon set's manifest.json is missing, is not valid JSON, has a version other than 1 or has no keys (also logged): add or fix it |
THEME071 | error | a manifest entry names a file that is missing, does not end in .svg or leaves the set's folder (also logged) |
THEME072 | error | an icon file breaks the file rules: over 4 KB, no viewBox of 0 0 24 24, an element or attribute that is not allowed, a transform, not valid XML (also logged) |
THEME073 | warning | a manifest key is not one of the product's icon keys, so no widget asks for it |
THEME074 | warning | the manifest's license or source is empty, or the set's folder has no licence file |
THEME075 | warning | an .svg file in the set's folder that no manifest entry names (the tool alone reports it) |
THEME076 | info | the set has no icon for some of the product's keys; the message names them and says outline answers them |
THEME080 | warning | meta lacks a name, a description or a mode: add them so an editor can list the theme |
THEME090 | info | more than one continuous animation is on (also logged): each costs CPU while it runs |
Background findings
The same for a background folder, from urdeck-cli shader validate and from the log when the background loads. error means the
folder is broken or breaks a rule; only the codes marked “stops” also stop the background. warning means it works but could be
better described. info is a remark. The built-in backgrounds produce none of these.
| Code | Severity | Meaning and how to fix it |
|---|---|---|
SHADER001 | error, stops | manifest.json is missing: add the file (see the minimal manifest) |
SHADER002 | error, stops | not valid JSON, or the top level is not an object: fix the syntax at the position given |
SHADER003 | error, stops | manifest is missing, not an integer, or not a version this product reads: use "manifest": 1 |
SHADER004 | warning | an unknown key in the manifest, a parameter or a sample: fix the spelling or remove it |
SHADER005 | warning | a value has the wrong JSON type (a number where text is expected): fix the value |
SHADER010 | error, stops | the entry file does not exist: create it, or fix entry |
SHADER011 | error, stops | entry is absolute or leaves the folder: name a file inside it |
SHADER012 | error | the folder's name is not a valid background name (letters, digits, -, _): rename the folder. The deck could never select it, so only urdeck-cli reports it |
SHADER020 | error, stops | the shader does not compile: the compiler's message follows, with its line number |
SHADER021 | error, stops | the shader declares a uniform shader: the host has nothing to give it; remove it |
SHADER022 | warning | a uniform has a type that cannot be set (int, a matrix): it stays 0; use float |
SHADER023 | warning | a // default: cannot be read: give numbers matching the type, or a #RRGGBB colour |
SHADER030 | warning | the manifest annotates a parameter the shader does not declare: fix the name |
SHADER031 | warning | the shader declares a parameter the manifest does not annotate: add it under parameters |
SHADER032 | error | the manifest annotates a name that belongs to the product (speed, iTime, ...): remove it |
SHADER033 | warning | kind color on a parameter without three or four components: use float3 or float4 |
SHADER034 | warning | an unknown kind: use number or color |
SHADER035 | warning | min is above max, or the shader's default is outside the range: fix the range or the default |
SHADER040 | warning | no title |
SHADER041 | warning | no description |
SHADER042 | warning | a parameter that is not hidden has no description |
SHADER050 | warning | no samples: render a picture and list it |
SHADER051 | error | a sample file does not exist: create it or fix file |
SHADER052 | error | a sample file is absolute or leaves the folder: name a file inside it |
SHADER053 | warning | an unknown sample type: use image (or video) |
SHADER060 | info | the shader says layout(color) and the manifest says kind number: the manifest wins |
SHADER070 | warning | only urdeck-cli shader render reports it: the picture is still the theme's background colour everywhere, so the shader drew nothing at that time. Check --time and the alpha of the returned colour; a shader can be legitimately blank at one instant |