PS3 Problem (solved)

Hello
What does that mean?

Images: 
piborg's picture

There is a bit of a bug with pygame unfortunately with how it handles not having a graphical display.
This affects use over SSH or other terminal logins.

What you can try is editing the diddyJoy.py script.
Look for the line:

#pygame.display.set_mode((1,1))

and delete the # so it looks like:

pygame.display.set_mode((1,1))

It is a bit confusing, on some installs making this change stops things working correctly.
This is a bug relating to pygame itself sadly.

If that does not work on its own you should be able to run the script in a VNC session.
This will allow access to the graphical system and make pygame happy.

Hy
I tried your Tip and now it funktion, thanks a lot!

Hello
Is there no possibility to use the script over SSH without Problem?

piborg's picture

I thought we had solved this issue.

Does the fix no longer work?

i tried it with vnc and with that it function! I thought if it function with vnc it does also with ssh!

piborg's picture

As I mentioned before VNC gets around the problem because it has a graphical output.

SSH has no graphical output so the script needs to disable it manually.
The script should work with the line above either in use (no # at start) or commented out (starting with the # symbol).

Since you had to update the Raspberry Pi software I would try both to see which works with SSH.

Subscribe to Comments for "PS3 Problem (solved)"