SteamGridDB / steam-rom-manager

An app for managing ROMs in Steam
GNU General Public License v3.0
1.85k stars 120 forks source link

[BUG] SRM gets stuck after clicking the search button randomly #693

Open acidfrehley opened 1 month ago

acidfrehley commented 1 month ago

Been trying to setup my library on Rog Ally for a couple of days, but facing an annoying issue. I have a large library, but I'm adding the systems one by one, editing all the artwork before saving it to steam.

The issue that I'm facing happens quite randomly. My process so far is to go game by game, fixing a bad match, or just setting a custom artwork.

But after doing this proccess with 15~20 games, when I hit the search button on the next one I get stuck on this screen: image

Worst part is as soon as this happens, all the work I did before is almost gone. Because the only way to make SRM work again is by closing it and reopening it. When I do this some of the customizations that were made previously are saved (custom titles, the checkbox for custom artwork). But my artwork choices are vanished and I have do start all over again.

Also, when this bug happens, the bottom menu from the 'add games' section disappear. I'm unable to search or edit any other game until I quit/reopen SRM.

I've been trying to figure out some sort of pattern that trigger this, but little luck so far. The only way I've been able to use SRM is to edit a small batch of games, save them to Steam, then closing and reoping SRM to do another batch. The only thing that I know for sure is that the bug will happen, its just a matter of when.

I'm not familiar with the logs, but just picking from the current situation, the latest entries are:

Error for title Thunder Force IV: Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\43349310\config\grid\4263522151.png' -> 'c:\program files (x86)\steam\userdata\43349310\config\grid\18311688204350128128.png' Error for title Clue: Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\43349310\config\grid\4268733448.png' -> 'c:\program files (x86)\steam\userdata\43349310\config\grid\18334070554534871040.png' Error for title Desert Strike: Return to the Gulf: Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\43349310\config\grid\4283561802.png' -> 'c:\program files (x86)\steam\userdata\43349310\config\grid\18397757850018381824.png' Error for title Venom . Spider-Man - Separation Anxiety (USA, Europe): Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\43349310\config\grid\4289024131.png' -> 'c:\program files (x86)\steam\userdata\43349310\config\grid\18421218374433374208.png' Error for title The Flintstones: Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\43349310\config\grid\4294621944.png' -> 'c:\program files (x86)\steam\userdata\43349310\config\grid\18445260798197497856.png' Done adding/removing entries. All available image urls retrieved. All available image urls retrieved. All available image urls retrieved. All available image urls retrieved. All available image urls retrieved. All available image urls retrieved.

Currently on version 2.5.19 ROG Ally with Windows 11

Nothing special with the settings: image

Upvote & Fund

Fund with Polar

TheWayTheTruthTheLife commented 1 month ago

I had a similar issue that caused a long freeze in SRM. When the app froze, it would start working properly again after a while.

The issue was with Mass Effect: Legendary Edition using the EA Desktop parser. Every time I would scroll through the list in the "Add Games" page after parsing, the app would freeze for a while when I reached that game. After a while, it would start working again.

Even when selecting the game in Steam, my Steam app would freeze also.

I found out that the issue was in the artwork. Under the "Logos" category, ME:LE automatically picked a Logo that was a crazy large resolution, around 25000x14000. SRM and Steam were trying to load this massive image every time it was selected, and it caused them to freeze up.

I selected a lower resolution Logo for ME:LE, and it started working perfectly in SRM and Steam. No more freezing.

Hopefully this can help to solve your problem too.

acidfrehley commented 1 month ago

Thanks for the response. I don't know if it has something to do with an specific artwork. I had SRM getting stuck with so many different games. And once I managed to get that specific game to be saved up to steam, it doesn't bother anymore, but I'll certainly get the issue again with another title after that.

Been trying some things over the weekend, today I'm planning on import a new batch, if it happens again I'll try to share some more info.

schabpiotr commented 3 weeks ago

Thanks for the response. I don't know if it has something to do with an specific artwork. I had SRM getting stuck with so many different games. And once I managed to get that specific game to be saved up to steam, it doesn't bother anymore, but I'll certainly get the issue again with another title after that.

Been trying some things over the weekend, today I'm planning on import a new batch, if it happens again I'll try to share some more info.

For me what helped was just clearing the artwork by going to "Settings" -> "Image Providers" section -> and clicking "Nuke" on the side of "Artwork choice cache" and "local artwork backups". I also clicked "Force download" on the side of "Custom variables" and "Custom presets" in the "Community presets and custom variables" section.