[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-17 Thread Rocko
The bug isn't in X server, but is related to EGL graphics drivers being
installed incorrectly by ubiquity.

** Package changed: xorg-server (Ubuntu) => ubiquity (Ubuntu)

** Summary changed:

- wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid 
graphics system
+ libglvnd0/libegl installed in Ubuntu 18.04 breaks graphics drivers and forces 
LLVMpipe driver on i915 systems

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

Title:
  libglvnd0/libegl installed in Ubuntu 18.04 breaks graphics drivers and
  forces LLVMpipe driver on i915 systems

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-17 Thread Rocko
FWIW, removing libglvnd0 fixed the problem (libegl1 does depend on it,
but it isn't installed in artful either - libegl1-mesa is).

So the bug is actually:

a) the upgrade from artful to bionic installed libglvnd0 and libegl1
when they aren't needed;

b) having libglvnd0/libegl1 installed breaks EGL on Intel-graphics
systems.

** Description changed:

+ This bug is in ubiquity and in libglvnd0/libegl1:
+ 
+ a) Upgrading from artful to bionic installs libglvnd0 and libegl1 when
+ they aren't needed;
+ 
+ b) having libglvnd0/libegl1 installed breaks EGL on Intel-graphics
+ systems so you get llvmpipe as the video driver. This means you can't
+ choose Wayland for gnome-shell, but instead are forced into X with
+ software rendering.
+ 
+ 
+ Original 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)

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

Title:
  libglvnd0/libegl installed in Ubuntu 18.04 breaks graphics drivers and
  forces LLVMpipe driver on i915 systems

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-15 Thread Timo Aaltonen
in any case, this is not a bug but something messed up in your
installation

** Changed in: xorg-server (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu-X,
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

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-15 Thread Timo Aaltonen
the archive version of libegl1 does _not_ depend on libglvnd0, so I
don't know where you got it from..

bionic will migrate to it once nvidia is ready, maybe in january

-- 
You received this bug notification because you are a member of Ubuntu-X,
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

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-14 Thread Rocko
One difference between artful and bionic is that bionic has libglvnd0
installed (and libegl1 depends on it, so I can't really remove it).
Artful doesn't have it installed. I read in one bug report (for Arch or
Fedora? I can't find it now) with similar symptoms (ie no wayland
session) that libglvnd was causing problems. Could this issue be related
to libglvnd0?

-- 
You received this bug notification because you are a member of Ubuntu-X,
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

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-14 Thread Daniel van Vugt
Yes definitely try blacklisting nouveau.

The GTX 1050 is relatively new. In my experience the GTX 1060 (slightly
older) only started working recently and the GTX 960 still doesn't work
with nouveau at last check.

Although when I say "working" I mean the machine boots without hanging
and doesn't fall back to the LLVMpipe driver (which my GTX 1060 did for
quite a while).

-- 
You received this bug notification because you are a member of Ubuntu-X,
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

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-14 Thread Rocko
I tried purging nvidia and bumblebee and reinstalling all the libs that
I could find related to GL, eGL, and mesa, but gdm3 still starts using
llvmpipe and the VMWare driver.

-- 
You received this bug notification because you are a member of Ubuntu-X,
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

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-14 Thread Rocko
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 Ubuntu-X,
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

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1733136] Re: wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid graphics system

2017-12-14 Thread Daniel van Vugt
P.P.S If you don't care for the Nvidia GPU and just want something that
works reliably, you might be able to disable the discrete GPU properly
in your BIOS. Just use integrated graphics. Then Linux will never see it
at all and there shouldn't be as much confusion.

** Summary changed:

- wayland session in Ubuntu 18.04 chooses vmware driver on intel hardware
+ wayland session in Ubuntu 18.04 chooses LLVMpipe software driver on hybrid 
graphics system

-- 
You received this bug notification because you are a member of Ubuntu-X,
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

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

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp