reuterbal / photobooth

A flexible photobooth software
GNU Affero General Public License v3.0
319 stars 157 forks source link

I can't use photobooth #110

Closed loicabme closed 5 years ago

loicabme commented 5 years ago

Photobooth doesn't work on my PI.

Sorry for my english, I'm french and english isn't easy for me. I will try to describe my issue. I'm a beginner with the PI. I have some notion dating from my studies. I installed photobooth as explained in the INSTALL.md I start Photobooth, I change parameters and after Photobooth is very slow. I can't use the software after "hit the buton". Photobooth remain blocked on this page or on page "get ready start countdown" I don't understand why doesn't work. (I don't use GPIO, I use touch screen, I need to touch the text directly to start the countdown ? it's right ?)

When I start Photobooth I have this message in the terminal "libegl warning dri2 failed to authenticate". Is that the source of the problem ?

I make a photobooth for a birthday, it's a gift. I need to finish the project before 30 april.

My PI seems very slow, it's the micro sd ?

Thank you for your help.

Hardware

Software

wikijm commented 5 years ago

Salut @loicabme,

Pourrais-tu filmer le lancement de Photobooth grâce au logiciel https://asciinema.org/?

call-me-matt commented 5 years ago

Hello loicabme, two things that you could check: make sure that you are using a 2.5A power supply. try the latest raspberian image to install everything. (mon setup était aussi lente avant que j'ai changé l'alimentation pour un bloc de 2.5A. Par contre ton problème me semble d'être plustôt software. Comment est-ce que tu as installé raspberian? T'as pris la dernière version où réutilisé un ancien Pi?)

loicabme commented 5 years ago

I look at for the recording of start

My power supply is a ankru 3A. The PI is new and I took the last raspbian on the official website (+ update after first boot).

French Je regarde pour l'enregistrement du démarrage.

L'alimentation est une ankru 3A. Le PI est neuf et j'ai pris le dernier raspbian sur le site officiel (+ mise à jour après premier démarrage)

loicabme commented 5 years ago

Salut @loicabme,

Pourrais-tu filmer le lancement de Photobooth grâce au logiciel https://asciinema.org/?

Comment je partage l'enregistrement ? J'ai des nouveaux problèmes avec gphoto2.

wikijm commented 5 years ago

Au besoin, je peux me rendre dispo un peu ce matin sur Skype ou tout autre moyen de communication.

loicabme commented 5 years ago

Au besoin, je peux me rendre dispo un peu ce matin sur Skype ou tout autre moyen de communication.

Merci beaucoup de la proposition mais je ne vais pas pouvoir ce matin, journée chargée.

loicabme commented 5 years ago

Voici l'nregistrement, je ne sais pas si c'est la bonne méthode.

tmp5t26flj_-ascii.zip

wikijm commented 5 years ago

Pas de soucis. Pour le partage de l'enregistrement asciineam : https://asciinema.org/docs/getting-started

loicabme commented 5 years ago

merci de l'info, je vais voir pour recommencer.

wikijm commented 5 years ago

La commande suivante (à jouer en tant que robot) devrait solutionner le problème :

sudo ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLESv2.so

Source : https://raspberrypi.stackexchange.com/questions/61078/qt-applications-dont-work-due-to-libegl

wikijm commented 5 years ago

Dans ton enregistrement, je vois également cette erreur :

inotify_add_watch("/home/pi/.config/qt5ct") failed: "No such file or directory"
loicabme commented 5 years ago

Hello,

I have just redone a complete installation, I have the same messages (I had not also seen for inotify_add_watch("/home/pi/.config/qt5ct") failed: "No such file or directory")

After test I can take pictures. It seems to be working on that point.

I tried "sudo ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLESv2.so" and it return me: "ln: impossible de créer le lien symbolique '/usr/lib/arm-linux-gnuebinf/libGLESv2.so' : Aucun fichier ou dossier de ce type".

For the second error I need to create the folder "/home/pi/.config/qt5ct" ?

If I can sum up:

French

Bonjour,

Je viens de refaire une installation complète, j'ai les même messages (je n'avais pas vu également pour inotify_add_watch("/home/pi/.config/qt5ct") failed: "No such file or directory")

Alors après test je peux maintenant faire les photos. Cela semble être fonctionnel sur ce point là.

J'ai essayé "sudo ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLESv2.so" il me retourne : "ln: impossible de créer le lien symbolique '/usr/lib/arm-linux-gnuebinf/libGLESv2.so' : Aucun fichier ou dossier de ce type".

Pour la deuxième erreur il faut que je crée le dossier "/home/pi/.config/qt5ct" ?

Si je résume :

loicabme commented 5 years ago

Hello,

New information 1/ Now I can take pictures, assemble them, and print. I'm happy. I can modify the stylesheet but something when I modify a parameters photobooth doesn't work. I have some errors and photobooth doesn't start with the terminal. It opens full of "worker" window. I need to re-install photobooth. This problem is known ?

2/ When I start Photobooth I have this message in the terminal "libegl warning dri2 failed to authenticate". Is that the source of the problem ?

I tried "sudo ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLESv2.so" and it return me: "ln: impossible de créer le lien symbolique '/usr/lib/arm-linux-gnuebinf/libGLESv2.so' : Aucun fichier ou dossier de ce type".

3/ Now that I can print I would like to center the photos when printing. The margins are differents :

What parameters I need to modify and in what file ? (I tested print parameters but it's not good, the printer cut photos)

Thank you for your help.

loicabme commented 5 years ago

3/ I can print the photos with similar margin (right, left, top, bottom) if I change the size of paper in section printer. I need to use 154x104 mm paper size and the real paper size is 148x100 mm. Can you explain me why I need to do this change ?

reuterbal commented 5 years ago

1/ should be fixed when you update Raspbian and all PIP packages to the latest versions.

2/ That is no problem, see #128

3/ This is an open issue, I am also looking for a good solution.

reuterbal commented 5 years ago

Closing this due to inactivity.