Package Details: wlroots-nvidia 0.16.2-2

Git Clone URL: (read-only, click to copy)
Package Base: wlroots-nvidia
Description: Modular Wayland compositor library, with fix for nvidia flickering
Upstream URL:
Licenses: MIT
Conflicts: wlroots, wlroots-git
Provides:, wlroots
Submitter: kplant
Maintainer: kplant
Last Packager: kplant
Votes: 4
Popularity: 0.031728
First Submitted: 2022-08-20 15:26 (UTC)
Last Updated: 2023-03-26 16:03 (UTC)

Dependencies (22)

Required by (60)

Sources (4)

Latest Comments

1 2 Next › Last »

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:

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?

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

@kplant thank you so much, one last thing I had to manually run makepkg and install myself because a gpg import issue will restart and hope is all good now :) cheers

kplant commented on 2023-01-04 18:13 (UTC)

@rek2 that is exactly right, I will fix this when I get home later.

In the mean time I would recommend trying the standard wlroots 0.16.x package with the vulkan renderer, it works pretty well in my experience.

rek2 commented on 2023-01-04 17:28 (UTC)

ok so sway now expects wlroots 0.16.1 almost sure this is why is breaking, since this package builds on the older 0.15.x