Package Details: wlroots-nvidia 0.17.2-1

Git Clone URL: https://aur.archlinux.org/wlroots-nvidia.git (read-only, click to copy)
Package Base: wlroots-nvidia
Description: Modular Wayland compositor library, with fix for nvidia flickering
Upstream URL: https://gitlab.freedesktop.org/wlroots/wlroots
Licenses: MIT
Conflicts: wlroots, wlroots-git
Provides: libwlroots.so, wlroots
Submitter: kplant
Maintainer: kplant
Last Packager: kplant
Votes: 5
Popularity: 0.023238
First Submitted: 2022-08-20 15:26 (UTC)
Last Updated: 2024-04-21 13:06 (UTC)

Dependencies (23)

Required by (89)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

ibrokemypie commented on 2023-12-03 02:28 (UTC)

Is there a reason why this package doesn't include the screenshare format patch as well? wlroots-nvidia-git includes it, and I have added the patch myself locally and it works, but a pain to have to maintain a local edit of this PKGBUILD

Here is the patch wlroots-nvidia-git uses https://aur.archlinux.org/cgit/aur.git/tree/nvidia.patch?h=wlroots-nvidia-git

nullcoder commented on 2023-11-30 15:41 (UTC) (edited on 2023-12-01 14:06 (UTC) by nullcoder)

I think we should change the version back to wlroots 0.16 until Sway is updated

hornobster commented on 2023-11-26 19:17 (UTC)

I'm also getting:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing wlroots-nvidia (0.17.0-2) breaks dependency 'libwlroots.so=11' required by sway

kplant commented on 2023-11-24 13:25 (UTC) (edited on 2023-11-26 22:19 (UTC) by kplant)

Yeah, I missed that libdisplay-info.so was added.

Looks like sway is still requiring wlroots-0.16 (libwlroots.so.11).

nullcoder commented on 2023-11-24 11:11 (UTC) (edited on 2023-11-24 13:31 (UTC) by nullcoder)

Looks like it doesn't compile without the libdisplay-info package.

And it doesn't work:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing wlroots-nvidia (0.17.0-2) breaks dependency 'libwlroots.so=11' required by sway

ahmedyasser commented on 2023-11-24 10:44 (UTC) (edited on 2023-11-24 10:45 (UTC) by ahmedyasser)

An error happened during the compilation of the recently deployed version and then failed to continue. This is the log provided in src/build/meson-logs/meson-log.txt.

simontunnat commented on 2023-10-23 13:02 (UTC)

The package fixed my flickering issues on a Thinkpad P52. Thank you! :)

aragon123 commented on 2023-07-17 15:32 (UTC) (edited on 2023-07-17 15:34 (UTC) by aragon123)

I additionally have the following patch included:

--- types/output/render.c
+++ types/output/render.c
@@ -330,22 +330,7 @@
 }

 uint32_t wlr_output_preferred_read_format(struct wlr_output *output) {
-   struct wlr_renderer *renderer = output->renderer;
-   assert(renderer != NULL);
-
-   if (!renderer->impl->preferred_read_format || !renderer->impl->read_pixels) {
-       return DRM_FORMAT_INVALID;
-   }
-
-   if (!output_attach_back_buffer(output, &output->pending, NULL)) {
-       return false;
-   }
-
-   uint32_t fmt = renderer->impl->preferred_read_format(renderer);
-
-   output_clear_back_buffer(output);
-
-   return fmt;
+   return DRM_FORMAT_XRGB8888;
 }

 bool output_is_direct_scanout(struct wlr_output *output,

Without this patch, at least for me, screenshare does not work: https://github.com/emersion/xdg-desktop-portal-wlr/issues/190#issuecomment-1144287165

Edit: Unfortunately the tabs get replaced by spaces, in the output, therefore here a pastbin, with the tabs: https://pastebin.com/B73kcgXg

luanalatte commented on 2023-06-06 22:07 (UTC)

@kplant it worked! thank you for the fix. You might want to increase pkgrel now :P

kplant commented on 2023-06-06 22:01 (UTC)

@luanalatte once more.