servo / servo

Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
https://servo.org
Mozilla Public License 2.0
28.37k stars 3.03k forks source link

Emulator JS fails to load with webgl issue #32231

Open Quackdoc opened 6 months ago

Quackdoc commented 6 months ago

Describe the bug: Trying to load something in emulatorjs (needs self provided game, Homebrew gba games work fine for legally acquirable and downloadable games)

[2024-05-05T15:49:32Z ERROR canvas::webgl_thread] Last GL operation failed: TexImage2D { target: 3553, level: 0, internal_format: LuminanceAlpha, size: 128x256, format: LuminanceAlpha, data_type: UnsignedByte, effective_data_type: 5121, unpacking_alignment: 4, alpha_treatment: None, y_axis_treatment: AsIs, pixel_format: None, data: IpcSharedMemory { os... }

To Reproduce:

  1. run; RUST_LOG=info ./target/release/servo --pref dom.webgl2.enabled=true https://demo.emulatorjs.org 2> /tmp/servo-emulator.js.txt

  2. load game

  3. wait and wait for error to loop.

Platform: OS: Archlinux GPU: Intel A380 GPU2: AMD RX580 (tested with DRI_PRIME) Commit: 02b3dd0b6127e213dbbc866c97336e23f4c999c5

Additional Information:

I tried running it in renderdoc to see what would happen and it actually wound up getting further then the issue at hand. It got to the screen where it will initially load and then seemed to hang.

log file; servo-emulator.js.txt

sagudev commented 6 months ago

Could you try linux artifact from: https://github.com/servo/servo/actions/runs/8952142892

Quackdoc commented 6 months ago

same issue but gets to the same black screen mentioned with additional info.