Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: danny on April 13, 2020, 04:20:54 AM

Title: piCore-11beta GUI desktop install
Post 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.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 13, 2020, 04:56:41 AM
It looks like there’s an error in Xorg.tcz.dep, I’ll fix it as soon as I can access the server.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 13, 2020, 05:45:09 AM
Thanks for your reply.
It only happened on piCore 11.
On piCore 10, it could be installed without this error.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 13, 2020, 06:39:53 AM
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.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 13, 2020, 07:11:15 AM
The dep file has been adjusted, could you try again?
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 13, 2020, 11:31:37 PM
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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 14, 2020, 12:44:26 AM
libudev copied to piCore 11.x repos
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 14, 2020, 01:10:21 AM
Thank you Juanito.
I have installed GUI desktop successfully.
Could I install browser on piCore 11.x?
How to do it?


Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 14, 2020, 01:37:38 AM
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.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 14, 2020, 05:48:30 AM
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.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 14, 2020, 11:19:50 PM
Is it support Chromium browser on piCore 11.x?
How about Xorg.tcz?

Thanks :)
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 15, 2020, 12:56:58 AM
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.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 16, 2020, 08:08:33 AM
Progress is slowly bring made, gtk3 is working with both x11 and wayland.

..and hardware acceleration is working on an RPi3:
Code: [Select]
    Vendor: Broadcom (0x14e4)                                               
    Device: VC4 V3D 2.1 (0xffffffff)                       
    Version: 19.3.1                                           
    Accelerated: yes                                                 
    Video memory: 925MB                                                   
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 16, 2020, 10:56:08 PM
Could I install firefox on piCore 11.x ?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 17, 2020, 01:00:50 AM
I believe so - you would just need to choose the correct pre-built version.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 17, 2020, 06:14:23 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 17, 2020, 06:38:06 AM
Code: [Select]
$ tce-load -w dillo [download the extension]
$ tce-load -i dillo [load the extension]
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 20, 2020, 12:51:26 AM
I got the following message when run "tce-load -w dillo":
Code: [Select]
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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 20, 2020, 01:23:16 AM
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.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 23, 2020, 04:48:17 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 23, 2020, 10:57:03 PM
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
Title: Re: piCore-11beta GUI desktop install
Post by: Rich on April 23, 2020, 11:09:39 PM
Hi danny
See this:
http://forum.tinycorelinux.net/index.php/topic,21806.msg136435.html#msg136435
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 24, 2020, 01:08:35 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 24, 2020, 02:16:04 AM
I got the following message when I installed TC.tcz (tce-load -iw TC.tcz) on piCore-10.0beta12b.
Code: [Select]
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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 24, 2020, 02:30:56 AM
Please use either piCore-9.x or piCore-11.x
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 24, 2020, 08:27:37 AM
hardware acceleration is now working on an RPi4:
Code: [Select]
$ cat /mnt/mmcblk0p1/config.txt
...
[PI4]                   
dtoverlay=vc4-fkms-v3d

Code: [Select]
$ tce-load -i Xorg-3d flwm aterm wbar
$ sudo rm /usr/local/share/X11/xorg.conf.d/fbturbo.conf
$ startx

..which gives:
Code: [Select]
$ 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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 27, 2020, 03:36:15 AM
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.
Title: Re: piCore-11beta GUI desktop install
Post by: Paul_123 on April 27, 2020, 10:50:56 PM
Nice work Juanito.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 28, 2020, 04:48:32 AM
Hi Juanito,
Is there instruction "xdg-open" on piCore 11.X ?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 28, 2020, 04:53:37 AM
You can check for any file name using the apps gui "provides" function, but .. no, there is no  xdg-utils extension in piCore.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 29, 2020, 04:27:10 AM
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 ?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 29, 2020, 06:13:28 AM
epiphany works in piCore-11.x

You could try "epiphany http://forum.tinycorelinux.net" from the command line.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on April 30, 2020, 03:53:03 AM
I have installed epiphany on piCore.
But nothing happened when I clicked it.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 30, 2020, 04:11:02 AM
Open a terminal window and enter the command "epiphany" - you should see an error message.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 30, 2020, 09:53:20 AM
I just tested as follows:
Code: [Select]
$ 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?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 01, 2020, 02:41:47 AM
piCore-11.x now has a few apps to run in the weston wayland compositor.

Create a configuration file such that:
Code: [Select]
$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:
Code: [Select]
$ tce-load -i weston gedit epiphany nautilus
$ XDG_RUNTIME_DIR=/run/user/1001 weston-launch
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 02, 2020, 07:54:50 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 03, 2020, 09:11:23 PM
I tried the following:
Code: [Select]
$ 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
Code: [Select]
epiphany: symbol lookup error: /usr/local/lib/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
Title: Re: piCore-11beta GUI desktop install
Post by: Rich on May 03, 2020, 09:43:48 PM
Hi danny
... and then I got
Code: [Select]
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:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
Click the  Exit  icon and select reboot.
Title: Re: piCore-11beta GUI desktop install
Post by: Rich on May 04, 2020, 12:46:43 AM
Hi danny
Please paste the following command into a terminal:
Code: [Select]
for i in `ls -1 /etc/sysconfig/tcedir/optional/*.tcz`; do ls $i.md5.txt 2>&1 | grep -i "no such"; done > missingmd5.txtThen paste the contents of  missingmd5.txt  in your next post.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 04, 2020, 11:04:06 PM
Hi Rich,
I pasted the command into a terminal.
But there was nothing in missingmd5.txt.
Title: Re: piCore-11beta GUI desktop install
Post by: Rich on May 04, 2020, 11:17:27 PM
Hi danny
That's good. It means you're not missing any  md5.txt  files.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 05, 2020, 12:47:29 AM
But when I paste epiphany in terminal.
I got the following message:
Code: [Select]
symbol lookup error: /usr/local/lib/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 05, 2020, 01:01:16 AM
Since you are using the gui, can you double-check that you’re not missing anything with the apps gui “check for updates”?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 05, 2020, 01:52:56 AM
Here's what I get - I don't see any errors with epiphany on an RPi3 or RPi4:
Code: [Select]
$ 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
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 05, 2020, 03:41:37 AM
Thanks for your help.
I have opened epiphany successfully.
But when I used "epiphany google.com" it showed a blank page.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 05, 2020, 03:44:58 AM
How about "epiphany https://www.google.com"?

Otherwise you can double-click on the epiphany icon and enter an address manually.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 05, 2020, 04:05:15 AM
I entered an address on browser, it still showed blank page.
By the way, can I change epiphany to full screen?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 05, 2020, 04:40:50 AM
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?
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 05, 2020, 05:15:31 AM
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.

Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 05, 2020, 06:06:54 AM
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?
Title: Re: piCore-11beta GUI desktop install
Post by: Rich on May 05, 2020, 08:34:04 AM
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:
Quote
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.


Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 05, 2020, 11:08:09 AM
If the window frame is still being supplied by flwm then  Ctrl-Alt-M  should toggle the windows size.

That works  :)
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 05, 2020, 01:17:53 PM
One more thing to try - rather than an https location, try http://forum.tinycorelinux.net in epiphany.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 05, 2020, 09:04:11 PM
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?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 06, 2020, 01:59:55 AM
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:
Code: [Select]
$ sudo ln -s /etc/ssl /usr/local/etc
..and then restart epiphany and see if things work as expected
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 06, 2020, 02:21:41 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 06, 2020, 03:43:37 AM
Please check if the ca-certificates extension is loaded using this command:
Code: [Select]
$ tce-status -i | grep cert
If the command shows that the ca-certificates extension is loaded, then what does this command give:
Code: [Select]
$ ls /usr/local/etc/ssl
Note also, from your attachment, the libEGL messages suggest that graphics hardware acceleration is not enabled.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 06, 2020, 11:35:04 PM
I used "tce-status -i | grep cert" got the following message:
Code: [Select]
ca-certificatesAnd then listed /usr/local/etc/ssl
Code: [Select]
ls: /usr/local/etc/ssl: No such file or directory
Title: Re: piCore-11beta GUI desktop install
Post by: Rich on May 06, 2020, 11:46:22 PM
Hi danny
... And then listed /usr/local/etc/ssl
Code: [Select]
ls: /usr/local/etc/ssl: No such file or directory

Then try what Juanito suggested in reply #55:
... You could try this command:
Code: [Select]
$ sudo ln -s /etc/ssl /usr/local/etc
..and then restart epiphany and see if things work as expected
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 07, 2020, 01:08:11 AM
Hi Rich,
I tried the command but the same result that web was still blank (reference attach).
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 07, 2020, 01:29:33 AM
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:
Code: [Select]
$ tce-load -i glxinfo
$ glxinfo | grep Accel
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 08, 2020, 12:53:11 AM
It showed:
Code: [Select]
Accelerated: no
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 08, 2020, 01:05:48 AM
Have you made one of the following entries in /mnt/mmcblk0p1/config.txt:
Code: [Select]
[PI3]
dtoverlay=vc4-kms-v3d

[PI4]                   
dtoverlay=vc4-fkms-v3d

Note that you need to reboot after making the changes.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 10, 2020, 08:41:51 PM
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?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 10, 2020, 11:41:29 PM
Add the overlay:
Code: [Select]
[PI3]
dtoverlay=vc4-kms-v3d

Reboot

Code: [Select]
$ tce-load -i Xorg-3d flwm aterm wbar
$ sudo rm /usr/local/share/X11/xorg.conf.d/fb*
$ startx
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 11, 2020, 02:54:19 AM
Code: [Select]
$ 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).

Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 11, 2020, 02:57:13 AM
Should I add graphics-4.19.81-piCore-v7.tcz, Xorg-3d.tcz, flwm.tcz to onboot.list?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 11, 2020, 03:08:30 AM
For testing purposes there’s no need to do that.

Note that loading Xorg-3d will load graphics-KERNEL anyway.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 11, 2020, 04:17:31 AM
OK
When I enter a web on epiphany, I get
Code: [Select]
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.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 11, 2020, 04:29:45 AM
Does this show the gdk-pixbuf is loaded:
Code: [Select]
$ 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:
Code: [Select]
[PI3]
dtoverlay=vc4-kms-v3d
..to config.txt?

If so, does the screen blank momentarily when graphics-KERNEL is loaded?
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 11, 2020, 05:24:50 AM
It shows:
Code: [Select]
gdk-pixbuf
Yes, I have copied
Code: [Select]
[PI3]
dtoverlay=vc4-kms-v3d
to config.txt

When I click maintenance/check for updates, it shows
Code: [Select]
Error Could not verify libedit.tcz
Scan for update complete

I don't see the screen blank momentarily when graphics-KERNEL is loaded.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 11, 2020, 05:58:35 AM
Which RPi do you have?
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 11, 2020, 08:40:24 PM
RPI 3B+
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 11, 2020, 09:18:48 PM
I think maybe I have to solve error
Code: [Select]
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?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 12, 2020, 01:48:39 AM
OK, lets check if you have libEGL, libGL and libGLES loaded:
Code: [Select]
$ ls /usr/local/lib/lib*GL*.so
..and if you have the graphics acceleration drivers loaded:
Code: [Select]
lsmod | grep vc4
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 12, 2020, 04:40:50 AM
I pasted
Code: [Select]
ls /usr/local/lib/lib*GL*.soI got
Code: [Select]
/usr/local/lib/libEGL.so        /usr/local/lib/libGLESv1_CM.so
/usr/local/lib/libGL.so         /usr/local/lib/libGLESv2.so
And I pasted
Code: [Select]
lsmod | grep vc4I got nothing.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 12, 2020, 06:08:46 AM
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:
Code: [Select]
$ 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).
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 12, 2020, 08:40:13 PM
I enter this
Code: [Select]
tce-load -i graphics-KERNELAnd then I got
Code: [Select]
graphics-4.19.81-piCore-v7 is already installed!but I didn't see the screen blank momentarily.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 13, 2020, 01:24:39 AM
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.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 13, 2020, 05:00:35 AM
Could "graphics-4.19.81-piCore-v7" auto load after reboot?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 13, 2020, 05:03:15 AM
Only if you have it set “onboot” - for testing purposes it would be better not to do this.
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 13, 2020, 05:14:57 AM
Have you made one of the following entries in /mnt/mmcblk0p1/config.txt:
Code: [Select]
[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/ ?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 13, 2020, 06:29:15 AM
If the results of this:
Code: [Select]
$ fdisk -l
..show /dev/mmcblk0p1, then:
Code: [Select]
$ sudo mount /dev/mmcblk0p1
$ vi /mnt/mmcblk0p1/config.txt

.and add:
Code: [Select]
[PI3]
dtoverlay=vc4-kms-v3d
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 13, 2020, 08:45:42 PM
It has content in /mnt/mmcblk0p1/config.txt
Code: [Select]
[PI3]
dtoverlay=pi3-disable-bt
Should I clear them or add
Code: [Select]
dtoverlay=vc4-kms-v3dunder them?
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 13, 2020, 09:04:14 PM
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?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 14, 2020, 01:07:12 AM
Should I clear them or add

Add
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 14, 2020, 02:03:24 AM
have you searched the forum for "chinese fonts"?
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 14, 2020, 03:22:37 AM
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?
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 14, 2020, 05:15:57 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: danny on May 20, 2020, 04:03:58 AM
Hi Juanito
I installed fifth from
https://sourceforge.net/projects/fifth-browser/
I unzip the file on piCore and execute
Code: [Select]
./configure --prefix=/usr/localand I get
Code: [Select]
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.
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on May 20, 2020, 06:44:55 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on June 15, 2020, 05:43:51 AM
Is there instruction "xdg-open" on piCore 11.X ?

xdg-utils posted
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on July 03, 2020, 04:39:36 AM
Could I install firefox on piCore 11.x ?

firefox posted

Tested on Xorg, Xorg-3d and wayland using an RPi3 and RPi4.
Title: Re: piCore-11beta GUI desktop install
Post by: neonix on April 29, 2024, 10:36:18 AM
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
Title: Re: piCore-11beta GUI desktop install
Post by: Juanito on April 29, 2024, 11:25:53 AM
Sorry, but there aren’t enough hours in the day for this..