Skip to content

[Linux] Daggerfall Unity won't start in pure Wayland environment #2728

Open
@jookuuj

Description

@jookuuj

Hi! Thanks for making Daggerfall Unity!

I encountered a problem with running the game on Wayland. The game won't detect the screen resolution and it refuses to start.

But there is a way to fix it. You need to set the SDL_VIDEODRIVER environment variable to x11 before you can launch Daggerfall Unity. There could be a simple launcher script for Wayland users:

#!/bin/bash
SDL_VIDEODRIVER=x11 DaggerfallUnity.x86_64 &
# End of launch_DFU_Wayland.sh

Or maybe this fix should be just mentioned in the ReadMe and/or on the installation instructions page on the wiki? At any rate, this fix needs Xwayland to be installed on the system. Also, note that just installing Xwayland (or creating a settings.ini config file) won't fix this issue automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions