adangert / JoustMania

Raspberry Pi Jousting at its finest
http://joustmania.com
Other
124 stars 33 forks source link

Not booting on the last Raspberry OS version #335

Closed kurainisei closed 1 month ago

kurainisei commented 1 month ago

I tried to install JoustMania on a new Raspberry 5. I kept the stock system in, which I believe is right. I updated everything and followed all the instructions, but when I try to start it, it just reboots into the regular Pi desktop. The only thing I can see when it tries to start is that it fails stopping watchdog, but I am not sure that's the problem. However after that it seems to reboot once more and ends back into desktop mode. I tried to boot in terminal mode, and it gets to the command line.

Pi is set up on auto login. What can I do to make it work? Thanks for all the help you can give me.

adangert commented 1 month ago

Thanks for the issue, I was able to test joustmania about a week ago and things were working, I'll have to reinstall and try again, something might have been changed.

adangert commented 1 month ago

You can try running sudo ./joust.sh to see if any errors pop up

kurainisei commented 1 month ago

so, I tried to run that and this is what I get: ` pygame 2.6.0 (SDL 2.28.4, Python 3.11.2) Hello from the pygame community. https://www.pygame.org/contribute.html linux 2024-08-29 14:20:28,749 - INFO - main - Starting piparty 2024-08-29 14:20:28,848 - DEBUG - main - Loading settings 2024-08-29 14:20:28,855 - DEBUG - main - {'color_lock': False, 'color_lock_choices': {2: ['Magenta', 'Green'], 3: ['Orange', 'Turquoise', 'Purple'], 4: ['Yellow', 'Green', 'Blue', 'Purple']}, 'current_game': 'JoustFFA', 'enforce_minimum': True, 'force_all_start': False, 'menu_voice': 'ivy', 'move_can_be_admin': True, 'play_audio': True, 'play_instructions': True, 'random_modes': ['JoustFFA', 'JoustRandomTeams', 'Werewolf', 'Swapper'], 'random_team_size': 4, 'random_teams': True, 'red_on_kill': True, 'sensitivity': 2}

Port 80 is in use by another program. Either identify and stop that program, or start the server with a different port. running command: sudo runuser -l fede -c 'cd /home/fede/JoustMania;pwd' /home/fede/JoustMania returning: /home/fede/JoustMania

running command: sudo runuser -l fede -c 'cd /home/fede/JoustMania;git fetch' returning: running command: sudo runuser -l fede -c 'cd /home/fede/JoustMania;git diff origin/master --name-only --cached' returning: [] running command: git rev-parse HEAD 5d2961baaf410fc7092e8b98d4d41a5b6e26bffc returning: 5d2961baaf410fc7092e8b98d4d41a5b6e26bffc

2024-08-29 14:20:29,376 - DEBUG - main - Number of moves: 0 2024-08-29 14:20:29,378 - DEBUG - main - Moves serial: [] 2024-08-29 14:20:29,405 - DEBUG - asyncio - Using selector: EpollSelector

` The only thing I can think about could be my password? But when I started the os the first time I had to input one, I couldn't go on without. It is however set with an auto login but maybe I need to take it out completely? If so, not sure how it's done...

kurainisei commented 1 month ago

(Might be helpful to add that I tried a fresh install and nothing. Starts booting, says it couldn’t stop watchdog, turns off and reboots into desktop)

kurainisei commented 1 month ago

IMG_4170

this is what I see what I boot, before the system shuts and restarts. Sorry for the screen photo but am not sure how to access that log.

kurainisei commented 1 month ago

(sorry for the barrage of messages) I also tried to reinstall the os from scratch, and I am still having the same problem.

adangert commented 1 month ago

Hey thanks for the update, the log looks fine running it without errors, which is strange, if you plug in an audio jack to the pi (or if you have a pi 5 you need an aux converter cable) music should start playing. However it sounds like that isn't necessarily the issue.

The other thing I can think of off the top of my head is potentially something with the username fede, which it who work for, you could try the 'pi' default username and see if that changes anything. It should be booting to the OS desktop and running in the background, the only way to check if it is running is the music playing.

On my side I've just been released from the hospital, so I'm on the mend a bit, but should be able to try and look at it this weekend.

kurainisei commented 1 month ago

ooof poor you, sorry to hear that! No worries, I will try the different username and run some more tests, most likely it's my problem. let me see.

kurainisei commented 1 month ago

Ok, now this is embarrassing. I figured the problem out. My adaptor for the speakers was defective, and so I couldn't hear the sound. It was actually working! I need to try a bit more the pairing and everything else but I think it's there. I am so sorry for this, especially given you've been in the hospital. I got tricked because desktop+no sound+Pi rebooting twice. Gosh. I am closing this. Again, very sorry.