X Error of failed request: BadWindow (invalid Window parameter)
Your system information
- Steam client version (build number or date): Jan 31 2023, at 19:10:17
- Distribution (e.g. Ubuntu): Fedora 37
- Opted into Steam client beta?: Yes
- Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
After starting Steam the log is spammed by X errors every 5-10 seconds.
Feb 02 17:48:11 domi-pc steam.desktop[16870]: Steam: An X Error occurred
Feb 02 17:48:11 domi-pc steam.desktop[16870]: X Error of failed request: BadWindow (invalid Window parameter)
Feb 02 17:48:11 domi-pc steam.desktop[16870]: Major opcode of failed request: 20 (X_GetProperty)
Feb 02 17:48:11 domi-pc steam.desktop[16870]: Resource id in failed request: 0x0
Feb 02 17:48:11 domi-pc steam.desktop[16870]: Serial number of failed request: 9
Feb 02 17:48:11 domi-pc steam.desktop[16870]: xerror_handler: X failed, continuing
There are no obvious issues with the Steam client itself.
Steam system information: steam_system_info.txt
Steps for reproducing this issue:
- Start Steam
- Wait and look at syslog
Just noticed that a few notifications are black, maybe related to the errors above.

Can confirm it's also happening in Manjaro Gnome
-steam build 1675397711 -wayland 1.21.0-2 -mutter 43.2-2 -mesa 22.3.4-1 -kernel 6.1.9-1
It is continuously trying to retrieve _NET_WM_PID from window ID 0, which isn't a valid window.
I thought this was a problem with the Steam client beta, but when I reverted to the mainline release it continued happening.
but when I reverted to the mainline release it continued happening.
Yes, the issue started with the update that added the new Big Picture UI.
Problem reproduced with Ubuntu 22.10, I think the label "Distro Family: Fedora" can be removed (or extended)
Problem reproduced on Crystal Linux 6.1.9-arch1-1
Fedora 37, yep
Can confirm
same on arch
@DomiStyle https://github.com/ValveSoftware/Dota-2/issues maybe make an issue here too?
@sn99 I don't play Dota so I don't see what I should report there?
Same issue Fedora Rawhide.
Also with Gentoo
pop os nvidia drivers same problem. :(
Its happening in Arch too, the games eventually launches but it takes some time. Only happens with Steam, i can launch games from Heroic with no problems.
I don't seem to be able to reproduce this with the Steam flatpak
This only happens for me when Steam is unfocused, and triggers immediately when steam loses focus and then periodically while it remains unfocused.
I'm using Wayland (swaywm), so I suspect that when steam is unfocused, the currently focused X window is 0 (i.e.: NULL).
AFAIK, _NET_WM_PID exposes the id of an Xorg client. Is steam trying to track the focused window? If so, I suspect it's getting 0/NULL and trying to fetch _NET_WM_PID with that invalid value.
I am having the same issue with Gang Beasts. Here are my system specs. System:
Host: pop-os Kernel: 6.0.12-76060006-generic x86_64 bits: 64 compiler: N/A
Desktop: GNOME 42.3.1 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3
Distro: Pop!_OS 22.04 LTS base: Ubuntu 22.04 LTS Jammy
Machine:
Type: Desktop Mobo: Micro-Star model: MPG B550 GAMING PLUS (MS-7C56) v: 1.0
serial: 07C5611_KC1E245991 UEFI: American Megatrends LLC. v: 1.50
date: 01/14/2021
Memory:
RAM: total: 15.55 GiB used: 8.86 GiB (57.0%)
Array-1: capacity: 128 GiB slots: 4 EC: None max-module-size: 32 GiB
note: est.
Device-1: DIMM 0 size: No Module Installed
Device-2: DIMM 1 size: 8 GiB speed: 2133 MT/s type: DDR4
manufacturer: G.Skill part-no: F4-3200C16-8GVKB
Device-3: DIMM 0 size: No Module Installed
Device-4: DIMM 1 size: 8 GiB speed: 2133 MT/s type: DDR4
manufacturer: G.Skill part-no: F4-3200C16-8GVKB
CPU:
Info: 6-core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
Speed (MHz): avg: 2200 min/max: 2200/4208 boost: enabled cores: 1: 2200
2: 2200 3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200
11: 2200 12: 2200 bogomips: 86407
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
vendor: PC Partner driver: radeon v: kernel pcie: speed: 5 GT/s lanes: 16
ports: active: VGA-1 empty: DVI-D-1,HDMI-A-1 bus-ID: 2b:00.0
chip-ID: 1002:6779
Display: server: X.Org v: 1.21.1.3 compositor: gnome-shell driver: X:
loaded: ati,radeon unloaded: fbdev,modesetting,vesa gpu: radeon
display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: VGA-0 mapped: VGA-1 model: BenQ GW2270 res: 1920x1080 dpi: 102
diag: 546mm (21.5")
OpenGL:
renderer: AMD CAICOS (DRM 2.50.0 / 6.0.12-76060006-generic LLVM 14.0.0)
v: 3.3 Mesa 22.2.0 compat-v: 3.1 direct render: Yes
Audio:
Device-1: AMD Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM R5
230/235/235X OEM]
vendor: PC Partner driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s
lanes: 16 bus-ID: 2b:00.1 chip-ID: 1002:aa98
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 2d:00.4 chip-ID: 1022:1487
Sound Server-1: ALSA v: k6.0.12-76060006-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: no
Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168
IF: enp42s0 state: up speed: 1000 Mbps duplex: full
mac: 2c:f0:5d:e3:a5:85
IF-ID-1: ham0 state: unknown speed: 10 Mbps duplex: full
mac: 7a:79:00:00:00:00
Drives:
Local Storage: total: 1.36 TiB used: 246.02 GiB (17.6%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 500GB size: 465.76 GiB
speed: 31.6 Gb/s lanes: 4 serial: temp: 29.9 C
ID-2: /dev/sda vendor: Western Digital model: -01Y7B1
size: 931.51 GiB speed: 3.0 Gb/s serial: WD-
Partition:
ID-1: / size: 449.02 GiB used: 242.85 GiB (54.1%) fs: ext4
dev: /dev/nvme0n1p3
ID-2: /boot/efi size: 497 MiB used: 386 MiB (77.7%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/dm-0 mapped: cryptswap
ID-2: swap-2 type: zram size: 15.55 GiB used: 1.68 GiB (10.8%)
priority: 1000 dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: radeon temp: 45.5 C
Fan Speeds (RPM): N/A
Repos:
Packages: 2546 apt: 2537 snap: 9
Info:
Processes: 340 Uptime: 1d 20h 46m Init: systemd v: 249 runlevel: 5
Compilers: gcc: 11.3.0 alt: 11/12 Shell: Sudo v: 1.9.9
running-in: gnome-terminal inxi: 3.3.13
Here is my error.
Feb 20 19:12:06 pop-os steam.desktop[13405]: Steam: An X Error occurred
Feb 20 19:12:06 pop-os steam.desktop[13405]: X Error of failed request: BadWindow (invalid Window parameter)
Feb 20 19:12:06 pop-os steam.desktop[13405]: Major opcode of failed request: 20 (X_GetProperty)
Feb 20 19:12:06 pop-os steam.desktop[13405]: Resource id in failed request: 0x2a003ba
Feb 20 19:12:06 pop-os steam.desktop[13405]: Serial number of failed request: 26
Feb 20 19:12:06 pop-os steam.desktop[13405]: xerror_handler: X failed, continuing
Feb 20 19:12:06 pop-os steam.desktop[50419]: ERROR: ld.so: object '/home/gamerforlife/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF cl
Thanks for the help!
I have the same error with Ubuntu 22.10. (gnome, X11, linux 5.19.0-31-generic)
Steam Built Feb 14 2023, at 00:47:47 Steam API: v020 Steam package versions: 1676336721
My system is a R7 7700X, GPU: RTX 2060 Super, Asrock x670e Steel Legend
I was playing Age of Mythology, and after saving and exit to the Steam library the system I got the same message
Feb 23 13:02:48 PC1 steam.desktop[14581]: Steam: An X Error occurred Feb 23 13:02:48 PC1 steam.desktop[14581]: X Error of failed request: BadWindow (invalid Window parameter) Feb 23 13:02:48 PC1 steam.desktop[14581]: Major opcode of failed request: 20 (X_GetProperty) Feb 23 13:02:48 PC1 steam.desktop[14581]: Resource id in failed request: 0x3e00176 Feb 23 13:02:48 PC1 steam.desktop[14581]: Serial number of failed request: 23 Feb 23 13:02:48 PC1 steam.desktop[14581]: xerror_handler: X failed, continuing Feb 23 13:02:48 PC1 steam.desktop[14581]: Steam: An X Error occurred Feb 23 13:02:48 PC1 steam.desktop[14581]: X Error of failed request: BadWindow (invalid Window parameter) Feb 23 13:02:48 PC1 steam.desktop[14581]: Major opcode of failed request: 20 (X_GetProperty) Feb 23 13:02:48 PC1 steam.desktop[14581]: Resource id in failed request: 0x3e00176 Feb 23 13:02:48 PC1 steam.desktop[14581]: Serial number of failed request: 23 Feb 23 13:02:48 PC1 steam.desktop[14581]: xerror_handler: X failed, continuing Feb 23 13:02:48 PC1 gamemoded[16613]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj Feb 23 13:02:48 PC1 gamemoded[16613]: ERROR: Skipping ioprio on client [16612,16612]: ioprio was (0) but we expected (4) Feb 23 13:02:48 PC1 steam.desktop[16612]: ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Feb 23 13:02:48 PC1 steam.desktop[16612]: ERROR: ld.so: object '/home/juanjose/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Feb 23 13:02:48 PC1 steam.desktop[16619]: ERROR: ld.so: object '/home/juanjose/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Feb 23 13:02:48 PC1 gamemoded[16613]: ERROR: Skipping ioprio on client [16619,16619]: ioprio was (0) but we expected (4) Feb 23 13:02:48 PC1 steam.desktop[16619]: ERROR: ld.so: object '/home/juanjose/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Feb 23 13:02:48 PC1 gamemoded[16613]: ERROR: Addition requested for already known client 16619 [/home/juanjose/.steam/debian-installation/ubuntu12_32/steam-launch-wrapper]. Feb 23 13:02:48 PC1 gamemoded[16613]: -- This may happen due to using exec or shell wrappers. You may want to Feb 23 13:02:48 PC1 gamemoded[16613]: -- blacklist this client so GameMode can see its final name here. Feb 23 13:02:48 PC1 steam.desktop[16619]: gamemodeauto: Feb 23 13:02:48 PC1 steam.desktop[16620]: ERROR: ld.so: object '/home/juanjose/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Feb 23 13:02:48 PC1 gamemoded[16613]: ERROR: Skipping ioprio on client [16620,16620]: ioprio was (0) but we expected (4) Feb 23 13:02:49 PC1 gamemoded[16613]: ERROR: Skipping ioprio on client [16703,16703]: ioprio was (0) but we expected (4) Feb 23 13:02:49 PC1 steam.desktop[16739]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16739]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16739]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16740]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16742]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16742]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16743]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16743]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16743]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16744]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16745]: fsync: up and running. Feb 23 13:02:49 PC1 steam.desktop[16745]: wine: RLIMIT_NICE is <= 20, unable to use setpriority safely Feb 23 13:02:49 PC1 steam.desktop[16747]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16749]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16752]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16761]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[14581]: ThreadGetProcessExitCode: no such process 16744 Feb 23 13:02:49 PC1 steam.desktop[14581]: ThreadGetProcessExitCode: no such process 16742 Feb 23 13:02:49 PC1 steam.desktop[14581]: ThreadGetProcessExitCode: no such process 16741 Feb 23 13:02:49 PC1 steam.desktop[14581]: ThreadGetProcessExitCode: no such process 16740 Feb 23 13:02:49 PC1 steam.desktop[14581]: ThreadGetProcessExitCode: no such process 16620 Feb 23 13:02:49 PC1 steam.desktop[16774]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16780]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16747]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[16787]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[14581]: Game process updated : AppID 266840 "xres=3440 yres=1440 gamemoderun /home/juanjose/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch AppId=266840 -- /home/juanjose/.steam/debian-installation/ubuntu12_32/steam-launch-wrapper -- '/home/juanjose/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-poin> Feb 23 13:02:49 PC1 steam.desktop[16743]: Setting breakpad minidump AppID = 266840 Feb 23 13:02:49 PC1 steam.desktop[16743]: Steam_SetMinidumpSteamID: Caching Steam ID: 76561198453677597 [API loaded no] Feb 23 13:02:49 PC1 steam.desktop[16789]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:49 PC1 steam.desktop[14581]: ThreadGetProcessExitCode: no such process 16747 Feb 23 13:02:50 PC1 steam.desktop[16798]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:50 PC1 steam.desktop[16812]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:50 PC1 steam.desktop[16814]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:50 PC1 steam.desktop[16789]: gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Feb 23 13:02:50 PC1 steam.desktop[16818]: ERROR: ld.so: object '/tmp/pressure-vessel-libs-SPVS01/${PLATFORM}/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Feb 23 13:02:50 PC1 steam.desktop[14581]: Game process updated : AppID 266840 "xres=3440 yres=1440 gamemoderun /home/juanjose/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch AppId=266840 -- /home/juanjose/.steam/debian-installation/ubuntu12_32/steam-launch-wrapper -- '/home/juanjose/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-poin> Feb 23 13:02:50 PC1 steam.desktop[16818]: Setting breakpad minidump AppID = 266840 Feb 23 13:02:50 PC1 steam.desktop[16818]: Steam_SetMinidumpSteamID: Caching Steam ID: 76561198453677597 [API loaded no] Feb 23 13:02:51 PC1 gnome-shell[3134]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x5a00007 specified for 0x5a00005. Feb 23 13:03:08 PC1 steam.desktop[16891]: ERROR: ld.so: object '/tmp/pressure-vessel-libs-SPVS01/${PLATFORM}/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Feb 23 13:03:08 PC1 gnome-shell[3134]: JS ERROR: TypeError: this._app.appInfo is null _getNonDefaultLaunchGpu@resource:///org/gnome/shell/ui/appMenu.js:191:9 _updateGpuItem@resource:///org/gnome/shell/ui/appMenu.js:174:32 _onAppStateChanged@resource:///org/gnome/shell/ui/appMenu.js:130:14 Feb 23 13:03:08 PC1 steam.desktop[14581]: Game process updated : AppID 266840 "xres=3440 yres=1440 gamemoderun /home/juanjose/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch AppId=266840 -- /home/juanjose/.steam/debian-installation/ubuntu12_32/steam-launch-wrapper -- '/home/juanjose/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-poin> Feb 23 13:03:09 PC1 steam.desktop[16891]: Setting breakpad minidump AppID = 266840 Feb 23 13:03:09 PC1 steam.desktop[16891]: Steam_SetMinidumpSteamID: Caching Steam ID: 76561198453677597 [API loaded no] Feb 23 13:03:09 PC1 steam.desktop[14581]: ThreadGetProcessExitCode: no such process 16818 Feb 23 13:03:09 PC1 gnome-shell[3134]: Window manager warning: Window 0x5a00003 sets an MWM hint indicating it isn't resizable, but sets min size 1 x 1 and max size 2147483647 x 2147483647; this doesn't make much sense. Feb 23 13:03:09 PC1 steam.desktop[16891]: Fossilize INFO: Overriding serialization path: "/home/juanjose/.steam/debian-installation/steamapps/shadercache/266840/fozpipelinesv6/steamapprun_pipeline_cache". Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 71 with keysym 71 (keycode 18). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11). Feb 23 13:03:37 PC1 gnome-shell[3134]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Same here, Fedora 37 and Gnome Wayland.
Everything is forwarded to journald clogging the log with the same message over and over again.
I'm starting steam like this now to prevent this: steam > /dev/null 2>&1 &
No idea how to prevent this from happening otherwise. No Steam errors are logged now any more, of course.