You are not logged in.

#1 2026-08-30 12:15:15

Snuwie
Member
Registered: 2026-08-30
Posts: 3

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

Heyhey,

Context: I´m trying to play a game with some mods. When I try to launch the game with the mods it crashes but with vanilla it works fine. I was wondering if there was a way to fix this without having to request the mod to be deleted by the people managing the modpack and the server. Issues started appearing after some new mods got added. Game worked fine on a flatpack install but started to break down for different reasons.. So I went back to installing it through an AUR PKGBUILD, which also worked fine in the past but it keeps crashing.

Anyways I launched the game through the console and found this:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  46 ()
  Resource id in failed request:  0x0
  Serial number of failed request:  15
  Current serial number in output stream:  15
/usr/bin/vintagestory: line 16: 35703 Segmentation fault         (core dumped) ./Vintagestory "$@"

Is there anything I can do on my end to fix this?
I couldn´t find much online that was relevant and couldnn´t make much sense of it beyond that it has something to do with the drivers. I´m still learning arch / linux, so please be patient with me!

(I hope I´m posting this in the right place)

Edit: Figured some system info might help

OS: CachyOS x86_64

Display (CMN1521): 1920x1080 in 16", 144 Hz [Built-in]
Display (SMB2220N): 1920x1080 in 22", 60 Hz [External] *

CPU: AMD Ryzen 7 5800H (16) @ 4.46 GHz

GPU 1: NVIDIA GeForce RTX 3050 Ti Mobile [Discrete]
GPU 2: AMD Radeon Vega Series / Radeon Vega Mobile Series [Integrated]

Last edited by Snuwie (2026-08-30 14:31:57)

Offline

#2 2026-08-30 15:20:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,706

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

https://wiki.archlinux.org/title/Input_method#Xim

xdpyinfo|grep -i inputex

Are you actually on X11 or is this xwayland?

Offline

#3 2026-08-30 15:30:04

Snuwie
Member
Registered: 2026-08-30
Posts: 3

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

seth wrote:

https://wiki.archlinux.org/title/Input_method#Xim

xdpyinfo|grep -i inputex

Are you actually on X11 or is this xwayland?

Currently discussing it with some friends, they asked the same thing. According to fastfetch I am using wayland
WM: KWin (Wayland)

Offline

#4 2026-08-30 15:38:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,706

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

Did your friends tell you the implication for what to try next? wink

Offline

#5 2026-08-30 15:57:30

Snuwie
Member
Registered: 2026-08-30
Posts: 3

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

seth wrote:

Did your friends tell you the implication for what to try next? wink

Uhh one friend suggested that I try launching a session with x11 but didn´t tell me how to get it. So I got it through

sudo pacman -S plasma-x11-session

But that just caused a black screen when I then tried to launch x11 through the login screen. I got some irl stuff to take care of real quick, as do they. If my friends can help me figure it out I´ll post the solution, if not... I´ll cry here some more.

Offline

#6 2026-08-30 16:28:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,706

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

Your DM might struggle to hand off the drm - are you using https://archlinux.org/packages/extra/x8 … n-manager/ ?
Try SDDM…

Offline

#7 2026-08-30 17:08:18

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,473

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

OS: CachyOS x86_64 ?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#8 2026-08-30 17:23:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,706

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

lol that's what you get for not reading past the error message

Offline

#9 Yesterday 15:46:42

xerxes_
Member
Registered: 2018-04-29
Posts: 1,073

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

Don't play games - it's a waste of time... and money! Money can be earned, but what about time?

The most valuable here would be to find out what makes this issue, test it, resolve it and - find next not working game to do the same :-)

You can try with coredumpctl and strace in terminal, like this:

coredumpctl info vintagestory
coredumpctl dump vintagestory
coredumpctl debug vintagestory
strace -f -o file.log your_game_executable (vintagestory?)

then examine end of file.log.

Last edited by xerxes_ (Yesterday 16:03:06)

Offline

Board footer

Powered by FluxBB