Opened 2 years ago

Last modified 7 months ago

#6406 new defect

Error: Couldn't find matching GLX visual

Reported by: BotKIRA Owned by:
Priority: Must Have Milestone: Alpha 27
Component: Core engine Keywords:
Cc: BotKIRA Patch:

Description

I am running Pop!_OS 21.10. After installing 0 A.D. through flathub, the game doesn't run and shows this error:

flatpak run com.play0ad.zeroad
TIMER| InitVfs: 535.577 us
Writing the mainlog at /home/ashik/.var/app/com.play0ad.zeroad/config/0ad/logs/mainlog.html
TIMER| CONFIG_Init: 1.32764 ms
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Sound: AlcInit success, using OpenAL Soft
WARNING: Failed to set the video mode to fullscreen for the chosen resolution 1920x1080:24 ("Couldn't find matching GLX visual"), falling back to windowed mode
ERROR: SetVideoMode failed in SDL_CreateWindow: 1024x768:24 0 ("Couldn't find matching GLX visual")
WARNING: Failed to set the video mode to fullscreen for the chosen resolution 1920x1080:24 ("Couldn't find matching GLX visual"), falling back to windowed mode
ERROR: SetVideoMode failed in SDL_CreateWindow: 1024x768:24 0 ("Couldn't find matching GLX visual")
terminate called after throwing an instance of 'PSERROR_System_VmodeFailed'
  what():  System_VmodeFailed
/app/bin/0ad: line 9:     5 Aborted                 (core dumped) "$pyrogenesis" "$@"

Is there any way to fix the problem?

Change History (3)

comment:1 by Stan, 2 years ago

Hmm that's strange. Some people report that seldomly with Snap and Flatpack but we're not able to reproduce without those tools.

A blind approach to this would be to disable fullscreen by adding windowed=true to your user.cfg file. Maybe the flatpack is missing some permissions or your driver is buggy?

comment:2 by Freagarach, 2 years ago

Milestone: Alpha 26Alpha 27

comment:3 by Vladislav Belov, 7 months ago

Might be related: https://github.com/pop-os/pop/issues/2039 Also Vulkan might work for it.

Possible duplicates: #5839 and #1227

Note: See TracTickets for help on using tickets.