Borked my system trying to add nvidia hdmi output (optimus hybrid stuff)

Would love it if someone could try to help me. I’ve got a live usb, internet, and additional laptop already at hand.

Long story short, I’ve been using the Intel graphics because nvidia can be so fiddly to get right. Recently got an external display and wanted to set up the hybrid graphic card setup so I could use the hdmi connection. That ended up booting to a black screen. Through the text prompt I managed to do stuff and hoping that I did not do too much bad stuff.

Please post your system info as outlined here:

Please also see:

[manjaro-gnome /]# inxi -v7azy
System:
  Kernel 6.1.30-1-MANJARO arch x86_64 bits 64 compiler gcc v .2.1
    parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=manjaro misolabel=MANJARO_GNOME_2213 quiet
    systemd.show_status=1 splash driver=nonfree nouveau.modeset=0
    i915.modeset=1 radeon.modeset=1
  Desktop GNOME v 44.1 tk GTK v 3.24.37 wm gnome-shell dm N/A
    Distro Manjaro Linux base Arch Linux
Machine:
  Type Laptop System ASUSTeK product N76VZ v 1.0 serial <filter>
  Mobo ASUSTeK model N76VZ v 1.0 serial <filter> UEFI American Megatrends
    v N76VZ.214 date 07/09/2013
Battery:
  ID-1 BAT0 charge N/A condition N/A volts N/A model N/A type Unknown
    serial N/A status not charging cycles -1
Memory:
  System RAM available 7.65 GiB used 3.46 GiB (45.3%)
  Array-1 capacity 32 GiB slots 4 EC None max-module-size 8 GiB note est.
  Device-1 ChannelA-DIMM0 type DDR3 detail synchronous size 4 GiB
    speed 1600 MT/s volts N/A width (bits) data 64 total 64
    manufacturer Hynix/Hyundai part-no HMT351S6CFR8C-PB serial <filter>
  Device-2 ChannelA-DIMM1 type no module installed
  Device-3 ChannelB-DIMM0 type DDR3 detail synchronous size 4 GiB
    speed 1600 MT/s volts N/A width (bits) data 64 total 64
    manufacturer Hynix/Hyundai part-no HMT351S6CFR8C-PB serial <filter>
  Device-4 ChannelB-DIMM1 type no module installed
CPU:
  Info model Intel Core i7-3610QM socket rPGA988B bits 64 type MT MCP
    arch Ivy Bridge gen core 3 level v2 built 20-15 process Intel 22nm family 6
    model-id 0x3A (58) stepping 9 microcode 0x21
  Topology cpus 1x cores 4 tpc 2 threads 8 smt enabled cache L1 256 KiB
    desc d-4x32 KiB; i-4x32 KiB L2 1024 KiB desc 4x256 KiB L3 6 MiB desc 1x6 MiB
  Speed (MHz) avg 1199 high 00 min/max 00/3300 base/boost 2300/3800
    scaling driver intel_cpufreq governor schedutil volts 11.7 V
    ext-clock 100 MHz cores 1 00 2 00 3 00 4 00 5 00 6 00 7 00
    8 1197 bogomips 36729
  Flags acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
    constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb
    ept erms est f16c flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs
    ida lahf_lm lm mca mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx
    pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts
    rdrand rdtscp rep_good sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid x2apic
    xsave xsaveopt xtopology xtpr
  Vulnerabilities
  Type itlb_multihit status KVM: VMX disabled
  Type l1tf mitigation PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type mds mitigation Clear CPU buffers; SMT vulnerable
  Type meltdown mitigation PTI
  Type mmio_stale_data status Unknown: No mitigations
  Type retbleed status Not affected
  Type spec_store_bypass mitigation Speculative Store Bypass disabled via
    prctl
  Type spectre_v1 mitigation usercopy/swapgs barriers and __user pointer
    sanitization
  Type spectre_v2 mitigation Retpolines, IBPB: conditional, IBRS_FW, STIBP:
    conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type srbds status Vulnerable: No microcode
  Type tsx_async_abort status Not affected
Graphics:
  Device-1 Intel 3rd Gen Core processor Graphics vendor ASUSTeK N56VZ
    driver i915 v kernel arch Gen-7 process Intel 22nm built 20-13 ports
    active LVDS-1 empty VGA-1 bus-ID 00:02.0 chip-ID 8086:0166 class-ID 0300
  Device-2 NVIDIA GK107M [GeForce GT 650M] vendor ASUSTeK N56VZ driver N/A
    non-free series 470.xx+ status legacy-active (EOL~2023/24) arch Kepler
    code GKxxx process TSMC 28nm built 20-18 pcie speed Unknown lanes 63
    link-max gen 6 speed 64 GT/s bus-ID 01:00.0 chip-ID 10de:0fd1 class-ID 0300
  Display server X.org v 1.21.1.8 with Xwayland v 23.1.1
    compositor gnome-shell driver X loaded N/A alternate nvidia gpu i915
    display-ID :0
  Monitor-1 LVDS-1 model Chi Mei Opto 0x1720 built 2011 res 1920x1080 dpi 8
    gamma 1.2 size 382x215mm (15.04x8.46") diag 438mm (17.3") ratio 16:9
    modes 1920x1080
  API OpenGL Message GL data unavailable for root.
Audio:
  Device-1 Intel 7 Series/C216 Family High Definition Audio vendor ASUSTeK 7
    driver snd_hda_intel v kernel bus-ID 00:1b.0 chip-ID 8086:1e20 class-ID 0403
  Device-2 NVIDIA GK107 HDMI Audio driver snd_hda_intel v kernel pcie
    speed Unknown lanes 63 link-max gen 6 speed 64 GT/s bus-ID 01:00.1
    chip-ID 10de:0e1b class-ID 0403
  Device-3 RELOOP Terminal Mix 2 driver snd-usb-audio type USB rev 1.1
    speed  Mb/s lanes 1 mode 1.1 bus-ID 3-2:2 chip-ID 26ad:629c class-ID 0103
    serial <filter>
  API ALSA v k6.1.30-1-MANJARO status kernel-api with aoss type oss-emulator
    tools alsactl,alsamixer,amixer
  Server-1 PipeWire v 0.3.70 status n/a (root, process) with 1 pipewire-pulse
    status off 2 pipewire-media-session status off 3 pipewire-alsa type plugin
    4 pw-jack type plugin tools pactl,pw-cat,pw-cli
Network:
  Device-1 Qualcomm Atheros AR9485 Wireless Network Adapter vendor AzureWave
    driver ath9k v kernel pcie gen 1 speed 2.5 GT/s lanes 1 bus-ID 03:00.0
    chip-ID 168c:0032 class-ID 0280
  IF wlp3s0 state up mac <filter>
  IP v4 <filter> type dynamic noprefixroute scope global broadcast <filter>
  IP v6 <filter> type dynamic noprefixroute scope global
  IP v6 <filter> type noprefixroute scope link
  Device-2 Qualcomm Atheros AR8161 Gigabit Ethernet vendor ASUSTeK N56VZ
    driver alx v kernel pcie gen 1 speed 2.5 GT/s lanes 1 port d000
    bus-ID 04:00.0 chip-ID 1969:1091 class-ID 0200
  IF enp4s0 state down mac <filter>
  WAN IP <filter>
Bluetooth:
  Device-1 IMC Networks Atheros AR30 Bluetooth 4.0 Adapter driver btusb v 0.8
    type USB rev 1.1 speed  Mb/s lanes 1 mode 1.1 bus-ID 1-1.1:4
    chip-ID 13d3:3362 class-ID e001 serial <filter>
  Report rfkill ID hci0 rfk-id 1 state up address see --recommends
Logical:
  Message No logical block device data found.
RAID:
  Message No RAID data found.
Drives:
  Local Storage total 2.05 TiB used 107.26 GiB (5.1%)
  SMART Message Required tool smartctl not installed. Check --recommends
  ID-1 /dev/sda maj-min 8:0 vendor Crucial model CT250MX500SSD1
    size 232.89 GiB block-size physical 4096 B logical 5 B speed 6.0 Gb/s
    tech SSD serial <filter> fw-rev 043
  ID-2 /dev/sdb maj-min 8:16 vendor Western Digital model WD20SPZX-08UA7
    size 1.82 TiB block-size physical 4096 B logical 5 B speed 6.0 Gb/s
    tech N/A serial <filter> fw-rev 1A02
  ID-3 /dev/sdc maj-min 8:32 model N/A size 3.73 GiB block-size
    physical 5 B logical 5 B type USB rev 2.0 spd 480 Mb/s lanes 1 mode 2.0
    tech N/A serial <filter> fw-rev 2.00
  Optical-1 /dev/sr0 vendor Slimtype model BD E DS6E2SH rev CAA2
    dev-links cdrom
  Features speed 24 multisession yes audio yes dvd yes
    rw cd-r,cd-rw,dvd-r,dvd-ram state running
Partition:
  ID-1 / raw-size 232.59 GiB size 227.88 GiB (97.98%) used 107.26 GiB (47.1%)
    fs ext4 block-size 4096 B dev /dev/sda2 maj-min 8:2 label N/A
    uuid b0bbf5da-a013-40fc-9cf8-55b8576b3d5b
  ID-2 /boot/efi raw-size 300 MiB size 299.4 MiB (99.80%) used 288 KiB (0.1%)
    fs vfat block-size 5 B dev /dev/sda1 maj-min 8:1 label NO_LABEL
    uuid 0D68-9C3E
Swap:
  Alert No swap data was found.
Unmounted:
  ID-1 /dev/sdc1 maj-min 8:33 size 3.45 GiB fs N/A label MANJARO_GNOME_2213
    uuid 2023-05-29-09-36-46-00
  ID-2 /dev/sdc2 maj-min 8:34 size 4 MiB fs N/A label MISO_EFI uuid D0A3-C7FC
USB:
  Hub-1 1-0:1 info full speed or root hub ports 2 rev 2.0
    speed 480 Mb/s (57.2 MiB/s) lanes 1 mode 2.0 chip-ID 1d6b:0002 class-ID 0900
  Hub-2 1-1:2 info Intel Integrated Rate Matching Hub ports 6 rev 2.0
    speed 480 Mb/s (57.2 MiB/s) lanes 1 mode 2.0 chip-ID 8087:0024 class-ID 0900
  Device-1 1-1.1:4 info IMC Networks Atheros AR30 Bluetooth 4.0 Adapter
    type bluetooth driver btusb interfaces 2 rev 1.1 speed  Mb/s (1.4 MiB/s)
    lanes 1 mode 1.1 power 100mA chip-ID 13d3:3362 class-ID e001
    serial <filter>
  Hub-3 2-0:1 info full speed or root hub ports 2 rev 2.0
    speed 480 Mb/s (57.2 MiB/s) lanes 1 mode 2.0 chip-ID 1d6b:0002 class-ID 0900
  Hub-4 2-1:2 info Intel Integrated Rate Matching Hub ports 6 rev 2.0
    speed 480 Mb/s (57.2 MiB/s) lanes 1 mode 2.0 chip-ID 8087:0024 class-ID 0900
  Hub-5 3-0:1 info hi-speed hub with single TT ports 4 rev 2.0
    speed 480 Mb/s (57.2 MiB/s) lanes 1 mode 2.0 chip-ID 1d6b:0002 class-ID 0900
  Device-1 3-1:4 info Logitech Mouse type mouse driver hid-generic,usbhid
    interfaces 1 rev 2.0 speed 1.5 Mb/s (183 KiB/s) lanes 1 mode 1.0 power 100mA
    chip-ID 046d:c077 class-ID 0301
  Device-2 3-2:2 info RELOOP Terminal Mix 2 type audio driver snd-usb-audio
    interfaces 4 rev 1.1 speed  Mb/s (1.4 MiB/s) lanes 1 mode 1.1 power 500mA
    chip-ID 26ad:629c class-ID 0103 serial <filter>
  Device-3 3-3:3 info USB Disk 2.0 type mass storage driver usb-storage
    interfaces 1 rev 2.0 speed 480 Mb/s (57.2 MiB/s) lanes 1 mode 2.0 power 100mA
    chip-ID ffff:5678 class-ID 0806 serial <filter>
  Hub-6 4-0:1 info super-speed hub ports 4 rev 3.0 speed 5 Gb/s (596.0 MiB/s)
    lanes 1 mode 3.2 gen-1x1 chip-ID 1d6b:0003 class-ID 0900
Sensors:
  System Temperatures cpu 52.0 C mobo N/A
  Fan Speeds (RPM) cpu 2100
Info:
  Processes 272 Uptime 1h 10m wakeups 1 Init systemd v 253 default graphical
  tool systemctl Compilers gcc 13.1.1 clang 15.0.7 Packages pm pacman pkgs 1846
  libs 441 tools gnome-software,pamac pm flatpak pkgs 0
  Client Unknown Client: systemd inxi 3.3.27

Moderator edit: Removed extraneous garbage

[manjaro-gnome /]# LANG=C lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         36 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  8
  On-line CPU(s) list:   0-7
Vendor ID:               GenuineIntel
  BIOS Vendor ID:        Intel(R) Corporation
  Model name:            Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
    BIOS Model name:     Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz Fill By OEM CPU @ 2.3GHz
    BIOS CPU family:     198
    CPU family:          6
    Model:               58
    Thread(s) per core:  2
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            9
    CPU(s) scaling MHz:  43%
    CPU max MHz:         3300.0000
    CPU min MHz:         1200.0000
    BogoMIPS:            4591.19
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
                          nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c
                          rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d
Virtualization features: 
  Virtualization:        VT-x
Caches (sum of all):     
  L1d:                   128 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    1 MiB (4 instances)
  L3:                    6 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-7
Vulnerabilities:         
  Itlb multihit:         KVM: Mitigation: VMX disabled
  L1tf:                  Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
  Mds:                   Mitigation; Clear CPU buffers; SMT vulnerable
  Meltdown:              Mitigation; PTI
  Mmio stale data:       Unknown: No mitigations
  Retbleed:              Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling, PBRSB-eIBRS Not affected
  Srbds:                 Vulnerable: No microcode
  Tsx async abort:       Not affected
[manjaro-gnome /]# mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
[manjaro-gnome /]# mhwd -l
> 0000:01:00.0 (0300:10de:0fd1) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2023.03.23               false            PCI
    video-nvidia-390xx            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Clears throat loudly

:point_down:

Please edit your replies accordingly. No one can read an unformatted wall of text.

1 Like
[manjaro-gnome /]# mhwd-kernel -li
Currently running: 6.1.30-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux515
   * linux61
[manjaro-gnome /]# lsb_release -sirc
ManjaroLinux 23.0.0 UltimaThule

There is no driver installed. What is the output of:

sudo mhwd -a pci nonfree 0300

Yes, I had removed it in an attempt to see if I could simply default back to the Intel graphic card

[manjaro-gnome /]# sudo mhwd -a pci nonfree 0300
> Using config 'video-hybrid-intel-nvidia-390xx-bumblebee' for device: 0000:01:00.0 (0300:10de:0fd1) Display controller nVidia Corporation GK107M [GeForce GT 650M]
> Using config 'video-hybrid-intel-nvidia-390xx-bumblebee' for device: 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation 3rd Gen Core processor Graphics Controller
> Installing video-hybrid-intel-nvidia-390xx-bumblebee...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-390xx-bumblebee/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: primus will be installed before its bumblebee dependency

Packages (15) egl-wayland-2:1.1.11-4  eglexternalplatform-1.1-2  libxvmc-1.0.13-2  primus-20151110-9  bumblebee-3.2.1-23  lib32-nvidia-390xx-utils-390.157-4  lib32-primus-20151110-5  libxnvctrl-390xx-390.157-4  linux515-bbswitch-0.8-137  linux515-nvidia-390xx-390.157-43  linux61-bbswitch-0.8-38  linux61-nvidia-390xx-390.157-38  nvidia-390xx-settings-390.157-4  nvidia-390xx-utils-390.157-6  xf86-video-intel-1:2.99.917+923+gb74b67f0-1

Total Installed Size:  229.94 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing primus...
installing eglexternalplatform...
installing egl-wayland...
installing nvidia-390xx-utils...
==> If you run into trouble with CUDA not being available, run nvidia-modprobe first.
Optional dependencies for nvidia-390xx-utils
    nvidia-settings=390.157: configuration tool [pending]
    xorg-server-devel: nvidia-xconfig
    opencl-nvidia=390.157: OpenCL support
installing bumblebee...
Don't forget to add yourself to the 'bumblebee' group to use Bumblebee
Optional dependencies for bumblebee
    bbswitch: switch on/off discrete card [pending]
    nvidia: NVIDIA kernel driver [pending]
    virtualgl: alternative back-end for optirun
    lib32-virtualgl: run 32bit applications with optirun
    lib32-primus: faster back-end for optirun [pending]
installing libxnvctrl-390xx...
installing nvidia-390xx-settings...
installing libxvmc...
installing xf86-video-intel...
>>> This driver now uses DRI3 as the default Direct Rendering
    Infrastructure. You can try falling back to DRI2 if you run
    into trouble. To do so, save a file with the following 
    content as /etc/X11/xorg.conf.d/20-intel.conf :
      Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "DRI" "2"             # DRI3 is now default 
        #Option      "AccelMethod"  "sna" # default
        #Option      "AccelMethod"  "uxa" # fallback
      EndSection
Optional dependencies for xf86-video-intel
    libxrandr: for intel-virtual-output [installed]
    libxinerama: for intel-virtual-output [installed]
    libxcursor: for intel-virtual-output [installed]
    libxtst: for intel-virtual-output [installed]
    libxss: for intel-virtual-output [installed]
installing lib32-nvidia-390xx-utils...
Optional dependencies for lib32-nvidia-390xx-utils
    lib32-opencl-nvidia
installing lib32-primus...
installing linux515-nvidia-390xx...
installing linux515-bbswitch...
installing linux61-nvidia-390xx...
installing linux61-bbswitch...
:: Running post-transaction hooks...
(1/6) Creating system user accounts...
(2/6) Reloading system manager configuration...
  Skipped: Running in chroot.
(3/6) Reloading device manager configuration...
  Skipped: Running in chroot.
(4/6) Arming ConditionNeedsUpdate...
(5/6) Updating module dependencies...
(6/6) Updating the desktop file MIME type cache...
bumblebee: install reason has been set to 'explicitly installed'
nvidia-390xx-utils: install reason has been set to 'explicitly installed'
nvidia-390xx-settings: install reason has been set to 'explicitly installed'
libxnvctrl-390xx: install reason has been set to 'explicitly installed'
xf86-video-intel: install reason has been set to 'explicitly installed'
lib32-primus: install reason has been set to 'explicitly installed'
lib32-nvidia-390xx-utils: install reason has been set to 'explicitly installed'
linux515-nvidia-390xx: install reason has been set to 'explicitly installed'
linux515-bbswitch: install reason has been set to 'explicitly installed'
linux61-nvidia-390xx: install reason has been set to 'explicitly installed'
linux61-bbswitch: install reason has been set to 'explicitly installed'
modprobe: FATAL: Module bbswitch not found in directory /lib/modules/6.1.30-1-MANJARO
xorg configuration file: '/etc/X11/mhwd.d/intel.conf'
Created symlink /etc/systemd/system/multi-user.target.wants/bumblebeed.service -> /usr/lib/systemd/system/bumblebeed.service.
Running in chroot, ignoring command 'start'
> Successfully installed video-hybrid-intel-nvidia-390xx-bumblebee

What stuff? Without knowing what you did, it’s going to be difficult to help.

You have a hybrid Intel + NVIDIA laptop. You need both drivers. That’s why MHWD chose the video-hybrid-intel-nvidia-390xx-bumblebee profile automatically.

However, since Bumblebee is long dead, I would honestly give up on the old proprietary drivers and install the reverse engineered open-source nouveau drivers instead:

sudo mhwd -a pci free 0300

The stuff was basically removing nvidia related packages.

While it would be great for both Intel and NVIDIA cards to work, I’d settle for just using the Intel card again

[manjaro-gnome /]# sudo mhwd -a pci free 0300
> Skipping already installed config 'video-linux' for device: 0000:01:00.0 (0300:10de:0fd1) Display controller nVidia Corporation GK107M [GeForce GT 650M]
> Skipping already installed config 'video-linux' for device: 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation 3rd Gen Core processor Graphics Controller

You installed everything. Nothing will work like that.

Remove them all:

sudo mhwd -r pci video-hybrid-intel-nvidia-390xx-bumblebee video-nvidia-390xx video-linux video-modesetting video-vesa

Immediately after, either install the proprietary driver:

or the open source driver:

Then reboot.

I rebooted before your last reply, and happily, the desktop came back, albeit with a 960x540 resolution.

Based on the errors, should I still reboot or do something else first?

    ~  sudo mhwd -r pci video-hybrid-intel-nvidia-390xx-bumblebee video-nvidia-390xx video-linux video-modesetting video-vesa
[sudo] password for xxxmanjaro: 
> Removing video-hybrid-intel-nvidia-390xx-bumblebee...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-hybrid-intel-nvidia-390xx-bumblebee/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Removed "/etc/systemd/system/multi-user.target.wants/bumblebeed.service".
checking dependencies...
:: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: ffmpeg4.4 optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: lib32-vulkan-icd-loader optionally requires lib32-vulkan-driver: packaged vulkan driver
:: steam optionally requires vulkan-driver: packaged vulkan driver
:: steam optionally requires lib32-vulkan-driver: packaged vulkan driver (32 bit)
:: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
warning: dependency cycle detected:
warning: primus will be removed after its bumblebee dependency

Packages (15) egl-wayland-2:1.1.11-4  eglexternalplatform-1.1-2  libxvmc-1.0.13-2  primus-20151110-9  bumblebee-3.2.1-23  lib32-nvidia-390xx-utils-390.157-4  lib32-primus-20151110-5  libxnvctrl-390xx-390.157-4  linux515-bbswitch-0.8-137  linux515-nvidia-390xx-390.157-43  linux61-bbswitch-0.8-38  linux61-nvidia-390xx-390.157-38  nvidia-390xx-settings-390.157-4  nvidia-390xx-utils-390.157-6  xf86-video-intel-1:2.99.917+923+gb74b67f0-1

Total Removed Size:  229,94 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing linux61-bbswitch...
removing linux61-nvidia-390xx...
removing linux515-bbswitch...
removing linux515-nvidia-390xx...
removing lib32-primus...
removing lib32-nvidia-390xx-utils...
xorg configuration symlink valid...
removing xf86-video-intel...
removing libxvmc...
removing nvidia-390xx-settings...
removing libxnvctrl-390xx...
removing bumblebee...
warning: /etc/bumblebee/xorg.conf.nvidia saved as /etc/bumblebee/xorg.conf.nvidia.pacsave
warning: /etc/bumblebee/bumblebee.conf saved as /etc/bumblebee/bumblebee.conf.pacsave
removing nvidia-390xx-utils...
xorg configuration symlink valid...
removing egl-wayland...
removing eglexternalplatform...
removing primus...
:: Running post-transaction hooks...
(1/5) Reloading system manager configuration...
(2/5) Reloading device manager configuration...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Updating module dependencies...
(5/5) Updating the desktop file MIME type cache...
'/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
> Successfully removed video-hybrid-intel-nvidia-390xx-bumblebee
Error: config 'video-nvidia-390xx' is not installed!
    ~  sudo mhwd -a pci free 0300                             1 ✘  36s  
> Skipping already installed config 'video-linux' for device: 0000:01:00.0 (0300:10de:0fd1) Display controller nVidia Corporation GK107M [GeForce GT 650M]
> Skipping already installed config 'video-linux' for device: 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation 3rd Gen Core processor Graphics Controller

Yes, you can reboot. There are only warnings. You can ignore the error about video-nvidia-390xx. It couldn’t remove it because it wasn’t installed. However, some of the packages in the profile were installed and they were removed.

rebooting brought me back to a black screen again

Edit: booted back into the live usb using the open source drivers and as a lark, connected the external monitor to the hdmi output, and it works! so there is some hope

Then try the proprietary drivers instead.

So I have the proprietary drivers in use. Using xorg, the screen resolution is too small. Using wayland, it is normal. GDM did not show wayland/xorg options, so I installed both lightdm and sddm before the whole black screen debacle and am not sure which loads the login now. Both have some messed up gnome things going on: no dock, no window minimize buttons, missing panel system indicators, etc. And the second monitor fails to show a screen on either.

Should I create a new topic for that or is there more that can be done here?

Sounds like the driver issues are solved then?

Yes, in the GNOME section and link this topic for reference. Sounds like you’re missing packages.

Since the live usb using open source drivers was able to use the external display, not quite, but I’ll start a new thread for that. Thank you for your help!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.