Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Rust wgpu now has a

Rust wgpu now has a

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
316 Indlæg 74 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • mcc@mastodon.socialM mcc@mastodon.social

    @BigShellEvent Thanks. This was really important to me 😞

    bigshellevent@toot.catB This user is from outside of this forum
    bigshellevent@toot.catB This user is from outside of this forum
    bigshellevent@toot.cat
    wrote sidst redigeret af
    #10

    @mcc 😞 feels like someone shat in your soup then mixed it ladle and it is not even my kind of soup and it is infuriating

    1 Reply Last reply
    0
    • mcc@mastodon.socialM mcc@mastodon.social

      Rust wgpu now has a .agents/skills, a .claude/skills, an AGENTS.md, and a CLAUDE.md.

      Increasingly wondering if my goal of living in a way that I never benefit from the actions of generative AI users and generative AI users never benefit from the actions of me is going to inherently mean never using hardware-accelerated video on a computer again.

      lobocode@hachyderm.ioL This user is from outside of this forum
      lobocode@hachyderm.ioL This user is from outside of this forum
      lobocode@hachyderm.io
      wrote sidst redigeret af
      #11

      @mcc Everything driven by the market loses its meaning. The market has that power. Now that everything is being accelerated and automated, it gives us the feeling that everything is losing its meaning. It’s madness.

      1 Reply Last reply
      0
      • mcc@mastodon.socialM mcc@mastodon.social

        As recently as like, a year ago, I believed that we couldn't trust hardware companies. I thought the biggest concern was that we'd get locked into a situation where at least for handheld devices like phones, if you want to buy one you get locked into a duopoly where you have to use one of two corp operating systems and you have to accept all kinds of DRM and identity tracking and such. I wanted a solution. So I was very interested in RISCV and I was trying to imagine the GPU version of RISCV.

        mcc@mastodon.socialM This user is from outside of this forum
        mcc@mastodon.socialM This user is from outside of this forum
        mcc@mastodon.social
        wrote sidst redigeret af
        #12

        I was learning FPGA HDLs and I had this idea. I was going to try to make a proof-of-concept open-source GPU in FPGA. This is an absurdly overambitious idea, so I was going to scope it down as much as I could. I figured, you look at "open hardware" laptops, you can get an open bootloader, an open UEFI firmware, an open CPU, an open motherboard design. The GPU is the missing piece. Modern desktops are less pleasant without hardware accelerated 2D compositing. So I wanted to solve just that part.

        mcc@mastodon.socialM 1 Reply Last reply
        0
        • maddiem4@raphus.socialM maddiem4@raphus.social

          @mcc Genuinely, something I hope we get someday is an FPGA-implemented open source GPU. I've wanted that for a long time, because I think graphics APIs are broadly a mistake, and instruction sets are better, and the reason we're in The Bad Place about this is vendors being protectionists about IP. But lately, I'm seeing additional benefits to making GPU simple and open enough that there's no excuse to slopping it.

          djsundog@fedi.reclaim.technologyD This user is from outside of this forum
          djsundog@fedi.reclaim.technologyD This user is from outside of this forum
          djsundog@fedi.reclaim.technology
          wrote sidst redigeret af
          #13

          @MaddieM4@raphus.social @mcc@mastodon.social I’m waiting on my ULX3S board to ship and this is the main reason I ordered it, to become the video card of a microcontroller-based personal computer theoretically

          poetaster@mastodon.gamedev.placeP 1 Reply Last reply
          0
          • mcc@mastodon.socialM mcc@mastodon.social

            I was learning FPGA HDLs and I had this idea. I was going to try to make a proof-of-concept open-source GPU in FPGA. This is an absurdly overambitious idea, so I was going to scope it down as much as I could. I figured, you look at "open hardware" laptops, you can get an open bootloader, an open UEFI firmware, an open CPU, an open motherboard design. The GPU is the missing piece. Modern desktops are less pleasant without hardware accelerated 2D compositing. So I wanted to solve just that part.

            mcc@mastodon.socialM This user is from outside of this forum
            mcc@mastodon.socialM This user is from outside of this forum
            mcc@mastodon.social
            wrote sidst redigeret af
            #14

            What I mean is, my daydream GPU was going to be designed to be good for the kinds of 2D acceleration you need to like, run a web browser, scroll a window, move a window around. Want to do anything 3D? It's slow or it kicks you back out to MESA software rendering. I just wanted a computer I can use in a day to day way that felt like it was mine and I owned it.

            There are a few rudimentary open source GPUs, but none with this focus, and critically, *none I know that support Vulkan*.

            mcc@mastodon.socialM hyc@mastodon.socialH gkrnours@mastodon.gamedev.placeG izzy@social.shadowkat.netI 4 Replies Last reply
            0
            • mcc@mastodon.socialM mcc@mastodon.social

              What I mean is, my daydream GPU was going to be designed to be good for the kinds of 2D acceleration you need to like, run a web browser, scroll a window, move a window around. Want to do anything 3D? It's slow or it kicks you back out to MESA software rendering. I just wanted a computer I can use in a day to day way that felt like it was mine and I owned it.

              There are a few rudimentary open source GPUs, but none with this focus, and critically, *none I know that support Vulkan*.

              mcc@mastodon.socialM This user is from outside of this forum
              mcc@mastodon.socialM This user is from outside of this forum
              mcc@mastodon.social
              wrote sidst redigeret af
              #15

              People who are making FPGA GPUs are usually hardware folks and usually interested in like, running a game or something. I'm not a hardware folk. But I'm familiar enough with 3D APIs and OS midlayers I could, with a lot of work, make a GPU that doesn't just run demos but connects all the way up to Linux or some other desktop OS. And then we've finally got the open source laptop entire stack bottom to top, motherboard cpu gpu libreboot linux.

              Except then Linux went finally, undeniably corporate.

              mcc@mastodon.socialM mntmn@mastodon.socialM crzwdjk@mastodon.socialC bob@feed.hella.cheapB 4 Replies Last reply
              0
              • mcc@mastodon.socialM mcc@mastodon.social

                People who are making FPGA GPUs are usually hardware folks and usually interested in like, running a game or something. I'm not a hardware folk. But I'm familiar enough with 3D APIs and OS midlayers I could, with a lot of work, make a GPU that doesn't just run demos but connects all the way up to Linux or some other desktop OS. And then we've finally got the open source laptop entire stack bottom to top, motherboard cpu gpu libreboot linux.

                Except then Linux went finally, undeniably corporate.

                mcc@mastodon.socialM This user is from outside of this forum
                mcc@mastodon.socialM This user is from outside of this forum
                mcc@mastodon.social
                wrote sidst redigeret af
                #16

                Okay so now what I'm looking at is Redox. Redox is the OS project I find that's interested in being written by humans instead of people who have decided to replace parts of their brain with a corporation. I can live with this. I've got an update on my Redox thread I haven't posted yet, but for these purposes what's important is Redox doesn't have, and considers a far-future goal, video acceleration. That makes sense. But it means there's a gap in the staircase I wish to climb.

                mcc@mastodon.socialM khleedril@cyberplace.socialK jefverbeeck@mastodon.socialJ 3 Replies Last reply
                0
                • mcc@mastodon.socialM mcc@mastodon.social

                  Okay so now what I'm looking at is Redox. Redox is the OS project I find that's interested in being written by humans instead of people who have decided to replace parts of their brain with a corporation. I can live with this. I've got an update on my Redox thread I haven't posted yet, but for these purposes what's important is Redox doesn't have, and considers a far-future goal, video acceleration. That makes sense. But it means there's a gap in the staircase I wish to climb.

                  mcc@mastodon.socialM This user is from outside of this forum
                  mcc@mastodon.socialM This user is from outside of this forum
                  mcc@mastodon.social
                  wrote sidst redigeret af
                  #17

                  I convinced myself, I really did, I could make a simple vulkan-compliant GPU. Could I make a vulkan compliant Redox GPU *driver* for the AMD GPU I own already? Actually, I seriously doubt that. That sounds harder actually. That's a moving target.

                  Could I make a Redox driver for an open source GPU someone *else* made? Okay, yes, I believe that I think.

                  Could I make *both* the open source GPU *and* the driver for it? No. I mean, maybe. But no, I don't believe that. Not both. That's too much.

                  mcc@mastodon.socialM brouhaha@mastodon.socialB tthbaltazar@chaos.socialT 3 Replies Last reply
                  0
                  • mcc@mastodon.socialM mcc@mastodon.social

                    Okay so now what I'm looking at is Redox. Redox is the OS project I find that's interested in being written by humans instead of people who have decided to replace parts of their brain with a corporation. I can live with this. I've got an update on my Redox thread I haven't posted yet, but for these purposes what's important is Redox doesn't have, and considers a far-future goal, video acceleration. That makes sense. But it means there's a gap in the staircase I wish to climb.

                    khleedril@cyberplace.socialK This user is from outside of this forum
                    khleedril@cyberplace.socialK This user is from outside of this forum
                    khleedril@cyberplace.social
                    wrote sidst redigeret af
                    #18

                    @mcc Redox needs to be broken up a bit so we can do some mix-and-matching.

                    mcc@mastodon.socialM 1 Reply Last reply
                    0
                    • mcc@mastodon.socialM mcc@mastodon.social

                      I convinced myself, I really did, I could make a simple vulkan-compliant GPU. Could I make a vulkan compliant Redox GPU *driver* for the AMD GPU I own already? Actually, I seriously doubt that. That sounds harder actually. That's a moving target.

                      Could I make a Redox driver for an open source GPU someone *else* made? Okay, yes, I believe that I think.

                      Could I make *both* the open source GPU *and* the driver for it? No. I mean, maybe. But no, I don't believe that. Not both. That's too much.

                      mcc@mastodon.socialM This user is from outside of this forum
                      mcc@mastodon.socialM This user is from outside of this forum
                      mcc@mastodon.social
                      wrote sidst redigeret af
                      #19

                      Here's where we get to the funny part:

                      When I was looking at making an OSS GPU, I had this idea. Instead of supporting Vulkan, which is really a quite large API surface, I imagined a GPU that natively speaks WebGPU. WebGPU is designed as a simplified API covering the shared subset between Metal, DirectX, and Vulkan. Imagine instead of Vulkan I just make a hacked wgpu that connects directly to my open-source toy "RISCV GPU". My estimation as a moderate domain expert is that saves a *lot* of time

                      mcc@mastodon.socialM sabrina@fedi01.unicornsparkle.clubS 2 Replies Last reply
                      0
                      • mcc@mastodon.socialM mcc@mastodon.social

                        Rust wgpu now has a .agents/skills, a .claude/skills, an AGENTS.md, and a CLAUDE.md.

                        Increasingly wondering if my goal of living in a way that I never benefit from the actions of generative AI users and generative AI users never benefit from the actions of me is going to inherently mean never using hardware-accelerated video on a computer again.

                        erincandescent@akko.erincandescent.netE This user is from outside of this forum
                        erincandescent@akko.erincandescent.netE This user is from outside of this forum
                        erincandescent@akko.erincandescent.net
                        wrote sidst redigeret af
                        #20
                        @mcc (probably this requires never upgrading to any piece of hardware released past ~2024 or so)
                        mcc@mastodon.socialM 1 Reply Last reply
                        0
                        • mcc@mastodon.socialM mcc@mastodon.social

                          I convinced myself, I really did, I could make a simple vulkan-compliant GPU. Could I make a vulkan compliant Redox GPU *driver* for the AMD GPU I own already? Actually, I seriously doubt that. That sounds harder actually. That's a moving target.

                          Could I make a Redox driver for an open source GPU someone *else* made? Okay, yes, I believe that I think.

                          Could I make *both* the open source GPU *and* the driver for it? No. I mean, maybe. But no, I don't believe that. Not both. That's too much.

                          brouhaha@mastodon.socialB This user is from outside of this forum
                          brouhaha@mastodon.socialB This user is from outside of this forum
                          brouhaha@mastodon.social
                          wrote sidst redigeret af
                          #21

                          @mcc
                          Well, maybe not simultaneously, but I think you could do both if you wanted to.

                          mcc@mastodon.socialM 1 Reply Last reply
                          0
                          • mcc@mastodon.socialM mcc@mastodon.social

                            Here's where we get to the funny part:

                            When I was looking at making an OSS GPU, I had this idea. Instead of supporting Vulkan, which is really a quite large API surface, I imagined a GPU that natively speaks WebGPU. WebGPU is designed as a simplified API covering the shared subset between Metal, DirectX, and Vulkan. Imagine instead of Vulkan I just make a hacked wgpu that connects directly to my open-source toy "RISCV GPU". My estimation as a moderate domain expert is that saves a *lot* of time

                            mcc@mastodon.socialM This user is from outside of this forum
                            mcc@mastodon.socialM This user is from outside of this forum
                            mcc@mastodon.social
                            wrote sidst redigeret af
                            #22

                            Meanwhile, look at the other staircase I want to climb.

                            I *don't* have an open-hardware laptop. I have a Lenovo with an AMD chipset. I want a slopless operating system. Redox the OS is slopless, but much of the GUI running atop it is just ports of Linux software, and much of that is slop. The project I've been thinking about *this* year is hacking Redox to boot direct into Servo (the web browser). As I explore this idea, suddenly my "wgpu direct to hardware" idea becomes relevant again:

                            mcc@mastodon.socialM lispi314@udongein.xyzL 2 Replies Last reply
                            0
                            • mcc@mastodon.socialM mcc@mastodon.social

                              I convinced myself, I really did, I could make a simple vulkan-compliant GPU. Could I make a vulkan compliant Redox GPU *driver* for the AMD GPU I own already? Actually, I seriously doubt that. That sounds harder actually. That's a moving target.

                              Could I make a Redox driver for an open source GPU someone *else* made? Okay, yes, I believe that I think.

                              Could I make *both* the open source GPU *and* the driver for it? No. I mean, maybe. But no, I don't believe that. Not both. That's too much.

                              tthbaltazar@chaos.socialT This user is from outside of this forum
                              tthbaltazar@chaos.socialT This user is from outside of this forum
                              tthbaltazar@chaos.social
                              wrote sidst redigeret af
                              #23

                              @mcc
                              amd and intel provide gpu docs

                              so yes, you totally can

                              mcc@mastodon.socialM 1 Reply Last reply
                              0
                              • tthbaltazar@chaos.socialT tthbaltazar@chaos.social

                                @mcc
                                amd and intel provide gpu docs

                                so yes, you totally can

                                mcc@mastodon.socialM This user is from outside of this forum
                                mcc@mastodon.socialM This user is from outside of this forum
                                mcc@mastodon.social
                                wrote sidst redigeret af
                                #24

                                @tthbaltazar Pulling this off for amd is *more* likely than nvidia. But amd is *large*. AMD is a great many GPUs. Perhaps I can make a driver that works on *my* AMD in *my* laptop. Can I make one that works with anyone else's? What would testing look like? How would I know if the thing I made *worked*? How would I maintain it as AMD continues to release new GPUs?

                                1 Reply Last reply
                                0
                                • mcc@mastodon.socialM mcc@mastodon.social

                                  Meanwhile, look at the other staircase I want to climb.

                                  I *don't* have an open-hardware laptop. I have a Lenovo with an AMD chipset. I want a slopless operating system. Redox the OS is slopless, but much of the GUI running atop it is just ports of Linux software, and much of that is slop. The project I've been thinking about *this* year is hacking Redox to boot direct into Servo (the web browser). As I explore this idea, suddenly my "wgpu direct to hardware" idea becomes relevant again:

                                  mcc@mastodon.socialM This user is from outside of this forum
                                  mcc@mastodon.socialM This user is from outside of this forum
                                  mcc@mastodon.social
                                  wrote sidst redigeret af
                                  #25

                                  Servo rests atop wgpu. Therefore, if my OS's entire GUI layer is servo, and I believe that implementing webgpu is easier than implementing vulkan, I can increase my chances of writing a working video-acceleration driver if I simplify it so *the driver supplies wgpu*, instead of trying to support the full scope of DRI/DRM or OpenGL/Vulkan or whatever this entails.

                                  Two things I want, in both cases wgpu provides a critical, project-saving step.

                                  And oh, I think wgpu might be slop now. Never mind!

                                  mcc@mastodon.socialM crzwdjk@mastodon.socialC dotstdy@mastodon.socialD jdm_@mastodon.socialJ 4 Replies Last reply
                                  0
                                  • mcc@mastodon.socialM mcc@mastodon.social

                                    What I mean is, my daydream GPU was going to be designed to be good for the kinds of 2D acceleration you need to like, run a web browser, scroll a window, move a window around. Want to do anything 3D? It's slow or it kicks you back out to MESA software rendering. I just wanted a computer I can use in a day to day way that felt like it was mine and I owned it.

                                    There are a few rudimentary open source GPUs, but none with this focus, and critically, *none I know that support Vulkan*.

                                    hyc@mastodon.socialH This user is from outside of this forum
                                    hyc@mastodon.socialH This user is from outside of this forum
                                    hyc@mastodon.social
                                    wrote sidst redigeret af
                                    #26

                                    @mcc modern GPUs have no dedicated 2D acceleration hardware, it's all done in 3D shaders.

                                    I'd think it's relatively easy to do dedicated 2D acceleration in an FPGA these days. Aside from a Blitter what other functional units do you need to implement? It would be enough to run X11 without more recent extensions.

                                    mcc@mastodon.socialM 1 Reply Last reply
                                    0
                                    • hyc@mastodon.socialH hyc@mastodon.social

                                      @mcc modern GPUs have no dedicated 2D acceleration hardware, it's all done in 3D shaders.

                                      I'd think it's relatively easy to do dedicated 2D acceleration in an FPGA these days. Aside from a Blitter what other functional units do you need to implement? It would be enough to run X11 without more recent extensions.

                                      mcc@mastodon.socialM This user is from outside of this forum
                                      mcc@mastodon.socialM This user is from outside of this forum
                                      mcc@mastodon.social
                                      wrote sidst redigeret af
                                      #27

                                      @hyc Your first paragraph answers your second. It's not enough to make fast 2D blitting/compositing/blending. You have to do it in a way that can talk to the 3D APIs modern compositors and userspace software speaks.

                                      hyc@mastodon.socialH 1 Reply Last reply
                                      0
                                      • mcc@mastodon.socialM mcc@mastodon.social

                                        Here's where we get to the funny part:

                                        When I was looking at making an OSS GPU, I had this idea. Instead of supporting Vulkan, which is really a quite large API surface, I imagined a GPU that natively speaks WebGPU. WebGPU is designed as a simplified API covering the shared subset between Metal, DirectX, and Vulkan. Imagine instead of Vulkan I just make a hacked wgpu that connects directly to my open-source toy "RISCV GPU". My estimation as a moderate domain expert is that saves a *lot* of time

                                        sabrina@fedi01.unicornsparkle.clubS This user is from outside of this forum
                                        sabrina@fedi01.unicornsparkle.clubS This user is from outside of this forum
                                        sabrina@fedi01.unicornsparkle.club
                                        wrote sidst redigeret af
                                        #28

                                        @mcc What's the smallest API and implementation necessary to accelerate a GUI so that it feels good? What's the minimum amount of hardware to support that acceleration?

                                        Like, could you do 10% of WebGPU on top of CPU SIMD (or whatever) extensions to make the GUI not painful? This is well below the level I have ever worked at, so I won't be surprised if the answer is "no".

                                        mcc@mastodon.socialM 1 Reply Last reply
                                        0
                                        • mcc@mastodon.socialM mcc@mastodon.social

                                          Servo rests atop wgpu. Therefore, if my OS's entire GUI layer is servo, and I believe that implementing webgpu is easier than implementing vulkan, I can increase my chances of writing a working video-acceleration driver if I simplify it so *the driver supplies wgpu*, instead of trying to support the full scope of DRI/DRM or OpenGL/Vulkan or whatever this entails.

                                          Two things I want, in both cases wgpu provides a critical, project-saving step.

                                          And oh, I think wgpu might be slop now. Never mind!

                                          mcc@mastodon.socialM This user is from outside of this forum
                                          mcc@mastodon.socialM This user is from outside of this forum
                                          mcc@mastodon.social
                                          wrote sidst redigeret af
                                          #29

                                          I am not the only person who wants what I want: Software by humans for humans, the ability to "use a computer" without participating in this horrible thing that AI companies are trying to build out of what used to be society. Everybody's grabbed the task closest to them. I know of a slopfree book ereader. I know of a slopfree password manager. We're all dependent on stuff further down the stack, and the stack became tall at some point, and only a few items in the stack have a slopfree principle.

                                          mcc@mastodon.socialM sapphire@tech.lgbtS fishidwardrobe@mastodon.me.ukF 3 Replies Last reply
                                          1
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper