r/simracingonlinux • u/Worried-Lychee-5848 • 1d ago
Device Support FIX: Ozzy Racing blank screen and 100% CPU usage on Zorin OS 18 (Linux)
FIX: Ozzy Racing blank screen and 100% CPU usage on Zorin OS 18 (Linux)
Tested solution – OpenDyslexic WOFF fonts causing a WebKitGTK rendering issue
The problem
While testing Ozzy Racing 0.2.0-beta.5 on Zorin OS 18, I encountered the following problem:
- The application installed successfully.
- Ozzy Racing opened, but displayed nothing except a blank screen.
- CPU usage climbed to 100% on one logical CPU core.
- The CPU load moved between different cores.
- The affected process was
WebKitWebProcess, rather than the main Ozzy Racing process.
My system:
- Operating system: Zorin OS 18
- Graphics: Intel Arc
- Display session: Wayland
- WebKitGTK: 2.52.6-0ubuntu0.24.04.2
- Application: Ozzy Racing 0.2.0-beta.5
The cause
Investigation identified four OpenDyslexic WOFF font files installed in:
/usr/share/fonts/woff/opendyslexic/
These fonts were triggering a WebKitGTK/Fontconfig issue, causing WebKitWebProcess to consume 100% CPU and preventing the application interface from rendering.
This behaviour is consistent with upstream WebKit bug 325185.
The fix
The solution was to tell Fontconfig to ignore the problematic OpenDyslexic WOFF font directory, without uninstalling or deleting any fonts.
Step 1 – Create a Fontconfig configuration directory
Open Terminal and enter:
mkdir -p ~/.config/fontconfig/conf.dStep 2 – Create the exclusion configuration
Copy and paste this entire command:
cat > ~/.config/fontconfig/conf.d/99-disable-woff.conf <<'EOF'
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<glob>/usr/share/fonts/woff/opendyslexic/*</glob>
</rejectfont>
</selectfont>
</fontconfig>
EOFThis creates a user-level Fontconfig rule excluding the problematic font directory.
Step 3 – Rebuild the font cache
Run:
fc-cache -fAllow the command to finish.
Step 4 – Restart Ozzy Racing
Close any existing Ozzy Racing processes and launch again:
ozzy-racingThe application should now load its interface normally.
Why this works
WebKitGTK uses Fontconfig to discover and manage system fonts.
In this case, the WOFF fonts caused WebKit's rendering process to become stuck in a CPU-intensive loop before the application could display its interface.
Excluding the problematic font directory prevents WebKit from encountering those fonts during font discovery.
Reversing the fix
If you want to undo this change, run:
rm ~/.config/fontconfig/conf.d/99-disable-woff.conf
fc-cache -fNo system fonts or graphics drivers have been removed or modified.
Important notes
- This workaround was successfully tested on Zorin OS 18 with Intel Arc graphics.
- It does not disable hardware acceleration.
- It does not require switching from Wayland to X11.
- It does not require reinstalling WebKitGTK.
- It does not delete or uninstall OpenDyslexic.
- Other systems may have different WOFF fonts or Fontconfig issues, so this exact workaround is not guaranteed to fix every blank WebKit window.
Further information
Upstream WebKit issue:
https://bugs.webkit.org/show_bug.cgi?id=325185
Zorin community discussion:
https://forum.zorin.com/t/solved-apps-show-white-windows-or-crash-after-update-opendyslexic-woff-fontconfig-webkitgtk/69449
Hopefully this saves another Linux user hours of troubleshooting!
Tested and confirmed working while helping bring Ozzy Racing to Linux.