No nvidia driver support in a wayland session

Bug #1753127 reported by Doug McMahon on 2018-03-03
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Medium
Unassigned

Bug Description

Why not?
If I log into X11 then the nvidia drivers are used, if I log into wayland then it reverts to Intel.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nvidia-driver-390 390.25-0ubuntu4
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Mar 3 11:29:53 2018
InstallationDate: Installed on 2018-03-03 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180301)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nvidia-graphics-drivers-390
UpgradeStatus: No upgrade log present (probably fresh install)

Doug McMahon (mc3man) wrote :
Daniel van Vugt (vanvugt) wrote :

I think this is correct. Nvidia disables KMS support by default, which means no wayland support.

It is documented (with a workaround) here:
http://us.download.nvidia.com/XFree86/Linux-x86_64/390.25/README/kms.html

Changed in nvidia-graphics-drivers-390 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged

On 03/06/2018 11:37 PM, Daniel van Vugt wrote:
> I think this is correct. Nvidia disables KMS support by default, which
> means no wayland support.
>
> It is documented (with a workaround) here:
> http://us.download.nvidia.com/XFree86/Linux-x86_64/390.25/README/kms.html
>
> ** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
> Importance: Undecided => Medium
>
> ** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
> Status: New => Triaged
>
Correct but now in 18.04 KMS can no longer be set in the combo of
Ubuntu's 4.15 kernel & nvidia drivers.
See here
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1752739

This prevents use of nvidia on wayland & per bug prevents prime sync in
an X11 sessions, both of which are going to be a bit of a disappointment
for many 18.04 users.

Alberto Milone (albertomilone) wrote :

@Doug: if you're using a hybrid system, then I think Wayland will use your Intel card, but you should still be able to use the discrete GPU for some applications (at least in the next GNOME release).

And I am working on LP: #1752739

Doug McMahon (mc3man) wrote :

What was quite 'odd' is the day I filed this was a fresh install, updated, then installed nvidia-drivers (390.x), rebooted
For about 2 days it was as described, log into xserver got nvidia, log into wayland got intel.
Then, for no apparent reason on boot up the option to log into wayland disappeared. The only way to get it back was to remove the bulk of the nvidia driver packages.

Recent fresh installs now act as the later, with nvidia drivers installed there is no option for wayland.
Is it expected that a wayland option should always be available or is it 'blacklisted' in some fashion in the presence of nvidia drivers?

Battant (mparchet) wrote :

Hello,
The GUI (graphicc user interface)!dose not start If i have no internet connection (offline )
An other personé (novice on ubuntu ) has upgrade Ubuntu 16.04 to Ubuntu 18.04 Have the same probkeme
The internet must connect at start (Ethernet or WiFi)
Same problem whith the live dvd ?
Why this internet connection deprndence
Why the GUI coud’nt Start ofline
Could you confirme this and help me to fix this issue
Thanks for your supporters
Best regards

Battant

Battant (mparchet) wrote :

 Hello ,

 I can’t login to my use your profile same result with command line “incorrect login” whith the correct username and password

I can’t use my computer except with a live DVD

Could you help me please to fix this issus

Best regards

Battant

Battant (mparchet) wrote :

This bug also affect kernel 4.16 and kernel 4.17

Battant (mparchet) wrote :

Hello,

I have reinstall a fresh Ubuntu 18.04 but I can’t always open any user session

Best regards

Battant

tags: added: cosmic
Alberto Milone (albertomilone) wrote :

@Battan: the problem you reported does not seem to be the same as the one in this bug report. Please file a separate bug report for that.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers