Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855347 - x11-drivers/nvidia-drivers-470.129.06: could depend on >=egl-wayland-1.1.7
Summary: x11-drivers/nvidia-drivers-470.129.06: could depend on >=egl-wayland-1.1.7
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-30 13:50 UTC by Rafal Lalik
Modified: 2022-12-09 05:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Lalik 2022-06-30 13:50:10 UTC
According to: http://us.download.nvidia.com/XFree86/Linux-x86_64/470.129.06/README/xwayland.html

"egl-wayland version 1.1.7 or later must be present (if installed separately from the the NVIDIA driver)"

The current dependency:
  ~gui-libs/egl-wayland-1.1.7
can be repalced with
  >=gui-libs/egl-wayland-1.1.7
Comment 1 Ionen Wolkens gentoo-dev 2022-06-30 18:12:15 UTC
Last time I tried this, it failed badly. Also, for wayland vulkan (not through xwayland, like vkcube-wayland), 1.1.10 requires a symbol from libnvidia-vulkan-producer that's only available in 515.57 currently.
Comment 2 Ionen Wolkens gentoo-dev 2022-06-30 18:14:34 UTC
(In reply to Ionen Wolkens from comment #1)
> Last time I tried this, it failed badly.
.. and for that bit, problem was that some applications try to use GBM with >=1.1.9 when 470 can't.
Comment 3 Ionen Wolkens gentoo-dev 2022-06-30 18:43:18 UTC
(In reply to Ionen Wolkens from comment #2)
> (In reply to Ionen Wolkens from comment #1)
> > Last time I tried this, it failed badly.
> .. and for that bit, problem was that some applications try to use GBM with
> >=1.1.9 when 470 can't.
And on that note, even if 1.1.9 was usable, I don't think the GBM-related updates bring anything useful for 470 that can't use GBM. Back when NVIDIA wrote this, I don't think they considered higher versions would break with it (similarly, 510 is pinned to 1.1.9 because of the 1.1.10 symbol issue).
Comment 4 Rafal Lalik 2022-12-09 01:21:36 UTC
(In reply to Ionen Wolkens from comment #1)
> Last time I tried this, it failed badly. Also, for wayland vulkan (not
> through xwayland, like vkcube-wayland), 1.1.10 requires a symbol from
> libnvidia-vulkan-producer that's only available in 515.57 currently.

Currently I am using nvidia-drivers with gui-libs/egl-wayland-1.1.11-r1 and no issues.

Is there any way to debug and check the symbol issues?
Comment 5 Ionen Wolkens gentoo-dev 2022-12-09 05:02:53 UTC
(In reply to Rafal Lalik from comment #4)
> (In reply to Ionen Wolkens from comment #1)
> > Last time I tried this, it failed badly. Also, for wayland vulkan (not
> > through xwayland, like vkcube-wayland), 1.1.10 requires a symbol from
> > libnvidia-vulkan-producer that's only available in 515.57 currently.
> 
> Currently I am using nvidia-drivers with gui-libs/egl-wayland-1.1.11-r1 and
> no issues.
> 
> Is there any way to debug and check the symbol issues?
As mentioned can try that with vkcube-wayland (native, doesn't use xwayland), it's from dev-util/vulkan-tools build with USE="-X cube wayland".

Haven't tried with newer 470.xx, possible it improved -- albeit not sure I want to try to mix the egl-wayland focusing on GBM support with the drivers that don't support this (470 can still only do EGLStream afaik, so e.g. no sway). Also, nvidia still ships 1.1.7 with latest 470 making it the intended version:

NVIDIA-Linux-x86_64-470.161.03/libnvidia-egl-wayland.so.1.1.7

Does 1.1.11 improve anything for 470 beside just being a higher version?
Comment 6 Ionen Wolkens gentoo-dev 2022-12-09 05:15:05 UTC
(In reply to Rafal Lalik from comment #4)
> Currently I am using nvidia-drivers with gui-libs/egl-wayland-1.1.11-r1 and
> no issues.
Also with what? 470's EGLStream-only is only usable with a few compositors like mutter(gnome) or kwin(plasma), guess there's also that wlroots eglstream fork I never tried (not in tree). Both have a tendency to default to Xorg with nvidia (gdm-43 notably disables it right now), and if using Xorg then egl-wayland does nothing (in that situation could USE=-wayland on nvidia to skip this dep instead).

I fear EGLStream will get more and more broken though (may drop wayland support from 470 eventually), it was kinda odd when I tried with plasma last time, but gnome was still okay if forced it to use wayland.