Re: Wayland and Nvidia

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2021-04-28 at 08:10 +0800, Ed Greshko wrote:
> On 28/04/2021 06:36, Patrick O'Callaghan wrote:
> > On Tue, 2021-04-27 at 23:28 +0100, Patrick O'Callaghan wrote:
> > > IOW, apparently Nvidia GPUs do not currently work with Wayland, but
> > > don't work with Xorg either. Is there something I'm
> > > misunderstanding
> > > here?
> > (Replying to myself).
> > 
> > On logging in with KDE/X11, nvidia-settings now works so at least the
> > GPU is accessible. Steam with Vulkan still doesn't but that may just
> > be
> > a matter of waiting for a package update.
> > 
> > It's still true that Nvidia+Wayland is not working.
> 
> While I am running F33 at the moment I did a bit of testing of Plasma
> on Wayland
> with nVidia drivers.  Specifically, the 465.24.02 driver.  And it works
> for me with
> the limited amount of testing.  I don't use nvidia-settings.
> 
> I get
> 
> DESKTOP_SESSION=/usr/share/wayland-sessions/plasmawayland
> XDG_SESSION_TYPE=wayland
> WAYLAND_DISPLAY=wayland-0
> 
> So, can you expound on "not working"?

On Plasma/Wayland I get those same settings, however the display is
running on the internal Intel GPU, not on the Nvidia. Even though the
Nvidia kernel modules are loaded, there appears to be no way to access
the GPU. Thus:

   $ nvidia-settings 
   
   ERROR: Unable to find display on any available system
   
   $ switcherooctl 
   Device: 0
     Name:        Intel® HD Graphics 4000
     Default:     yes
     Environment: DRI_PRIME=pci-0000_00_02_0
   
   Device: 1
     Name:        NVIDIA Corporation GP107 [GeForce GTX 1050]
     Default:     no
     Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia
   __NV_PRIME_RENDER_OFFLOAD=1
   
   $ switcherooctl -g 1 nvidia-settings
   
   ERROR: Unable to find display on any available system
   
If I run Plasma/X11, all of the above works correctly (as it did on F33
of course). IOW, with Wayland the Nvidia GPU is currently useless.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux