nvidia-settings does not work when i install proprietary driver and reboot

Bug #1791951 reported by Alonso Montenegro on 2018-09-11
This bug report is a duplicate of:  Bug #1719945: Silently fails in Wayland session. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-settings (Ubuntu)
Undecided
Unassigned

Bug Description

- What I expected to happen:
Open nvidia-settings and switch between Intel and Nvidia graphic cards.

- What happened instead:

Steps (case 1):
1. Install propetary driver.
2. Reboot and select Wayland session.
3. Open nvidia-settings --> "ERROR: Unable to find display on any available system"

Steps (case 2)
1. sudo prime-select intel.
2. Reboot and select Wayland session.
3. Open nvidia-settings --> "ERROR: Unable to find display on any available system"

Steps (case 3)
1. sudo prime-select nvidia.
2. Reboot and select X11 session.
3. Open nvidia-settings. --> Not ERROR.

In my second test, this step generate an error:
"ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system"

Steps (Case 4)
1. sudo prime-select intel.
2. Reboot and select X11 session.
3. Open nvidia-settings --> "ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system"

Notes:
- The command: sudo prime-select nvidia[intel] always work
- Secure boot is disabled

SYSTEM INFORMATION:

Description: Ubuntu 18.04.1 LTS
Release: 18.04

nvidia-settings:
  Installed: 396.54-0ubuntu0~gpu18.04.1
  Candidate: 396.54-0ubuntu0~gpu18.04.1
  Version table:
 *** 396.54-0ubuntu0~gpu18.04.1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     390.42-0ubuntu1 500
        500 http://co.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

lspci -v -s 02:00
02:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
 Subsystem: Lenovo GP108M [GeForce MX150]
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
 Memory at 70000000 (64-bit, prefetchable) [size=256M]
 Memory at 80000000 (64-bit, prefetchable) [size=32M]
 I/O ports at d000 [size=128]
 Capabilities: <access denied>
 Kernel driver in use: nvidia
 Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

{
  "Version": "18.04",
  "OEM": {
    "Vendor": "LENOVO",
  },
  "BIOS": {
    "Vendor": "LENOVO",
  },
  "CPU": {
    "OpMode": "32-bit, 64-bit",
    "CPUs": "8",
    "Threads": "2",
    "Cores": "4",
    "Sockets": "1",
    "Vendor": "GenuineIntel",
    "Family": "6",
    "Model": "142",
    "Stepping": "10",
    "Name": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
    "Virtualization": "VT-x"
  },
  "Arch": "amd64",
  "GPU": [
    {
      "Vendor": "8086",
      "Model": "5917"
    }
  ],
  "RAM": 7.9,
  "Disks": [
    0
  ],
  "Partitions": [
    28.4,
    0.3,
    210.4
  ],
  "Screens": [
    {
      "Size": "340mmx190mm",
      "Resolution": "1368x768",
      "Frequency": "59.71"
    }
  ],
  "Autologin": false,
  "LivePatch": false,
  "Session": {
    "DE": "ubuntu:GNOME",
    "Name": "ubuntu-wayland",
    "Type": "wayland"
  },
  "Language": "en_US",
  "Timezone": "America/Bogota",
  "Install": {
    "Media": "Ubuntu 18.04.1 LTS \"Bionic Beaver\" - Release amd64 (20180725)",
    "Type": "GTK",
    "OEM": false,
    "PartitionMethod": "manual",
    "DownloadUpdates": true,
    "Language": "en",
    "Minimal": true,
    "RestrictedAddons": true,
    "Stages": {
      "0": "language",
      "4": "console_setup",
      "18": "console_setup",
      "21": "wireless",
      "86": "prepare",
      "205": "partman",
      "250": "partman",
      "251": "partman",
      "252": "partman",
      "267": "partman",
      "281": "partman",
      "297": "partman",
      "300": "start_install",
      "314": "timezone",
      "333": "usersetup",
      "343": "user_done",
      "800": "done"
    }
  }
}

 Driver version: 396.54

affects: nvidia-graphics-drivers-340 (Ubuntu) → nvidia-settings (Ubuntu)
description: updated
description: updated
description: updated
tags: added: wayl
tags: added: nvidia-settings wayland
removed: wayl
description: updated
description: updated
description: updated
summary: - nvidia-settings does not work when i install propetary driver and reboot
+ nvidia-settings does not work when i install proprietary driver and
+ reboot
description: updated
description: updated
description: updated
description: updated
Changed in nvidia-settings (Ubuntu):
status: New → Confirmed
tags: added: nvidia xorg
removed: nvidia-settings
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers