Jump to content

My Browser Builds (Part 4)


Recommended Posts


20 hours ago, j7n said:

Why does this website show a grey screen for me in New Moon and Serpent and not work?

https://www.radio-browser.info/

You're probably blocking JavaScript. This website is rendered client-side with JavaScript. The list of most-clicked streams doesn't open though. Looks like an issue with the website.

Edited by UCyborg
Link to comment
Share on other sites

What is an example of a WebGL page that can be accessed quickly, to test performance? In the past I visited a few such sites and played a browser game, but I don't recall the names of them. You had to disable "angle" because it attempted to translate all the calls into Direct3D, with a high CPU usage overhead, for no reason. CPU usually gets maxed out with modern (and not so modern) websites, and must be conserved.

On any normal computer, including with Intel Graphics, you can play OpenGL Quake, and on a "modern" PC, even play Euro Truck Simulator 2.

That's odd that the Radio Browser works for you, but doesn't for me. It's probably something I configured with JavaScript indeed.

Link to comment
Share on other sites

5 hours ago, j7n said:

What is an example of a WebGL page that can be accessed quickly, to test performance?

Here is a simple game that uses WEbGL. It's a nice example because it's quick to load and the website gives proper diagnostics for any missing browser features.

  https://play.ninjadoodle.com/clickplaypics/

Now, can someone tell me how to have it run under XP without maxing out the CPU? For me it idles at 75%. I'd always assumed it's down to limitations of XP – with the same browser under W7 the CPU is negligible.

Ben.
 

Link to comment
Share on other sites

For me it also uses 70% of Core 2 Duo in New Moon 28 under Server 2008 R2. I haven't been able to reduce the CPU usage. The "game" won't start in Serpent. The interface stays black and says 100%.

https://webglsamples.org/aquarium/aquarium.html

I can launch 1000 fish in Serpent. 5000 fish max out the processor and the image is choppy around 40 fps.

If I configure webgl.disable-angle = false, I can only launch 500 fish in Serpent. At 5000 fish the processor is overburdened and yields 10 fps. It's baffling that they included a slow translation layer by default.

The image is always choppy in New Moon 28, and uses around 70% of the processor. I don't know what is up with that.

Link to comment
Share on other sites

52 minutes ago, j7n said:

The "game" won't start in Serpent. The interface stays black and says 100%.

Okay, so that's curious, under Serpent, my example only runs if webgl.disable-angle = true otherwise, like you, I get a black screen and a console error: failed to acquire a renderer - check WebGL or WebGPU is supported.

I've long decided that WebGL and XP just don't play well together – flash was vastly superior. :)
 

Ben.

Link to comment
Share on other sites

19 hours ago, UCyborg said:

Download link for the curious, needs to be extracted in the folder of an actual web server
as browsers' security protocols prevent access to certain resources through file:///.

It loads without "an actual web server", if file "Lights.html" is drag-n-dropped on a Serpent 52 New Tab, provided you temporarily disable (from true to false) "security.fileuri.strict_origin_policy" pref: 

Nb4WufI.png

Link to comment
Share on other sites

I get the following:

Timestamp: 10/15/2023 4:52:02 PM
Error: uncaught exception: TypeError: Argument 1 of AudioContext.constructor '[object Object]' is not a valid value for enumeration AudioChannel.

Timestamp: 10/15/2023 4:52:02 PM
Warning: Error: WebGL warning: texSubImage2D: Conversion requires pixel reformatting.
Source File: https://play.ninjadoodle.com/clickplaypics/scripts/c3runtime.js
Line: 580

Timestamp: 10/15/2023 4:52:02 PM
Error: uncaught exception: TypeError: Argument 1 of AudioContext.constructor '[object Object]' is not a valid value for enumeration AudioChannel.

I don't know web development and how to interpret these errors.

Some other WebGL runs, so it's not that simple that it doesn't work. Does the content from webglsamples.org run for you? OpenGL can run far more comples animations than Flash could on the CPU alone. Whether we need them on the web is another matter. I could download a game to the disk once with less effort than to tweak a browser. Simple drawings were faster in Flash than with other technologies. It was made back when Pentium II processors were in use. Remember gaming magazine front-ends built in Macromedia Director or Flash.

Link to comment
Share on other sites

10 hours ago, UCyborg said:

The list of most-clicked streams doesn't open though. Looks like an issue with the website.

Indeed,

https://www.radio-browser.info/topclick

leads nowhere :angry: ; one might use: 

https://www.radio-browser.info/search?page=1&hidebroken=true&order=clickcount&reverse=true

to get that info, though ;) ...

Link to comment
Share on other sites

1 hour ago, j7n said:

Timestamp: 10/15/2023 4:52:02 PM
Error: uncaught exception: TypeError: Argument 1 of AudioContext.constructor '[object Object]' is not a valid value for enumeration AudioChannel.

I don't know web development and how to interpret these errors.

This is probably Bugzilla bug #1361475 :dubbio:; Mozilla fixed it in Firefox 55.0a1:

https://hg.mozilla.org/mozilla-central/rev/68543862570f

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/55#web_audio_api

Edited by VistaLover
Link to comment
Share on other sites

Link to comment
Share on other sites

On 10/12/2023 at 11:49 PM, VistaLover said:

Their code is still incomplete/bugged - those two prefs you mentioned simply turn that API off... FWIW, the same crash occurs on latest NM28 (32-bit) on the very same VK clips you referenced

alright upstream noticed this and provide a partial fix for this: https://repo.palemoon.org/MoonchildProductions/UXP/commit/d5020b69bd84b937de89b2aef5787bfdb4e37dac

Link to comment
Share on other sites

It's the "55" version. I don't know what the differences between them are exactly, and assumed that is sligthly newer and better. The WebGL that work don't have any sound.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...