Does this bug related to this? bug #1697882....
Because I disabled 95_hide_x11_sessions_with_nvidia_kms.patch and
everything started working well.
On non-nvidia machine, non-hybrid machine, when I try live iso,
a) Ubuntu logs into wayland
b) Ubuntu-on-xorg logs into xorg as expected.
I don't like the check that patch implements. It manually checks for
modules in "/proc/modules"
is_module_loaded (const char *module) {
.....
.....
const char *modules_file = "/proc/modules";
file = fopen (modules_file, "r");
if (!file) {
g_debug ("Failed to parse %s\n", modules_file);
return status;
}
And my guess is for some reason it fails to detect intel for hybrid machine at
/* Let's leave hybrid graphics alone */
if (is_module_loaded ("i915")) {
g_debug ("is_nvidia_kms_available: Intel detected, doing nothing.\n");
goto end;
}
But then it could be just me. Does disabling the above patch solve the problem?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705157
Title:
"Ubuntu" and "Ubuntu on Xorg" randomly start the same session (maybe
Wayland maybe Xorg)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/1705157/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs