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 »

luanalatte commented on 2023-06-06 21:57 (UTC)

@kplant dependency still fails. I noticed you used a dash instead of an equals sign, was that a mistake?

kplant commented on 2023-06-06 20:45 (UTC)

@luanalatte try now.

luanalatte commented on 2023-06-06 20:24 (UTC)

swayfx depends on wlroots<0.17, which this package provides but pacman doesn't know since the provides array only says "wlroots". I managed to fix it by setting it to "wlroots=$pkgver", and swayfx works as expected. Could you add this or will it have consequences I didn't consider? thanks

kplant commented on 2023-03-26 16:03 (UTC)

Looks like upstream isn't going to fix it, I've included a simple patch that will allow the failing example to compile.

mleivagomez commented on 2023-03-13 00:41 (UTC) (edited on 2023-03-13 00:42 (UTC) by mleivagomez)

Fair enough. The problem is indeed upstream, but I think a fix has been posted about a week ago here: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/8db0d8289087d9e63438e01f810ef01d82170eb1

I'm kinda new to this community so I hope I'm not breaking any rules by posting external links. In particular, this is a change that was made in the repository that's listed in this package's upstream URL.

That being said, I found a way to build this package (a bit unsafely) before reading your reply by removing the Werror flag from my CFLAGS in /etc/makepkg.conf (in my case "-Werror=format-security") and replacing it with "-Wno-error".

It works for now, and after I finished building I reverted the flags to how they were previously.

kplant commented on 2023-03-13 00:25 (UTC)

Unfortunately it's broken upstream in wlroots; libavcodec has deprecated the "frame_number" field in the structure. If you replace "frame_number" with "(int)frame_num" on line 524 of examples/dmabuf-capture.c it will build successfully.

I don't want to patch this as I'm sure it will be fixed upstream shortly.

mleivagomez commented on 2023-03-13 00:11 (UTC)

When attempting to build this package, an error now appears:

error: 'frame_number' is deprecated [-Werror=deprecated-declarations]

On line 524 of dmabuf-capture.c

felixsanz commented on 2023-01-10 20:59 (UTC)

Why when I upgrade my system i'm getting: :: wlroots and wlroots-nvidia are in conflict ???

I installed this one because with wlroots package my system doesn't work. What is happening with this package?

kplant commented on 2023-01-06 00:47 (UTC)

@rek2 if you want to use the vulkan renderer you need to declare it in your environment with something like export WLR_RENDERER=vulkan before launching sway

rek2 commented on 2023-01-05 22:14 (UTC)

BTW: about the wlroot package, I did install yesterday, but it was flickering very hard, I had to revert to old sway/wlroots do you think they fixed this and I missed something in my config/install?