Reply
Thread Tools
clort's Avatar
Posts: 106 | Thanked: 313 times | Joined on Mar 2019
#51
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


[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.

Last edited by clort; 2020-11-19 at 14:54.
 

The Following 7 Users Say Thank You to clort For This Useful Post:
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#52
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.
 

The Following 4 Users Say Thank You to biketool For This Useful Post:
clort's Avatar
Posts: 106 | Thanked: 313 times | Joined on Mar 2019
#53
Originally Posted by biketool View Post
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
 

The Following 4 Users Say Thank You to clort For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#54
Originally Posted by biketool View Post
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.
__________________
Leap before you look.

Last edited by preflex; 2020-11-26 at 10:51.
 

The Following 2 Users Say Thank You to preflex For This Useful Post:
clort's Avatar
Posts: 106 | Thanked: 313 times | Joined on Mar 2019
#55
Doom3 at mars_city2 is running ~ 15-20 fps atm with 4x reduced texture size

Still getting lots of PVRWarning): 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
"
 

The Following 3 Users Say Thank You to clort For This Useful Post:
clort's Avatar
Posts: 106 | Thanked: 313 times | Joined on Mar 2019
#56
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.


Ok it's now native opengl-es, not using gl4es.


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]

- 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.


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

Last edited by clort; 2021-03-20 at 07:31.
 

The Following 2 Users Say Thank You to clort For This Useful Post:
Maemish's Avatar
Posts: 1,702 | Thanked: 4,752 times | Joined on Apr 2018 @ Helsinki, Finland.
#57
Awesome posts again!
__________________
"I don't know how but I can try!" (active)

Master of not knowing (active)

For me it is possible to get lost in any case (active)

Learning to fall from high (DONE)

Learning to code with BASIC (WIP)
 

The Following 2 Users Say Thank You to Maemish For This Useful Post:
clort's Avatar
Posts: 106 | Thanked: 313 times | Joined on Mar 2019
#58
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.
Attached Images
 

Last edited by clort; 2021-04-27 at 11:53.
 

The Following 5 Users Say Thank You to clort For This Useful Post:
clort's Avatar
Posts: 106 | Thanked: 313 times | Joined on Mar 2019
#59
BIG HAPPY NEWS!

The smart leste folks fixed our libsdl fullscreen and now games display correctly!
 

The Following 5 Users Say Thank You to clort For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#60
We really need Leste running on modern hardware.....
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following 6 Users Say Thank You to HtheB For This Useful Post:
Reply

Tags
games, leste, mplayer, video


 
Forum Jump


All times are GMT. The time now is 10:31.