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.
  • crzwdjk@mastodon.socialC crzwdjk@mastodon.social

    @mcc I was thinking of making a 2D GPU, it's something I might still take up one day if I end up with a lot of free time for whatever reason.

    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
    #46

    @crzwdjk I think that would be a cool, rewarding project. I think you could drop it on MiSTER or Analogue Pocket and make a bit of a fantasy console out of it. I've been reading about the design of "PPU"s from 80s-90s video game consoles. Sprite engines and such. I wonder what one would look like that's more about implementing SDL2's general 2D compositing/blending/blitting layer rather than per se 2D "sprites".

    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.

      froge@social.glitched.systemsF This user is from outside of this forum
      froge@social.glitched.systemsF This user is from outside of this forum
      froge@social.glitched.systems
      wrote sidst redigeret af
      #47

      @mcc@mastodon.social this is most likely true, but even so, the firmware of your computer is being slop coded by random corporate engineers

      I think to truly adhere to this you'd require open hardware and open software for that hardware which also isn't GenAI enabled

      to be entirely honest I've been thinking about this a lot and I have no solutions

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

        Anyway, I spent the last week writing documentation for Redox. The Redox project seems to be happy for my documentation patches. One thimble full of water, out of the sinking boat.

        F This user is from outside of this forum
        F This user is from outside of this forum
        firebreathingduck@social.vivaldi.net
        wrote sidst redigeret af
        #48

        @mcc

        Thank you for speaking about this. I don't have anything interesting or useful to add, but I appreciate not feeling alone in my desire to avoid slop.

        I hope you're successful, no matter which route you ultimately take.

        I'm also encouraged to learn that both Servo and RedoxOS aren't accepting LLM contributions. I've been frustrated that - what appears to be - so much of the Rust community including the core Rust language itself has embraced LLMs.

        mcc@mastodon.socialM 1 Reply 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*.

          gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
          gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
          gkrnours@mastodon.gamedev.place
          wrote sidst redigeret af
          #49

          @mcc I wonder the chip in some snes game would be suitable for such usage

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

            @mcc wgpu is a slightly simpler API to use, but I'm not sure I'd categorize it as easier to implement. Basically it means doing a whole bunch of extra work in the driver. Whereas vulkan itself has a bunch of shared implementation in e.g. Mesa, and a huge test suite, and also much of it is optional anyway.

            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
            #50

            @dotstdy The problem I hit to begin with was that the open source community is no longer trustworthy and a well-known, well-understood, well-tested system may sometime after September 2025 have been compromised with "AI code assistant" slop. Can I be certain Mesa is not, itself, slopped? Can I be certain it will continue to not be slopped?

            1 Reply Last reply
            0
            • bob@feed.hella.cheapB bob@feed.hella.cheap

              @mcc instead of going with an fpga have you looked at some of the simpler GPU cores (like the powervr ones)?

              bob@feed.hella.cheapB This user is from outside of this forum
              bob@feed.hella.cheapB This user is from outside of this forum
              bob@feed.hella.cheap
              wrote sidst redigeret af
              #51

              @mcc rockchip makes SoCs that are suitable to use in a laptop that have powervr cores

              mcc@mastodon.socialM 1 Reply Last reply
              0
              • froge@social.glitched.systemsF froge@social.glitched.systems

                @mcc@mastodon.social this is most likely true, but even so, the firmware of your computer is being slop coded by random corporate engineers

                I think to truly adhere to this you'd require open hardware and open software for that hardware which also isn't GenAI enabled

                to be entirely honest I've been thinking about this a lot and I have no solutions

                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
                #52

                @froge About half of the rest of the thread is about open hardware.

                I don't know if my current computer can run LibreBoot or not. I don't know for an absolute fact what the LibreBoot maintainer's values regarding "AI code assistants" is.

                froge@social.glitched.systemsF 1 Reply Last reply
                0
                • bob@feed.hella.cheapB bob@feed.hella.cheap

                  @mcc instead of going with an fpga have you looked at some of the simpler GPU cores (like the powervr ones)?

                  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
                  #53

                  @bob What got me into this problem in the first place was that a product produced by a corporation may be discontinued, or be replaced with something that requires unacceptable compromises. PowerVR may go out of business, be bought by AMD, or become an AI company like the rest of them. If the goal was to just keep old stuff working and running, I could just stay on Windows 10 forever, keep binary-hacking it as new CVEs are found, and then I don't to put up with the many downsides of Linux.

                  bob@feed.hella.cheapB 1 Reply Last reply
                  0
                  • mcc@mastodon.socialM mcc@mastodon.social

                    This thread is probably meandering and maybe solipsistic. My point is this: My weird background means I can look at this staircase full of missing stairs, identify one step, and go, "I can fix that". But I don't know if there's enough of me to fix multiple steps. I haven't decided what to do from here. Pick a step and fix it anyway? Pick a "fun" project, like the GPU [which face it, even if I finished it chances are not high more than 3 people would ever use it]? Give up and learn electric bass?

                    datarama@hachyderm.ioD This user is from outside of this forum
                    datarama@hachyderm.ioD This user is from outside of this forum
                    datarama@hachyderm.io
                    wrote sidst redigeret af
                    #54

                    @mcc I would recommend that you learn electric bass regardless, because it is such a wonderful instrument.

                    1 Reply Last reply
                    0
                    • F firebreathingduck@social.vivaldi.net

                      @mcc

                      Thank you for speaking about this. I don't have anything interesting or useful to add, but I appreciate not feeling alone in my desire to avoid slop.

                      I hope you're successful, no matter which route you ultimately take.

                      I'm also encouraged to learn that both Servo and RedoxOS aren't accepting LLM contributions. I've been frustrated that - what appears to be - so much of the Rust community including the core Rust language itself has embraced LLMs.

                      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
                      #55

                      @firebreathingduck Yes. Which creates a real problem if you want to write a slopfree program in Rust. Suddenly Rust's giant library ecosystem goes from being the core benefit of the language to being a giant source of risk.

                      1 Reply Last reply
                      0
                      • gkrnours@mastodon.gamedev.placeG gkrnours@mastodon.gamedev.place

                        @mcc I wonder the chip in some snes game would be suitable for such usage

                        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
                        #56

                        @gkrnours uhh…

                        saturn, maybe.

                        1 Reply Last reply
                        0
                        • bob@feed.hella.cheapB bob@feed.hella.cheap

                          @mcc rockchip makes SoCs that are suitable to use in a laptop that have powervr cores

                          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
                          #57

                          @bob If I had the rest of the stack, then this would be a good solution in terms of "everything's deslopped except my AMD GPU; I'll just switch to the rockchip to fix that part". But since the stack is full of holes, it feels more productive to fix a hole further up the stack than try to make a project out of reorienting myself around a random Chinese company's that might get rugpulled like my last three solutions were.

                          1 Reply Last reply
                          0
                          • ptrchas3@functional.cafeP ptrchas3@functional.cafe

                            @mcc In 2043 mcc creates the last truly slop-free, hardware-accelerated video game using Vulkan SC on a retired 737 Cockpit Display System. Worldwide only four systems remain capable of running the game as intended after the FAA and EASA finally embraced Generative AI and the population learned to accept the catastrophic loss of %0.018 of flights.

                            snoopj@hachyderm.ioS This user is from outside of this forum
                            snoopj@hachyderm.ioS This user is from outside of this forum
                            snoopj@hachyderm.io
                            wrote sidst redigeret af
                            #58

                            @ptrchas3 @mcc andi sighs and contemplates starting her own airline

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

                              @mcc for completeness, i already had a PoC of this btw that i'm planning to revive https://mntre.com/media/reform_md/2022-09-29-rkx7-showcase.html

                              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
                              #59

                              @mntmn This exact page three-four years ago is literally what started me thinking about the linux-integrated FPGA GPU lol

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

                                @crzwdjk That's some good clear thinking, thank you.

                                I am not sure but I think the bridge-to-GPU layer in Linux goes through a middle step named "DRI" or "DRM", and I think Redox plans to adopt this wholesale. I don't know to what extent DRI/DRM is about just *configuring* displays and to what extent if you've implemented the DRI/DRM layer then Mesa just does the rest for free.

                                crzwdjk@mastodon.socialC This user is from outside of this forum
                                crzwdjk@mastodon.socialC This user is from outside of this forum
                                crzwdjk@mastodon.social
                                wrote sidst redigeret af
                                #60

                                @mcc DRI/DRM is the kernel part which handles confiuring displays, but also allocating memory for the GPU and managing the submission of command buffers to the GPU. The commands in the command buffers are produced by Mesa though.

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

                                  @mcc DRI/DRM is the kernel part which handles confiuring displays, but also allocating memory for the GPU and managing the submission of command buffers to the GPU. The commands in the command buffers are produced by Mesa though.

                                  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
                                  #61

                                  @crzwdjk Thanks for these explanations.

                                  1 Reply Last reply
                                  0
                                  • ptrchas3@functional.cafeP ptrchas3@functional.cafe

                                    @mcc In 2043 mcc creates the last truly slop-free, hardware-accelerated video game using Vulkan SC on a retired 737 Cockpit Display System. Worldwide only four systems remain capable of running the game as intended after the FAA and EASA finally embraced Generative AI and the population learned to accept the catastrophic loss of %0.018 of flights.

                                    gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
                                    gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
                                    gkrnours@mastodon.gamedev.place
                                    wrote sidst redigeret af
                                    #62

                                    @ptrchas3 @mcc I have much hope in the gamebub [https://www.crowdsupply.com/second-bedroom/game-bub]

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

                                      @mntmn This exact page three-four years ago is literally what started me thinking about the linux-integrated FPGA GPU lol

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

                                      @mcc oh that's awesome! back then linux wasn't yet sloppified too, simpler times 😄 next thing i'd like to try on this is haiku. also, there's a lot more performant (and OoO) risc-v soft cores now

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

                                        @bob What got me into this problem in the first place was that a product produced by a corporation may be discontinued, or be replaced with something that requires unacceptable compromises. PowerVR may go out of business, be bought by AMD, or become an AI company like the rest of them. If the goal was to just keep old stuff working and running, I could just stay on Windows 10 forever, keep binary-hacking it as new CVEs are found, and then I don't to put up with the many downsides of Linux.

                                        bob@feed.hella.cheapB This user is from outside of this forum
                                        bob@feed.hella.cheapB This user is from outside of this forum
                                        bob@feed.hella.cheap
                                        wrote sidst redigeret af
                                        #64

                                        @mcc but your fpga gpu is tied to a particular fpga (unless you make changes) so then you're tied to amd/xilinx or altera or lattice

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

                                          @froge About half of the rest of the thread is about open hardware.

                                          I don't know if my current computer can run LibreBoot or not. I don't know for an absolute fact what the LibreBoot maintainer's values regarding "AI code assistants" is.

                                          froge@social.glitched.systemsF This user is from outside of this forum
                                          froge@social.glitched.systemsF This user is from outside of this forum
                                          froge@social.glitched.systems
                                          wrote sidst redigeret af
                                          #65

                                          @mcc@mastodon.social yeah I realized, I need to get better about reading the entire thread before commenting on one post tbh

                                          1 Reply Last reply
                                          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