#3211 Update Xwayland to 24.1.0 in Fedora 40
Closed: Accepted 17 days ago by sgallagh. Opened 24 days ago by ofourdan.

Hi,

This Wednesday, I shall be releasing Xwayland 24.1.0 upstream if all goes well.

Among several improvements, that new version provides support for explicit GPU synchronization which is required to fix synchronization issues with the NVIDIA proprietary driver.

Several people have complained that the NVIDIA driver is causing glitches and mis-rendering when using the Wayland session, support for explicit GPU synchronization in Xwayland will finally make the NVIDIA driver with GNOME Shell on Wayland usable for NVIDIA users.

This is the reason why I am requesting the right to update Xwayland to 24.1.0 also in Fedora 40.

Thanks
Olivier


I'm unaware of any practical incompatibilities with this update, so I don't think this warrants a policy exception. Please go ahead and update as normal.

Metadata Update from @ngompa:
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

24 days ago

Metadata Update from @ngompa:
- Issue tagged with: updates policy exception

24 days ago

Metadata Update from @sgallagh:
- Issue status updated to: Open (was: Closed)

24 days ago

I'm inclined to agree, but since the maintainer brought it to our attention, I think we should at least ask if there are incompatibilities we need to consider that might not be obvious.

@ofourdan is there anything in this update that you expect might cause problems that we should plan for?

@ofourdan is there anything in this update that you expect might cause problems that we should plan for?

Apart from the possible bugs and issues that might have escaped our attention, we dropped support for EGLStream in Xwayland 24.1.0, meaning that users who are still using the old 470 legacy NVIDIA driver will not have hardware acceleration.

Typically, that would be anyone with a Kepler GPU who are stuck with the old 470 legacy NVIDIA proprietary driver, but Erik Kurzinger reckons Wayland/Xwayland support in 470 was rather limited anyway.

See this post from Erik in the merge request upstream: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1386#note_2327398

OK, I think that does necessitate going through the updates exception process, since it means that we may be removing functionality that some people are relying on. That being said, the newest Kepler GPUs were released a full ten years ago, so I'm inclined to say that we approve this exception.

Also, as far as I know, NVIDIA does not support the 470 driver series on any kernel shipped in Fedora 40. And the 470 driver series is fully EOL at the end of July.

For what it's worth, KDE Plasma in Fedora 40 is also ready for this now, as explicit sync support has been backported from Plasma 6.1 to 6.0 in preparation for this.

+1

But please let the update bake in updates-testing for a while. There might be users with the old cards, and we might need to consider what to do if any pop up.

But please let the update bake in updates-testing for a while. There might be users with the old cards, and we might need to consider what to do if any pop up.

Sure, I haven't pushed anything to F40 yet and I always leave the updates go through their full cycle.

For the record, I'm +1 on this (since I didn't make it fully explicit above).

I think it might be a good idea to send a note to devel-list mentioning the potential issue with Kepler-on-XWayland, just so we can get some feedback beforehand.

I think it might be a good idea to send a note to devel-list mentioning the potential issue with Kepler-on-XWayland, just so we can get some feedback beforehand.

I do not believe either GNOME or KDE actually allow NVIDIA 470 driver for Wayland in the first place.

I think it might be a good idea to send a note to devel-list mentioning the potential issue with Kepler-on-XWayland, just so we can get some feedback beforehand.

Sure, done, for both desktop and devel mailing lists:

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XNKLDU32LNONNYMOOPYLOCDCY4CFTTIE/

https://lists.fedoraproject.org/archives/list/desktop@lists.fedoraproject.org/thread/XNKLDU32LNONNYMOOPYLOCDCY4CFTTIE/

I do not believe either GNOME or KDE actually allow NVIDIA 470 driver for Wayland in the first place.

Nvidia 470 has no GBM support, so KDE's definitely out of the picture...

Believe it or not though, GNOME actually still has eglstream support, so it's technically possible for Kepler users to be running GNOME's Wayland session. Not that it'll be any good mind you - 470's missing basic functionality like dmabuf support. I'd be surprised if there's anyone out there subjecting themselves to that.
Also, GDM enforces some extra requirements for nvidia hardware; if they aren't met, the Wayland session option isn't shown. I wouldn't be surprised if GDM blacklists legacy drivers like 470.

Also, as far as I know, NVIDIA does not support the 470 driver series on any kernel shipped in Fedora 40.

Last time I checked, Nvidia 470 still built against F39 kernels, but this might not be the case with Fedora 40:
https://forums.developer.nvidia.com/t/driver-470-239-06-build-fails-on-fedora-40/292764
Judging by the imminent death of this legacy branch, it's anyone's guess if nvidia will actually bother to fix compatibility for newer kernels.

Metadata Update from @sgallagh:
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

17 days ago

We have (+4, 0, -0) after seven days, so this is APPROVED.

Not sure if this is the right place to report

As Enduser, this 24.1.0-1.fc40 caused me to have 'black screen' after login. I had to downgrade to v23 to fix the issue.

I don't have an old card, I have a Nvidia 3080ti.

Not sure if this is the right place to report

As Enduser, this 24.1.0-1.fc40 caused me to have 'black screen' after login. I had to downgrade to v23 to fix the issue.

I don't have an old card, I have a Nvidia 3080ti.

It's not the correct place. Please file an issue at https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora against the xorg-x11-server-Xwayland package.

Log in to comment on this ticket.

Metadata