From: Chris McGee <newton688@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Drawterm GPU (was: Software philosophy)
Date: Sun, 22 Aug 2021 08:24:21 -0400 [thread overview]
Message-ID: <CAOk9ws0YQ20-4p+ZVG0e-sZa1LPowts9UqOy4466=PcbcPnaAg@mail.gmail.com> (raw)
In-Reply-To: <c9da25dc-5169-4a58-b8d8-d1407ee2d60b@sirjofri.de>
[-- Attachment #1: Type: text/plain, Size: 3893 bytes --]
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 implemented directly with Plan 9 drivers in the Plan 9 way.
On Sun, Aug 22, 2021 at 7:50 AM sirjofri <sirjofri+ml-9fans@sirjofri.de>
wrote:
> 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 of knowledge about how GPUs work and never wrote any OpenGL
> code myself, only shader code. It always seemed like it's hundreds of
> hundreds of lines of code to draw a triangle (which is the basic hello
> world program).
>
> sirjofri
>
> 22.08.2021 12:04:41 Frank D. Engel, Jr. <fde101@fjrhome.net>:
>
> > 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 great benefit to the platform, and
> > working out a driver interface by starting the process remotely via
> > drawterm seems like a sensible step in that direction.
> >
> > On 8/22/21 3:07 AM, sirjofri wrote:
> >>
> >> 22.08.2021 05:16:42 Eli Cohen <echoline@gmail.com>:
> >>> 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 the "XCPU" and drawterm type ideas of using
> >>> other OSes for their existing strengths along with Plan 9. maybe
> >>> drawterm could have a GPU device driver or something... that being
> >>> said I have sometimes found it ends up surprisingly easier doing it
> >>> all on Plan 9...
> >> That's also something I thought about a few times already: drawterm
> >> with GPU support. The only issue I see is, for realtime applications
> >> like games the draw times would be network bound and thus pretty slow.
> >> It would work for heavy GPU applications where almost no draw calls
> >> will exist (no textures, very low poly meshes, ...), but for heavier
> >> stuff we'd need to address that.
> >> That's the benefit of a native driver: you could calculate the server
> >> side (heavy CPU calculations) on a cpu server, the client/frontend
> >> side (including draw calls) on a terminal and the pure graphics on the
> >> GPU.
> >> I'd still give the drawterm GPU a shot. Maybe I can set drawterm up
> >> for compilation on my work PC (two GTX 1080Ti) and try figuring out
> >> how to do all that stuff. However, I've never done graphics
> >> applications on windows or somewhere else that uses OpenGL or DirectX
> >> (I'd try OpenGL because portability), only written shaders so far.
> >> I'll surely need some time (which is always rare as a game developer).
> >> Btw I don't know the exact specifications for GPU usage for neural
> >> networks. I assume it's all compute shaders? Maybe it's even a kinda
> >> blackbox, put stuff in (draw call), read things out. I assume this can
> >> work perfectly fine for draw times, depending on the data.
> >> sirjofri
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T65ec64adb5137874-M2811fbdfd8c6710bf58ff059
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 5793 bytes --]
next prev parent reply other threads:[~2021-08-22 12:24 UTC|newest]
Thread overview: 85+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-16 11:15 [9fans] OAuth2 in factotum Demetrius Iatrakis
2021-08-17 3:48 ` Lucio De Re
2021-08-17 7:47 ` Keith Gibbs
2021-08-18 3:55 ` Lucio De Re
2021-08-18 7:02 ` [9fans] Software philosophy Skip Tavakkolian
2021-08-18 7:19 ` hiro
2021-08-18 10:15 ` Lucio De Re
2021-08-18 9:46 ` Keith Gibbs
2021-08-18 10:13 ` vic.thacker
2021-08-18 11:34 ` Keith Gibbs
2021-08-18 11:47 ` Lucio De Re
2021-08-18 23:44 ` hiro
2021-08-19 4:34 ` Lucio De Re
2021-08-19 10:44 ` Keith Gibbs
2021-08-19 18:53 ` Git & Conventional Browsers (Was Re: [9fans] Software philosophy) unobe
2021-08-19 19:00 ` ori
2021-08-18 11:34 ` [9fans] Software philosophy Lucio De Re
2021-08-18 11:28 ` Lucio De Re
2021-08-18 12:02 ` Keith Gibbs
2021-08-18 19:33 ` leimy2k via 9fans
2021-08-18 20:09 ` David du Colombier
2021-08-18 22:00 ` Eli Cohen
2021-08-19 7:08 ` Keith Gibbs
2021-08-19 7:59 ` sirjofri
2021-08-19 9:27 ` Lucio De Re
2021-08-19 9:45 ` hiro
2021-08-19 9:51 ` hiro
2021-08-19 10:10 ` sirjofri
2021-08-19 10:38 ` Keith Gibbs
2021-08-19 11:45 ` hiro
2021-08-19 12:43 ` Eli Cohen
2021-08-19 19:58 ` Aram Hăvărneanu
2021-08-19 10:56 ` kvik
2021-08-19 11:33 ` sirjofri
2021-08-19 20:44 ` ori
2021-08-19 9:29 ` hiro
2021-08-19 9:44 ` sirjofri
2021-08-19 9:19 ` hiro
2021-08-22 2:46 ` kokamoto
2021-08-22 3:16 ` Eli Cohen
2021-08-22 7:07 ` [9fans] Drawterm GPU (was: Software philosophy) sirjofri
2021-08-22 10:04 ` Frank D. Engel, Jr.
2021-08-22 11:49 ` sirjofri
2021-08-22 12:24 ` Chris McGee [this message]
2021-08-18 9:18 ` [9fans] OAuth2 in factotum Keith Gibbs
2021-08-18 12:10 ` Ethan Gardener
2021-08-18 15:23 ` Stuart Morrow
2021-08-18 16:58 ` Stuart Morrow
2021-08-18 17:06 ` Sigrid Solveig Haflínudóttir
2021-08-17 15:25 ` ori
2021-08-18 3:59 ` Lucio De Re
2021-08-18 4:20 ` ori
2021-08-18 4:42 ` Eli Cohen
2021-08-18 5:06 ` Lucio De Re
2021-08-17 4:13 ` ori
2021-08-17 5:43 ` Lucio De Re
2021-08-19 3:52 ` Kurt H Maier
2021-08-19 5:38 ` ori
2021-08-22 20:16 ` ori
2021-08-22 20:32 ` Demetrius Iatrakis
2021-08-22 20:38 ` ori
2021-08-22 20:36 ` ori
2021-08-22 12:10 [9fans] Drawterm GPU (was: Software philosophy) Stuart Morrow
2021-08-22 12:29 ` sirjofri
2021-08-22 13:44 ` Paul Lalonde
2021-08-22 13:53 ` Eli Cohen
2021-09-01 0:29 ` kokamoto
2021-09-01 7:35 ` sirjofri
2021-09-02 5:01 ` kokamoto
2021-09-02 5:21 ` Eli Cohen
2021-09-03 23:06 ` kokamoto
2021-08-22 14:57 ` sirjofri
2021-08-22 16:45 ` ori
2021-08-22 15:47 ` Bakul Shah
2021-08-22 16:23 ` Paul Lalonde
2021-08-22 19:04 ` Bakul Shah
2021-08-22 19:09 ` Paul Lalonde
2021-08-23 4:13 ` Bakul Shah
2021-08-23 5:23 ` sirjofri
2021-08-22 16:41 ` ori
2021-08-22 17:29 ` sirjofri
2021-08-22 18:25 ` ori
2021-08-22 18:50 ` sirjofri
2021-09-24 1:50 ` Frank D. Engel, Jr.
2021-08-22 21:10 ` Philip Silva via 9fans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOk9ws0YQ20-4p+ZVG0e-sZa1LPowts9UqOy4466=PcbcPnaAg@mail.gmail.com' \
--to=newton688@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).