Just post to say what I found today.
Lakka 3.0 (or later) may be better than OpenELEC for my purpose. It's based on LibreELEC 9.2 (Kodi 18.8), and already ported to i386 platform.
Just post to say what I found today.
Lakka 3.0 (or later) may be better than OpenELEC for my purpose. It's based on LibreELEC 9.2 (Kodi 18.8), and already ported to i386 platform.
I am noobie to Github. It will take some time before I learn how to make change and push the modification.
Just in case if anyone is interested in what I have done, I put a compressed file containing all modifications I have made. Some untouched files are also included in the package, it can be distinguished from date of file:
Just unpack the file to overwrite over OpenELEC 6.0.3 source code.
BTW, the building environment is Ubuntu 16 64 bit VM.
Hi,
I am glad to say, I made it.
I have now OpenELEC 6.0.3 working the i386 old laptop. The performance seems better than OE5.0.8. H.264 FHD video plays smooth. H.265 playable, but laggy. That's better than OE5.0.8. I will move on to OpenELEC 7 and 8, after some resting.
Thanks for all the help.
I have found it. It's scripts/image. A i386 compatible line was ripped in 6.0.3 and I missed to restore.
I have resumed porting OpenELEC 6.0.3 for i386. It's near finished. Now I am stuck with weird problem that I can't solve. The following is the last part of error message. I think it's "//" between "arch" and "boot" introduced a illegal path, but I don't know which scripts or tool triggered the error message . I need some advice. Thanks.
INSTALL remote (target)
INSTALL eventlircd (target)
INSTALL lirc (target)
INSTALL libftdi1 (target)
INSTALL libusb-compat (target)
INSTALL libirman (target)
INSTALL v4l-utils (target)
INSTALL atvclient (target)
INSTALL irserver (target)
INSTALL lcdproc (target)
INSTALL libhid (target)
INSTALL installer (target)
INSTALL dialog (target)
cp: cannot stat 'build.OpenELEC-Generic.i386-6.0.3/linux-4.1.18/arch//boot/bzImage': No such file or directory
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
Display More
This is a new log:
The problem of driver file for i915 not found seems solved. Now, kodi can't find libGL.so.
I will investigate the issue later.
I don't know anything about fluxbox. Now, I need to survey what it is.
BTW, I found I that I missed to modify "projects/Generic/linux/linux.i386.conf". There are some i915 related firmware listed in "linux.x86_64.conf". I am copying these lines to "linux.i386.conf". The kernel is compiling.
Added:
Now, I have set WINDOWMANAGER="fluxbox". Thanks.
This is the new log. The same problem seems still exist. I will keep researching.
Thanks.
I see that i915 driver is removed. Now, I have added i915 in "distribution/LibreELEC/options" and building image is on the way.
Just a guess.
I found that the Linux partition on SD card was not resized. I have checked it with partition utility. I suppose there should be a partition resize procedure in the first boot. Maybe it's the cause. Partition not resized, so no system required files copied.
I have checked "/usr/lib", there is no subdir "dri". And I have searched the file system using "find / -type f -name i915_dri.so" and "find / -type f -name "*_dri.so"" and "find / -type f -name '*_dri.so'", the result was nothing.
So, the problem is obvious, no driver file. How could this happen?
I compared the log of LibreELEC and OE5.0.8, they both detected Intel 915GM. The difference is LibreELEC has the following trouble:
Sep 14 00:37:53 LibreELEC xorg-launch[563]: Current version of pixman: 0.34.0
Sep 14 00:37:53 LibreELEC xorg-launch[563]: Before reporting problems, check http://wiki.x.org
Sep 14 00:37:53 LibreELEC xorg-launch[563]: to make sure that you have the latest version.
Sep 14 00:37:53 LibreELEC xorg-launch[563]: Markers: (--) probed, (**) from config file, (==) default setting,
Sep 14 00:37:53 LibreELEC xorg-launch[563]: (++) from command line, (!!) notice, (II) informational,
Sep 14 00:37:53 LibreELEC xorg-launch[563]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Sep 14 00:37:53 LibreELEC xorg-launch[563]: (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 14 00:37:53 2021
Sep 14 00:37:53 LibreELEC xorg-launch[563]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sep 14 00:37:53 LibreELEC xorg-launch[563]: gbm: failed to open any driver (search paths /usr/lib/dri)
Sep 14 00:37:53 LibreELEC xorg-launch[563]: gbm: Last dlopen error: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory
It seems LibreELEC can't find driver file in the specific dir. It's not whether driver is correct, instead, it's the driver does not exist. I will check file structure of LibreELEC on laptop and report.
I think it's Intel 915GM. I saw it on Windows XP/ 7.
This is a "journalctl | paste" log running on official OpenELEC 5.0.8.
As the log shows, OE5.0.8 can detect Intel 915GM. OE5.0.8 is working on the laptop.
command: journalctl | paste
The command is "cat ./storage/.kodi/temp/kodi.log | paste". I suppose it's the correct log file to be pasted.
The log url is: http://sprunge.us/QZG8l7
The above URL is a log with WiFi& BT turned off in hardware level.
In this log, WiFi& BT are turned on.
It seems no difference.
I have SSH connection now (by editing "syslinux.conf").
I tried "pastekodi" and got "-sh: pastekodi: not found".
I have checked package.mk of Kodi. It seems "pastekodi" command was not supported before LibreELEC 9.2.
Is there any way to dump a log in LibreELEC 7.0?
Thanks.
I got it. The command I ran was "PROJECT=Generic ARCH=i386 make release". Now I run "PROJECT=Generic ARCH=i386 make image" and I got a "LibreELEC-Generic.i386-7.0-devel-20210913141255-r23224-gb8564aa.img.gz".
I tried it on my old laptop. I saw LibreELEC logo screen, then the screen turned to black and stuck there forever. The CAPS Lock key is responsive.
I looked the IP assignment in my router, LibreELEC got an IP. I tried to SSH, but connection was refused immediately, not waiting for some time and no response.
I tried the same SD card on a newer laptop with x64 CPU. The screen stuck as the following image. SSH also got refused immediately.
Hi,
I have built a LibreELEC image for i386 from appletv-7.0 branch of Chewitt's fork. I did git clone the fork and checkout appletv-7.0. After completing the build process, I found a file "LibreELEC-Generic.i386-7.0-devel-20210912223241-r23224-gb8564aa.system" in directory "target" and I thought it is the image to write to SD card. Rufus warned me the image file seems not bootable, so I switched to "LibreELEC.USB-SD.Creator". When I put the SD card in the i386 laptop, it is not bootable.
What did I miss? Need some advice.