Exposing GPU memory to userspace

Поділитися
Вставка
  • Опубліковано 24 жов 2024

КОМЕНТАРІ • 6

  • @navewindre
    @navewindre 4 дні тому +1

    watching u rawdog virtual gpu drivers in C after an entire day of writing typescript is my form of therapy. thank u, keep these coming.

  • @amanfreecs
    @amanfreecs 6 днів тому +3

    Respect man not so many people of your level.....

  • @lonnybulldozer8426
    @lonnybulldozer8426 5 днів тому +1

    Can you recommend any resources on using qemu for driver development?

    • @sphaerophoria
      @sphaerophoria  5 днів тому

      I think I just punched almost those words directly into google

    • @lonnybulldozer8426
      @lonnybulldozer8426 4 дні тому +1

      @@sphaerophoria I did google exactly that, and more, and nothing but pure shit came up. Your driver development setup looks like exactly what I'm looking for.

    • @sphaerophoria
      @sphaerophoria  4 дні тому

      You can check the scripts in github.com/sphaerophoria/gpu_testing_env and github.com/sphaerophoria/kernel_testing_env. The flow is compile a userspace with buildroot, a ramdisk with busybox, and a kernel. If you're doing pretty strict driver dev you can get away without the buildroot and just do everything in ramdisk. That's pretty blazing fast to boot. For the gpu stuff I had a lot of dependencies so went for buildroot, but you could use any fs image you feel like