Skip to content

Instantly share code, notes, and snippets.

@slobodaapl
Created August 16, 2026 21:01
Show Gist options
  • Select an option

  • Save slobodaapl/33c75016d12a558e77582c9b228e2974 to your computer and use it in GitHub Desktop.

Select an option

Save slobodaapl/33c75016d12a558e77582c9b228e2974 to your computer and use it in GitHub Desktop.
xl-view diagnostics
2026-08-16T21:01:04.511959Z INFO main xl_view::app: starting xl-view version="0.2.0" image="menu.jxl" output="auto" background="black" hdr_reference_white_nits=203.0 decoded_cache_mib=15973 decoded_cache_automatic=true gpu_memory_mib=1024 diagnostics=true asynchronous_image_loading=true
[HDR Layer] Created HDR surface
[HDR Layer] Creating swapchain for id: 42 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT
[HDR Layer] VkHdrMetadataEXT: mastering luminance min 0.000000 nits, max 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxContentLightLevel 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxFrameAverageLightLevel 0.000000 nits
2026-08-16T21:01:04.654565Z INFO main xl_view::gpu::surface: GPU surface initialized adapter=NVIDIA GeForce RTX 4090 device_type=DiscreteGpu backend=Vulkan surface_format=Rgb10a2Unorm color_space=Bt2100Pq metadata_supported=true metadata_status=signaled through VK_EXT_hdr_metadata
Diagnostics [startup]:
GPU adapter:
name: NVIDIA GeForce RTX 4090
type: DiscreteGpu
vendor: 0x10de
device: 0x2684
driver: NVIDIA (610.57.04)
backend: Vulkan
Advertised surface format/color-space pairs:
Rgba8UnormSrgb + Srgb
Bgra8UnormSrgb + Srgb
Rgb10a2Unorm + Srgb
Rgb10a2Unorm + Bt2100Pq
Rgba8Unorm + Srgb
Bgra8Unorm + Srgb
Rgba16Float + Srgb
Rgba16Float + ExtendedSrgbLinear
Requested output mode: auto
Automatic source class: Hlg
Selected surface pair: Rgb10a2Unorm + Bt2100Pq
Present modes: [Mailbox, Fifo, Immediate]
Alpha modes: [Opaque, PreMultiplied]
Surface usages: TextureUsages(COPY_SRC | COPY_DST | TEXTURE_BINDING | STORAGE_BINDING | RENDER_ATTACHMENT | STORAGE_ATOMIC)
Display HDR information: DisplayHdrInfo {
luminance: None,
headroom: None,
chromaticity: None,
coarse: None,
bits_per_color: None,
}
Vulkan HDR metadata extension: enabled
HDR metadata state: signaled through VK_EXT_hdr_metadata
ITU-R BT.2111-3-derived HLG source pattern
source: narrow-range HLG/BT.2020, nominal peak 1,000 nits
+-----------+---------+----------+---------+---------+---------+----------+---------+-----------+
| | 100 W | 100 Y | 100 C | 100 G | 100 M | 100 R | 100 B | |
| +---------+----------+---------+---------+---------+----------+---------+ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| 40% grey | 75% W | 75% Y | 75% C | 75% G | 75% M | 75% R | 75% B | 40% grey |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
+-----------+---------+----+-----+----+----+----+----+----+----+-----+----+----+----+-----------+
| 75% white | -7% | 0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 |100 |109 | 75% white |
+-----------+---------+----+-----+----+-+--+----+----+----+----+-----+----+----+----+------+----+
| 0% black | -7% | ramp through 0% and 100% |109%|
+---+---+---+------+--+---+--+---+--+---+-------+---------------------+-------------+---+--++---+
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| Y | C | G |0% blk|-2| 0 |+2| 0 |+4| 0% black | 75% white | 0% black | M | R | B |
| | | | | | | | | | | | | | | |
|709|709|709| | | | | | | | | |709|709|709|
| | | | | | | | | | | | | | | |
+---+---+---+------+--+---+--+---+--+-----------+---------------------+-------------+---+---+---+
W/Y/C/G/M/R/B = white/yellow/cyan/green/magenta/red/blue
709 = BT.709-equivalent colour bars
[HDR Layer] Creating swapchain for id: 42 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT
[HDR Layer] VkHdrMetadataEXT: mastering luminance min 0.000000 nits, max 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxContentLightLevel 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxFrameAverageLightLevel 0.000000 nits
[HDR Layer] Creating swapchain for id: 42 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT
[HDR Layer] VkHdrMetadataEXT: mastering luminance min 0.000000 nits, max 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxContentLightLevel 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxFrameAverageLightLevel 0.000000 nits
[HDR Layer] Creating swapchain for id: 42 - format: VK_FORMAT_A2B10G10R10_UNORM_PACK32 - colorspace: VK_COLOR_SPACE_HDR10_ST2084_EXT
[HDR Layer] VkHdrMetadataEXT: mastering luminance min 0.000000 nits, max 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxContentLightLevel 1000.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxFrameAverageLightLevel 0.000000 nits
2026-08-16T21:01:04.757821Z INFO main xl_view::app::session: image decode completed path=menu.jxl purpose="demand" selection_generation=1 direction=None width=2882 height=1800 bytes=62251200 color_encoding=Enumerated { colour_space: "Rgb", white_point: "D65", primaries: "Srgb", transfer_function: "Linear" } decode_ms=204.88437000000002 request_to_decode_complete_ms=204.990712
[HDR Layer] VkHdrMetadataEXT: mastering luminance min 0.000000 nits, max 203.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxContentLightLevel 203.000000 nits
[HDR Layer] VkHdrMetadataEXT: maxFrameAverageLightLevel 0.000000 nits
2026-08-16T21:01:04.765088Z INFO main xl_view::app::session: image installation completed path=menu.jxl purpose="demand" request="image open" selection_generation=1 cache_hit=false width=2882 height=1800 decode_ms=204.88437000000002 install_ready_ms=212.261112 direction=None
2026-08-16T21:01:04.765562Z INFO main xl_view::app: image opening completed path=menu.jxl purpose="demand" request="image open" selection_generation=1 direction=None cache_hit=false width=2882 height=1800 decode_ms=204.88437000000002 first_present_ms=212.73425
Diagnostics [image-presented]:
path: menu.jxl
request: image open
selection generation: 1
cache hit: false
dimensions: 2882x1800
decode: 204.88 ms
first presentation submission: 212.73 ms
background: black
exposure: +0.00 stops
HDR metadata state: signaled through VK_EXT_hdr_metadata
decoded CPU storage: 59.37 MiB (full-resolution RGBA16F + coarse RGBA32F preview)
temporary CPU-to-GPU upload buffer: up to 10.11 MiB
GPU image budget estimate: 95.00 MiB of 1024.00 MiB
GPU allocator memory: 104.64 MiB live allocations, 117.06 MiB reserved blocks
coarse-preview mip levels: 11
tile cache: 0 of 24 working-set slots resident (hits 0, misses 24)
viewport resampling: pending 1485x989 (requests 1, completions 0, discarded 0, last resample n/a, source 0.00 MiB)
CPU resampling scratch peak: 0.00 MiB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment