Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • virgl
  • virglrenderer
  • Issues
  • #286
Closed
Open
Issue created Sep 07, 2022 by Mario Roy@marioroy

Virglrenderer 0.10.1 broke Firefox WebGL rendering in VM

The OS vendor updated virglrenderer from 0.9.1 to 0.10.1. Previously, Firefox inside the VM ran WebGL samples accelerated. This is no longer the case with virglrenderer 0.10.1.

I'm running NVIDIA proprietary driver 510.85.02 on the host OS.

Running Firefox:

if [[ $XDG_SESSION_TYPE == wayland ]]; then
    export EGL_PLATFORM=wayland
    export MOZ_ENABLE_WAYLAND=1
else
    export MOZ_DISABLE_WAYLAND=1
    export MOZ_X11_EGL=1
fi

export MOZ_ACCELERATED=1
export MOZ_USE_XINPUT2=1
export MOZ_WEBRENDER=1

firefox

Firefox 104.0.2 inside the Linux VM reports the following:

[GFX1-]: Failed to create EGLContext!: 0x3009
[GFX1-]: Failed to create EGLContext!: 0x3005
Fallback WR to SW-WR

I restored libvirglrenderer libs back to 0.9.1 on the host OS. Firefox in the Linux VM runs WebGL samples accelerated.

Edited Sep 07, 2022 by Mario Roy
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking