Jammy (and Mantic) doesn't use nvidia driver when executing firefox

Bug #1967456 reported by Kevin Yeh
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Undecided
Unassigned
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[Reproduce step]

1. Install Jammy beta.
2. Install Nvidia driver by ubuntu-driver install.
3. Connect monitor to dGPU output port.
4. Run firefox, type "about:support" in url, and check column "GPU #1"

[Expected result]

should see nvidia driver info.

[Actual result]

still use llvmpipe

[Info]

OS version: Ubuntu Jammy Jellyfish (development branch)
Device: HP Z2 Mini G5 workstation
CID: 202008-28179

Wayland in use.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-23-generic 5.15.0-23.23
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
Uname: Linux 5.15.0-23-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: u 1186 F.... pulseaudio
 /dev/snd/controlC1: u 1186 F.... pulseaudio
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 1 00:07:47 2022
InstallationDate: Installed on 2022-04-01 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
MachineType: HP HP Z2 Mini G5 Workstation
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-23-generic root=UUID=adaf5521-655d-454a-9bad-ef17619a51f2 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-23-generic N/A
 linux-backports-modules-5.15.0-23-generic N/A
 linux-firmware 20220314.gitcd01f857-0ubuntu2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/02/2020
dmi.bios.release: 0.1
dmi.bios.vendor: HP
dmi.bios.version: S50 Ver. 01.00.01
dmi.board.name: 8754
dmi.board.vendor: HP
dmi.board.version: KBC Version 09.08.03
dmi.chassis.type: 2
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 9.8
dmi.modalias: dmi:bvnHP:bvrS50Ver.01.00.01:bd07/02/2020:br0.1:efr9.8:svnHP:pnHPZ2MiniG5Workstation:pvr:rvnHP:rn8754:rvrKBCVersion09.08.03:cvnHP:ct2:cvr:sku9JD38AV:
dmi.product.family: 103C_53335X HP Workstation
dmi.product.name: HP Z2 Mini G5 Workstation
dmi.product.sku: 9JD38AV
dmi.sys.vendor: HP

Revision history for this message
Kevin Yeh (kevinyeh) wrote :
tags: added: jiayi oem-priority
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
jeremyszu (os369510) wrote (last edit ): Re: Jammy didn't use nvidia driver whne executing firefox

how about launch Terminal and then issue:
$ glxinfo | grep -i opengl

Kevin Yeh (kevinyeh)
summary: - Jammy didn't use nvidia driver whne executing firefox
+ Jammy didn't use nvidia driver when executing firefox
Revision history for this message
Kevin Yeh (kevinyeh) wrote : Re: Jammy didn't use nvidia driver when executing firefox

I tried glxgear before, it will use nvidia-driver, I can see it by nvidia-smi.
Since we define our test scope using firefox to check, so I report this bug.
Or should I add firefox as impacted package and remove linux package.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is not likely a kernel one, reassigning to firefox

affects: linux (Ubuntu) → firefox (Ubuntu)
Revision history for this message
Pierre Equoy (pieq) wrote :

I just filed lp:1967478 before finding this issue... There might be additional information there.

Jeremy Bícha (jbicha)
tags: added: snap
Revision history for this message
Akshat Singh (hackerdagreat57) wrote :

Can confirm, even with `switcherooctl launch firefox` it doesn't use the Nvidia GPU.

Revision history for this message
Gon Solo (gonsolo) wrote :

Ubuntu's firefox runs with llvmpipe as GPU. I downloaded firefox from mozilla.org and it correctly uses my NVIDIA RTX 3060.

summary: - Jammy didn't use nvidia driver when executing firefox
+ Jammy (and Mantic) doesn't use nvidia driver when executing firefox
Revision history for this message
Gon Solo (gonsolo) wrote :

Also Google Maps can't be run in 3D mode with llvmpipe. It works with Firefox Nightly from Mozilla.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.