maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 7 / Leste (https://talk.maemo.org/forumdisplay.php?f=66)
-   -   Maemo Leste Playground (https://talk.maemo.org/showthread.php?t=101089)

nonsuch 2020-10-18 12:08

Re: Maemo Leste Playground
 
^ I have only one Droid 4. Will that be enough? ;)

xman 2020-10-18 18:28

Re: Maemo Leste Playground
 
Quote:

Originally Posted by clort (Post 1569761)
https://abload.de/img/cant_have_2_much_lestiajtp.jpg
Sharing the work in progress:

There's a git page for the pcsx-rearmed.
https://github.com/clort81/pcsx_rearmed_mld4


There's a .deb binary
http://0x0.st/iDAt.deb
Should get you a menu entry under 'Debian' menu to launch the emulator.
My patches to libsdl aren't approved yet. I still should figure out the minimal change to get fullscreen working. If you want fullscreen sdl you'll need to untar this and 'make install' (with installed build-dep prerequisites for libsdl).
http://0x0.st/iDAw.tgz

Clort your have way too much fun .. lol. All those droids! Very cool man.

x

clort 2020-10-23 12:32

Re: Maemo Leste Playground
 
OpenMW finally built, partially, after months of faffing with it... months, i tells ya...
https://abload.de/img/openmw_hildonx0jum.png

Sometimes crashes, sometimes doesn.t Only running under 32bpp xorg, so fps could be nearly doubled for some scenes at least...

But, it does look like the droid4 GPU is in the class of devices that 'could work' for openMW.
https://abload.de/img/openmw6aj37.jpg

clort 2020-10-23 18:43

Re: Maemo Leste Playground
 
Components arrived which will allow for a Droid 4 with 4000mAh and 4 USB ports.
https://0x0.st/iDF8.jpg

Maemish 2020-10-23 21:39

Re: Maemo Leste Playground
 
Now that... Thank you for sharing! I like what you are doing!

clort 2020-10-24 08:16

Re: Maemo Leste Playground
 
Quote:

Originally Posted by Maemish (Post 1569866)
Now that... Thank you for sharing! I like what you are doing!

Well I haven't figured out how to do it without a big clunky microusb cable stuck into the micro-usb port.

I ripped one off and this is what i see - there seem to be 6 pads which spot-weld the connector to the board and 5 pins that connect the micro usb port to the board.

how would i solder my usb otg hub wires to that? I have farmer hands made for pulling out weeds.
http://0x0.st/ikof.jpg

Maemish 2020-10-24 09:11

Re: Maemo Leste Playground
 
I see. If that was a working board before you ripped it off... I would have liked to see you doing it :)

suicidal_orange 2020-10-24 10:28

Re: Maemo Leste Playground
 
Note which way up the port you removed was to find pin 1 then it's basically the same as this except instead of soldering to pins on a connector you solder to the pads, the last image in step 2 is the key one.

If you doubt your soldering start with the two pins in the middle and get them perfect - the edge ones can be positioned slightly wider than the pads so are easier (and here you actually want to bridge two pads on one end making it easier still)

A smaller soldering iron tip will help :)

Xsetiadi 2020-10-24 15:20

Re: Maemo Leste Playground
 
Quote:

Originally Posted by clort (Post 1568776)
There are more than a few ways to get more space to install more software on your system partition, but your choices are basically to:

*) delete some things you don't need to keep

OR

*) increase the size of your system partition

Since maemo-leste installs to the microSD card, we have easy partition management and can increase the system partition size! I have grown my system partition size twice, first to 8 and now 16 gB. The basic procedure was as follows.

1) Take microSD card out of phone and using the PC, I backup (clone) the current SD card to an image on a reliable drive. Then i restore that new backup to a new microSD and test-boot it in the Droid4, to be sure it works.

2) I use gParted on my PC to increase the partition size of the system partition on the microSD card. I find 16GB gives me enough space, for the time being. The system partition is the second partition on the microSD card.

It is very helpful to make regular duplicates or backups of your Maemo-Leste microSD card, so you can revert to a working system in case you break something while experimenting.

Hope this helps.

[EDIT] Here is a screencap of my installed 'fun and games' on leste. I'll be working on getting as many as I can to usable (tablet-optimized) status:
http://0x0.st/iYJh.png


well, actually there is script on /etc to expand root fs using the entire sdcard free space. like on my droid4 using 32gb

here the script name. already include on all maemo-leste images

/etc/expandcard.sh

just execute and you good to go

clort 2020-10-25 16:50

Re: Maemo Leste Playground
 
ManaWorld (manaplus client) runs great
http://0x0.st/ikmd.jpg
https://manaplus.org/
The ui is very flexible, handles larger fonts well, but some ui work would be needed for finger-tapping goodness and playable gameplay. Movement on arrowkeys would help (not working yet) so you don't end up moving around at random when mis-tapping on game world elements.
https://0x0.st/ikjN.png
Short video.
http://0x0.st/ikav.webm

Very nice framerates, very smooth (sdl1.2, no opengl needed) - but it's refreshing screen constantly, even with static game world, nothing changing. This causes 2000-2000mW battery drain constantly.

If that can be fixed, maybe with dirty buffers and dynamic framerate, i'd say this is the currently best online RPG candidate for maemo-leste!

[EDIT] Some more ui tweaks. OpenGL mode, gets 18 fps at 36-44% cpu use.

clort 2020-11-19 14:35

Re: Maemo Leste Playground
 
uTox p2p messenger builds and runs fine. Haven't gotten it to find the microphone yet, but I can use the pulseaudio loopback device to stream music and podcasts to other chatters :)
https://leste.maemo.org/images/2/21/...este-utox2.jpg

[edit]
killing pulseaudio with /etc/init.d/pulseaudio stop...
reduces utox to 5% cpu use and eliminates the 8-11% cpu-chewing pulseaudio process. It's possible PA is something that needs work to sleep properly when not actually in-use.

biketool 2020-11-19 19:19

Re: Maemo Leste Playground
 
Is kodi on the leste repos?
I got it to install/run on my pine running Alpine/postmarket but the screen size was too big, I could have probably edited a .conf file to get it to fit but I have not had time.
Obligatory... Can Leste make phone calls yet? I just hosed my Alpine install playing with alpine unstable repos though so until we have a Pinephone OS ready for daily driver I am still rocking a N900.

Is there a good guide for installing and ready images?
Last time I tried I found out afterwards that the bootloader on the pine needs to be changed to u-boot I think.

clort 2020-11-23 01:57

Re: Maemo Leste Playground
 
Quote:

Originally Posted by biketool (Post 1570223)
Is kodi on the leste repos?
Can Leste make phone calls yet?
Is there a good guide for installing and ready images?

Kodi: no -

Phone Calls: Leste has been used to make phone calls. I don't think it's user-ready yet.

Installation: Instructions and links to images can be found under the devices section eg https://leste.maemo.org

preflex 2020-11-26 10:45

Re: Maemo Leste Playground
 
Quote:

Originally Posted by biketool (Post 1570223)
Is kodi on the leste repos?
I got it to install/run on my pine running Alpine/postmarket but the screen size was too big, I could have probably edited a .conf file to get it to fit but I have not had time.

If you're using phosh on PMOS, you can turn off the scaling by editing /usr/share/phosh/phoc.ini

Some people don't like how small it makes UI stuff, but it doesn't bother me. It also makes anbox and anything else using xwayland suck less.

You can install leste the same as anything else, just dd it to your sdcard and then expand the root partition. Then, grab u-boot from here and flash it following the instructions over there.

clort 2021-03-19 13:12

Re: Maemo Leste Playground
 
Doom3 at mars_city2 is running ~ 15-20 fps atm with 4x reduced texture size :)

Still getting lots of PVR:(Warning): Kicking render due to frag buffer space [691, /buffers.c]

But the pvr can handle this amount of geometry just fine, just getting a lot of black textures, and some shaders not doing transparency correctly

config needs
seta image_downSizeLimit "64"
and
seta image_forceDownSize "1"
seta image_downSize "1
http://0x0.st/-N38.jpg"

clort 2021-03-19 15:32

Re: Maemo Leste Playground
 
In other good news, PPSSPPSDL (Sony PSP emulator) can be tweaked to run playable without sound stuttering, at least in the awesome Legend of Heroes: Trails in the Sky.

http://0x0.st/-NYH.webp
Ok it's now native opengl-es, not using gl4es.
http://0x0.st/-NYa.webp

Frameskip 1, CPU 140-150mhz (stock was 222 or later 333mhz).

There are a few issues to work on though:
- our mapped Esc key not detected by SDL - set it to ` key or something [DONE]
- diagonal dpad down is possible holding down + left|right, but up diagonals need to be mapped to comma key and 'OK' key. The latter will be difficult since X treats it as a modifier. [DONE]
https://user-images.githubuserconten...81468c06ad.jpg
- crashes running under hildon [FIXED]
- without hildon fullscreen mode yields visual junk [FIXED]
- windowed non-hildon mode sometimes runs, sometimes not (?) [FIXED]
- fullscreen sdl mode fails to get keyboard input.
- debianization
- sometimes crashes on startup with "corrupted double-linked list"
- In 'Trails' in-game menu stutters and is unreadable ;-;

Still, it's very promising for RPGs, and Trails in the Sky is an amazing game.

http://0x0.st/-Nlk.jpg
Video: http://0x0.st/-NlD.webm

Maemish 2021-03-19 19:34

Re: Maemo Leste Playground
 
Awesome posts again!

clort 2021-04-26 19:58

Re: Maemo Leste Playground
 
1 Attachment(s)
Just to share my latest preference for transcoding movies

4:3 Movie, cropped with some sharpening and audio compression.

Code:

ffmpeg -y -i $input -filter:v "scale=960x540,crop=720:540:120:0,smartblur=1.8:-0.35:-0.01:1:0.0:0.0" -filter:a "compand=attacks=0:decays=0.12:points=-80/-80|-45/-37|-27/-18|0/-7|20/-7:gain=1.88:volume=-110" -movflags faststart -c:v libx264 -crf 23 -pix_fmt yuv420p -preset slow -vprofile main -level:v 3.0 -tune fastdecode -maxrate 1920k -auto-alt-ref 0 $output.mkv
The device seems to handle main profile ok, without limiting to baseline. I think specifying -level:v 3.0 limits the target to not too-high bitrate. The -maxrate didn't seem to strictly limit bitrate, if I analyze output with ffprobe...

For the too-dark movies i like to add equalizer
eq=contrast=1.08:brightness=0.00:gamma=1.32

With this profile, level and bitrate mplayer can play 960x540 @ 24fps H264 at about 65%-75% CPU. Important to avoid the output scaled due to non 1:1 aspect ratio. You might need to add setsar to fix aspect ratio. scale=960x540,setsar=1:1

The hardframedrop leads to jerky motion, so the current invocation is:
Code:

mplayer -vo sdl -fs  -nocorrect-pts -quiet
For fullscreen SDL on droid4, you'll need a patched libsdl, otherwise the window is shifted about 1/2 screen down. I found some changes that 'workforme' but I don't know what i'm doing so my tweaks to libSDL aren't included in the repository.

clort 2021-06-25 13:39

Re: Maemo Leste Playground
 
BIG HAPPY NEWS!

The smart leste folks fixed our libsdl fullscreen and now games display correctly!
http://0x0.st/-pKl.jpg

HtheB 2021-06-27 22:16

Re: Maemo Leste Playground
 
We really need Leste running on modern hardware.....

pichlo 2021-06-28 16:36

Re: Maemo Leste Playground
 
Quote:

Originally Posted by HtheB (Post 1572137)
We really need Leste running on modern hardware.....

...with buttons. But where to find one?

Wasmachinemann-NL 2021-06-28 23:01

Re: Maemo Leste Playground
 
Quote:

Originally Posted by HtheB (Post 1572137)
We really need Leste running on modern hardware.....

Pro1 with Maemo-Leste please!

clort 2021-06-28 23:35

Re: Maemo Leste Playground
 
Quote:

Originally Posted by HtheB (Post 1572137)
We really need Leste running on modern hardware.....

The FxTec pro 1 and successor should run it.

t-b 2021-07-02 15:40

Re: Maemo Leste Playground
 
Quote:

Originally Posted by HtheB (Post 1572137)
We really need Leste running on modern hardware.....

"We" ? I still have 5 N900's in a drawer waiting to be revived by Leste :):D

nonsuch 2021-07-03 07:53

Re: Maemo Leste Playground
 
Quote:

Originally Posted by t-b (Post 1572223)
"We" ? I still have 5 N900's in a drawer waiting to be revived by Leste :):D

...and one Droid 4 :D

clort 2021-07-04 08:46

Re: Maemo Leste Playground - Droid4 Batteryhack
 
Turns out the droid4 is very tolerant of 'diverse' batteries. Even with stock android.
The simplest connector i found was to take a sharp knife to a wire, poke a hole in the middle, and push the torx bolts through it. Positive end goes to the outside of the case.
http://0x0.st/-fLO.jpg

Result: 1040 mAh to 3800 mAh
http://0x0.st/-fL4.mkv
Yes a back cover was sacrificed! :D

t-b 2021-07-11 10:52

Re: Maemo Leste Playground - Droid4 Batteryhack
 
Quote:

Originally Posted by clort (Post 1572238)
Turns out the droid4 is very tolerant of 'diverse' batteries. Even with stock android.
The simplest connector i found was to take a sharp knife to a wire, poke a hole in the middle, and push the torx bolts through it. Positive end goes to the outside of the case.
http://0x0.st/-fLO.jpg

Result: 1040 mAh to 3800 mAh
http://0x0.st/-fL4.mkv
Yes a back cover was sacrificed! :D

Nice!
I still have a few spare batteries, so not immediately needed. Still interested though, what is battery life? Can you share what kind of battery is used?

clort 2021-07-12 18:29

Re: Maemo Leste Playground - Droid4 Batteryhack
 
Quote:

Originally Posted by t-b (Post 1572287)
Nice!
I still have a few spare batteries, so not immediately needed. Still interested though, what is battery life? Can you share what kind of battery is used?

I wouldn't feel good suggesting these particular ones. I have some weirdness with charging. I'd advise using some 3.8 or 3.85v with same chemistry as the Motorola EB41.
Something like https://www.polarcell.de/en/mobile-p...us-4-e960.html

Wasmachinemann-NL 2021-07-12 21:22

Re: Maemo Leste Playground
 
Did anyone ever port Rockbox to Maemo-Leste?

biketool 2021-07-13 16:43

Re: Maemo Leste Playground
 
Quote:

Originally Posted by Wasmachinemann-NL (Post 1572293)
Did anyone ever port Rockbox to Maemo-Leste?

Is that the pebble app?
Probably easier to install python2 and run Maebble.

Side question...
What aside from look and feel is different on Maemo Leste vs say Mobian? Specifically for the Pinephone.

clort 2021-07-13 22:55

Re: Maemo Leste Playground
 
Rockbox is an operating system itself - a firmware for small music players. It's not an application that runs under linux, or maemo.
https://www.linuxjournal.com/article/10835

biketool 2021-07-15 12:08

Re: Maemo Leste Playground
 
Quote:

Originally Posted by clort (Post 1572297)
Rockbox is an operating system itself - a firmware for small music players. It's not an application that runs under linux, or maemo.
https://www.linuxjournal.com/article/10835

Ahhhh...
I think I had that set up on something, maybe a r-pi....
Years ago though....
But wasn't the player used in the firmware available as an app for N900 too?
<searches>yes...
http://wiki.maemo.org/Rockbox
https://talk.maemo.org/showthread.php?t=89615

OK, so I suggest it be added to the Mobian request wiki page with source link and notes, once it is in the Mobian repos it will be easier to get into Leste.
https://wiki.mobian-project.org/doku.php?id=wishlist

clort 2021-07-18 11:58

Re: Maemo Leste Playground
 
Quote:

Originally Posted by biketool (Post 1572304)
Ahhhh...
I think I had that set up on something, maybe a r-pi....
Years ago though....
But wasn't the player used in the firmware available as an app for N900 too?
<searches>yes...
http://wiki.maemo.org/Rockbox
https://talk.maemo.org/showthread.php?t=89615

OK, so I suggest it be added to the Mobian request wiki page with source link and notes, once it is in the Mobian repos it will be easier to get into Leste.
https://wiki.mobian-project.org/doku.php?id=wishlist

Thank you for the correction.


All times are GMT. The time now is 18:24.

vBulletin® Version 3.8.8