Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68794 - UQM does not run under Wayland with SDL2 installed and configured

Attached to Project: Community Packages
Opened by Joseph Fox-Rabinovitz (MadPhysicist) - Sunday, 29 November 2020, 20:05 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 05 December 2020, 13:17 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Laurent Carlier (lordheavy)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:

UQM does not run well under Wayland with SDL2 installed.

Additional info:
* package version(s): uqm-0.7.0-6
* config and/or log files etc.: See below
* link to upstream bug report, if any: N/A

Steps to reproduce:

$ uqm
The Ur-Quan Masters v0.7.0 (compiled Apr 8 2019 17:19:14)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Netplay protocol version 0.4. Netplay opponent must have UQM 0.6.9 or later.
Initializing base SDL functionality.
Using SDL version 1.2.15 (compiled with 1.2.15)
Could not initialize SDL: No available video device.
Do not know how to display an error box

This is because I have SDL2 installed and `SDL_VIDEODRIVER=wayland` in my profile. I would like to use UQM and not interfere with my other programs.

Workaround:

Issue is addressed explicitly in https://wiki.archlinux.org/index.php/wayland#SDL2. Adding the following to the UQM script seems to work:

SDL_VIDEODRIVER=x11

Simply unsetting the variable does not appear to work.

Postscript:

Love this game. Thanks for making it available!
This task depends upon

Loading...