error failed request

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
ekanser
Prole
Posts: 1
Joined: Thu Feb 01, 2018 2:19 pm

error failed request

Post by ekanser »

i just installed love on sparky linux rolling lxqt i try to check to see if all is installled type love into the comand prompt and get this

Code: Select all

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x4c0000e
  Serial number of failed request:  248
  Current serial number in output stream:  248
can anyone help me
User avatar
jojomickymack
Prole
Posts: 45
Joined: Tue Dec 26, 2017 4:52 pm

Re: error failed request

Post by jojomickymack »

That error is directly related to your graphics card drivers and the libraries that support it. Given that this is a new installation, fixing the issue may be as simple as running the command below.

sudo apt-get install libgl1-mesa-dev

That's assuming that your lxqt is ubuntu (which is a desktop environment, not a distro).

If this persists, please let us know how you installed your distro (also because I've been curious about lxqt and have tried it only with opensuse), what your graphics card is, and what the output of entering the command 'glxinfo' is.

I'm pretty sure you're missing a dependency on your system and it's not an issue caused by love.
krinosx
Prole
Posts: 1
Joined: Wed Jul 11, 2018 2:13 am

Re: error failed request

Post by krinosx »

Hi Guys, I have the same issue, I am running on a Ubuntu 16.04

The error is the following:

Code: Select all

root@ubtmachine:~/love# ./src/love 
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x4000002
  Serial number of failed request:  95
  Current serial number in output stream:  96
root@ubtmachine:~/love# 

#
# Love -- version
#
root@ubtmachine:~/love# ./src/love --version
LOVE 11.1 (Mysterious Mysteries)

#
# Date
#
root@ubtmachine:~/love# date
Ter Jul 10 23:22:46 -03 2018
root@ubtmachine:~/love# 

Related to my system, I was able to get the following information so far

Code: Select all

#
# Drivers
#
root@ubtmachine:~/love# ubuntu-drivers devices
(...)
== /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
vendor   : NVIDIA Corporation
model    : GM108M [GeForce 940MX]
modalias : pci:v000010DEd0000134Dsv00001028sd00000781bc03sc02i00
driver   : xserver-xorg-video-nouveau - distro free builtin
driver   : nvidia-384 - distro non-free recommended
(...)


#
# Ubuntu Version
#
root@ubtmachine:~/love# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial


#
# Kernel Version
#
root@ubtmachine:~/love# uname -s -r -v -p -i -o
Linux 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 GNU/Linux
root@ubtmachine:~/love# 

#
# libgl1-mesa-dev
#
root@ubtmachine:~/love# apt-get install libgl1-mesa-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgl1-mesa-dev is already the newest version (18.0.5-0ubuntu0~16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubtmachine:~/love# 

#
# libgl1-mesa-glx
#
root@ubtmachine:~/love# apt-get install libgl1-mesa-glx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgl1-mesa-glx is already the newest version (18.0.5-0ubuntu0~16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I have some code running sample applications with SDL2 and it works fine.

I also compiled some OpenGL code and it also works fine. The glxinfo and glxdemo also works properly.

May I help somehow to investigate this error? I know about C/C++ programming but not about Linux Graphics Programming... but I can use my setup help in to compile/test.

Thanks for the great work with Love2d!
Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests