Skip to content

Firefox Crashes on Fullscreen Video with NVIDIA Hardware Acceleration on Wayland #379

@samuelborn

Description

@samuelborn

Description:
Firefox crashes when attempting to fullscreen a video (e.g., YouTube) after hardware video acceleration (VA-API) has been successfully enabled and confirmed working via nvidia-smi dmon (decoder usage increases). The crash occurs specifically only when entering fullscreen mode.

System Information:

  • GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q
  • OS: Arch Linux (using Gnome Wayland)
  • Browser: Mozilla Firefox 140.0.2

Steps to Reproduce:

  1. Enable hardware video acceleration in Firefox.
  2. Open a YouTube video.
  3. Start the video.
  4. Observe nvidia-smi dmon showing decoder activity (e.g., dec column increases).
  5. Attempt to switch the video to fullscreen mode.
    Expected Behavior:
    The video plays in fullscreen mode without Firefox crashing.

Actual Behavior:
Firefox crashes immediately upon entering fullscreen. The following error is observed in the terminal:

libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
[GFX1-]: (gnome) Wayland protocol error: [destroyed object]: error 7: failed to import supplied dmabufs: Could not bind the given EGLImage to a CoglTexture2D

ExceptionHandler::GenerateDump attempting to generate:/home/born/.mozilla/firefox/0f4adum9.default-release/minidumps/698a952d-bc27-712f-182c-14023ccab212.dmp
ExceptionHandler::GenerateDump cloned child 77761
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::GenerateDump minidump generation succeeded
Exiting due to channel error.

Key Error Message:
[GFX1-]: (gnome) Wayland protocol error: [destroyed object]: error 7: failed to import supplied dmabufs: Could not bind the given EGLImage to a CoglTexture2D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions