Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: danny on April 13, 2020, 04:20:54 AM
-
Hi
I wanted to install GUI desktop on piCore.
When I executed "tce-load -iw TC.tcz"
I got the following error:
Downloading: xf86-input-evdev.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: xf86-input-evdev.tcz.md5.txt: No such file or directory
Error on xf86-input-evdev.tcz
Thanks.
-
It looks like there’s an error in Xorg.tcz.dep, I’ll fix it as soon as I can access the server.
-
Thanks for your reply.
It only happened on piCore 11.
On piCore 10, it could be installed without this error.
-
That’s correct, xf86-input-evdev was used in piCore-10.x, but xf86-input-libinput is used in piCore-11.x and the dep file was not updated.
-
The dep file has been adjusted, could you try again?
-
Hi Juanito,
There is another error when install TC.tcz
Downloading: libudev.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: libudev.tcz.md5.txt: No such file or directory
Error on libudev.tcz
Thanks
-
libudev copied to piCore 11.x repos
-
Thank you Juanito.
I have installed GUI desktop successfully.
Could I install browser on piCore 11.x?
How to do it?
-
piCore-9.x has the epiphany and fifth browsers, but I don't think they would work in piCore-11.x due to the change in openssl.
For the moment I think you would need to find a pre-compiled browser (firefox?), compile one yourself (dillo?) or wait until another user compiles one.
-
dillo added to the piCore-11.x repos - the source code has not been updated for some time and it cannot open many web sites.
-
Is it support Chromium browser on piCore 11.x?
How about Xorg.tcz?
Thanks :)
-
The aim is to have the mini browser from webkitgtk working on piCore-11.x (it works on piCore-9.x), but it might take a while.
-
Progress is slowly bring made, gtk3 is working with both x11 and wayland.
..and hardware acceleration is working on an RPi3: Vendor: Broadcom (0x14e4)
Device: VC4 V3D 2.1 (0xffffffff)
Version: 19.3.1
Accelerated: yes
Video memory: 925MB
-
Could I install firefox on piCore 11.x ?
-
I believe so - you would just need to choose the correct pre-built version.
-
Hi Juanito
I only find dillo.tcz browser from APP icon on GUI desktop.
Do you have any suggestion to install browser by instruction "tce-load"?
Thanks
-
$ tce-load -w dillo [download the extension]
$ tce-load -i dillo [load the extension]
-
I got the following message when run "tce-load -w dillo":
Connecting to timjanes.uk (66.96.147.159:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: dillo.tcz.md5.txt: No such file or directory
Error on dillo.tcz
-
The md5sum for the dillo extension is present and correct in all three piCore-11.x repos.
Can you try using the main repo http://tinycorelinux.net/ - be sure that any partial dillo.tcz* downloads are deleted first.
-
Sound is now working (there was a kernel module missing from alsa-modules-KERNEL) - tested on an RPi3 playing an mp3 using xmms-pulse and the onboard headphone jack.
..and now for video
-
Hi Juanito,
I saw some data show that piCore 9.0.X can install firefox browser.
But if I install piCore 9.0.X on rpi 3b+, I even can't boot my rpi.
How should I do to solve this problem?
Thanks
-
Hi danny
See this:
http://forum.tinycorelinux.net/index.php/topic,21806.msg136435.html#msg136435
-
I'm not sure what you saw, but if a pre-compiled version of firefox worked on piCore-9.x, it will probably work on piCore-11.x
-
I got the following message when I installed TC.tcz (tce-load -iw TC.tcz) on piCore-10.0beta12b.
Downloading: TC.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: TC.tcz.md5.txt: No such file or directory
Error on TC.tcz
-
Please use either piCore-9.x or piCore-11.x
-
hardware acceleration is now working on an RPi4:
$ cat /mnt/mmcblk0p1/config.txt
...
[PI4]
dtoverlay=vc4-fkms-v3d
$ tce-load -i Xorg-3d flwm aterm wbar
$ sudo rm /usr/local/share/X11/xorg.conf.d/fbturbo.conf
$ startx
..which gives: $ tce-load -i glxinfo
glxinfo
...
Vendor: Broadcom (0x14e4)
Device: V3D 4.2 (0xffffffff)
Version: 19.3.1
Accelerated: yes
Video memory: 3906MB
Unified memory: yes
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
-
webkitgtk4 compiled for piCore-11.x (7h 42m on an RPi4 vs 187h 05m on an RPi3 in piCore-9.x)
The webkit MiniBrowser will play youtube videos without problems on an RPi4 with graphics hardware acceleration - without acceleration the videos update about once per second.
-
Nice work Juanito.
-
Hi Juanito,
Is there instruction "xdg-open" on piCore 11.X ?
-
You can check for any file name using the apps gui "provides" function, but .. no, there is no xdg-utils extension in piCore.
-
OK. Thanks to reply.
Can I use instruction open a Web in command line?
By the way, Will epiphany browser work on piCore 11.X ?
-
epiphany works in piCore-11.x
You could try "epiphany http://forum.tinycorelinux.net" from the command line.
-
I have installed epiphany on piCore.
But nothing happened when I clicked it.
-
Open a terminal window and enter the command "epiphany" - you should see an error message.
-
I just tested as follows:
$ tce-load -i Xorg-3d flwm aterm wbar
$ sudo rm /usr/local/share/X11/xorg.conf.d/fbturbo.conf
$ startx
$ tce-load -i epiphany
$ epiphany
..and epiphany opens.
Did you use the apps gui maintenance/check for updates to verify everything is up to date?
-
piCore-11.x now has a few apps to run in the weston wayland compositor.
Create a configuration file such that:$cat ~/.config/weston.ini
[launcher]
icon=/usr/local/share/weston/icon_terminal.png
path=/usr/local/bin/weston-terminal
[launcher]
icon=/usr/local/share/icons/Adwaita/22x22/apps/accessories-text-editor.png
path=/usr/local/bin/gedit
[launcher]
icon=/usr/local/share/icons/Adwaita/22x22/apps/system-file-manager.png
path=/usr/local/bin/nautilus
[launcher]
icon=/usr/local/share/icons/Adwaita/22x22/apps/web-browser.png
path=/usr/local/bin/epiphany
[shell]
num-workspaces=4
Enable hardware acceleration
Then load weston and the apps and start weston: $ tce-load -i weston gedit epiphany nautilus
$ XDG_RUNTIME_DIR=/run/user/1001 weston-launch
-
Here's a summary of where things stand with the gui in piCore-11.x
RPi3
vc4-fkms-v3d works
vc4-kms-v3d works
x11 videos play in browser
wayland videos play in browser
RPi4
vc4-fkms-v3d works
vc4-kms-v3d does not work
x11 videos play in browser
wayland graphics problem in browser
If I understand correctly:
The code still remains to be written for vc4-kms-v3d on RPi4
There is some kind of issue with v3d and drm with wayland/weston on RPi4
-
I tried the following:
$ tce-load -i Xorg-3d flwm aterm wbar
$ sudo rm /usr/local/share/X11/xorg.conf.d/fbturbo.conf
$ startx
$ tce-load -i epiphany
$ epiphany
and then I got
epiphany: symbol lookup error: /usr/local/lib/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
-
Hi danny
... and then I got
epiphany: symbol lookup error: /usr/local/lib/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
Either the version of epiphany or the version of gtk3 you have installed is not up to date.
Try updating your system. Run these commands:
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
Click the Exit icon and select reboot.
-
Hi danny
Please paste the following command into a terminal:
for i in `ls -1 /etc/sysconfig/tcedir/optional/*.tcz`; do ls $i.md5.txt 2>&1 | grep -i "no such"; done > missingmd5.txt
Then paste the contents of missingmd5.txt in your next post.
-
Hi Rich,
I pasted the command into a terminal.
But there was nothing in missingmd5.txt.
-
Hi danny
That's good. It means you're not missing any md5.txt files.
-
But when I paste epiphany in terminal.
I got the following message:
symbol lookup error: /usr/local/lib/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
-
Since you are using the gui, can you double-check that you’re not missing anything with the apps gui “check for updates”?
-
Here's what I get - I don't see any errors with epiphany on an RPi3 or RPi4:
$ cd /etc/sysconfig/tcedir/optional
$ md5sum -c gtk3.tcz.md5.txt
gtk3.tcz: OK
$ md5sum -c epiphany.tcz.md5.txt
epiphany.tcz: OK
$ cat gtk3.tcz.md5.txt
2ed23728271b1b52e990431db171b256 gtk3.tcz
$ cat epiphany.tcz.md5.txt
5561279506df19c83c8dcef38b6db99e epiphany.tcz
http://tinycorelinux.net/11.x/armv7/tcz/gtk3.tcz.md5.txt
2ed23728271b1b52e990431db171b256 gtk3.tcz
http://tinycorelinux.net/11.x/armv7/tcz/epiphany.tcz.md5.txt
5561279506df19c83c8dcef38b6db99e epiphany.tcz
-
Thanks for your help.
I have opened epiphany successfully.
But when I used "epiphany google.com" it showed a blank page.
-
How about "epiphany https://www.google.com"?
Otherwise you can double-click on the epiphany icon and enter an address manually.
-
I entered an address on browser, it still showed blank page.
By the way, can I change epiphany to full screen?
-
You can change to full screen by double-clicking on the title bar (in wayland/weston at least) or by right-clicking on the title bar and choosing maximize (in x11/flwm maybe).
Did you hit enter after entering the address?
-
Yes, I hit enter after entering the address.
Is there anything I miss to install?
I choose maximize but not full screen please reference attach.
-
Both maximise and full screen work for me in wayland/weston
Neither maximise nor full screen work for me in x11/flwm, but dragging the window larger works to some extent.
Have you tried answering the question about setting the browser as default before trying to open a web site or enter a search term?
-
Hi Juanito
You can change to full screen by double-clicking on the title bar (in wayland/weston at least) or by right-clicking on the title bar and choosing maximize (in x11/flwm maybe). ...
Right clicking the title bar in flwm should bring up the desktop menu.
Item #2 was added to flwm and flwm_topside in March of 2019:
2. Double clicking a windows titlebar toggles between max size and normal size.
Found here:
http://forum.tinycorelinux.net/index.php/topic,22598.msg141585.html#msg141585
The ARMv7 Change-log shows 2017/02/24 for flwm and 2014/11/06 for flwm_topside so they lack that feature due to their age:
http://www.tinycorelinux.net/11.x/armv7/tcz/flwm.tcz.info
http://www.tinycorelinux.net/11.x/armv7/tcz/flwm_topside.tcz.info
Based on the posted image:
(http://forum.tinycorelinux.net/index.php?action=dlattach;topic=23769.0;attach=5369)
It looks like Epiphany tells the window manager not to supply a title bar and creates its own instead, so the double click to maximise
feature might not even work under flwm.
... Neither maximise nor full screen work for me in x11/flwm, ...
If the window frame is still being supplied by flwm then Ctrl-Alt-M should toggle the windows size.
-
If the window frame is still being supplied by flwm then Ctrl-Alt-M should toggle the windows size.
That works :)
-
One more thing to try - rather than an https location, try http://forum.tinycorelinux.net in epiphany.
-
I can load http://forum.tinycorelinux.net web, please reference attach.
But it only showed page in http://forum.tinycorelinux.net, other page will be blank.
And it work successfully by Ctrl-Alt-M.
Can I let epiphany full screen by using instruction in terminal?
-
If http works and https does not work, the problem is probably with ca-certificates.
For some reason I have the ca-certificates from piCore-9.x, which are in /usr/local/etc/ssl, but the ca-certificates in piCore-11.x are in /etc/ssl and epiphany is probably not looking there.
You could try this command: $ sudo ln -s /etc/ssl /usr/local/etc
..and then restart epiphany and see if things work as expected
-
I pasted command in terminal.
But it showed blank in web contain ssl.
I tried use epiphany http://XXXX.com in terminal,then I got message. (please reference attach)
Thanks
-
Please check if the ca-certificates extension is loaded using this command:
$ tce-status -i | grep cert
If the command shows that the ca-certificates extension is loaded, then what does this command give: $ ls /usr/local/etc/ssl
Note also, from your attachment, the libEGL messages suggest that graphics hardware acceleration is not enabled.
-
I used "tce-status -i | grep cert" got the following message:
ca-certificates
And then listed /usr/local/etc/ssl
ls: /usr/local/etc/ssl: No such file or directory
-
Hi danny
... And then listed /usr/local/etc/ssl
ls: /usr/local/etc/ssl: No such file or directory
Then try what Juanito suggested in reply #55:
... You could try this command: $ sudo ln -s /etc/ssl /usr/local/etc
..and then restart epiphany and see if things work as expected
-
Hi Rich,
I tried the command but the same result that web was still blank (reference attach).
-
I'm not sure that it is the cause of the problem, but it looks like hardware graphics acceleration is not enabled.
What does this give: $ tce-load -i glxinfo
$ glxinfo | grep Accel
-
It showed:
Accelerated: no
-
Have you made one of the following entries in /mnt/mmcblk0p1/config.txt:
[PI3]
dtoverlay=vc4-kms-v3d
[PI4]
dtoverlay=vc4-fkms-v3d
Note that you need to reboot after making the changes.
-
I have made /mnt/mmcblk0p1/config.txt and add dtoverlay=vc4-kms-v3d in it.
After all reboot.
Which the following step I need to do?
-
Add the overlay:
[PI3]
dtoverlay=vc4-kms-v3d
Reboot
$ tce-load -i Xorg-3d flwm aterm wbar
$ sudo rm /usr/local/share/X11/xorg.conf.d/fb*
$ startx
-
$ tce-load -i Xorg-3d flwm aterm wbar
$ sudo rm /usr/local/share/X11/xorg.conf.d/fb*
$ startx
I have execute that but Web still blank and got message (reference attach).
-
Should I add graphics-4.19.81-piCore-v7.tcz, Xorg-3d.tcz, flwm.tcz to onboot.list?
-
For testing purposes there’s no need to do that.
Note that loading Xorg-3d will load graphics-KERNEL anyway.
-
OK
When I enter a web on epiphany, I get
GDK_IS_PIXBUF(pixbuf) failed
GDK_IS_CURSOR(cursor) failed
GDK_IS_DISPLAY(display) failed
I think it enter the page successfully but browser cannot display content.
-
Does this show the gdk-pixbuf is loaded:
$ tce-status -i | grep gdk
If gdk-pixbuf is loaded, then have you checked that you have the latest version with the apps gui maintenance/check for updates?
Note also, from your previous attachment - please paste terminal output rather than attaching a photo - hardware acceleration is not enabled.
Did you copy both lines: [PI3]
dtoverlay=vc4-kms-v3d
..to config.txt?
If so, does the screen blank momentarily when graphics-KERNEL is loaded?
-
It shows:
gdk-pixbuf
Yes, I have copied
[PI3]
dtoverlay=vc4-kms-v3d
to config.txt
When I click maintenance/check for updates, it shows
Error Could not verify libedit.tcz
Scan for update complete
I don't see the screen blank momentarily when graphics-KERNEL is loaded.
-
Which RPi do you have?
-
RPI 3B+
-
I think maybe I have to solve error
libEGL warning DRI2: failed to authenticate
Cannot obtain EGL surfaceless configuration: EGL_SUCCESS
Cannot obtain EGL Pbuffer configuration: EGL_SUCCESS
Cannot obtain EGL window context configuration: EGL_SUCCESS
at first, right?
-
OK, lets check if you have libEGL, libGL and libGLES loaded:
$ ls /usr/local/lib/lib*GL*.so
..and if you have the graphics acceleration drivers loaded: lsmod | grep vc4
-
I pasted
ls /usr/local/lib/lib*GL*.so
I got
/usr/local/lib/libEGL.so /usr/local/lib/libGLESv1_CM.so
/usr/local/lib/libGL.so /usr/local/lib/libGLESv2.so
And I pasted
lsmod | grep vc4
I got nothing.
-
Hmm - I'm wondering if an RPi3+ behaves like an RPi3 or an RPi4 in terms of graphics acceleration.
You should see the screen blank momentarily when you load the graphics-KERNEL extension - when you enter this: $ tce-load -i graphics-KERNEL
..is graphics-4.19.81-piCore-v7 loaded or do you see an error message saying graphics-4.19.81-piCore-v7l cannot be found?
Other than that, perhaps you have a corrupted or missing dep file or md5.txt file (which prevents scanning for updates).
-
I enter this
tce-load -i graphics-KERNEL
And then I got
graphics-4.19.81-piCore-v7 is already installed!
but I didn't see the screen blank momentarily.
-
At least we have confirmed that an RPi3+ acts like an RPi3 as far as loading kernel modules is concerned.
If you are sure you have copied "dtoverlay=vc4-kms-v3d" correctly into config.txt under the "[PI3]" header, then loading graphics-4.19.81-piCore-v7 after reboot should momentarily blank the screen as the vc4 kernel driver is loaded.
-
Could "graphics-4.19.81-piCore-v7" auto load after reboot?
-
Only if you have it set “onboot” - for testing purposes it would be better not to do this.
-
Have you made one of the following entries in /mnt/mmcblk0p1/config.txt: [PI3]
dtoverlay=vc4-kms-v3d
[PI4]
dtoverlay=vc4-fkms-v3d
Note that you need to reboot after making the changes.
It is nothing in my /mnt/mmcblk0p1 because partition disk to /mnt/mmcblk0p2/.
Should I create file of config.txt in /mnt/mmcblk0p2/ ?
-
If the results of this:
$ fdisk -l
..show /dev/mmcblk0p1, then: $ sudo mount /dev/mmcblk0p1
$ vi /mnt/mmcblk0p1/config.txt
.and add: [PI3]
dtoverlay=vc4-kms-v3d
-
It has content in /mnt/mmcblk0p1/config.txt
[PI3]
dtoverlay=pi3-disable-bt
Should I clear them or add
dtoverlay=vc4-kms-v3d
under them?
-
There is no blank page on epiphany. Thank you so much.
I met another problem there is garbled text on the web page.
Does it exist like "fonts-arphic-uming" or another font to install on piCore?
-
Should I clear them or add
Add
-
have you searched the forum for "chinese fonts"?
-
OK, I try to find.
By the way,
I find it will spend much time loading web on epiphany.
And it use 70% RAM on system.
Is it normal?
-
Most of the browsers are memory hogs - for me the best browser for tinycore/picore is fifth, but it needs modifying for use in 11.x with openssl-1.1.1
-
Hi Juanito
I installed fifth from
https://sourceforge.net/projects/fifth-browser/
I unzip the file on piCore and execute
./configure --prefix=/usr/local
and I get
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking target system type... armv7l-unknown-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for fltk-config13... no
checking for fltk-config... no
configure: error: fltk-config not found
I try to install fltk-config but it seems to nonexistent piCore11.x.
-
fifth cannot be compiled against the recent version of openssl in the piCore-11.x repo - if it could, I would have done it already.
To answer your question, fltk-config is provided by the fltk-1.3-dev extension.
See also https://github.com/clbr/fifth/issues/30
-
Is there instruction "xdg-open" on piCore 11.X ?
xdg-utils posted
-
Could I install firefox on piCore 11.x ?
firefox posted
Tested on Xorg, Xorg-3d and wayland using an RPi3 and RPi4.
-
fifth cannot be compiled against the recent version of openssl in the piCore-11.x repo - if it could, I would have done it already.
Could you compile it with static libraries on TC9 and people in TC11 and later versions of TC can use it without any problem?
BTW You can ask catgpt for help.
[Edit]: Moved reply outside of quote tags. Rich
-
Sorry, but there aren’t enough hours in the day for this..