Enabling webGL2 in Plasma Wayland

When I use Plasma on X11 I can open firefox and go to the Ordnance Survey map site. On Wayland that site gives the Error:

“Your browser does not support Mapbox GL,
which is required to display OS Maps.”

Apparently this relies on webGL2 which is not working here under Wayland. How can I enable it so I can use my browser to view OS maps?

If I can’t find a way to do it that would be a deal-breaker for me. I need OS maps.

Can anyone help?

~]$ inxi -Gxx
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] vendor: Sapphire Nitro+ driver: amdgpu
    v: kernel arch: GCN-4 pcie: speed: 2.5 GT/s lanes: 16 ports:
    active: HDMI-A-1,HDMI-A-2 empty: DP-1,DP-2,DVI-D-1 bus-ID: 04:00.0
    chip-ID: 1002:67df temp: 50.0 C
  Display: wayland server: X.org v: 1.21.1.23 with: Xwayland v: 24.1.12
    compositor: kwin_wayland driver: X: loaded: amdgpu,v4l dri: radeonsi
    gpu: amdgpu d-rect: 3200x2104 display-ID: 0
  Monitor-1: HDMI-A-1 pos: primary,top-left model: MSI MP225 res: 1920x1080
    hz: 60 dpi: 102 diag: 545mm (21.5")
  Monitor-2: HDMI-A-2 pos: bottom-r model: MNT-ANALOG res: 1280x1024 hz: 60
    dpi: 99 diag: 426mm (16.8")
  API: OpenGL v: 4.6 vendor: amd mesa v: 25.1.9 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon RX 580 Series (radeonsi polaris10
    ACO DRM 3.64 6.18.34-pclos1) device-ID: 1002:67df display-ID: :0.0
  API: Vulkan v: 1.4.335 surfaces: N/A device: 0 type: discrete-gpu
    driver: mesa radv device-ID: 1002:67df device: 1 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: clinfo, glxinfo, vulkaninfo de: kscreen-console,
    kscreen-doctor, xfce4-display-settings wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

As in explore.osmaps.com ?

That works fine for me on Firefox. Just comparing our specs, maybe it’s something about AMD vs Nvidia drivers, but I’m purely guessing.

Operating System: KDE Linux 2026-06-20 
KDE Plasma Version: 6.7.80 
KDE Frameworks Version: 6.28.0 
Qt Version: 6.11.1 
Kernel Version: 7.0.12-arch1-1 (64-bit) 
Graphics Platform: Wayland 
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor 
Memory: 32 GiB of RAM (31.3 GiB usable) 
Graphics Processor: NVIDIA GeForce RTX 3060 Ti

Yes, that’s the page, and now something really weird has happened. I decided to open the browser from konsole to capture any messages and got the following:

~]$ firefox &
[1] 6383
~]$ ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.

But then I went to the page and the map came straight up! So, it can work, even in Wayland, but now I need to find out what’s different starting the browser from a .desktop file and starting it from a terminal.

Still, I suppose that’s progress.