Opened 2 years ago

Last modified 2 years ago

#168 new defect

Does not run in Fedora 35: X Error of failed request: BadWindow

Reported by: vortex01@… Owned by: pulkomandy
Priority: major Milestone: 2.8
Component: GrafX2 Version: 2.9WIP
Keywords: Cc: vortex01@…

Description

Hello,

GrafX2 will not run in Fedora 35, it appears for a split second and then instantly exits. When running it from the terminal I see the below error message.

X Error of failed request: BadWindow (invalid Window parameter)

Major opcode of failed request: 18 (X_ChangeProperty)
Resource id in failed request: 0x0
Serial number of failed request: 346
Current serial number in output stream: 347

This occurs after installing GrafX2 via the package manager in Fedora using the command "sudo dnf install grafX2", but also via downloading the RPM. I have also tried to compile the project from source but I get a separate error of "SDL.h: No such file or directory" despite having installed all the SDL2 headers and development libraries.

Change History (1)

comment:1 by PulkoMandy, 2 years ago

Hi,

Which configuration of GrafX2 is built by Fedora packagers? Does it use SDL1, SD2, or direct X11?

Is Fedora using Wayland now, and if so, how are these X request handled (sorry I'm a bit out of touch with the current state of the Linux software stack)?

You probably need to use "make API=sdl2" to compile the SDL2 version (the default is still SDL1 in the Makefile). Maybe you can use "make API=sdl2 NO_X11=1" for better compatibility with Wayland.

Note: See TracTickets for help on using tickets.