Open JeromeSchmied opened 1 month ago
Dimension X value 3072 exceeds the limit of 2048
This looks like to be the interesting bit. When using webGL, various limits are set lower, like this max texture size.
I am guessing we are rendering to whatever the window size is, and exceeding this limit. Probably need to cap max canvas size when using wasm/wegGL.
I'm guessing you may either have a large monitor resolution or pixel density scaling may be impacting it.
If you run swaymsg -t get_outputs
(I've never used sway but think this should give monitor size) what does this report? Another thing to test might be shrinking down your window, and opening web demo in another tab and seeing if it still reproduces when smaller.
swaymsg -t get_outputs
Output DP-2 'LG Electronics LG HDR 4K 0x0007DBC6' (focused)
Current mode: 3840x2160 @ 30.000 Hz
Power: on
Position: 0,0
Scale factor: 2.000000
Scale filter: nearest
Subpixel hinting: unknown
Transform: normal
Workspace: 1
Max render time: off
Adaptive sync: disabled
Available modes:
3840x2160 @ 59.997 Hz
3840x2160 @ 30.000 Hz
2560x1440 @ 59.951 Hz
1920x1080 @ 60.000 Hz
1920x1080 @ 60.000 Hz (16:9)
1920x1080 @ 59.940 Hz (16:9)
1600x900 @ 60.000 Hz
1280x1024 @ 60.020 Hz
1280x800 @ 59.810 Hz
1152x864 @ 59.967 Hz
1280x720 @ 60.000 Hz
1280x720 @ 60.000 Hz (16:9)
1280x720 @ 59.940 Hz (16:9)
1024x768 @ 60.004 Hz
800x600 @ 60.317 Hz
720x480 @ 60.000 Hz (16:9)
720x480 @ 59.940 Hz (16:9)
640x480 @ 60.000 Hz (4:3)
640x480 @ 59.940 Hz
640x480 @ 59.940 Hz (4:3)
Output eDP-1 'BOE 0x0928 Unknown' (disabled)
Available modes:
1920x1080 @ 59.998 Hz
1920x1080 @ 47.998 Hz
scale factor might be the problem, but not sure
smaller tab does the same thing, same error too even without external display
[!NOTE] with vanilla firefox, it works as expected so I'm pretty sure, LibreWolf disallows some information collection, apparently even window size, but I didn't find anything like that in their docs though
Thanks for the information! Hopefully we can resolve by limiting resolution in wasm.
Ah, yeah, it could be an attempt to block fingerprinting. Access to graphics information is a really good way to try and identify unique users.
Description
when I open web demo, it first shows some loading animation, then nothing.
To Reproduce
No response
Expected Behavior
No response
Additional Context
I use LibreWolf, maybe it disallows something that'd be needed. WebGL I've got enabled, that shouldn't be it.
Log Messages