And I only saw your feedback after I put my last comment in... :O

The lspci -k command run from artful shows this:

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev 
ff)
        Kernel modules: nvidiafb, nouveau, nvidia_387_drm, nvidia_387

I've got all those blacklisted though in /etc/modprobe.d/, and
"lsmod|grep nvidia" and lsmod|grep nouveau" both return an empty string.
(The configuration is pretty much the same in bionic as in artful.)

I can't disable the discrete GPU in my BIOS, btw. bumblebee works fine
in artful, though, turning off and hiding the nvidia card from gnome-
shell, and primus runs an X session using the nvidia card quite happily
from within gnome-shell, both under Wayland and X.

I guess I should go back to bionic and blacklist nouveau as well as re-
remove the nvidia driver and try again? Perhaps nouveau was being loaded
when I tried last time.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1733136

Title:
  wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on
  hybrid graphics system

Status in xorg-server package in Ubuntu:
  Incomplete

Bug description:
  I upgraded to 18.04 and I no longer get an option to run a wayland
  session (17.10 offered both the default ubuntu wayland session and
  xorg on this laptop).

  gnome-shell runs under the llvmpipe driver. (Unity used to run when I
  first upgraded, but now gnome-shell is the only option because the gdm
  login screen offers no login options.)

  The upgrade did force me to remove bumblebee and nvidia, but
  afterwards I manually reinstalled bumblebee and nvidia-387 and reset
  to using intel via prime-select (installing nvidia changes some of the
  symlinks so that gnome-shell no longer boots, but "sudo prime-select
  intel" fixes this).

  The nvidia-387 modules are blacklisted in /etc/modprobe.d, and
  bumblebee isn't reporting any errors - bbswitch reports that the
  nvidia card is off, so I don't think it's an issue with hybrid
  graphics. (primusrun does work, as well.)

  Attached are the mutter logs that I generated via the environment
  variables mentioned in
  https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1724583 comment
  #20. I suspect that the culprit is hinted at in this message:

  Window manager warning: Failed to create renderer: Failed to initialize 
renderer: Missing extensio
  n for GBM renderer: EGL_KHR_platform_gbm, Missing EGL extensions required for 
EGLDevice renderer:
  EGL_EXT_device_base

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gnome-shell 3.26.2-0ubuntu1
  Uname: Linux 4.14.0-041400-generic x86_64
  ApportVersion: 2.20.8-0ubuntu1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Nov 19 10:28:10 2017
  DisplayManager: gdm3
  InstallationDate: Installed on 2017-08-16 (94 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  JournalErrors:
   Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Hint: You are currently not seeing messages from other 
users and the system.
         Users in the 'systemd-journal' group can see all messages. Pass -q to
         turn off this notice.
   No journal files were opened due to insufficient permissions.
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to bionic on 2017-11-17 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1733136/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to