-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland Support #69
Comments
I was thrilled when you guys added support for accelerated XWayland, but like @BarFin says I will never be able to move to Wayland if it means I can't control my GPU, especially the fans. Is there any word on this? |
Nvidia, please make Wayland (Sway) support in your Drivers and in nvidia-settings! |
My vote for Wayland support as well. |
This is really important. |
nvidia-settings is mandatory to control color correction of my monitor. |
It isnt |
Yes please, also, I need NVidia Reflex on Linux, playing Overwatch there heavily. |
Needed |
Adding my voice to this request. Please support Wayland. |
I am also in-favor of this. |
All in one petition! |
linus-torvalds-nvidia.mp4 |
Please add wayland support :-) |
I hear Wayland is cool. |
It's a step in the right direction for sure |
An option to change dithering setting like the one in xorg would be appreciated. The default ones causes weird artifacts currently no option to change it. |
Happy to see others talking about this 😄 . @pukmajster, yeah it's a great step forward! |
Hi everyone, just to remind you all, we need nvidia-settings with the same functionality just like with the x11 version. Thanks. |
Any progress on this? |
We all are still asking for Wayland support. |
PowerMizer settings aren't there when I use Wayland, but are when I use Xorg. Please work to convert nvidia-settings to Wayland. |
Is anyone here prepared to make a fork of nvidia-settings and bind all the settings to their respective APIs within a Wayland session, so that all the Wayland compositors will show all the settings in the nvidia-settings application? |
Please, NVIDIA for past cards as well. We need Wayland support. Open source just like the new series the portion of the drivers, at least. |
I actually don't think this is possible, Nvidia Settings uses libxnvctrl for all hardware control. libxnvctrl is an X extension and cannot be modified to work in Wayland no matter what. And Nvidia don't open up their hardware for user-control in sysfs, so you can't just force it. It's actually not possible. I'm a bit baffled as to why Nvidia aren't even acknowledging this, though. They fully know that Wayland is coming and is going to be the default for pretty much every distro very soon, and they HAVE to allow users to modify fan curves. |
I understand that is because nvidia-settings is written only for X11 as others programs (like Simple Screen Recorder) that works in X11 and in Wayland refuse to launch if is not X11. Regards The reason? I don't know. I am not a programmer. |
Wow how did you figure out all that without having proper access to driver code itself?!?!? |
This might sound a bit silly, but the short answer is: I just read the NVML change logs (look for "Changes between v510 and v515" here: https://docs.nvidia.com/deploy/nvml-api/change-log.html#change-log). Long answer: I was searching for more than a year what kind of APIs NVIDIA has to control their GPUs. I came across NVAPI (Windows only), NVML (used mostly for professional cards and on nvidia-smi utility) and libXNVCtrl (depends on X11). Then I saw the change logs on NVML and I rushed to make my own software to control the GPUs. Tested on my machine and It worked perfectly! So, it was a bunch of documentation reading and some recent testing. I was simply tired of GeForce Experience (especially after I found out about the online requirement) and wanted to switch to Wayland Linux (which lacked a way to control the GPU's fan). You can also try out my code if you to verify it better (it is super small so others can verify it in about an hour). By the way, I have also asked for people on Reddit to help me test it under Wayland (I wanted to check if it worked, before I make any post here). Only 2 guys showed up, but they were super helpful in testing it. |
I forgot to mention, I also saw in a GitHub issue a NVIDIA employee talking that they were planning to add many features to NVML, instead of relying on libXNVCtrl (and that was how I learned about the possible importance of the NVML API). I just didn't put this information on the first post, because I couldn't find the issue again (I lost the link). |
I know it was made for X11, but people can already open it under Wayland. There is even a big post on Reddit from some years ago that showed people celebrating this fact. Here: https://www.reddit.com/r/Fedora/comments/sliye1/and_so_the_day_we_can_open_nvidia_settings_in_the/?rdt=56145 I have also seen many posts and issues from various program that can also open nvidia-settings in Wayland. When I say that I don't understand the reason is because NVIDIA updated nvidia-settings to use NVML (and my tests demonstrate that it already works on newer drivers). I even shared a link to the exact line of code showing the use of NVML. I am just confused: I see many posts bashing NVIDIA, when support is already in the code. Maybe a leftover check in the GUI? I hope that someone figures it out sooner rather than later. |
Thank you! And I 100% agree with you, we would be on a we better situation if nvidia-settings worked out of the box. My solution is mostly to:
|
Most of the people on Reddit / Github don't even know how to code in Python and just whine excessively about missing features Nvidia already added years ago. Even CTRL + F searching a plain text document is beyond their ability.
|
Just for reference, the NVML function that controls fan speed through NVML was added October 12, 2022. See the commit: f213c7b Search for "DeviceSetFanSpeed_v2". |
Nice. I'm sure Linux's "many" programmers will be releasing a nice GUI GPU utility software any day now. |
Lol. But jokes aside, someone might have made a GUI app with NVML already (tuxclocker): https://github.com/Lurkki14/tuxclocker I say might, because I didn't test it or saw evidence that it works on Wayland (aside from a few issues). |
On another note, I have found the link of the NVIDIA employee I was talking about (found by accident again): NVIDIA/open-gpu-kernel-modules#262 (comment) The original comment I am referring to:
|
TuxClocker does not not work because of NVML. TuxClocker does not work because of incompetence, dumb architecture decisions and over complicating things that do not need to be complicated. Everything in NVML works under Wayland just fine. It's a skill issue. |
Ubuntu will be defaulting to Wayland for nVidia cards as from the 24.10 release. Fan control is very important for me. Explicit syncas from the 555 driver might fix the flicker issue in chrome based applications. If we get full nvidia-settings working on NVML exposing all needed settings we will be able to ditch X11 in many cases. I have tried Wayland on Intel ARC and the performance is better than that on X11. Imagine what the more powerful cards made by nVidia can achieve under Wayland! |
+1 to please add more settings! I can't use gsync on wayland because I have to toggle "force gsync on unverified gsync compatible monitor" in nvidia settings :( gsync significantly increases my 1% lows and something I really want to use |
GSync (or VRR in general) is something that the each individual compositor has to implement, not something that the NVIDIA driver can control. The NVIDIA driver can do that in Xorg because it's got a server-side driver module which handles modesetting and scanout. In Wayland, the compositor controls all of that through drm-kms. |
Hmm okay I hear you. Maybe a wrong assumption on my side then.
After trying these settings with no success, I assume it is an nvidia driver issue as I have to manually enable the “Allow G-SYNC on monitor not validated as G-SYNC Compatible” on both windows and xorg for gsync to work. Am I incorrect and the nvidia wayland driver does not use/need this config for the compositor to control VRR? |
VRR does work correctly for me on Hyprland (wayland) without any extra configuration over what was originally required to make the card work properly. You are right in needing only one monitor connected. With my 2nd monitor attached gsync / vrr fails to function. |
I did write a QT application using nvml directly, will post in github in coming days. |
Let me share the tools I created using QT6. |
Nice segfault. |
Segfault where? Did I miss an allocation? |
it's 2024 and the problem still persists. |
It's 2024 and The Community's "many" programmers haven't fixed this problem. |
Nope. |
I guess, this is message from nvidia that we all should not use their product. |
It would be nice if the digital vibrance setting was available on Wayland too. |
I just want to give my 2 cents, I see many people complaining and saying they use X11 instead of wayland, this is unnecessary and causes more issues than solves problems. I've done the following below on all my systems, and I can use external monitors, without immense difficulty. So if you have installed your nvidia driver correctly , then just create the following file
you can verify in the terminal with the following codes what your card is doing.
After years of people begging, don't rely on nvidia to suddenly change their ways. Nonetheless Nvidia, please you make enough money to actually hire a few good developers to fix this wayland settings problem. Wayland is not going away, X11 is outdated or for minimalist systems, so please put a bit of effort and money in, please, we all like to see some things in a GUI instead of using the CLI for everything. |
I appreciate the candor, but just throwing environment variables at your system is not a solution for not having a proper GPU settings panel. Also these doesn't even apply for people not using hybrid graphics. Remember, not all systems are built equal. Honestly, Nvidia just needs to step up their game and allow Linux users to experience all the features we paid for. |
nvidia-settings is an essential tool for linux users to tweak their graphics card under a linux system,
not a 'nice-to-have' program, until this tool gets ported to Wayland I won't be able to use my graphics card the way i want so I'll stick to xorg
The text was updated successfully, but these errors were encountered: