Closed Bug 1739783 Opened 3 years ago Closed 2 years ago

Wayland/Nvidia + Optimus & PRIME: glxtest fails with signal 11 (Fixed by https://github.com/NVIDIA/egl-wayland/issues/27#issuecomment-977181200)

Categories

(Core :: Graphics, defect)

Firefox 94
x86_64
Linux
defect

Tracking

()

RESOLVED MOVED

People

(Reporter: me, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(8 files)

Attached file about_support.txt

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

Environment:

  • Fedora 35
  • laptop with nvidia optimus
  • latest nvidia drivers (395.xx)
  • Wayland
  • Nvidia PRIME used
  • acceleration works (vulkaninfo/vkcube on wayland with both cards, glxinfo for xwayland with both cards)

Actions:

  • Started firefox (behaviour doesn't change from terminal)

Actual results:

Possibly useful:

  • Nvidia card wakes up
  • Nvidia card goes back to D3cold state

Console output:
[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)

No hardware acceleration at all

Expected results:

Hardware acceleration from intel card

Attached file lspci.txt

Attaching lspci output. When calling lspci the nvidia card wakes up as well, so I guess pci_scan_ bus call from glxtest.cpp succeeds.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Graphics
Product: Firefox → Core

Thanks for the report!
Please install mesa-utils-extra (Fedora: $ sudo dnf install egl-utils), copy the output of $ eglinfo and $ es2_info and paste it here.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: glxtest fails with signal 11 → Wayland/Nvidia + Optimus & PRIME: glxtest fails with signal 11
See Also: → 1739780
Attached file eglinfo.txt
Attached file es2_info.txt
Attached file vulkan_gpus.txt

I find eglinfo not clear enough about gpus configured so attaching info from vulkaninfo as well.
gpu 0 - Intel
gpu 1 - Nvidia
gpu 2 - llvmpipe

Attached file eglinfo.log
Attached file es2_info.log
Attached file lspci.log

Same issue for me.
Attached file outputs as per former request.
The laptop is a Dell XPS9560 with Intel i7 7th gen and Nvidia Geforce GTX1050.
Issue disappear reverting Nvidia drivers from 495.44 to 470.74 or completely removing them.

I think the root issue is the same as in the bug 1739780 and bug 1739599. See bug 1739599 comment 3.

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Severity: -- → S4
Flags: needinfo?(jmathies)

There is an update of the egl-wayland package, which should solve the issue.

I can confirm it solves this issue.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → MOVED
Summary: Wayland/Nvidia + Optimus & PRIME: glxtest fails with signal 11 → Wayland/Nvidia + Optimus & PRIME: glxtest fails with signal 11 (Fixed by https://github.com/NVIDIA/egl-wayland/issues/27#issuecomment-977181200)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: