[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2022-01-20 Thread Brian Murray
The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release. ** Changed in: ubuntu-drivers-common (Ubuntu Hirsute) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. htt

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-11-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-drivers-common (Ubuntu Impish) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-11-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-drivers-common (Ubuntu Hirsute) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-11-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-drivers-common (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/192523

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-10-12 Thread Sebastien Bacher
Alberto, that's fixed now right? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1925238 Title: [nvidia-prime] switches between xorg and wayland session To manage notifications about this bug go to:

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-29 Thread Sebastien Bacher
** Changed in: ubuntu-drivers-common (Ubuntu Hirsute) Importance: Undecided => High ** Changed in: ubuntu-drivers-common (Ubuntu Impish) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-09 Thread Iain Lane
Ok, let's keep this bug report about the udev rule. We will need to make sure 470 works properly with prime, I'll follow up with that separately. So would you be able to prepare a merge proposal please? 🙏 -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-08 Thread Alberto Milone
I think we need better detection code upstream, since the NVIDIA 470 driver will have full Wayland (and accelerated XWayland) support, and the udev rule should take this into account. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. htt

Re: [Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-04 Thread Iain Lane
Yeah, I read the man page too, but it wasn't understandable to me. If you understand it more, could you prepare a change for upstream? I can't just paste those two entries there to them, that's not enough information. Any hints on the second question about when wayland does start working, what

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-03 Thread Alberto Milone
Here is the difference: DRIVER Match the driver name of the event device. Only set this key for devices which are bound to a driver at the time the event is generated. DRIVERS Search the devpath upwards for a matching device driver name. https://www.freedesktop.org/software/systemd/man/udev.htm

Re: [Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-03 Thread Iain Lane
hmm, yeah, that seems to work! Why is that, can you explain why the other one doesn't work so we can forward it upstream (the udev rule is upstream)? Follow up question - we'll want to be dropping this file won't we, once nvidia actually supports wayland. What happens with prime then? On Thu,

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-03 Thread Alberto Milone
yes, it is the ubuntu session (I wasn't given a choice on login). Can you try replacing "DRIVER" with "DRIVERS" in /lib/udev/rules.d/61-gdm.rules , please? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

Re: [Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-01 Thread Iain Lane
ack. Is yours the "ubuntu" session? i.e. auto-detection, the default, not "ubuntu-xorg" which is manually selecting "Ubuntu on Xorg" from gdm. Check $DESKTOP_SESSION. I can confirm that if I pick ubuntu-xorg then nvidia-smi looks like yours. I see from `lsmod` that nvidia is loaded - apparentl

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-01 Thread Alberto Milone
I don't get that at all (see the attached screenshot). Detection seems to work well here: giu 01 16:05:52 dell-g7 systemd[1725]: Starting GNOME Shell on Wayland... giu 01 16:05:52 dell-g7 systemd[1725]: Starting GNOME Shell on X11... giu 01 16:05:52 dell-g7 systemd[1725]: app-gnome-gnome\x2dkeyr

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-01 Thread Iain Lane
No, they should be on "ubuntu" and that is Wayland if wayland works and Xorg if it doesn't. The problem is that changing the setting doesn't appear to have any effect at least from what I can see. For example look at the screenshot attached here. Do you see this kind of thing on a hybrid machine

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-06-01 Thread Alberto Milone
If you use intel mode, then GDM will default to Wayland, since no NVIDIA driver is detected. Would you rather have users rely on X11 even in intel mode? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/19

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-05-18 Thread Iain Lane
** Tags removed: rls-hh-incoming ** Also affects: ubuntu-drivers-common (Ubuntu Impish) Importance: Undecided Assignee: Alberto Milone (albertomilone) Status: New ** Also affects: ubuntu-drivers-common (Ubuntu Hirsute) Importance: Undecided Status: New ** Changed in: ubu

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-05-11 Thread Iain Lane
Hey Alberto, would you mind taking a look at this please? Feels to me like there might be some updates needed for wayland-by-default here..? ** Changed in: ubuntu-drivers-common (Ubuntu) Assignee: (unassigned) => Alberto Milone (albertomilone) -- You received this bug notification because y

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-05-11 Thread Iain Lane
>From looking at the code it seems like we're writing Xorg config files - at least this probably needs updating to know about Wayland -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1925238 Title: [nv

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-04-22 Thread Brian Murray
** Tags added: rls-hh-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1925238 Title: [nvidia-prime] switches between xorg and wayland session To manage notifications about this bug go to: ht

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-04-21 Thread Iain Lane
** Description changed: I have noticed this on a hirsute install from today's RC media (20210420) with ubuntu-drivers-common 1:0.8.9.1. The first boot is always xorg, and nvidia mode is selected. After that reboots are *usually* wayland, but sometimes they are xorg - too. When it's w

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-04-20 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1925238 ** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-04-20 Thread Iain Lane
>From the second boot ** Attachment added: "gpu-manager-wayland.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1925238/+attachment/5490359/+files/gpu-manager-wayland.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-04-20 Thread Iain Lane
>From the first boot ** Attachment added: "gpu-manager-xorg.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1925238/+attachment/5490357/+files/gpu-manager-xorg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-04-20 Thread Iain Lane
>From the second boot ** Attachment added: "lsmod-wayland.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1925238/+attachment/5490358/+files/lsmod-wayland.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubunt

[Bug 1925238] Re: [nvidia-prime] switches between xorg and wayland session

2021-04-20 Thread Iain Lane
>From the first boot ** Attachment added: "lsmod-xorg.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1925238/+attachment/5490356/+files/lsmod-xorg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. http