News for hackers. Stuff that matters.
Re:Show HN: Unity like game editor running in pure WASM by araes on Tuesday September 26, 2023 @06:22PM (#37666564)
I like the concept. My GPU and browser weep with lag. Its a very impressive slideshow.

I finally managed to highlight the starting sphere after several tries. At first I wasn't sure if it was loaded.

Of course, I'm only using a 1.8 GHz Celeron with onboard GPU and 8GB Ram in Firefox, so... not exactly high-end stuff.

Re:Show HN: Unity like game editor running in pure WASM by TrevorSundberg on Tuesday September 26, 2023 @06:26PM (#37666624)
I'd be curious if it runs any better under Chrome. Seems a lot of people are hitting Firefox issues. I'll be sure to test Firefox regularly though.
Re:Show HN: Unity like game editor running in pure WASM by dartos on Tuesday September 26, 2023 @07:21PM (#37667257)
AFAIK, Firefox has all around awful webgl and webgpu performance.

I know personally, anything 3d in Firefox is a slideshow, even with a 4090

Re:Show HN: Unity like game editor running in pure WASM by ddtaylor on Tuesday September 26, 2023 @07:24PM (#37667284)
It's running quite well here on Firefox in Fedora 38 with a AMD Radeon 6700 XT.
Re:Show HN: Unity like game editor running in pure WASM by wizzledonker on Tuesday September 26, 2023 @07:27PM (#37667322)
I have an AMD 6700xt.

It was laggy in Windows and under X11 on linux, but under Wayland I get 60-80fps and it's very usable.

Not sure what the cause is

EDIT: Under Chromium (compiled from AUR) the performance is roughly the same

Re:Show HN: Unity like game editor running in pure WASM by starkparker on Tuesday September 26, 2023 @08:47PM (#37668168)
In Firefox on a 12th-gen Framework i5-1240P, Fedora 38, integrated graphics at 2256x1504, it works and looks fine for me.
Re:Show HN: Unity like game editor running in pure WASM by aceazzameen on Wednesday September 27, 2023 @11:11AM (#37675796)
Works fine for me running Firefox in Windows with a 3090. Also already have Unreal open on another screen. So lots of my GPU memory is already being eaten up.
Re:Show HN: Unity like game editor running in pure WASM by krasin on Tuesday September 26, 2023 @07:24PM (#37667289)
Firefox 117 user reporting: works fine on my machine. Also 8 GB RAM, and the GPU is old (GTX 1080). The bottleneck seems to be the CPU (i7-7700HQ vs Celeron in the OP case). Even on my machine, the tab consistently eats up a whole CPU core doing nothing.
Re:Show HN: Unity like game editor running in pure WASM by esrauch on Tuesday September 26, 2023 @08:48PM (#37668171)
It was completely unusable on my M1 MacBook on Chrome, I suspect it's hitting some degenerate webgl/driver edge case.
Re:Show HN: Unity like game editor running in pure WASM by nanaian on Tuesday September 26, 2023 @11:34PM (#37669687)
Same here on M2 MacBook Air.
Re:Show HN: Unity like game editor running in pure WASM by kamranjon on Tuesday September 26, 2023 @11:55PM (#37669877)
Strange, was super responsive on my m1 MacBook Pro under Firefox.
Re:Show HN: Unity like game editor running in pure WASM by denkmoon on Wednesday September 27, 2023 @02:24AM (#37670902)
Interesting. M1 Pro Macbook Pro (14" 2021) w/ Firefox, massive lag - to the point rotating the view is unbearable.

For the dev, FF 117.0.1 on macos 13.4.

Re:Show HN: Unity like game editor running in pure WASM by araes on Tuesday September 26, 2023 @09:38PM (#37668653)
Because of these questions, I have now downloaded and tried:

Firefox Developer (119.0b1), Chrome (117.0.5938.92), Opera (102.0.4880.56), Edge (117.0.2045.43).

Turning off all other programs (without crashing Windows), ranking for trying to drag the selection square ~2 inches x 2 inches (on a 1920 x 1080 laptop with the above noted characteristics) without doing anything else. Did the drag back and forth TL-BR, BL-TR 5-6 times to get a feel for general timing (cannot claim I used a stopwatch):

Edge: ~1 sec response before square changes

Chrome: ~1.5 sec response before square changes

Opera: ~1.5 sec response before square changes

Firefox: ~2 sec response before square changes

From my super low-end perspective, Edge is surprisingly responsive (maybe optimized for Windows?)

Re:Show HN: Unity like game editor running in pure WASM by cchance on Tuesday September 26, 2023 @09:21PM (#37668493)
jesus they still make celerons?
Re:Show HN: Unity like game editor running in pure WASM by Sophistifunk on Wednesday September 27, 2023 @12:24AM (#37670104)
I'm on an m2 pro and had the exact same experience, also Firefox.
Re:Show HN: Unity like game editor running in pure WASM by bullen on Wednesday September 27, 2023 @07:51AM (#37673317)
So M2 = Celeron?
Re:Show HN: Unity like game editor running in pure WASM by TrevorSundberg on Wednesday September 27, 2023 @06:02PM (#37681990)
Hey all, if you’re willing to try again we just put out a fix that dramatically helps performance on some machines. Since this was a port to WASM from a native game engine, it turns out the issue was in our frame rate limiting code which wasn’t playing well with browser timing APIs:

https://raverie-us.github.io/raverie-engine/