Batocera Pixlecad (...
 
Notifications
Clear all

Batocera Pixlecad (Bitpixel version), and x86 machine?

12 Posts
2 Users
0 Reactions
690 Views
(@bluemeane)
Active Member
Joined: 3 years ago
Posts: 10
Topic starter  

I am running Batocera on a Zotac EN51050 and it works amazing with the 1050 card it runs, but I can't get the batocera install to work...

The scrip runs, and it sees the device but I do not get the 1941 image, and nothing happens it just displays my default Sonic image I set it to weeks ago in Windows web GUI,

Please help!!!!

This script will install Pixelcade in your /userdata/system folder
Plese ensure you have at least 800 MB of free disk space in /userdata/system
Now connect Pixelcade to a free USB port on your device
Ensure the toggle switch on the Pixelcade board is pointing towards USB and not BT
Grab a coffee or tea as this installer will take around 15 minutes
Batocera Detected
Pixelcade LED Marquee Detected on ttyACM0
killall: java: no process killed
Existing Pixelcade installation detected, checking version...
Your Pixelcade software vesion is up to date. Do you want to re-install? (y/n)

Installing Pixelcade Core Files...
Installing Pixelcade EmulationStation Scripts...
Installing hi2txt for High Scores...
Pixelcade was already added to custom.sh, skipping...
Checking for Pixelcade LCDs...
/userdata/system/jdk/bin/java: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
/userdata/system/jdk/bin/java: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
/userdata/system/jdk/bin/java: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
Cleaning Up...
INSTALLATION COMPLETE , please now reboot and then the Pixelcade logo should be display on Pixelcade

Is the 1941 Game Logo Displaying on Pixelcade Now? (y/n)n


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

you're the first user I know of to try this on x86 so bear with me

this tells me that java didn't install right

/userdata/system/jdk/bin/java: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64

pixelcade does need java to work so we'll need to fix that first

and then also note that Pixelcade dynamic scrolling will need the next version of Batocera which is in the works but with the current release, you'll get updates when a game is launched and also high scores, just not updates when scrolling the games before launching

so back to the java, try installing a jdk from here https://www.azul.com/downloads/?package=jdk#download-openjdk

and be sure that java ends up in this path

/userdata/system/jdk/bin/java
you'll know if java is working , if you get the version from this command

./userdata/system/jdk/bin/java -version


   
ReplyQuote
(@bluemeane)
Active Member
Joined: 3 years ago
Posts: 10
Topic starter  

@pixelcade-admin I am willing to bear with you!! 🙂 I love your products and love Batocera on this machine as it utilized the 1070 it has very well lol. I am sure with your help we can get it working. And then I will post a YouTube video if it helps 🙂

I will give that command a shot this evening! 🙂

Looking at that error though it mentions LCD? I do t have the LCD so is it relevant?

Also maybe it is a different version of Java? Does this require a specific version?


   
ReplyQuote
(@bluemeane)
Active Member
Joined: 3 years ago
Posts: 10
Topic starter  

@pixelcade-admin also what idk should I install?


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

ignore the LCD as the script just searches your network if there is a Pixelcade LCD and moves on if not. That program though is Java based and hence the error. So we'll just need to get java working on your build and then should be home free. From Zulu , go through the drop downs and pick the java for your x86 architecture, we can do a remote teamviewer call too if needed to get things going


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

also type this command uname -m and let me know what comes back


   
ReplyQuote
(@bluemeane)
Active Member
Joined: 3 years ago
Posts: 10
Topic starter  
Posted by: @pixelcade-admin

you're the first user I know of to try this on x86 so bear with me

this tells me that java didn't install right

/userdata/system/jdk/bin/java: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64

pixelcade does need java to work so we'll need to fix that first

and then also note that Pixelcade dynamic scrolling will need the next version of Batocera which is in the works but with the current release, you'll get updates when a game is launched and also high scores, just not updates when scrolling the games before launching

so back to the java, try installing a jdk from here https://www.azul.com/downloads/?package=jdk#download-openjdk

and be sure that java ends up in this path

/userdata/system/jdk/bin/java
you'll know if java is working , if you get the version from this command

./userdata/system/jdk/bin/java -version

Well just got home and before trying to install I got this: [root@BATOCERA /userdata/system]# /userdata/system/jdk/bin/java -version
/userdata/system/jdk/bin/java: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
[root@BATOCERA /userdata/system]#

So something is there lol

I am also very Linux dumb, and found what I thought would install the Java but it did not.

Go to https://www.azul.com/downloads/?package=jdk , scroll down and download the latest .tar.gz package available for ARM (not x86_64).
Extract the .tar.gz file to anywhere on your userdata. From SSH, you can run tar -xzvf .tar.gz to extract it and then /bin/java -version to check that it was extracted successfully (instructions taken from https://docs.azul.com/core/zulu-openjdk/install/rpm-based-linux#install-from-binary-tar-gz-file ).
You can then also add the file to /usr/bin directory to use the java command from anywhere: export PATH=/usr/bin:$PATH and run batocera-save-overlay to keep the changes permanent (until next upgrade).
I do not know if this will allow Kodi to use it.

If you’d like a single line command that does all of this automatically:
curl -kLo - https://cdn.azul.com/zulu-embedded/bin/zulu8.58.0.13-ca-jdk8.0.312-linux_aarch64.tar.gz | gunzip -c | tar -x --strip-components=1

It ran but did nothing?

[root@BATOCERA /userdata/system]# curl -kLo - https://cdn.azul.com/zulu-embedded/bin/zulu8.58.0.13-ca-jdk8.0.312-linux_aarch64.tar.gz | gunzip -c | tar -x --strip-components=1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 113M 100 113M 0 0 17.5M 0 0:00:06 0:00:06 --:--:-- 19.3M
[root@BATOCERA /userdata/system]# cd /userdata/system/jdk/bin/java -bash: cd: /userdata/system/jdk/bin/java: Not a directory
[root@BATOCERA /userdata/system]# /userdata/system/jdk/bin/java -version /userdata/system/jdk/bin/java: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64

Any ideas/help?


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

the java install is not working so that's why needs to be fixed, I have not done java on x86 linux before so I would need to do a remote control session with you and see if we can figure it out, might have some time this weekend or early next week, send me a note at al@ledpixelart.com and we can find a time

also do this unix command

uname -m

and let me know what comes back


   
ReplyQuote
(@bluemeane)
Active Member
Joined: 3 years ago
Posts: 10
Topic starter  

@pixelcade-admin will do this evening. Sorry I missed your comments last night lol

I’ll be home around 6pm PST and maybe we can connect then.

I downloaded the file for x68 just not sure how to install it or get it to the device to install lol.


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

updating the thread here for others, this issue resolved


   
ReplyQuote
(@bluemeane)
Active Member
Joined: 3 years ago
Posts: 10
Topic starter  
Posted by: @pixelcade-admin

updating the thread here for others, this issue resolved

Yes it was!!! Thanks again Al!!!!


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

@abhorrentbm can you post the output of the installer?


   
ReplyQuote
Proudly powered by Wpopal.com