-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mintty and use case examples #50
Comments
I can't reproduce that on my environment.
Reproduced.
Oops,
I also could not build it with cygwin's
config.log: config.log.ffmpeg.txt
Please try the following patch:
We can implement pixel coordinate handling more efficiently by using "filter rectangle" feature (DECEFR), but Xterm's one seems to broken. So now drawing example use only DECRQLP simply. Vim's I'm now working for it in
Cygwin package
config.log: config.log.opengl.txt
Now I'm using Debian's w3m. It's best-maintained
config.log: config.log.w3m.txt w3m SIXEL integration enables with
It works for me. |
I found a tweet that says doom works on mintty. |
Haha! And with Bash on Windows... This is getting cool. |
Drawing now works in xterm, thanks, but not in your dec-locator branch. |
Status:
In effect, there is only one seemless example to promote the feature, but a good one at least. |
The ffmpeg Ballmer commandline plays without error for me with mintty on WSL, for what it's worth. I configured with I do have a question regarding the "coarse image quality" though, which you see even with img2sixel if you draw a big colorwheel like this one. I understand from mintty issue 431 that raw RGB is passed all the way up the rendering stack, but the colors seem to be getting quantized before it gets a chance to draw them. This is apparent in my Xsixel screencap here as well, in which the xterm window title bar (which gets drawn by xfwm4) gets quantized and dithered. You see it with the Ballmer video as well; I assume the |
@therealkenc Unfortunately, SIXEL is palette-based format, which is not suitable to represent true color... (#44) |
This problem may be caused by cygwin's expensive fork() implementation. Does it reproduce on WSL? |
I've merged above patch into
This example might be better: |
Thanks. Apologies for my ignorance about Sixel being palette based only. The libgl demo starts up instantly on my computer with WSL. though there appears to be a memory leak in either mintty or wslbridge - this is mintty consuming 1.4GB of RAM. I'll try out your recent patches. I should mention the mouse didn't work entirely for me in Xsixel last week on WSL. It would draw ascii characters when dragging the mouse with left click (making dragging windows impossible), but the cursor moves okay without click. |
I confirmed the leak with Cygwin. It's easy to reproduce. If you run Silly question: How do I take advantage of the 1023 palette? I'm on the dec-locator branch and the drawing demo works, but I can't see any difference in fidelity with |
Does the leak happen with the current release version (2.6.1)? |
Sorry I should have thought to check that upfront. 2.6.1 that ships with Cygwin is fine. Wsltty shipped off master on Sept 19th so that explains why I'm seeing the leak with WSL as well. |
Sorry there is a leak problem in my recent patch(saitoha/mintty-sixel@7b6bf81). |
Weird. Mintty off master is indeed fine, but I just double-checked wsltty 0.6.0 prebuilt leaks. No idea why. So apologies for the confusion. I saw wsltty pulls off master and just assumed I was seeing the same thing. |
Actually, there is a memory leak already in release 2.6.1. If I output a Sixel image and clear the scrollback buffer repeatedly ( |
Leak problems in |
Hi, just to sort this out; there are two open patches now:
Are you still working on any of them? How and when should I integrate them? DEC Locator first, or both together... |
Color registers handling is in separated branch: DEC Locator is now in progress, I think it is not ready to be released, because the filter rectangle feature is not implemented now. |
Now there is yet no SIXEL encoder which can use 1023 color registers... |
So what does |
high-color sixel is the technique of recycling 256 color register dynamically. |
I found such a thing. |
Did the DEC locator feature ever make further progress towards getting incorporated into mintty? |
It's actually not yet even incorporated into mintty (main repository), just saitoha's DEC Locator branch, because I had the impression that @saitoha still wanted to implement Filter Rectangle mode. |
Yeah, makes sense. Hopefully if I show off what mintty already supports it'll give some Julia users a reason to get excited about sixels as a low-dependency image display solution, they might do some fun stuff. See https://github.com/KristofferC/Crayons.jl and https://github.com/evizero/UnicodePlots.jl for some existing examples, just using already-common escape codes and unicode characters. I am now really curious how out-of-the-box support for sixel display is on default Mac and Linux terminals. Most people developing open-source packages tend to use those platforms, while lots of our users are on Windows so will benefit from mintty once I get it incorporated in our install. |
Doesn't gnuplot support sixel graphics? Anyway I guess this would replace
libcaca. However last time I checked sixel support was poor across all the
major linux distros. Unless you use xterm.
…On 29/01/2017 10:15 PM, "Tony Kelman" ***@***.***> wrote:
Yeah, makes sense. Hopefully if I show off what mintty already supports
it'll give some Julia users a reason to get excited about sixels as a
low-dependency image display solution, they might do some fun stuff. See
https://github.com/KristofferC/Crayons.jl and https://github.com/evizero/
UnicodePlots.jl for some existing examples, just using already-common
escape codes and unicode characters.
I am now really curious how out-of-the-box support for sixel display is on
default Mac and Linux terminals. Most people developing open-source
packages tend to use those platforms, while lots of our users are on
Windows so will benefit from mintty once I get it incorporated in our
install.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAnHHfgKoGByT4D_RFYCcIgiko0ALXjAks5rXHTbgaJpZM4J5x11>
.
|
The recent discussion was not about the Sixel feature which is fully incorporated in mintty. |
I have implemented DEC Locator, based on your single report patch and expanded to full feature. |
@mintty How did you get w3m working with images using mintty? One use case of this is the usage of mutt or neomutt and integrating w3m or something else (like directly using sixel) to show the html emails with inline rendering of images, or attachments which are images as well. |
Maybe you'd like to add mintty to your supporting terminal list on the libsixel project page.
I've added a gnuplot screenshot to the mintty home page http://mintty.github.io/ and I'd like to mention some more examples of use cases, but I'm having some problems:
Thanks for further info and help.
The text was updated successfully, but these errors were encountered: