Re: Wayland and Nvidia

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

 



On Wed, 2021-04-28 at 18:49 +0800, Ed Greshko wrote:
> On 28/04/2021 18:05, Patrick O'Callaghan wrote:
> > On Wed, 2021-04-28 at 08:10 +0800, Ed Greshko wrote:
> > > [...]

> > > 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.
> > 
> 
> I see.
> 
> Would it be fair to qualify the last statement by adding "in this use
> case"?

Only if someone can report an Nvidia GPU being used under Wayland. Note
that this is not a KDE/Plasma issue. I get the same results under
Gnome. Note that I'm using SDDM in all cases. I don't know if that
makes a difference though I don't see why it should.

> Is is possible to test this with the nvidia device being Default?

I think that would mean blacklisting the IGP on boot, if that's even
possible. I don't know another way of selecting the default.

> Is it possible to test with nouveau instead of nvidia drivers?

Probably. I'll look into it.

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