You are not logged in.

#1 2021-05-08 11:56:52

rwo
Member
Registered: 2020-05-15
Posts: 9

Lutris XWayland X-Error

I can't start some Lutris games (Battlefield 4, League of Legends). I'm using Sway (Wayland). Other X-Wayland games and applications work just fine. The ones that don't start fail with the following error message.

X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  147 ()
  Minor opcode of failed request:  7
  Serial number of failed request:  249
  Current serial number in output stream:  250

Any ideas how to solve or debug this problem?

Offline

#2 2021-05-09 11:31:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,322

Re: Lutris XWayland X-Error

Which videocard & driver ?

Output of

$ lspci -k
$ glxinfo -B  # comes with mesa-demos
$ glxinfo32 -B # comes with lib32-mesa-demos

would be useufl.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2021-05-09 15:14:41

rwo
Member
Registered: 2020-05-15
Posts: 9

Re: Lutris XWayland X-Error

The monitors are attached to the Vega 56 GPU, which i use without problems in Wayland native Applications. I am using the amdgpu driver. The Intel and Nvidia GPU are configured for VFIO Passtrough.

Output from the commands:
https://pastebin.com/vDf3nsZQ

Last edited by rwo (2021-05-09 20:11:16)

Offline

#4 2021-05-10 12:47:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,322

Re: Lutris XWayland X-Error

Outputs look ok and do confirm xwayland/sway use the vega card.

Try starting those games directly from a x-terminal and post the output .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2021-05-22 20:39:44

MajorMayer
Member
Registered: 2021-05-22
Posts: 5

Re: Lutris XWayland X-Error

I am on Manjaro, so yes I know this forum is not the right place to post about this issue.
But interestingly I experience exactly the same issue as rwo. Origin itself works fine, I can also play other origin titles like the new "It takes two" but Battlefield 4 doesn't work for example.
It seems like the problem is not Wayland, because i started Gnome under Xorg and got the same error message.
Here you can find the full logs (from the XWayland session): https://pastebin.ubuntu.com/p/YKrR6h9mbh/

I started the game via Lutris and used the in build logs window, to capture the logs. If you have a better method, please explain it to me.
Aaand, i am also using the Vega 56 (what a coincidence big_smile) and use the AMDGPU driver.

Last edited by MajorMayer (2021-05-22 20:42:19)

Offline

Board footer

Powered by FluxBB