sunshavi | this is ouf of topic: any experience with fbterm? | 03:18 |
---|---|---|
Maxdamantus | I used it as my main terminal emulator on my laptop (Aspire One) back in 2012 or so. | 04:51 |
Maxdamantus | Because it seemed more power-efficient than running Xorg. | 04:52 |
Maxdamantus | (and at least at the time, it seemed to be a lot faster than fbcon in the kernel) | 04:52 |
Maxdamantus | I suspect it supported proper hinting (based on rules in the ttf file), since I find unhinted (or badly hinted) text annoying to read. | 04:56 |
enyc | Maxdamantus: interestingy, not heard of that! | 13:04 |
enyc | Maxdamantus: I remember all the krefluffle when framebuffer console started in first place, vs svgalib modes and so on! | 13:04 |
Maxdamantus | I have a feeling that fbcon is faster nowadays, though I don't use it as a primary terminal emulator. | 13:09 |
Maxdamantus | (normally on my desktops/laptop, I use urxvt, and on N900 I just use the usual osso-xterm) | 13:10 |
Maxdamantus | would like to switch at some point on N900 to use something with proper font rendering though. | 13:10 |
Maxdamantus | the bad font rendering is not so noticable on N900 since it has a higher pixel density than all the other displays I use, but still whenever I do end up running something on N900 with proper font rendering, it looks much clearer. | 13:11 |
Maxdamantus | ("bad" as in unhinted—I haven't managed to get anything in Maemo to work with ttf hinting enabled, have only ever got it working in a Debian chroot) | 13:13 |
Maxdamantus | https://maxdamantus.eu.org/freetype.png in case anyone wants an example of the distinction, though those examples are not on N900. | 13:18 |
sunshavi | Maxdamantus: my problem is with font rendering on fbterm. Perhaps I should try fbcon first? | 13:29 |
Maxdamantus | sunshavi: what's the problem? | 13:29 |
Maxdamantus | fbcon just uses some stored bitmaps. | 13:30 |
sunshavi | i use xterm and xst, and virtual console and when i want 256 colors on the virtual terminal I use fbterm. | 13:30 |
sunshavi | let me share a couple of images one of the virtual console and the other one about fbterm | 13:30 |
sunshavi | https://termbin.com/xmc7n | 13:32 |
Maxdamantus | Yeah, that fbterm picture is unhinted. | 13:34 |
Maxdamantus | fbcon is effectively hinted since its fonts are 2-bit bitmaps. | 13:35 |
sunshavi | Then. should I try fbcon? | 13:36 |
sunshavi | let me check yaourt about fbcon | 13:36 |
Maxdamantus | You've already got a picture of fbcon. | 13:36 |
Maxdamantus | The "-s5Q.png" picture is fbcon. | 13:36 |
sunshavi | :o | 13:36 |
Maxdamantus | fbcon is just the fb terminal emulator in the kernel. | 13:36 |
sunshavi | for me that's the virtual terminal (GNU/Linux virtual terminal) | 13:37 |
Maxdamantus | Not sure about that description, but I imagine it would also apply to the kernel's VGA text mode terminal emulator too. | 13:38 |
Maxdamantus | (which just uses VGA text instead of drawing text itself on a framebuffer) | 13:38 |
sunshavi | nice to know. thanks for the clarification | 13:38 |
sunshavi | on fbterm i can get more rows | 13:39 |
sunshavi | it bothers me a little bit. And also when rendering the text is slower than fbcon aka (GNU/Linux virtual terminal) | 13:40 |
sunshavi | But. When I want more vertical space for inspecting irc logs. fbterm is paramount | 13:41 |
Maxdamantus | Yeah, as I said, I think fbcon is faster nowadays. It used to be relatively slow. | 13:41 |
sunshavi | now it is faster than xterm at least on my SBC | 13:41 |
Maxdamantus | (the VGA text mode terminal was fast back in 2012) | 13:41 |
sunshavi | Maxdamantus: Thanks for the help | 13:42 |
sunshavi | I am going out for a couple of hours. Have a great day or depending of your timezone (the rest of the day) | 13:43 |
Maxdamantus | If the thing you don't like about the font rendering is the lack of hinting, maybe you could try using something like this in your ~/.fonts.conf: https://gist.github.com/Maxdamantus/11ecda2994c05332ac7a29c3545505a3 | 13:44 |
Maxdamantus | and if that doesn't change anything, maybe run it under strace to see if it's actually reading the config file. | 13:44 |
sunshavi | let me check fbterm shows the font rendering with a command line switch | 13:45 |
Maxdamantus | actually, if you're using a recent version of freetype, I'd also suggest using this environment variable: FREETYPE_PROPERTIES=truetype:interpreter-version=35 | 13:45 |
Maxdamantus | (in combination with that ~/.fonts.conf setting) | 13:46 |
sunshavi | I am on archlinux-arm. with the latest and greatest | 13:48 |
sunshavi | talk to you later. | 13:48 |
Maxdamantus | Okay, good luck. | 13:48 |
sunshavi | Maxdamantus: http://0x0.st/---M.png | 17:02 |
sunshavi | it has improved | 17:02 |
visionvirus | infobot ~sb | 17:39 |
Maxdamantus | sunshavi: hmm .. looks about the same to me. | 20:41 |
Maxdamantus | I tried running fbterm last night, and it didn't seem to be doing antialiasing. | 20:42 |
sunshavi | I am comparing both. | 20:43 |
sunshavi | Maxdamantus: with the modifications it looks a little bit clear | 20:43 |
sunshavi | not as great as the virtual terminal aka fbcon | 20:44 |
Maxdamantus | Maybe, though still neither is properly hinted, so they're both fuzzy, at least to me. | 20:45 |
sunshavi | Mmmm. How hinting could be gotten? | 20:46 |
Maxdamantus | Theoretically, by using that "hintstyle" setting that you've now got in .fonts.conf, and using FREETYPE_PROPERTIES=truetype:interpreter-version=35 | 20:48 |
Maxdamantus | (in freetype 2.7 or so, they changed the way hinting instructions are used by default, so you have to set that environment variable to get the previous behaviour) | 20:51 |
sunshavi | https://termbin.com/ttwx | 20:53 |
sunshavi | that is my freetype2 version | 20:53 |
Maxdamantus | Right, so you'll need that environment variable set to do proper full-pixel hinting. | 20:54 |
sunshavi | I have done : export FREETYPE_PROPERTIES=truetype:interpreter-version=35 | 20:54 |
sunshavi | and then : fbterm -v | 20:54 |
Maxdamantus | Okay, got it working nicely for me, but had to modify the fbterm source code. | 21:23 |
Maxdamantus | Also had to explicitly enable antialiasing in fontconfig, since fbterm has it off by default, but you've already got that part enabled (maybe your system fontconfig sets it) | 21:25 |
Maxdamantus | for the hinting part, I needed to `FT_LOAD_TARGET_LIGHT` in the source code to `FT_LOAD_TARGET_NORMAL` | 21:25 |
Maxdamantus | needed to change* | 21:25 |
Maxdamantus | https://maxdamantus.eu.org/fb2.png | 21:26 |
Maxdamantus | Deleted that previous image: https://maxdamantus.eu.org/fb3.png | 21:27 |
sunshavi | ok. Let me try it | 21:30 |
visionvirus | how to install the sdk to a new debian? | 21:35 |
DocScrutinizer05 | ~sb | 21:38 |
infobot | well, scratchbox is a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, hosted by maemo now. Also at http://maemo.merlin1991.at/files/SB | 21:38 |
DocScrutinizer05 | ~sdk | 21:39 |
infobot | sdk is probably http://privatepaste.com/e4a5b13fad or "wget http://repository.maemo.org/tabletsdev/explicit/maemo-dev-env-downloads/downloads/Readme_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.txt", or https://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide | 21:39 |
DocScrutinizer05 | hmmm | 21:43 |
DocScrutinizer05 | http://repository.maemo.org/ | 21:43 |
sunshavi | Maxdamantus: on line 253 of font.cpp I have FT_LOAD_TARGET_NORMAL. should I change it to FT_LOAD_TARGET_LIGHT? | 21:49 |
visionvirus | #deb http://scratchbox.org/debian/ maemo5-sdk main | 21:51 |
KotCzarny | best way is using virtual machine image | 21:52 |
visionvirus | KotCzarny: ah, with an old debian? which version? | 21:53 |
KotCzarny | dont know, i personally use chroot (~500mb) | 21:53 |
Maxdamantus | sunshavi: hm, no. I was expecting it to be the other way round. | 21:53 |
KotCzarny | but for a new user, vm is quickest | 21:53 |
Maxdamantus | sunshavi: in the fbterm source code that I've got (used by nixpkgs), it has `FT_LOAD_TARGET_LIGHT` | 21:54 |
visionvirus | i mostly use chroot, too | 21:54 |
visionvirus | for my other partitions, to update em all in oce | 21:54 |
visionvirus | once | 21:54 |
visionvirus | KotCzarny: which debian version are u using then? | 21:54 |
sunshavi | Maxdamantus: I have the git version. Last log change 2015-05-09 by Arthur Shevchenko | 21:55 |
Maxdamantus | sunshavi: hm, yeah, okay, I see that too in the version from https://github.com/gjedeer/fbterm | 21:55 |
Maxdamantus | sunshavi: were you just running it from a package manager beforehand? Maybe you should just build from git as-is and see if that works out. | 21:56 |
sunshavi | https://github.com/izmntuk/fbterm | 21:57 |
KotCzarny | visionvirus: im using chroot on my orange pi which is using devuan something something | 21:57 |
Maxdamantus | since when I ran it from both nixpkgs and debian testing, I got the same behaviour where it was presumably only using "light" hinting. | 21:57 |
Maxdamantus | sunshavi: yes, that has the change too. | 21:59 |
DocScrutinizer05 | visionvirus: http://maemo.merlin1991.at/files/SB/desktop/ | 22:00 |
DocScrutinizer05 | VM image | 22:00 |
Maxdamantus | sunshavi: in fact, it's the last commit, so good chance that it's not in package repos: https://github.com/izmntuk/fbterm/commit/5b48962aa46648a94e3f74609059830218730455 | 22:00 |
visionvirus | 22:00 < DocScrutinizer05> visionvirus: http://maemo.merlin1991.at/files/SB/desktop/ | 22:04 |
visionvirus | 22:00 < DocScrutinizer05> VM image | 22:04 |
visionvirus | ups... somebody got a installable pkg-config deb for maemo5? | 22:04 |
visionvirus | thanX DocScrutinizer05 ! | 22:05 |
sunshavi | Maxdamantus: THanks for the help. I am going out again for another couple of hours. I'll be back later | 22:05 |
DocScrutinizer05 | aah, completely unrelated but worth remembering... If only I could... :-S | 22:08 |
DocScrutinizer05 | ~phonetools | 22:08 |
DocScrutinizer05 | ~listvalues phonetool | 22:09 |
infobot | Factoid search of 'phonetool' by value returned no results. | 22:09 |
visionvirus | ~help | 22:11 |
DocScrutinizer05 | ~phonecontrol | 22:15 |
infobot | i heard phonecontrol is http://wiki.maemo.org/Phone_control | 22:15 |
DocScrutinizer05 | ^^^ recommended | 22:15 |
DocScrutinizer05 | lots of nifty stuff | 22:15 |
DocScrutinizer05 | visionvirus: also see http://maemo.cloud-7.de/maemo5/dirsnapshot2.png | 22:44 |
DocScrutinizer05 | please don't post any full URLs anywhere or this stuff will vanish immediately | 22:44 |
visionvirus | aha DocScrutinizer05 ok | 22:46 |
visionvirus | whats about that snapshot? | 22:47 |
visionvirus | cause of the qemu ? | 22:47 |
DocScrutinizer05 | visionvirus: refer http://repository.maemo.org/tabletsdev/explicit/maemo-dev-env-downloads/downloads/Readme_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.txt | 22:49 |
DocScrutinizer05 | Nokia never gave permission to re-host for some stuff | 22:49 |
visionvirus | aha... | 22:56 |
visionvirus | thats a lil uncool ;) from noka .... but ok | 22:56 |
visionvirus | DocScrutinizer05: the links isn available anymore | 22:59 |
DocScrutinizer05 | see? | 23:00 |
DocScrutinizer05 | >>a lil uncool ;) from noka<< well they never owned the full (C) themselves since they got some stuff outsourced | 23:02 |
DocScrutinizer05 | and I guess they only were allowed to use it for shipping with / to N900(-owners) | 23:04 |
DocScrutinizer05 | nobody bought $maemo so I guess this is orphaned now, nevertheless I am not interested to find out | 23:05 |
visionvirus | oha, ok | 23:06 |
DocScrutinizer05 | weird business shit, nokia didn't own the sourcecode and full unlimited use of the binaries, but the subcontractor didn't own full right on the sourcecode they wrote either | 23:10 |
DocScrutinizer05 | so to donate to community like they did with the rest, they would have had to cooperate since only together they completely own that mess | 23:11 |
DocScrutinizer05 | that's the most plausible _real_ meaning behind "for differentiation purposes" in | 23:12 |
DocScrutinizer05 | ~closed | 23:12 |
infobot | it has been said that closed is http://wiki.maemo.org/Why_the_closed_packages or https://wiki.maemo.org/Fremantle_closed_packages, or http://elinux.org/N900, or https://wiki.maemo.org/Free_Maemo | 23:12 |
DocScrutinizer05 | well, and "Legacy" | 23:14 |
DocScrutinizer05 | lol, and "IPR & licensing issues: ", "Third party:", in http://wiki.maemo.org/Why_the_closed_packages | 23:15 |
DocScrutinizer05 | https://wiki.maemo.org/Free_Maemo is more worthwhile read | 23:16 |
visionvirus | sounds like a meander, nokia and the developers did, then | 23:37 |
DocScrutinizer05 | visionvirus: https://wiki.maemo.org/Free_Maemo#SDK maybe a tiny bit interesting | 23:40 |
DocScrutinizer05 | however, as said above, installing the SDK is a PITA, get the VM image instead, it's official and "free" | 23:41 |
DocScrutinizer05 | In theory, yopu could even use "factory": the maemo build service associated to maemo-extras-devel | 23:46 |
DocScrutinizer05 | ;-) | 23:46 |
DocScrutinizer05 | but I guess it's pointless without local build environment to first test the code | 23:47 |
DocScrutinizer05 | I'm not even sure if it still runs or did lock up a few years ago and nobody noticed | 23:48 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!