Live data from Hacker News

Linux in a Pixel Shader – A RISC-V Emulator for VRChat

blog.pimaker.at

51–60 of 104 posts

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#51

Definitely watch the presentation by the developer in VR Chat: https://www.youtube.com/watch?v=G2u7NOpzcBQ I haven't played VR Chat in a few years, and holy cow this makes me want to jump back in. Seeing fully captured motion avatars of people is SO immersive. It's absolutely insane how the experience of interacting with people can feel so natural even when they're on the other side of the planet. I just love watchin…

Why are the majority of avatars small children or furry-things? I'm really not one of those people who bashes nerdy or alternative culture but I can't deny that it weirds me out a bit. It's a clear barrier of entry for me.

Because anime. It's cute. People want to be cute.

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#52
post #9

Earlier quoted context omitted.

Interesting. If I would want to solve that problem, first thing I would have tried is bypassing text representation of these shaders. For a few things in the past I have generated, and dynamically patched, D3D11 shaders directly in DXBC byte code, without HLSL anywhere. The byte code format is even documented by Microsoft. Not the complete DXBC files though, but some people on the internets have reverse engineered th…

Now you have a new set of problems: getting the compiler that consumes the bytecode not to crash. :)

I wouldn’t expect that. DXBC is not terribly complex. The instruction set only has 207 of them, each one is really simple. Take a look: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/... https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/...

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#53
post #34

Earlier quoted context omitted.

No, because in all their wisdom, WebGL never supported compute shaders, Intel has tried multiple times to add it to the standard and now it has been officially dropped for WebGPU. So when the browsers bother to finally replace their 2011 GPU model by WebGPU (stable), which is still MVP 1.0 compared to Vulkan/Metal/DX 12 Ultimate, then you might have it.

The shader in question isn't a compute shader.

I guess I misunderstood "Compute Shaders in VRChat" then.

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#54
post #23

Earlier quoted context omitted.

https://youtu.be/G2u7NOpzcBQ?t=5054

this is atrocious. Bunch of visual distractions made by avatars, horrible and disrespectful background noise/chatter, graphics like it's 1998..

On VRChat, look up Albarracín, a Spanish old town of the former city. Astounding recreation.

https://vrchat.com/home/launch?worldId=wrld_7f05a6b7-0223-48...

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#56

Earlier quoted context omitted.

It's just surprising that everyone wants to look like a mix of a 16yo anime schoolgirl and a fox.

I think maybe because those are both things that are significantly different than reality.

There are lots of things that are different from reality, the questions is why so many of them chose that particular way to be unrealistic.

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#57

Earlier quoted context omitted.

Why are the majority of avatars small children or furry-things? I'm really not one of those people who bashes nerdy or alternative culture but I can't deny that it weirds me out a bit. It's a clear barrier of entry for me.

Should it be surprising that in a world where you can look however you want, lots of people would not choose to look how the real world forces them to?

Yup. Maybe it’s that the IRL self is nothing more than one ended up that everyone can’t care less about.

There has to be something to be argued with respect to human model of consciousness, cognition, and self identity about almost complete lack of male avatars in actual VR scene.

It can’t be like “they’re all young _men_ so they want cute anime”. Maybe it’s not just about VR, or anime, but the concept of masculine dude just seem to disperse and disappear once you stop subjecting yourself to the baseline reality.

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#58
post #45
post #4

This is outrageous. I'm making a text editor / game where you have a mechanical typewriter, and I've mused quite a few times about giving someone a beige computer running linux inside the game at some point, but it's all seemed unreasonable / impossible.. With this it's suddenly reasonable (if expensive performance wise) Thank you for this, haha.

Unreasonable how? That sounds kinda interesting/fun. FWIW, given that you're running a game, and most people run games fullscreen, without anything else going, you can probably get away with not using virtualization, aka eating 100% CPU (or at least 100% of one core)... and even then, with most systems having >4 cores nowadays, you probably needn't worry at all. But just to clarify the corollary, this implementation…

> you can probably get away with not using virtualization, aka eating 100% CPU (or at least 100% of one core)...

That's not how virtualization works, it's time sliced which is why you can have more vCPUs than physical CPUs. You can also limit the slice utilization to an arbitrary percentage or give it a priority level for scheduling.

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#59

Definitely watch the presentation by the developer in VR Chat: https://www.youtube.com/watch?v=G2u7NOpzcBQ I haven't played VR Chat in a few years, and holy cow this makes me want to jump back in. Seeing fully captured motion avatars of people is SO immersive. It's absolutely insane how the experience of interacting with people can feel so natural even when they're on the other side of the planet. I just love watchin…

Why are the majority of avatars small children or furry-things? I'm really not one of those people who bashes nerdy or alternative culture but I can't deny that it weirds me out a bit. It's a clear barrier of entry for me.

Why are all Peanuts characters children despite dealing with adult issues regularly?

Artistic license. But mostly because when you are an adult, you still feel like a child in many situations.

Re: Linux in a Pixel Shader – A RISC-V Emulator for VRChat

#60
post #53

Earlier quoted context omitted.

The shader in question isn't a compute shader.

I guess I misunderstood "Compute Shaders in VRChat" then.

It's about using the classic fragment shader (also sometimes referred to as pixel shader) + texture approach as a workaround for compute shaders not being available if the body wasn't clear.
Post reply on HN