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 » Thu Jan 31, 2019 7:06 pm

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 » Fri Feb 01, 2019 8:43 am

Your computer has reached puberty you must be proud

Do older versions work? Try love 10 maybe?

User avatar
slime
Solid Snayke
Posts: 2832
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 » Fri Feb 01, 2019 11:30 am

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 » Fri Feb 01, 2019 5:42 pm

Love8 works, I've got sdl2 2.0.9-1.


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 » Sat Feb 02, 2019 11:45 am

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?

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 6 guests