HGL
stormy-gold

Saints Row 2022

can't get past the launcher when i press the dx11 the bar loads about quarter and then sits for a while before crashing
36 Replies
unwilling-turquoise
unwilling-turquoise2y ago
You are not the only one... The game worked with the first patch or two, then started giving this error. Devs (of game) were not interested in fixing...
fascinating-indigo
fascinating-indigo2y ago
00c8:err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash :Thonk: ok this was either the easiest issue to fix or there's something else going on here
fascinating-indigo
fascinating-indigo2y ago
fascinating-indigo
fascinating-indigo2y ago
could someone test with this patch easiest way is to first
fascinating-indigo
fascinating-indigo2y ago
GitHub
GitHub - Frogging-Family/wine-tkg-git: The wine-tkg build systems, ...
The wine-tkg build systems, to create custom Wine and Proton builds - GitHub - Frogging-Family/wine-tkg-git: The wine-tkg build systems, to create custom Wine and Proton builds
fascinating-indigo
fascinating-indigo2y ago
go to the wine-tkg-git subfolder of the repo add my patch to wine-tkg-userpatches (rename to a .mypatch) then run ./non-makepkg-build.sh use the default config when it askes to enable the patch, just enable it then import the wine version into heroic and you are good to go @odonata @Szentigrade so have you guys tried the patch?
stormy-gold
stormy-goldOP2y ago
havn't had the chance yet
passive-yellow
passive-yellow2y ago
Other things I have noticed:
"game_directory": "/run/user/1000/doc/17aa71ab/games/SaintsRow",
the game is installed in a folder which doesn't have proper permissions. use flatseal.
"savesPath": "/home/szentigrade/Games/Heroic/cloud", "winePrefix": "/home/szentigrade/Games/Heroic/Prefixes/default/Saints Row",
your saves are synced to a folder that isn't part of the game prefix.
fascinating-indigo
fascinating-indigo2y ago
Ok I compiled a build will upload soon First try the above suggestion and if that fixes the issue Then try my build if that fixes the issue I will upstream the patch
fascinating-indigo
fascinating-indigo2y ago
@Szentigrade @odonata sorry for the pings, but is it possible for you to try the above wine builds?
stormy-gold
stormy-goldOP2y ago
when i tried to patch it fails -> Applying wine-staging patches using staging/patchinstall.py... Staging overrides used, if any: ==> ERROR: Patch application has failed. The error was logged to /home/szentigrade/Downloads/wine-tkg-git-master/wine-tkg-git/prepare.log for your convenience. -> To use the last known good mainline version, please set _plain_version="" in your .cfg -> To use the last known good staging version, please set _staging_version="" in your .cfg (requires _use_staging="true") -> Removed BIG_UGLY_FROGMINER - Ribbit -> Removed Proton-tkg token - Valve Ribbit -> exit cleanup done
stormy-gold
stormy-goldOP2y ago
@OOOOOF123
fascinating-indigo
fascinating-indigo2y ago
could you run it with WINEDEBUG=+gdi,+gdiplus
stormy-gold
stormy-goldOP2y ago
which one
fascinating-indigo
fascinating-indigo2y ago
both that's just an env variable
stormy-gold
stormy-goldOP2y ago
fascinating-indigo
fascinating-indigo2y ago
that's not right you have to add it to the env variables
fascinating-indigo
fascinating-indigo2y ago
now the variable is not even there
stormy-gold
stormy-goldOP2y ago
think i worked it out makes the log file so much bigger
fascinating-indigo
fascinating-indigo2y ago
012c:trace:gdi:dump_gdi_objects handle 0x104606a obj 555557925740 type NTGDI_OBJ_REGION selcount 0 deleted 0 012c:trace:gdi:dump_gdi_objects handle 0x101606b obj 555557926700 type NTGDI_OBJ_DC selcount 0 deleted 0 012c:trace:gdi:dump_gdi_objects handle 0x105606c obj 5555579268c0 type UNKNOWN selcount 0 deleted 0 over and over @Szentigrade could you not use my version of wine I didn't expect that wine couldn't handle a higher handle count and it's already way higher than what's on windows (I think) i missread 0x10000 as 0x1000 rookie error lol just use wine-ge and send a log
stormy-gold
stormy-goldOP2y ago
ok
fascinating-indigo
fascinating-indigo2y ago
is there any way for me to download the launcher and debug it ? there's simply not enough information in the logs to figure out what's wrong (it's creating an UNKOWN gdi object and never deleting it) and then that's a memory leak i wanna know what the id of this unkown object is but the wine logs never print it alternatively you can make a wine bug on this say that it's running out of GDI objects and when +gdi,+gdiplus is defined
00fc:trace:gdi:dump_gdi_objects handle 0x104a474 obj 7fe439f69820 type NTGDI_OBJ_REGION selcount 0 deleted 0
00fc:trace:gdi:dump_gdi_objects handle 0x101a475 obj 7fe439f6a800 type NTGDI_OBJ_DC selcount 0 deleted 0
00fc:trace:gdi:dump_gdi_objects handle 0x105a476 obj 7fe439f6a9c0 type UNKNOWN selcount 0 deleted 0
00fc:trace:gdi:dump_gdi_objects handle 0x104a474 obj 7fe439f69820 type NTGDI_OBJ_REGION selcount 0 deleted 0
00fc:trace:gdi:dump_gdi_objects handle 0x101a475 obj 7fe439f6a800 type NTGDI_OBJ_DC selcount 0 deleted 0
00fc:trace:gdi:dump_gdi_objects handle 0x105a476 obj 7fe439f6a9c0 type UNKNOWN selcount 0 deleted 0
is spammed (after shared gdi handles run out)
stormy-gold
stormy-goldOP2y ago
stormy-gold
stormy-goldOP2y ago
there is the launcher
fascinating-indigo
fascinating-indigo2y ago
could you also send thqno_launcher_x64.dll then and amd_ags_x64.dll
fascinating-indigo
fascinating-indigo2y ago
yeah now it says invalid configruation I think I need the actual game for this
stormy-gold
stormy-goldOP2y ago
damn

Did you find this page helpful?