Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hello!

I’m no expert on running things in Linux, but I found this post on the LemmaSoft Forums that seems to describe a similar issue. 

https://lemmasoft.renai.us/forums/viewtopic.php?p=104303&sid=2c8f0482ad849d047da749e6535b887c#p104303

If this works (or doesn’t), please let me know! I’m so sorry you encountered this problem…

(+1)

Oh god, I just realized my earlier answer contained info from over ten years ago...

Here's a more relevant solution that may help:

https://www.reddit.com/r/RenPy/comments/o4n3xh/renpy_games_crash_on_bootup/

Again, if this works (or doesn’t), please let me know!

(+1)

It's definitely not the second issue; I've had permissions problems before and the game just won't launch, but it's an easy fix. I'm not sure about the missing dependencies. Sorry I forgot to copy the error text before. Here's what I get running the game in a terminal:

X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Serial number of failed request:  371
  Current serial number in output stream:  371

And here's the log.txt after force quitting:

Mon Jan 10 18:29:54 2022
Linux-5.4.0-92-generic-x86_64-with-debian-buster-sid
Ren'Py 7.5.0.95n
Bootstrap to the start of init.init took 0.09s
Early init took 0.00s
Loader init took 0.02s
Loading error handling took 0.02s
Loading script took 0.35s
Loading save slot metadata. took 0.00s
Loading persistent took 0.00s
Importing _renpysteam: ImportError('No module named _renpysteam',)
Set script version to: (7, 5, 0)
Running init code took 0.08s
Loading analysis data took 0.04s
Analyze and compile ATL took 0.01s
Index archives took 0.00s
Dump and make backups. took 0.00s
Cleaning cache took 0.00s
Making clean stores took 0.00s
Initial gc. took 0.05s
DPI scale factor: 1.000000
Creating interface object took 0.00s
Cleaning stores took 0.00s
Init translation took 0.08s
Build styles took 0.01s
Load screen analysis took 0.00s
Analyze screens took 0.02s
Save screen analysis took 0.05s
Prepare screens took 0.11s
Save pyanalysis. took 0.00s
Save bytecode. took 0.00s
Running _start took 0.00s
Performance test:
Interface start took 0.43s
Initializing gl2 renderer:
primary display bounds: (0, 0, 1920, 1080)
swap interval: 1 frames
Windowed mode.
(+1)

Thanks for posting the error log! 

I scoured the web for other people who encountered this issue with Ren'Py games too - and apparently, this is an issue that sometimes pops up with images within the game that are high-res (usually game icons).

Does this info help at all...? 

(1 edit) (+1)

Yes, thank you so much! Apparently the solution is just to resize gui/window_icon.png to 1000x1000 and now it runs fine! (credit to mttk here.) I have no idea why that's a problem on Linux and not Windows (or why there couldn't be a more descriptive error message) but there you go.

(+1)

Excellent! I’m glad I could help. ^^

I’ll probably make a devlog post about this issue for Linux users - so that other people who encounter this issue can solve it quickly.