# Linux \`-nullrhi\`: "Querying IsUsingWayland before SDL is initialized" is logged every frame while a Slate notification is on screen 

**URL:** <https://forums.unrealengine.com/t/linux-nullrhi-querying-isusingwayland-before-sdl-is-initialized-is-logged-every-frame-while-a-slate-notification-is-on-screen/2873013>\
**Category:** UI\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 26, 2026, 6:58pm UTC](https://forums.unrealengine.com/t/linux-nullrhi-querying-isusingwayland-before-sdl-is-initialized-is-logged-every-frame-while-a-slate-notification-is-on-screen/2873013 "2026-10-26T18:58:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 26, 2026, 6:58pm UTC](https://forums.unrealengine.com/t/linux-nullrhi-querying-isusingwayland-before-sdl-is-initialized-is-logged-every-frame-while-a-slate-notification-is-on-screen/2873013/1 "2026-10-26T18:58:41Z")

</div>

When we run the Editor headless on Linux with `-nullrhi`, the log fills with a `LogInit` warning, one line per frame:

```

[2026.10.26-18.47.05:721][462]LogInit: Warning: Querying IsUsingWayland before SDL is initialized

[2026.10.26-18.47.05:761][463]LogInit: Warning: Querying IsUsingWayland before SDL is initialized

[2026.10.26-18.47.05:786][464]LogInit: Warning: Querying IsUsingWayland before SDL is initialized

```

The spam lasts as long as any Slate notification (toast) is alive, and it comes back with each new one. In long-running headless sessions this adds thousands of warning lines. It also hides real warnings and trips any CI or log scraper that counts `Warning:` lines. Nothing else is wrong functionally: the query returns `false`, which is the correct answer when there is no display.

We believe the engine is working as intended about not starting SDL under `-nullrhi`. The problem appears to be that the Wayland-notification parenting path added in 5.8 calls `FLinuxPlatformApplicationMisc::IsUsingWayland()` from the per-frame notification tick without checking whether SDL was ever started. `IsUsingWayland()` warns on every such call and never caches the result on that path.

- The trigger is any Slate notification while running `-nullrhi` on Linux.

- This is stock 5.8.2 code. We have no local changes in these files.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 26, 2026, 6:58pm UTC](https://forums.unrealengine.com/t/linux-nullrhi-querying-isusingwayland-before-sdl-is-initialized-is-logged-every-frame-while-a-slate-notification-is-on-screen/2873013/2 "2026-10-26T18:58:45Z")

</div>

**Steps to Reproduce**  
1. On Linux, launch the Editor headless with a null RHI, for example:

`Engine/Binaries/Linux/UnrealEditor \<AnyProject\>.uproject -nullrhi -nosplash -nop4 -stdout -FullStdOutLogOutput`

2. Wait for startup to finish. Any toast is enough: one raised by the editor during startup.

3. Watch stdout or the `.log` file while the notification is up.

\*\*Expected:\*\* No `LogInit` warnings. Under `-nullrhi`, SDL is intentionally not started, so “not Wayland” is the expected state.

\*\*Actual:\*\* `LogInit: Warning: Querying IsUsingWayland before SDL is initialized` appears once per frame until the notification expires and is removed.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [October 26, 2026, 10:37pm UTC](https://forums.unrealengine.com/t/linux-nullrhi-querying-isusingwayland-before-sdl-is-initialized-is-logged-every-frame-while-a-slate-notification-is-on-screen/2873013/3 "2026-10-26T22:37:26Z")

</div>

Hi Jackson,

Thanks for reporting this console log spam.

Adding:

```auto
if (GUsingNullRHI)
{
   return false;
}

```

to the top of:

`bool FLinuxPlatformApplicationMisc::IsUsingWayland()`We will look at getting this into a future release.

Best regards.

[Attachment Removed]
