Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-09-23 Thread Frank D. Engel, Jr.
Maybe /dev/gpgpu (general-purpose GPU) would be more to the point? On 8/22/21 2:50 PM, sirjofri wrote: 22.08.2021 20:25:12 o...@eigenstate.org: Quoth sirjofri : 22.08.2021 18:41:06 o...@eigenstate.org: Basically do software rendering on the GPU? Yes. Or software neural net evaluation on

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-09-03 Thread kokamoto
I put drawterm.apk onto my android device (SO-41B) successfully, then, I tap that file on my device. It does something for a while, I see graphic progress bar, and then, replied it did not installed., which means failed to install. By the way, android program should compile all for arm64, arm,

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-09-01 Thread Eli Cohen
hey Kenji, when I was putting the apk on my phone I used the "adb" tool. I don't exactly remember the process... the phone has to be paired with the computer running adb either over a USB cable or over wifi, then the apk can be installed with adb. I do recall it being a bit difficult to get it

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-09-01 Thread kokamoto
> This guide can help: > https://www.lifewire.com/install-apk-on-android-4177185 My phone is version 11, and made for Japanese (all the messages are Japanese), which makes me difficult to follow it. However, I'll do it soon... > And there's the mouse offset bug. In my version it's almost the

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-09-01 Thread sirjofri
01.09.2021 02:29:42 kokam...@hera.eonet.ne.jp: By the way, I made your drawterm-android on my ubuntu-20.04.2 machine. My android is version 11, and made by Sony (SO-41B). I now have drawterm.apk file on my home directory, like src/drawterm-android/drawterm.apk (size=777151). How I can

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-31 Thread kokamoto
By the way, I made your drawterm-android on my ubuntu-20.04.2 machine. My android is version 11, and made by Sony (SO-41B). I now have drawterm.apk file on my home directory, like src/drawterm-android/drawterm.apk (size=777151). How I can install this to my android? I'm a novise user of

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread sirjofri
Good morning, GPUs are SIMD processors. The hundreds of cores are great for highly parallel calculation. In GLSL/HLSL I can write a program which is calculated for a very small set of pixels (usually 2x2 or 1x1). So if you have  a resolution of 10x10 the program is basically run 5x5=25 or

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Bakul Shah
Don't high end GPUs have thousands of "cores"? Even high end CPUs don't have more than a few dozen cores to 128 or so. While each kind's cores are very different, seems to me GPU/CPU paths have diverged for good. Or we need some massive shift in programming languages + compilers. I lack

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Philip Silva via 9fans
Vulkan (at least its promises) looks interesting though. As far as I understand it's more like a Meta API, really low-level and it claims to be very portable. But as mentioned before, the Hello Worlds are really long, apparently it's rather >1000 lines instead of "just" >100 for OpenGL. On the

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Paul Lalonde
I'm pretty sure we're still re-inventing, though it's the CPU's turn to gain some of the complexity of the graphics engine. Paul On Sun, Aug 22, 2021, 12:05 PM Bakul Shah wrote: > Thanks. Looks like Sutherland's "Wheel of Reincarnation >

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Bakul Shah
Thanks. Looks like Sutherland's "Wheel of Reincarnation " has not only stopped but exploded :-) Or stopped being applicable. -- Bakul > On Aug 22, 2021, at 9:23 AM, Paul Lalonde wrote: > > It got

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread sirjofri
22.08.2021 20:25:12 o...@eigenstate.org: Quoth sirjofri : 22.08.2021 18:41:06 o...@eigenstate.org: Basically do software rendering on the GPU? Yes. Or software neural net evaluation on the GPU. Or software video decoding on the GPU. Or software image transforms on the GPU. Or software

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread ori
Quoth sirjofri : > > 22.08.2021 18:41:06 o...@eigenstate.org: > Basically do software rendering on the GPU? Yes. Or software neural net evaluation on the GPU. Or software video decoding on the GPU. Or software image transforms on the GPU. Or software signal processing on the GPU. If there's an

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread sirjofri
22.08.2021 18:41:06 o...@eigenstate.org: Quoth Paul Lalonde : Opinions on how to bring this to Plan9?  I don't really have any - it's a huge pile of work with minimal benefit.  If you're looking for lightweight graphics, WebGL is a doable path, and almost certainly the right way to

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread ori
Quoth sirjofri : > Basically just a driver bridge between 9p and > OpenGL for example. While that may be a neat hack, I think the way forward is to *ignore* everything but the ability to run arbitrary code. The alternative binds us tightly to complex interfaces that we are unable to control, and

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread ori
Quoth Paul Lalonde : > Opinions on how to bring this to Plan9? I don't really have any - it's a > huge pile of work with minimal benefit. If you're looking for lightweight > graphics, WebGL is a doable path, and almost certainly the right way to > experiment with Plan9-like interfaces to

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Paul Lalonde
It got complicated because there's no stable interface or ISA. The hardware evolved from fixed-function to programmable in a commercial environment where the only meaningful measure was raw performance per dollar at many price points. Every year the hardware spins and becomes more performant,

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Bakul Shah
The FreeBSD amdgpu.ko is over 3Mbytes of compiled code. Not counting the "firmware" that gets loaded on the GPU board. drm/amd/amdgpu has 200K+ lines of source code. drm/amd over 2M lines of code. Intel's i915 seems to be about 1/10th the amd size. AIUI, this is linux GPU driver code, more or

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread sirjofri
The benefit of a drawterm GPU implementation is that you can basically use the whole driver pipeline of the underlying host OS. Eg for the windows version you can just write the software that uses the GPU driver. All programming effort will just be writing a graphics implementation and a

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Eli Cohen
I wasn't aware of open-source cards only for ML/NN... that's interesting. I was just poking through the # drivers... as I recalled there was something specifically for using the FPU, but now I can't figure that out... I'm not sure where I saw that or thought that... that was more what I was

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Paul Lalonde
I'd love to see GPU support for Plan9. This discussion falls right into my professional capacity. I'll say that people generally *grossly* underestimate the complexity of a modern GPU and of its supporting software stack. The GPU driver is effectively a second operating system with shared

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread sirjofri
22.08.2021 14:10:20 Stuart Morrow : Also: people have discussed that for years They have?  I mean I might have seen occasionally someone vaguely going "some sort of GPU support would be cool to have".  That isn't discussion. I've even heard of someone actually making GPU stuff work on

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Chris McGee
I was thinking that another way to get access to GPU across other OSes, chipsets, etc. might be WebGL. I was going to try with one of the web frontend drawterms out there (maybe aiju's) would be a reasonable starting point to expose a gpufs and model how it would work such that someday it could be

[9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Stuart Morrow
On 22/08/2021, Eli Cohen wrote: > deep learning is another interest of mine too. hardware support is a > big deal for that... some kind of support for GPUs would be nice. > people have discussed that for years... hardware drivers are difficult > and important to do correctly! There's virtio_gpu,

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread sirjofri
I should mention I thought about the layout of a GPUfs some time ago. I just lack lots of knowledge about this, the gist was to write shader (code or compiled?) into some files, also write image data and mesh data to other files, abd reading results from other files. But as I said, I lack lots

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Frank D. Engel, Jr.
While not necessarily unwelcome as a possibility, I don't think GPU-based drawing/gaming is as relevant to this discussion (or as important of a goal for Plan 9 / 9front) as is GPU compute (GPGPU). The ability to leverage GPU resources across CPU servers for computation purposes would be of

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread sirjofri
22.08.2021 05:16:42 Eli Cohen : deep learning is another interest of mine too. hardware support is a big deal for that... some kind of support for GPUs would be nice. people have discussed that for years... hardware drivers are difficult and important to do correctly! I always really liked