the game freezes at startup

  • undroid
    25th Apr 2021 Member 0 Permalink

    If I start the game, the screen freezes.
    If I start the game in a terminal, a segment fault appears when I close the window.
    My system is Ubuntu 18.04.5 LTS (64-bit)
    Until a few months ago it worked fine. Today I wanted to play and it doesn't work.

     

    $ ./powder64
    Violación de segmento (`core' generado)

    I am using the latest version of powdertoy.

  • LBPHacker
    25th Apr 2021 Developer 0 Permalink
    What does "freezing" mean here? Is it actually frozen or is it just the screen being black? Can you test if opening the console (press '~' or whatever is above your Tab key) and executing "os.exit()" also quits TPT? If it does, then we're looking at two problems. One is that, for some reason, TPT is unable to acquire a rendering context and doesn't draw anything. The other is the segmentation fault on exit, which is due to a problem with how SDL interacts with nvidia-460, which is a fairly new package and would explain why you haven't experienced the segfault before.
  • undroid
    25th Apr 2021 Member 0 Permalink

    This is what I mean with "the screen freezes" and stays like that forever:

    https://ibb.co/TtWpy9C

  • LBPHacker
    25th Apr 2021 Developer 0 Permalink
    Have you tried what I suggested though?
  • undroid
    25th Apr 2021 Member 0 Permalink

    I found that no game was working for me so I restarted and now everything works.... mysteries of computing. Thank you.

  • jacob1
    26th Apr 2021 Developer 0 Permalink
    @undroid (View Post)
    If you recently upgraded your nvidia drivers, a restart is required for them to take effect. If you don't do that, bugs like this empty screen issue can happen.

    I didn't think of this until you mentioned all games were affected. This exact issue happens for me too whenever my nvidia drivers upgrade.
    Edited once by jacob1. Last: 26th Apr 2021