mmtrt / leagueoflegends

Unofficial league of legends snap repo
https://snapcraft.io/leagueoflegends
GNU Lesser General Public License v2.1
221 stars 27 forks source link

X Error BadWindow after Login #204

Closed kmodexc closed 2 months ago

kmodexc commented 2 years ago

After login the client doesnt start. After some time this error appears:

X Error:  BadWindow
  Request Major code 10 ()
  ResourceID 0x4000001
  Error Serial #77
  Current Serial #77
0200:err:ole:CoUninitialize Mismatched CoUninitialize

After this there is no active process in ps -a

What does that error mean and how to fix?

My System: Kali Linux AMD Ryzen 5 4500U with Radeon Graphics 8GB RAM

Full Log:

leagueoflegends                                                                                                                                                                                                                    130 ⨯
000000.001|   OKAY| Running from cwd 'C:\Riot Games\League of Legends'.
000000.002| ALWAYS| Application Version:12.1.416.5961 - CL:4165961 - Build Date:Jan 05 2022 - Build Time:13:23:51
000000.004|   OKAY| Initial working directory: "C:\Riot Games\League of Legends"
000000.006|   OKAY| Current process: "C:\Riot Games\League of Legends\LeagueClient.exe"
000000.008|   OKAY| Command line arguments:
000000.009|   OKAY| Enabling Data API Dradis collection with endpoint: https://ekg.riotgames.com/messages
000000.013| ALWAYS| The following message is prepared to be sent to dradis:
Event Name: riot__rclient__event
common.os_platform: Windows
common.application_name: LeagueClient
common.application_version: 12.1.416.5961
common.cef_version: 91.1.21+g9dd45fe+chromium-91.0.4472.114
common.installation_id: SiFVDQ==
common.locale: en_GB
common.os_version_major: 10
common.machine_id: v+q7j4SGxUWSpA0Tv5NIWw==
common.os_edition: Ultimate N, x64
common.os_version_minor: 
common.region: EUW
common.session_id: 5d6cb167-b77f-2047-8562-140033b9f7ea
event_name: startup
crash_reporter: crashpad
000000.021| ALWAYS| Queued Dradis event to be sent.
000000.022| ALWAYS| Direct Launch enabled for league_of_legends.live in environment 'live' for app path 'C:\Riot Games\League of Legends\LeagueClient.exe' and install dir 'C:\Riot Games\League of Legends'
000000.025| ALWAYS| Found associated Riot Client install (c:/Riot Games/Riot Client/RiotClientServices.exe)
000000.060|   OKAY| Launched Riot Client with process 712
000000.062| ALWAYS| Riot Client started. Exiting with the expectation of being restarted (ExitForDirectLaunch).
03f4:err:rpc:I_RpcGetBuffer no binding
000005.855|   OKAY| EventCollector: 0 events remaining after thread join
000005.856|   OKAY| Shut down EventCollector in 842 milliseconds                                                                                                                                                                                                                                            fixme:vkd3d_create_device: Unsupported feature level 0xc100.
fixme:vkd3d_create_device: Unsupported feature level 0xc000.
wine: Unhandled exception 0xe0000008 in thread 900 at address 7B035485 (thread 0900), starting debugger...
LeagueClientUx pid: 19699
Waiting for port 41111
X Error:  BadWindow
  Request Major code 10 ()
  ResourceID 0x4000001
  Error Serial #77
  Current Serial #77
0200:err:ole:CoUninitialize Mismatched CoUninitialize
mmtrt commented 2 years ago

Do you have dxvk in wineprefix if not then install and try again see if it fixes the issue. snap run leagueoflegends.winetricks dxvk

though you have Kali Linux which had issues with snaps not sure if its related to it.