FS#76989 - [firefox] Undetected GPU on wayland + nvidia

Attached to Project: Arch Linux
Opened by Alessandro Cerruti (chrooti) - Monday, 02 January 2023, 21:39 GMT
Last edited by Toolybird (Toolybird) - Sunday, 03 September 2023, 08:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Firefox doesn't see the GPU on wayland (sway) + nvidia (proprietary) driver.
This is related to a crash in glxinfo for which there exists a bug report and a proposed patch on mozilla's phabricator (https://phabricator.services.mozilla.com/D164578). Since there seems to be a bit of friction to merging this or approving it, but the change is small and non-intrusive I am proposing to add the patch to the Arch package. FWIW I've been testing it (GTX 1080ti, sway, firefox 108) by adding it to the current PKGBUILD and it works on my end.

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 03 September 2023, 08:29 GMT
Reason for closing:  Won't fix
Additional comments about closing:  See comments from PM.
Comment by Toolybird (Toolybird) - Thursday, 05 January 2023, 04:06 GMT
So I try to replicate this in a VM (Nvidia card passthrough) and after jumping through the hoops to get sway running on unsupported proprietary nvidia drivers, I can't even get a mouse cursor to show up... Maybe it's my VM setup, but this doesn't instill confidence and makes me question whether Arch cares much about such an unstable combo..
Comment by Toolybird (Toolybird) - Thursday, 05 January 2023, 06:44 GMT
> I can't even get a mouse cursor

Oops, I didn't read the wiki well enough :P...now have a cursor with WLR_NO_HARDWARE_CURSORS=1

Edit: Ok, can now repro. But honestly, this is such a glitchy setup it's not funny :(
Comment by Jan Alexander Steffens (heftig) - Thursday, 05 January 2023, 10:58 GMT
That patch looks like a terrible hack.
Comment by Alessandro Cerruti (chrooti) - Thursday, 05 January 2023, 21:08 GMT
Yeah, I'm not a fan of it either, feel free to close the issue if you don't think it's worth it as a maintainer.
Or, if you/someone else has a less hacky idea to workaround it I can try my hands at a patch.
Comment by Alessandro Cerruti (chrooti) - Thursday, 05 January 2023, 22:01 GMT
-- snip --
resent by mistake

Loading...