Pixelcade error on ...
 
Notifications
Clear all

Pixelcade error on retropie at startup

15 Posts
2 Users
0 Likes
151 Views
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

Hi, I'm getting a constant scrolling error on my screen in Retropie at startup with LEDpixelcade:

[D/1010Imp11 Physical disconnect.
[D/1010Imp11 Connection lost / aborted
[D/1010Imp11 Waiting for connection to PIXEL hardware 
[V/IOIOImp11 Waiting for underlying connection 
[V/1010Imp1) Waiting for handshake 
[E/1010Protocol) Protocol error
java. lo. IOException: Received unexpected connand: 6x41
at ioio. lib. impl. 1010ProtocoISIncoming Thread .run (1010Protocol - java :885)

While booting, this just scrolls non stop from top to bottom on the screen and keeps doing it until I reboot. The problem is that it kicks out another connected USB device, and causes it not to work. 

If I start a game, while it loads, I can see the error still scrolls.

The only fix I found is to reboot and then it doesn't happen anymore, but every time I do a shutdown (power off) and turn it back on, it does it.

Not with a reboot, though, no matter how many times I reboot.

 

Can you guys help?

Thanks!


   
Quote
Topic Tags
Pixelcade Admin
(@pixelcade-admin)
Reputable Member Admin
Joined: 5 years ago
Posts: 330
 

had another guy with a similar issue, what is the other USB device?

make sure you have the latest pixelcade software here https://pixelcade.org/retropiev2/

and then what you might have to do also is add a flag to the pixelweb command line, specifically

pixelweb -d /dev/ttyACMX

where /dev/ttyACMX is your pixelcade, it may be for example /dev/ACM0


   
ReplyQuote
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

Hi, thanks for the prompt response!

I added an Adafruit rotary encoder as a volume knob for my arcade cabinet, check it out here.

How do I upgrade the pixelcade software?

And also, how do I add a flag?

 

Thanks!


   
ReplyQuote
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

Doing the upgrade got this error:

2023-06-24 21:10:30 (4.22 MB/s) - ‘/home/pi/pixelcade/pixelweb’ saved [15422416/15422416]

INFO[0000] Installing Pixelcade artwork                 
  56% |██████████████████████████████████████████████████████████████                                                 | (20304/35744, 18 it/s) [21m2s:14m40s]ERRO[1265] Extract failed: unexpected EOF               
Installing Pixelcade System Files...
--2023-06-24 21:31:36--   https://github.com/alinke/pixelcade-linux/archive/refs/heads/main.zip 
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location:  https://codeload.github.com/alinke/pixelcade-linux/zip/refs/heads/main  [following]
--2023-06-24 21:31:36--   https://codeload.github.com/alinke/pixelcade-linux/zip/refs/heads/main 
Resolving codeload.github.com (codeload.github.com)... 140.82.113.9
Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘/home/pi/ptemp/main.zip’

   
ReplyQuote
Pixelcade Admin
(@pixelcade-admin)
Reputable Member Admin
Joined: 5 years ago
Posts: 330
 

follow the instructions here https://pixelcade.org/retropiev2/

that will get you the latest pixelcade software for RetroPie

then look for the pixelweb line in this file /opt/retropie/configs/all/autostart.sh

(make sure the older java based pixelweb line is commented out)

 

 


   
ReplyQuote
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

This is what I have in auto start...

#fbset -fb /dev/fb0 -g 1920 1080 1920 1080 16 
isdual=`tvservice -l |grep "2 attached device" |wc -l`
if [[ $isdual == "1" ]]; then
  /usr/bin/python /home/pi/PieMarquee2/PieMarquee2/PieMarquee2.py &
#nohup /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --user pi --deviceglob /dev/input/event* &
fi
#/home/pi/scripts/themerandom.sh
#cd /home/pi/pixelcade && java -jar pixelweb.jar -b &
sleep 10 && cd /home/pi/pixelcade/system && ./pixelcade-startup.sh
cd ~/pixelcade && ./pixelweb -image system/retropie.png -startup &
emulationstation --no-splash auto
#cd /home/pi/pixelcade && java -jar pixelweb.jar -b &
sleep 10 && cd /home/pi/pixelcade/system && ./pixelcade-startup.sh
#nohup /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --user pi --deviceglob /dev/input/event* &
cd ~/pixelcade && ./pixelweb -image system/retropie.png -startup &
emulationstation #auto

   
ReplyQuote
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

Also the upgrade changed the colors... They are off. 

I remember you fixed them by changing a parameter... Do you remember what it was?


   
ReplyQuote
Pixelcade Admin
(@pixelcade-admin)
Reputable Member Admin
Joined: 5 years ago
Posts: 330
 

here's what you want 

if you have the Pixelcade P2.5 size (DMD size) , then add this flag -swapbluegreen

I would try that first and if still conflicts, then add a 

-d /dev/ACMX where X is the number of your pixelcade

#fbset -fb /dev/fb0 -g 1920 1080 1920 1080 16 
isdual=`tvservice -l |grep "2 attached device" |wc -l`
if [[ $isdual == "1" ]]; then
  /usr/bin/python /home/pi/PieMarquee2/PieMarquee2/PieMarquee2.py &
#nohup /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --user pi --deviceglob /dev/input/event* &
fi
#/home/pi/scripts/themerandom.sh
cd ~/pixelcade && ./pixelweb -image system/retropie.png -startup &
emulationstation --no-splash auto
#nohup /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --user pi --deviceglob /dev/input/event* &
#emulationstation #auto

   
ReplyQuote
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

Sorry, can you tell me how to add this flag and where?

Also, the upgrade is failing at 57% of the extraction... Tried 3 times already with the same result.


   
ReplyQuote
Pixelcade Admin
(@pixelcade-admin)
Reputable Member Admin
Joined: 5 years ago
Posts: 330
 

use this command to find out what port Pixelcade is on . Unplug your other USB device before doing that

ls /dev/ttyACM*

   
ReplyQuote
Pixelcade Admin
(@pixelcade-admin)
Reputable Member Admin
Joined: 5 years ago
Posts: 330
 

@levis78 add those flags on the same line as pixelweb. If you're around tomorrow, I can help you live, that may be faster than back and forth here


   
ReplyQuote
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

@pixelcade-admin that would be great... In the meantime if you guide me, I might be able to get it fixed.

The port is /dev/ttyACM0

I still don't know how to change the color, there are 3 that are inverted.


   
ReplyQuote
Pixelcade Admin
(@pixelcade-admin)
Reputable Member Admin
Joined: 5 years ago
Posts: 330
 

try adding this to the pixelweb line

 

if that does not work, let's find a time tomorrow

 

cd ~/pixelcade && ./pixelweb -image system/retropie.png -swapbluegreen -d /dev/ttyACM0 -startup &

   
ReplyQuote
Pixelcade Admin
(@pixelcade-admin)
Reputable Member Admin
Joined: 5 years ago
Posts: 330
 

send also a pic of the pixelcade you have so I know the size and if that color change flag is needed, that flag is only needed if it's the Pixelcade P2.5 size


   
ReplyQuote
Al Linke
(@alinke)
Estimable Member
Joined: 5 years ago
Posts: 140
Topic starter  

No, it didn't work...

I'll send you an email now and we can talk tomorrow. Thanks!


   
ReplyQuote