FS#70490 - [wlroots] May require newer libglvnd

Attached to Project: Community Packages
Opened by Ronan Pigott (Brocellous) - Saturday, 17 April 2021, 18:27 GMT
Last edited by David Runge (dvzrv) - Sunday, 18 April 2021, 19:38 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Laurent Carlier (lordheavy)
Felix Yan (felixonmars)
Brett Cornwall (ainola)
Maxim Baz (maximbaz)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The libglvnd package in Arch is still affected by [1], but the issue has been resolved upstream.

In short, Arch users with the nvidia package installed, which provides the nvidia egl vendor libraries, and with the nvidia card powered down such as with bbswitch will be unable to launch wlroots compositors. There have been some duplicate bug reports about this at sway, but there's nothing further to be done in wlroots, so I've created this report instead.

Users will need to either have the fix [2] applied to libglvnd, possibly via libglvnd-git from the AUR, or uninstall the nvidia package.

[1] https://github.com/swaywm/wlroots/issues/2480
[2] https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/235
This task depends upon

Closed by  David Runge (dvzrv)
Sunday, 18 April 2021, 19:38 GMT
Reason for closing:  Duplicate
Additional comments about closing:  https://bugs.archlinux.org/task/70488
Comment by loqs (loqs) - Saturday, 17 April 2021, 21:59 GMT
Does rebuilding the libglvnd package with the attached diff resolve the issue? Does the lib32-libglvnd package also require patching?
Comment by Ronan Pigott (Brocellous) - Saturday, 17 April 2021, 22:34 GMT
It does yeah, and I don't think lib32-glvnd would need it. Actually though I now think this issue may soon resolve itself. Recent quote from #dri-devel on freenode:

> 11:19 <emersion> mattst88: were you in charge of libglvnd releases by any chance? may i request a new release? i get many bug reports from my users, they would be fixed by https://gitlab.freedesktop.org/glvnd/libglvnd/-/commit/a527411da713b2068974c46d7129326520dc5923
> 14:38 <mattst88> emersion: yeah, seems like a new release is a good idea
> 15:02 <emersion> mattst88: sweet

I've run stable + a527411d since I first tested it and I don't think it's a risky patch, but if a new release is around the corner there may be no reason to bother.