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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
1337M0nst3r
Prole
Posts: 3
Joined: Thu Jan 31, 2019 6:55 pm

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

Post by 1337M0nst3r »

I know this question has been asked one time before and that guy solved it by updating his video card drivers but in my case it didn't.
Basically when I tried to run the "Hello, world" example I got the following error:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0xe00017
Serial number of failed request: 312
Current serial number in output stream: 312
AL lib: (EE) alc_cleanup: 1 device not closed

Before you ask, I made sure to run it properly, I tried to run it as a .love file, I updated my drivers.
There's some info about my PC, it's old, I use it only for programming and it holds very well:
OS: Arch Linux x86_64
Host: HP Compaq dc7600 Small Form Factor
Kernel: 4.20.3-arch1-1-ARCH
Packages: 1269 (pacman)
Shell: bash 5.0.0
CPU: Intel Celeron 2.80GHz (1) @ 2.790GHz
GPU: Intel 82945G/GZ
Memory: 625MiB / 2488MiB

Thanks in advance.
monkyyy
Citizen
Posts: 52
Joined: Fri Mar 16, 2012 5:29 pm

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

Post by monkyyy »

Your computer has reached puberty you must be proud

Do older versions work? Try love 10 maybe?
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

Make sure the version of SDL2 on your system is as up to date as possible (2.0.9 is the latest version).
1337M0nst3r
Prole
Posts: 3
Joined: Thu Jan 31, 2019 6:55 pm

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

Post by 1337M0nst3r »

Love8 works, I've got sdl2 2.0.9-1.
User avatar
pgimeno
Party member
Posts: 3544
Joined: Sun Oct 18, 2015 2:58 pm

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

Post by pgimeno »

0.8 uses SDL1 AFAIK.
1337M0nst3r
Prole
Posts: 3
Joined: Thu Jan 31, 2019 6:55 pm

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

Post by 1337M0nst3r »

I've got sdl 1.2.15-10 and sdl2 2.0.9-1 installed, could it be that LOVE tries to use sdl1 instead of sdl2?
1337m0nst3r-again
Prole
Posts: 1
Joined: Mon Jun 21, 2021 5:48 pm

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

Post by 1337m0nst3r-again »

I lost the original account so I'm using this one to help anyone who stumbles here
Turns out all I needed to do is use hardware made in the past 10 years :^)
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 41 guests