Closed AlexPtushkin closed 1 year ago
Updated the display driver, peppy stopped loading git clone https://github.com/waveshare/LCD-show.git .cd LCD-show / Если это драйвер старой версии, выполните следующий код: sudo ./LCD35B-show
Displays on the screen
The colors are normal, but it won’t load any further and is stuck after restart
Hi, according to the log it looks like some Bluetooth issue similar to this one: https://github.com/Arkq/bluez-alsa/issues/394 You still should be able to connect to the Pi using SSH. Which display do you use and which disk image?
Hello,
Log: [2023-09-23 11:04:31,701] {amixerutil.py:44} DEBUG - ALSA mixer name: Headphone [2023-09-23 11:04:31,789] {diskmanager.py:288} DEBUG - Started USB drive plug/unplug observer [2023-09-23 11:04:31,789] {bluetoothutil.py:101} DEBUG - Starting bluetoothctl utility... [2023-09-23 11:04:31,830] {bluetoothutil.py:105} DEBUG - bluetoothctl utility started [2023-09-23 11:04:31,883] {bluetoothutil.py:395} DEBUG - Not found paired devices [2023-09-23 11:04:31,885] {bluetoothutil.py:399} DEBUG - No data for Bluetooth device [2023-09-23 11:04:32,405] {screensaverdispatcher.py:219} DEBUG - Get screensaver slideshow [2023-09-23 11:04:32,418] {selector_events.py:53} DEBUG - Using selector: EpollSelector [2023-09-23 11:04:32,426] {webserver.py:206} DEBUG - Web Server Started [2023-09-23 11:04:32,582] {peppy.py:415} DEBUG - Audio Server Started
What's the current state? Do you see UI? Can you control player using touchscreen?
Peppy loads, even the interface appears. Then everything disappears and the inscription appears: pygame 1.9.4.post1 Hello from the pygame community. https://www.pygame.org/contribute.html
I tried following the instructions https://github.com/project-owner/PeppyPlayers.doc/wiki/Waveshare-3.5-(B)
After updating LСD the problem appears. git clone https://github.com/waveshare/LCD-show.git cd LCD-show / sudo ./LCD35-show
The browser interface works without problems. The archive klimt-waveshare.3.5.img.xz was made for the old version of the display. They don't produce this one now. We need to correct the mistake.
Can you disable Bluetooth using Web UI and restart the player? If it helps try to setup Bluetooth again.
Log Peppy: [2023-09-23 13:48:10,609] {web.py:2243} INFO - 304 GET /parameters (192.168.1.6) 68.28ms [2023-09-23 13:48:10,615] {web.py:2243} INFO - 304 GET /bgr (192.168.1.6) 5.02ms [2023-09-23 13:48:10,616] {web.py:2243} INFO - 304 GET /fonts (192.168.1.6) 4.89ms [2023-09-23 13:48:10,754] {web.py:2243} INFO - 304 GET /bgr (192.168.1.6) 4.10ms [2023-09-23 13:48:10,757] {web.py:2243} INFO - 304 GET /fonts (192.168.1.6) 1.28ms [2023-09-23 13:48:10,766] {web.py:2243} INFO - 304 GET /labels?language=English-USA (192.168.1.6) 8.09ms [2023-09-23 13:48:10,773] {web.py:2243} INFO - 304 GET /bgr (192.168.1.6) 3.49ms [2023-09-23 13:48:10,777] {web.py:2243} INFO - 304 GET /fonts (192.168.1.6) 1.11ms [2023-09-23 13:48:10,818] {web.py:2243} INFO - 304 GET /fonts (192.168.1.6) 1.10ms [2023-09-23 13:52:14,498] {web.py:2243} INFO - 200 GET /timezone (192.168.1.6) 245.70ms [2023-09-23 13:52:14,520] {connectionpool.py:1052} DEBUG - Starting new HTTPS connection (1): alphacephei.com:443 [2023-09-23 13:52:14,929] {connectionpool.py:556} DEBUG - https://alphacephei.com:443 "GET /vosk/models/model-list.json HTTP/1.1" 200 None [2023-09-23 13:52:14,936] {web.py:2243} INFO - 304 GET /voiceassistant/voskmodels?language=English-USA (192.168.1.6) 435.28ms [2023-09-23 13:52:14,966] {web.py:2243} INFO - 304 GET /alsadevices (192.168.1.6) 461.55ms [2023-09-23 13:52:15,002] {diskmanager.py:46} DEBUG - [] [2023-09-23 13:52:15,004] {web.py:2243} INFO - 304 GET /diskmanager/disks (192.168.1.6) 35.51ms [2023-09-23 13:52:15,200] {web.py:2243} INFO - 304 GET /nasmanager/nases (192.168.1.6) 3.81ms [2023-09-23 13:52:15,277] {sambautil.py:88} DEBUG - Get shares [2023-09-23 13:52:15,284] {web.py:2243} INFO - 304 GET /sharefolder/shares (192.168.1.6) 7.15ms [2023-09-23 13:52:15,365] {web.py:2243} INFO - 304 GET /voiceassistant/config (192.168.1.6) 7.85ms [2023-09-23 13:52:17,102] {web.py:2243} INFO - 304 GET /playlists?language=English-USA&genre=News&folder=Genre (192.168.1.6) 7.08ms
I read: The source code contains a condition that prevents the printing of this message:
python if 'PYGAME_HIDE_SUPPORT_PROMPT' not in OS.environ: print(' with which Pygame %с' % Ver) print(' greetings from the community with which Pygame. https://www.pygame.org/contribute. html') See this commit
This was added very recently (October 2018) and until now 1.9.4 was released before then. After the next version > 1.9.4 you should just be able to run the code with PYGAME_HIDE_SUPPORT_PROMPT= ./my_code.py to hide the message.
Can you show the content of the file /etc/rc.local after the LCD driver update?
I replaced rc.local.bak with rc.local and everything worked. Did I do the right thing?
The problem is in the line 'fbcp &'. The driver installer adds that line which breaks the player functionality.
Best regards.
If you leave sleep 7, then bluetooth does not work. Both lines need to be removed.
I'm not sure how that delay can affect a Bluetooth. But if it helps you can remove it.
Dear friend! Problem solved, Thank you! Best regards!
Alex
Good afternoon, I received the display and downloaded the firmware. For some reason the display is pink. It's like there's no green. How to check the display. Need a display test program. The colors are probably inverted Best regards