[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-06-13 Thread Daniel van Vugt
In a more pure development environment, I can confirm this bug without needing hybrid GPUs, or gdm3. Just the Nvidia driver and Xorg results in no outputs/monitors detected: $ xrandr Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384 To work around the problem I need to run Xorg

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-06-13 Thread Daniel van Vugt
** Tags added: nvidia-drm.modeset -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external monitors detected To manage

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-05-15 Thread Tim Richardson
This works. Thanks. What does gdm3 do that requires this? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external monitors

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-05-15 Thread Jeremy Soller
The solution to this is to run X11 as root, so it can use VGA arbiter and detect displays on both the NVIDIA and modesetting drivers. Add this to /etc/X11/Xwrapper.config : needs_root_rights = yes -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-04-22 Thread Tim
I'm on Ubuntu 19.04 as well and having issues with this. I have an i7-8750h paired with a gtx 1050ti in a Dell G515. I don't exactly what I did, but I can give a general idea: I decided this morning that battery life was important to me, so I tinkered around with TLP. After I did that

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-04-21 Thread Tim Richardson
Still present in 19.04, although as a workaround, the nvidia drivers have reverted to installing without modeset=1, so external monitors work, and Optimus users get dreadful tearing on their laptop's internal screen. With modeset=1 (which in my case was a setting preserved during the update to

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-03-25 Thread Juan Cabello
After adding the line "/usr/bin/xinit" to gdm3.service I get this in every boot: ProblemType: Crash Architecture: amd64 Date: Mon Mar 25 19:17:11 2019 DistroRelease: Ubuntu 18.04 ExecutablePath: /usr/lib/xorg/Xorg ExecutableTimestamp: 1543339632 ProcCmdline: /usr/lib/xorg/Xorg :0 ... Did you

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-03-21 Thread Ivan
Forgot to add: Ubuntu 18.04.2 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external monitors detected To manage

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-03-21 Thread Ivan
I confirm the bug exists and workarounds work, both with lightdm and ExecStartPre line. Also, adding xinit to ExecStartPre messes up suspend functionality. That is a pity... Laptop: Thinkpad P1 with nvidia graphics -- You received this bug notification because you are a member of Ubuntu Desktop

Re: [Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-02-20 Thread Tim Richardson
Personally, I have not encountered that when using ubuntu or fedora and simply swapping gdm3 for lightdm but it's good that the other bug report has a fix. It looks like a hidpi bug; none of my monitors are hidpi. On Thu, 21 Feb 2019 at 12:50, Stefano <1716...@bugs.launchpad.net> wrote: > The

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-02-20 Thread Stefano
The problem with the lightdm workaround is that many had this cursor issue: https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/1770948 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu.

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-02-20 Thread Stefano
Yes I was talking about the gdm3 workaround -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external monitors detected To

Re: [Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-02-20 Thread Tim Richardson
There are two workarounds mentioned: swap to lightdm and manipulate gdm3 start. I think you refer to the gdm3 startup changes when you say it causes problems with suspend/resume (which I didn't try). The other workaround is changing display manager to lightdm (or sddm, the KDE display manager).

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-02-20 Thread Stefano
Yes but this workaround is going to create others issue for suspend and resume. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-02-14 Thread losingYou
Running Ubuntu 18.10 here. Wanted to do a presentation with my Notebook, but it failed me cause of this bug. I can confirm that it works "Out of the box" with lightdm and that it also works with gdm3 if you modify /lib/systemd/system/gdm3.service, changing the "ExecStartPre" line to the above

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-01-16 Thread Jefferson H. Xavier
Same issue in here on Ubuntu 18.04.1 LTS. I have a Dell G3 3579 with Nvidia Geforce 1050TI. I've tried to use a Samsung SmartTV as a secondary display connected to HDMI port but Gnome settings only shows laptop display. I've tested drivers 390, 396, 410, and 415 without success. This issue

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2019-01-03 Thread Tim Richardson
sddm works too: I just put kde plasma on my ThinkPad P50 with ubuntu 18.10, it works well. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2018-12-17 Thread Stefano
18.10 Lightdm works but GDM works only with the mentioned hack/workaround (but with slowdowns): ExecStartPre=/usr/bin/xinit /usr/share/gdm/generate-config -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu.

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2018-12-17 Thread Daniel van Vugt
** Tags removed: artful ** Tags added: cosmic -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external monitors detected To

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2018-12-10 Thread Daniel van Vugt
** Also affects: mutter (Ubuntu) Importance: Undecided Status: New ** Changed in: mutter (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu.

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2018-09-14 Thread Tim Richardson
The current 18.10 nvidia packages have this problem too. That is, out of the box, the nvidia driver defaults to KMS now (first time on any distro) but the nvidia driver does not detect external screens. Probably should be a new bug I guess. -- You received this bug notification because you are a

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2018-04-19 Thread Daniel van Vugt
** Tags added: artful bionic -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external monitors detected To manage notifications

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2018-04-19 Thread Tim Richardson
I re-confirm this. Stock 18.04 has no graphics in pure nvidia mode (on a Thinkpad W520 in discrete graphics). lightdm works. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1716857

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2018-04-19 Thread Aurélien PIERRE
Same on Thinkpad P51 (Nvidia Quadro M2200), Ubuntu 18.04, Nvidia 390 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gdm3 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu.

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-16 Thread Tim Richardson
However with this change I'm seeing very long pauses on restart/shutdown, i haven't found any iclue why in the logs. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title:

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-16 Thread Hon Weng Chong
Daniel, yes that one line fixes the bug. It's not a proper fix but a work-around for GDM3. There's something about gdm-xsession being run that's different from LightDM that's not triggering the nvidia modeset drivers to turn detect external monitors and enabling PRIME sync. I discovered the

Re: [Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-12 Thread Tim Richardson
Let me clarify: the problem exists in Fedora too. Until a few hours ago, I had never got prime sync and gdm3 working in any distribution. This one line fix works, believe it or not. It's really a half a line fix. I have only tried it in ubuntu 17.10 so far. Fedora is not a focus for me, and I have

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-12 Thread Daniel van Vugt
Actually the offending line is directly from Debian: http://http.debian.net/debian/pool/main/g/gdm3/gdm3_3.26.2.1-2.debian.tar.xz ** Also affects: gdm3 (Debian) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs,

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-12 Thread Daniel van Vugt
Tim, are you really saying just that one-line change fixed it?... I can confirm at least that /usr/share/gdm/generate-config is introduced only by Debian/Ubuntu packaging. It's not part of the upstream GDM project. So if Fedora's approach of running under xinit works then we should probably do

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-12 Thread Tim Richardson
Celebratory fireworks from me. It seems to work. For ubuntu the only difference is [Service] ExecStartPre=/usr/share/gdm/generate-config becomes [Service] ExecStartPre=/usr/bin/xinit /usr/share/gdm/generate-config I have a proper ubuntu gnome session running with gdm, an external monitor

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-12-12 Thread Tim Richardson
ubuntu user Hon Weng Chong has emailed me as he continues to investigate the problem. He believes he has proof that it is is GDM configuration issue and has provided the following fix Hey Tim, I figured out a hack solution to the GDM prime issue. If you replace

[Bug 1716857] Re: gdm3, hybrid nvidia with modeset=1, no external monitors detected

2017-09-13 Thread Daniel van Vugt
** Tags added: nvidia -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1716857 Title: gdm3, hybrid nvidia with modeset=1, no external monitors detected To manage notifications