[GrafX2] #168: Does not run in Fedora 35: X Error of failed request: BadWindow

58 views
Skip to first unread message

GrafX2

unread,
Jan 5, 2022, 3:40:26 AM1/5/22
to gra...@googlegroups.com
#168: Does not run in Fedora 35: X Error of failed request: BadWindow
------------------------+------------------------
Reporter: vortex01@… | Owner: pulkomandy
Type: defect | Status: new
Priority: major | Milestone: 2.8
Component: GrafX2 | Version: 2.9WIP
Keywords: |
------------------------+------------------------
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.
--
Ticket URL: <http://pulkomandy.tk/projects/GrafX2/ticket/168>
GrafX2 <http://pulkomandy.tk/projects/GrafX2>
The ultimate 256-color painting program

GrafX2

unread,
Jan 5, 2022, 4:21:46 AM1/5/22
to gra...@googlegroups.com
#168: Does not run in Fedora 35: X Error of failed request: BadWindow
-------------------------+------------------------
Reporter: vortex01@… | Owner: pulkomandy
Type: defect | Status: new
Priority: major | Milestone: 2.8
Component: GrafX2 | Version: 2.9WIP
Resolution: | Keywords:
-------------------------+------------------------
Comment (by PulkoMandy):

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.
--
Ticket URL: <http://pulkomandy.tk/projects/GrafX2/ticket/168#comment:1>
Reply all
Reply to author
Forward
0 new messages