Skip to content

Fix for ExoStriker GUI Issues on Ubuntu 22.04 (Wayland) – Xorg & PyQt6 Required #137

Description

@ezaharieva

Description of the Issue

When running ExoStriker on Ubuntu 22.04 with Wayland, there are severe visualization issues, including:

Flickering UI
Misaligned and duplicated interface elements
Unresponsive buttons

Here is a screenshot demonstrating the visualization issues on Ubuntu 22.04 (Wayland):

Image

As seen in the screenshot, the UI elements are misaligned, flickering, and duplicated, making the interface difficult to use.

-- After testing on multiple different laptops, we found that the issue is directly related to Wayland and Qt compatibility.

Cause of the Issue

Qt applications have known rendering issues in Wayland, leading to graphical glitches.
PyQt6 versions above 6.5 require a newer Qt version, which is not officially supported in Ubuntu 22.04.
GNOME Flashback (which runs on Xorg) was tested as a workaround, but some modern applications relying on Wayland had issues.

Solution / Fix

The solution that worked across all tested systems was:

Switching from Wayland to Xorg by installing Xorg and the required dependencies:

sudo apt update && sudo apt install -y xorg libxcb-cursor-dev

Downgrading PyQt6 to a compatible version (if needed):

python3.10 -m pip uninstall -y PyQt6 PyQt6-sip
python3.10 -m pip install --no-cache-dir PyQt6==6.4.2 PyQt6-sip

    PyQt6 versions above 6.5 require newer Qt libraries, which are not available in Ubuntu 22.04. Using PyQt6==6.4.2 resolves the issue.

Additional Notes

GNOME Flashback (which also runs on Xorg) was tested, but some newer applications that rely on Wayland for full functionality experienced issues.
Using Xorg directly instead of relying on GNOME Flashback ensures full compatibility with GNOME and newer applications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions