Running any modern browser (or Electron app, like VS Code) in a VM with no graphics acceleration is…quite an eye-opening experience.
Why don't they emulate a simple virtual gpu and implement it in terms of the host?
-
-
“Simple GPU”? :) Even OpenGL ES 2 requires a shader compiler…
-
Maybe there's no way to do it without giving something too close to equivalent to execution permission (especially considering sidechannels, memory protection bypass, etc.) on the real host GPU, but I think it's a problem that merits a lot more research.
-
Compiling to some virtual shader ISA in the guest, then performing a transformation that renders it much more checked (and slower) in software before passing it on to the shader compiler for the real GPU, seems at least plausible.
-
Funny you bring that up—I actually want to look into doing something this with gfx-rs’s HAL and SPIR-V for the universal IR.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
