Skip to content

Problem with Wayland - Ubuntu 24.04 #159

@username02

Description

@username02

As the title said, game won't start anymore since last update a few months ago

Terminal output:

~$ /bin/sh "/opt/illarion/illarion" %U

(java:24204): Gdk-CRITICAL **: 22:53:17.877: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000003, pid=24204, tid=0x000075c6793cb6c0
#
# JRE version: OpenJDK Runtime Environment (8.0_452-b11) (build 1.8.0_452-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.452-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000000003
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid24204.log
#
# If you would like to submit a bug report, please visit:
#   https://bell-sw.com/support
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Annullato (core dump creato)

[.. and Java crashes]

Problem might be solved using X11:

~$ env GDK_BACKEND=x11 /bin/sh "/opt/illarion/illarion" %U

This way everything works as it used to.

I'm writing now because this workaround won't be possible anymore using Ubuntu 26.04 / Gnome 50 because X11 sessions won't be allowed anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions