An option for an MX150 GPU?

please use forum search function
search nvidia optimus

I've tried a few different solutions on the forum, including this one and the one I linked in my post. Neither have worked, unfortunately, and I have found no solutions related to my specific card that don't include using bumblebee.

well i had got optimus-manager working on mx110 card
what i did was install manjaro with non free drivers then after install
optimus-manager-qt from aur
then enable its service and disable bumblebee service

systemctl disable bumblebee
systemctl enable optimus-manager

then use the systemtray optimus-manager-qt to set optimus manager to start with nvidia

Yep that's what I did, with some extra steps from the linked guide. When I rebooted, it took a much longer time to start and I got lag on my desktop after a few minutes.

you had the right idea, theres some common points of failure with setting it up.

  • if xorg-xrandr package is not installed it wont work. for some reason lately it's not installed by default with the drivers and needs to be installed manually.
  • there are leftover configurations from other optimus setups like fumblebee and optimus-manager.
  • optimus-manager and fumblebee share some similar issues, they both use bbswitch and/or nouveau to handle gpu power management and both cause their own issues (black screen in your case) and need added kernel parameters to make them maybe work properly.

heres a short description of each option, i usually suggest prime or optimus-switch if you want the benefits of prime but also want the ability to switch to and from intel and nvidia modes to battery performance.

if you had optimus-manager installed, you need to run the --cleanup command to get rid of it's configurations. if your not sure, post these outputs.

inxi -Fxxxz
mhwd -li
ls -laR /etc/X11
ls -la /etc/modprobe.d/ ; cat /etc/modprobe.d/*.conf
ls -la /etc/modules-load.d/ ; cat /etc/modules-load.d/*.conf
1 Like

Thank you so much, I feel like I'm going crazy with this stuff. I did install optimus-manager with this guide but restored a backup when I got awful lag and boot times.

I think I'll try optimus-switch next, as per your suggestion.

The outputs you asked for:

$ inxi -Fxxxz
System:    Host: Asus-VivoBook-S Kernel: 4.19.60-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 
           Desktop: KDE Plasma 5.16.3 tk: Qt 5.13.0 info: latte-dock wm: kwin_x11 dm: SDDM 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: ASUSTeK product: X411UN v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: X411UN v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: X411UN.302 date: 11/29/2017 
Battery:   ID-1: BAT0 charge: 36.6 Wh condition: 36.6/42.1 Wh (87%) volts: 11.5/11.5 
           model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> status: Not charging 
           cycles: 134 
CPU:       Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake 
           rev: A L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31880 
           Speed: 700 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 
           5: 700 6: 701 7: 700 8: 700 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:5917 
           Device-2: NVIDIA GP108M [GeForce MX150] driver: N/A bus ID: 01:00.0 chip ID: 10de:1d10 
           Display: x11 server: X.Org 1.20.5 driver: intel unloaded: modesetting,nvidia 
           compositor: kwin_x11 resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 19.1.3 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71 
           Sound Server: ALSA v: k4.19.60-1-MANJARO 
Network:   Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: AzureWave 
           driver: r8822be v: kernel port: d000 bus ID: 02:00.0 chip ID: 10ec:b822 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    Local Storage: total: 715.41 GiB used: 116.25 GiB (16.2%) 
           ID-1: /dev/sda vendor: A-Data model: SU800 size: 476.94 GiB speed: 6.0 Gb/s 
           serial: <filter> rev: 2FS scheme: GPT 
           ID-2: /dev/sdb vendor: Micron model: 1100 MTFDDAV256TBN size: 238.47 GiB 
           speed: 6.0 Gb/s serial: <filter> rev: A020 scheme: GPT 
Partition: ID-1: / size: 459.50 GiB used: 116.25 GiB (25.3%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 8.80 GiB used: 2.8 MiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 34.5 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 211 Uptime: 1h 13m Memory: 7.67 GiB used: 1.67 GiB (21.7%) Init: systemd 
           v: 242 Compilers: gcc: 9.1.0 Shell: bash v: 5.0.7 running in: konsole inxi: 3.0.35
$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-bumblebee            2018.08.09               false            PCI


Warning: No installed USB configs!
$ ls -laR /etc/X11
/etc/X11:
total 52
drwxr-xr-x   5 root root  4096 Jun 23 11:16 .
drwxr-xr-x 103 root root 12288 Jul 31 11:25 ..
drwxr-xr-x   2 root root  4096 Jul 31 02:26 mhwd.d
drwxr-xr-x   3 root root  4096 Mar 12 05:40 xinit
-rw-r--r--   1 root root  1991 Jun 23 11:16 xorgbackup
-rw-r--r--   1 root root  1720 Jun 23 11:33 xorg.conf
-rw-r--r--   1 root root  1413 Jun 23 03:25 xorg.conf.backup
drwxr-xr-x   2 root root  4096 Jul 31 02:26 xorg.conf.d
-rw-r--r--   1 root root     0 Jun 23 00:00 xorg.conf.nvidia-xconfig-original

/etc/X11/mhwd.d:
total 16
drwxr-xr-x 2 root root 4096 Jul 31 02:26 .
drwxr-xr-x 5 root root 4096 Jun 23 11:16 ..
-rw-r--r-- 1 root root  581 Jul 31 02:26 intel.conf

/etc/X11/xinit:
total 28
drwxr-xr-x 3 root root 4096 Mar 12 05:40 .
drwxr-xr-x 5 root root 4096 Jun 23 11:16 ..
-rw-r--r-- 1 root root  739 Mar  4 13:31 xinitrc
drwxr-xr-x 2 root root 4096 Jul 25 08:26 xinitrc.d
-rw-r--r-- 1 root root   45 Mar  4 13:31 xserverrc

/etc/X11/xinit/xinitrc.d:
total 20
drwxr-xr-x 2 root root 4096 Jul 25 08:26 .
drwxr-xr-x 3 root root 4096 Mar 12 05:40 ..
-rwxr-xr-x 1 root root  318 Nov  9  2018 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root  203 Jul 21 01:38 50-systemd-user.sh

/etc/X11/xorg.conf.d:
total 16
drwxr-xr-x 2 root root 4096 Jul 31 02:26 .
drwxr-xr-x 5 root root 4096 Jun 23 11:16 ..
-rw-r--r-- 1 root root  266 Jun  8 13:10 00-keyboard.conf
lrwxrwxrwx 1 root root   26 Jul 31 02:26 90-mhwd.conf -> /etc/X11/mhwd.d/intel.conf
$ ls -la /etc/modprobe.d/ ; cat /etc/modprobe.d/*.conf
total 40
drwxr-xr-x   2 root root  4096 Jul 31 02:26 .
drwxr-xr-x 103 root root 12288 Jul 31 11:25 ..
-rw-r--r--   1 root root   105 Jul 31 02:26 mhwd-bbswitch.conf
-rw-r--r--   1 root root   194 Jul 31 02:26 mhwd-nvidia.conf
-rw-r--r--   1 root root    54 Jun 23 02:38 nvidia.conf
-rw-r--r--   1 root root     0 Jun 23 02:39 nvidia-drm.conf
-rw-r--r--   1 root root    23 Jun 11 16:22 r8822be.conf
-rw-r--r--   1 root root    23 Jun 11 13:33 r8822be.config
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
options bbswitch load_state=0 unload_state=0
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
blacklist nouveau
blacklist nvidia
blacklist nvidia-modeset
blacklist nvidia-uvm
blacklist ttm
blacklist drm_kms_helper
blacklist drm
blacklist nouveau
blacklist nvidiafb
blacklist rivafb
options r8822be aspm=0
$ ls -la /etc/modules-load.d/ ; cat /etc/modules-load.d/*.conf
total 32
drwxr-xr-x   2 root root  4096 Jul 25 08:27 .
drwxr-xr-x 103 root root 12288 Jul 31 11:25 ..
-rw-r--r--   1 root root    38 Jul 21 12:19 linux419-virtualbox-host-modules.conf
-rw-r--r--   1 root root    58 Jun 23 02:44 mhwd-gpu.conf
-rw-r--r--   1 root root    34 Sep 30  2018 modules.conf
vboxdrv
vboxnetadp
vboxnetflt
vboxpci
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
# List of modules to load at boot
1 Like

uninstall bumblebee, and install video-nvidia
after that, delete any/all of these files

/etc/X11/xorg.conf.d/90-mhwd.conf
/etc/modprobe.d/mhwd-*.conf
/etc/modprobe.d/nvidia.conf
/etc/modprobe.d/nvida-drm.conf
/etc/modules-load.d/mhwd-gpu.conf

and any other video related conf files in those directories, optimus-switch will remove most of those but it's better to make sure, at least before you reboot anyway. the files optimus-switch creates in each of those directories will be 99-nvidia.conf OR 99-intel.conf depending on the mode your using. anything else gpu related needs to be removed so it wont interfere

I followed your guide and removed those beforehand just to be safe.

optimus-switch seems to work well. The performance still leaves something to be desired - I get drops below 30fps on lowest settings in certain areas - but medium settings do rather fine from what I can see. Certainly better than bumblebee, and that was all I wanted.

Thank you for making this tool :slight_smile: You really saved my GPU from being useless.

As a side question: Games played perfectly out of the box when I used Ubuntu. What's the difference between Ubuntu and Manjaro in regards to how they handle graphics and drivers that makes such a difference?

Edit: Well crap. I get a black screen when I switch to Intel mode, but not when in Nvidia mode.

your welcome, glad it worked out.

there shouldnt be a difference, if anything i would expect better performance with manjaro than ubuntu. but first :point_down:

so you switched back to nvidia mode? if yes, then:

first set intel mode but dont reboot:
sudo set-intel.sh
then post:

mhwd -li
mhwd-kernel -li
ls -laR /etc/X11
ls -la /etc/modprobe.d/ ; cat /etc/modprobe.d/*.conf
ls -la /etc/modules-load.d/ ; cat /etc/modules-load.d/*.conf
pacman -Qs | grep -Ei 'nvidia|xrandr|acpi|xf86-video|-headers|bbswitch|nouveau|optimus'

My GUI is also very small but that seems to be a common problem so it isn't a priority. I can find a fix after this is dealt with.

This is after running sudo set-intel.sh

$ mwhd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2018.08.09               false            PCI


Warning: No installed USB configs!
$ ls -laR /etc/X11
total 52
drwxr-xr-x   5 root root  4096 Jun 23 11:16 .
drwxr-xr-x 105 root root 12288 Jul 31 13:48 ..
drwxr-xr-x   2 root root  4096 Jul 31 13:07 mhwd.d
drwxr-xr-x   3 root root  4096 Mar 12 05:40 xinit
-rw-r--r--   1 root root  1991 Jun 23 11:16 xorgbackup
-rw-r--r--   1 root root  1720 Jun 23 11:33 xorg.conf
-rw-r--r--   1 root root  1413 Jun 23 03:25 xorg.conf.backup
drwxr-xr-x   2 root root  4096 Jul 31 13:59 xorg.conf.d
-rw-r--r--   1 root root     0 Jun 23 00:00 xorg.conf.nvidia-xconfig-original

/etc/X11/mhwd.d:
total 12
drwxr-xr-x 2 root root 4096 Jul 31 13:07 .
drwxr-xr-x 5 root root 4096 Jun 23 11:16 ..

/etc/X11/xinit:
total 28
drwxr-xr-x 3 root root 4096 Mar 12 05:40 .
drwxr-xr-x 5 root root 4096 Jun 23 11:16 ..
-rw-r--r-- 1 root root  739 Mar  4 13:31 xinitrc
drwxr-xr-x 2 root root 4096 Jul 25 08:26 xinitrc.d
-rw-r--r-- 1 root root   45 Mar  4 13:31 xserverrc

/etc/X11/xinit/xinitrc.d:
total 20
drwxr-xr-x 2 root root 4096 Jul 25 08:26 .
drwxr-xr-x 3 root root 4096 Mar 12 05:40 ..
-rwxr-xr-x 1 root root  318 Nov  9  2018 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root  203 Jul 21 01:38 50-systemd-user.sh

/etc/X11/xorg.conf.d:
total 20
drwxr-xr-x 2 root root 4096 Jul 31 13:59 .
drwxr-xr-x 5 root root 4096 Jun 23 11:16 ..
-rw-r--r-- 1 root root  266 Jun  8 13:10 00-keyboard.conf
-rw-r--r-- 1 root root  672 Jul 31 13:59 99-intel.conf
$ ls -la /etc/modprobe.d/ ; cat /etc/modprobe.d/*.conf
total 32
drwxr-xr-x   2 root root  4096 Jul 31 13:59 .
drwxr-xr-x 105 root root 12288 Jul 31 13:48 ..
-rw-r--r--   1 root root   558 Jul 31 13:59 99-intel.conf
-rw-r--r--   1 root root    23 Jun 11 16:22 r8822be.conf
-rw-r--r--   1 root root    23 Jun 11 13:33 r8822be.config
#blacklists all nouveau/nvidia modules
#so they are not loaded.

blacklist nouveau
blacklist ttm
install nvidia /bin/false
install nvidia-modeset /bin/false
install nvidia-drm /bin/false
install nvidia-uvm /bin/false

#######################################
#this following section can be removed#
#if you plan to use the modesetting   #
#driver intead of the intel driver    #
#######################################

#stops display from "blinking" or "flashing"
#during boot when using the intel driver.

options i915 enable_fbc=1
options i915 fastboot=1

options r8822be aspm=0
$ ls -la /etc/modules-load.d/ ; cat /etc/modules-load.d/*.conf
total 28
drwxr-xr-x   2 root root  4096 Jul 31 13:59 .
drwxr-xr-x 105 root root 12288 Jul 31 13:48 ..
-rw-r--r--   1 root root    38 Jul 21 12:19 linux419-virtualbox-host-modules.conf
-rw-r--r--   1 root root    34 Sep 30  2018 modules.conf
vboxdrv
vboxnetadp
vboxnetflt
vboxpci
# List of modules to load at boot

i added these 2 afterwards, please post

Whoops, sorry, here you go:

$ pacman -Qs | grep -Ei 'nvidia|xrandr|acpi|xf86-video|-headers|bbswitch|nouveau|optimus'
local/acpi 1.7-2
local/acpi_call-dkms 1.1.0-232
    A linux kernel module that enables calls to ACPI methods through /proc/acpi/call
local/acpid 2.0.31-1
    A daemon for delivering ACPI power management events with netlink support
    Nvidia VDPAU library
local/lib32-libxrandr 1.5.2-1
local/lib32-nvidia-utils 1:430.26-1
    NVIDIA drivers utilities (32-bit)
    Nvidia VDPAU library
local/libxrandr 1.5.2-1
local/linux-api-headers 5.1-1
local/linux419-headers 4.19.60-1
local/linux419-nvidia 1:430.26-10 (linux419-extramodules)
    NVIDIA drivers for linux.
local/mhwd-nvidia 1:430.26-1
    MHWD module-ids for nvidia 430.26
local/mhwd-nvidia-340xx 340.107-1
    MHWD module-ids for nvidia 340.107
local/mhwd-nvidia-390xx 390.116-1
    MHWD module-ids for nvidia 390.116
local/nvidia-utils 1:430.26-1
    NVIDIA drivers utilities
local/xf86-video-intel 1:2.99.917+865+g60022507-1 (xorg-drivers)
local/xf86-video-vesa 2.4.0-2 (xorg-drivers xorg)
local/xorg-xrandr 1.5.0-2 (xorg-apps xorg)
$ mhwd-kernel -li
Currently running: 4.19.60-1-MANJARO (linux419)
The following kernels are installed in your system:
   * linux419

uninstall vesa

sudo pacman -R xf86-video-vesa

also, did optimus-manager have you install any "special" packages that you may still have remaining?

you can also install a second kernel, keeping 2 installed is good in case of any issues with a kernel update that may cause some sort of issue the other kernel may not have. i keep 4.19 installed since it's the LTS kernel, along with the latest kernel available which on testing branch is now 5.3 .

install 5.2 or 5.3. you can select which kernel to boot with from the grub menu during boot. if the grub menu doesnt come up during boot, tapping shift or esc repeatedly should make it come up.
sudo mhwd-kernel -i linux53

if you end up at a black screen again, get to a TTY and run this before setting nvidia mode

cat /var/log/Xorg.0.log | grep -E "(EE)|(WW)|error|failed|Time" > paste.log
journalctl -b0 -p3 >> paste.log

once your back to a desktop, post the contents of paste.log
cat paste.log

Uninstalled Vesa, installed 5.3 and rebooted.

The startup, where usually it would show nothing and only a black screen, now showed the startup processes and hung here:
20190731_143715
with a message further up:
20190731_143818

Output of the log:

$ cat paste.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     7.308] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 31 14:32:05 2019
[     7.309] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     7.309] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     7.309] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     7.309] (WW) Disabling Keyboard0
[     7.309] (WW) Disabling Mouse0
[     7.335] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     7.343] (WW) Falling back to old probe method for modesetting
[     7.343] (WW) Falling back to old probe method for modesetting
[     7.346] (EE) No devices detected.
[     7.346] (EE) 
Fatal server error:
[     7.346] (EE) no screens found(EE) 
[     7.346] (EE) 
[     7.346] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     7.346] (EE) 
[     7.408] (EE) Server terminated with error (1). Closing log file.
-- Logs begin at Sat 2019-06-08 13:13:38 EDT, end at Wed 2019-07-31 14:40:33 EDT. --
Jul 31 14:32:00 Asus-VivoBook-S systemd-modules-load[292]: Failed to find module 'vboxdrv'
Jul 31 14:32:00 Asus-VivoBook-S systemd-modules-load[292]: Failed to find module 'vboxnetadp'
Jul 31 14:32:00 Asus-VivoBook-S systemd-modules-load[292]: Failed to find module 'vboxnetflt'
Jul 31 14:32:00 Asus-VivoBook-S systemd-modules-load[292]: Failed to find module 'vboxpci'
Jul 31 14:32:01 Asus-VivoBook-S systemd-udevd[323]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
Jul 31 14:32:01 Asus-VivoBook-S systemd-udevd[320]: Error running install command for nvidia
Jul 31 14:32:01 Asus-VivoBook-S systemd-udevd[320]: Error running install command for nvidia
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[634]: Failed to find module 'vboxdrv'
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[634]: Failed to find module 'vboxnetadp'
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[634]: Failed to find module 'vboxnetflt'
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[634]: Failed to find module 'vboxpci'
Jul 31 14:32:01 Asus-VivoBook-S systemd[1]: Failed to start Load Kernel Modules.
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[667]: Failed to find module 'vboxdrv'
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[667]: Failed to find module 'vboxnetadp'
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[667]: Failed to find module 'vboxnetflt'
Jul 31 14:32:01 Asus-VivoBook-S systemd-modules-load[667]: Failed to find module 'vboxpci'
Jul 31 14:32:01 Asus-VivoBook-S systemd[1]: Failed to start Load Kernel Modules.
Jul 31 14:32:03 Asus-VivoBook-S sddm[798]: Failed to read display number from pipe
Jul 31 14:32:03 Asus-VivoBook-S sddm[798]: Display server failed to start. Exiting
Jul 31 14:32:03 Asus-VivoBook-S systemd-coredump[835]: Process 798 (sddm) of user 0 dumped core.
                                                       
                                                       Stack trace of thread 798:
                                                       #0  0x00007faa52c05755 raise (libc.so.6)
                                                       #1  0x00007faa52bf0851 abort (libc.so.6)
                                                       #2  0x00007faa530198b6 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                                       #3  0x0000564ba040a0f5 n/a (sddm)
                                                       #4  0x0000564ba044eebe _ZN4SDDM4Seat13createDisplayEi (sddm)
                                                       #5  0x0000564ba044f102 _ZN4SDDM4SeatC2ERK7QStringP7QObject (sddm)
                                                       #6  0x0000564ba04510c1 _ZN4SDDM11SeatManager10createSeatERK7QString (sddm)
                                                       #7  0x0000564ba0451ee2 n/a (sddm)
                                                       #8  0x00007faa5324db70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #9  0x0000564ba0450130 _ZN4SDDM10LogindSeat19canGraphicalChangedEb (sddm)
                                                       #10 0x0000564ba0450443 n/a (sddm)
                                                       #11 0x00007faa5324db70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #12 0x00007faa53c4fd00 _ZN23QDBusPendingCallWatcher8finishedEPS_ (libQt5DBus.so.5)
                                                       #13 0x00007faa53c4fe01 n/a (libQt5DBus.so.5)
                                                       #14 0x00007faa5324e44a _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                       #15 0x00007faa532219a0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                       #16 0x00007faa53224739 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                       #17 0x00007faa5327a3a4 n/a (libQt5Core.so.5)
                                                       #18 0x00007faa51a5ccf4 g_main_context_dispatch (libglib-2.0.so.0)
                                                       #19 0x00007faa51a5eb11 n/a (libglib-2.0.so.0)
                                                       #20 0x00007faa51a5eb51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #21 0x00007faa532799a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #22 0x00007faa532205ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #23 0x00007faa53228326 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                       #24 0x0000564ba040d8da main (sddm)
                                                       #25 0x00007faa52bf1ee3 __libc_start_main (libc.so.6)
                                                       #26 0x0000564ba040dbde _start (sddm)
                                                       
                                                       Stack trace of thread 826:
                                                       #0  0x00007faa52cbc667 __poll (libc.so.6)
                                                       #1  0x00007faa51a5ea80 n/a (libglib-2.0.so.0)
                                                       #2  0x00007faa51a5eb51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #3  0x00007faa532799a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #4  0x00007faa532205ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #5  0x00007faa530532f5 _ZN7QThread4execEv (libQt5Core.so.5)
                                                       #6  0x00007faa53bebb37 n/a (libQt5DBus.so.5)
                                                       #7  0x00007faa53054520 n/a (libQt5Core.so.5)
                                                       #8  0x00007faa52bb357f start_thread (libpthread.so.0)
                                                       #9  0x00007faa52cc70e3 __clone (libc.so.6)
Jul 31 14:32:03 Asus-VivoBook-S sddm[948]: Failed to read display number from pipe
Jul 31 14:32:03 Asus-VivoBook-S sddm[948]: Display server failed to start. Exiting
Jul 31 14:32:04 Asus-VivoBook-S systemd-coredump[955]: Process 948 (sddm) of user 0 dumped core.
                                                       
                                                       Stack trace of thread 948:
                                                       #0  0x00007fd3f8dbf755 raise (libc.so.6)
                                                       #1  0x00007fd3f8daa851 abort (libc.so.6)
                                                       #2  0x00007fd3f91d38b6 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                                       #3  0x000055bef915c0f5 n/a (sddm)
                                                       #4  0x000055bef91a0ebe _ZN4SDDM4Seat13createDisplayEi (sddm)
                                                       #5  0x000055bef91a1102 _ZN4SDDM4SeatC2ERK7QStringP7QObject (sddm)
                                                       #6  0x000055bef91a30c1 _ZN4SDDM11SeatManager10createSeatERK7QString (sddm)
                                                       #7  0x000055bef91a3ee2 n/a (sddm)
                                                       #8  0x00007fd3f9407b70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #9  0x000055bef91a2130 _ZN4SDDM10LogindSeat19canGraphicalChangedEb (sddm)
                                                       #10 0x000055bef91a2443 n/a (sddm)
                                                       #11 0x00007fd3f9407b70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #12 0x00007fd3f9e09d00 _ZN23QDBusPendingCallWatcher8finishedEPS_ (libQt5DBus.so.5)
                                                       #13 0x00007fd3f9e09e01 n/a (libQt5DBus.so.5)
                                                       #14 0x00007fd3f940844a _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                       #15 0x00007fd3f93db9a0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                       #16 0x00007fd3f93de739 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                       #17 0x00007fd3f94343a4 n/a (libQt5Core.so.5)
                                                       #18 0x00007fd3f7c16cf4 g_main_context_dispatch (libglib-2.0.so.0)
                                                       #19 0x00007fd3f7c18b11 n/a (libglib-2.0.so.0)
                                                       #20 0x00007fd3f7c18b51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #21 0x00007fd3f94339a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #22 0x00007fd3f93da5ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #23 0x00007fd3f93e2326 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                       #24 0x000055bef915f8da main (sddm)
                                                       #25 0x00007fd3f8dabee3 __libc_start_main (libc.so.6)
                                                       #26 0x000055bef915fbde _start (sddm)
                                                       
                                                       Stack trace of thread 949:
                                                       #0  0x00007fd3f8e76667 __poll (libc.so.6)
                                                       #1  0x00007fd3f7c18a80 n/a (libglib-2.0.so.0)
                                                       #2  0x00007fd3f7c18b51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #3  0x00007fd3f94339a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #4  0x00007fd3f93da5ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #5  0x00007fd3f920d2f5 _ZN7QThread4execEv (libQt5Core.so.5)
                                                       #6  0x00007fd3f9da5b37 n/a (libQt5DBus.so.5)
                                                       #7  0x00007fd3f920e520 n/a (libQt5Core.so.5)
                                                       #8  0x00007fd3f8d6d57f start_thread (libpthread.so.0)
                                                       #9  0x00007fd3f8e810e3 __clone (libc.so.6)
Jul 31 14:32:04 Asus-VivoBook-S sddm[962]: Failed to read display number from pipe
Jul 31 14:32:04 Asus-VivoBook-S sddm[962]: Display server failed to start. Exiting
Jul 31 14:32:04 Asus-VivoBook-S systemd-coredump[968]: Process 962 (sddm) of user 0 dumped core.
                                                       
                                                       Stack trace of thread 962:
                                                       #0  0x00007effae273755 raise (libc.so.6)
                                                       #1  0x00007effae25e851 abort (libc.so.6)
                                                       #2  0x00007effae6878b6 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                                       #3  0x0000555fa279c0f5 n/a (sddm)
                                                       #4  0x0000555fa27e0ebe _ZN4SDDM4Seat13createDisplayEi (sddm)
                                                       #5  0x0000555fa27e1102 _ZN4SDDM4SeatC2ERK7QStringP7QObject (sddm)
                                                       #6  0x0000555fa27e30c1 _ZN4SDDM11SeatManager10createSeatERK7QString (sddm)
                                                       #7  0x0000555fa27e3ee2 n/a (sddm)
                                                       #8  0x00007effae8bbb70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #9  0x0000555fa27e2130 _ZN4SDDM10LogindSeat19canGraphicalChangedEb (sddm)
                                                       #10 0x0000555fa27e2443 n/a (sddm)
                                                       #11 0x00007effae8bbb70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #12 0x00007effaf2bdd00 _ZN23QDBusPendingCallWatcher8finishedEPS_ (libQt5DBus.so.5)
                                                       #13 0x00007effaf2bde01 n/a (libQt5DBus.so.5)
                                                       #14 0x00007effae8bc44a _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                       #15 0x00007effae88f9a0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                       #16 0x00007effae892739 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                       #17 0x00007effae8e83a4 n/a (libQt5Core.so.5)
                                                       #18 0x00007effad0cacf4 g_main_context_dispatch (libglib-2.0.so.0)
                                                       #19 0x00007effad0ccb11 n/a (libglib-2.0.so.0)
                                                       #20 0x00007effad0ccb51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #21 0x00007effae8e79a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #22 0x00007effae88e5ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #23 0x00007effae896326 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                       #24 0x0000555fa279f8da main (sddm)
                                                       #25 0x00007effae25fee3 __libc_start_main (libc.so.6)
                                                       #26 0x0000555fa279fbde _start (sddm)
                                                       
                                                       Stack trace of thread 963:
                                                       #0  0x00007effae32a667 __poll (libc.so.6)
                                                       #1  0x00007effad0cca80 n/a (libglib-2.0.so.0)
                                                       #2  0x00007effad0ccb51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #3  0x00007effae8e79a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #4  0x00007effae88e5ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #5  0x00007effae6c12f5 _ZN7QThread4execEv (libQt5Core.so.5)
                                                       #6  0x00007effaf259b37 n/a (libQt5DBus.so.5)
                                                       #7  0x00007effae6c2520 n/a (libQt5Core.so.5)
                                                       #8  0x00007effae22157f start_thread (libpthread.so.0)
                                                       #9  0x00007effae3350e3 __clone (libc.so.6)
Jul 31 14:32:05 Asus-VivoBook-S sddm[975]: Failed to read display number from pipe
Jul 31 14:32:05 Asus-VivoBook-S sddm[975]: Display server failed to start. Exiting
Jul 31 14:32:05 Asus-VivoBook-S systemd-coredump[983]: Process 975 (sddm) of user 0 dumped core.
                                                       
                                                       Stack trace of thread 975:
                                                       #0  0x00007f2da9f29755 raise (libc.so.6)
                                                       #1  0x00007f2da9f14851 abort (libc.so.6)
                                                       #2  0x00007f2daa33d8b6 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                                       #3  0x00005555bd9090f5 n/a (sddm)
                                                       #4  0x00005555bd94debe _ZN4SDDM4Seat13createDisplayEi (sddm)
                                                       #5  0x00005555bd94e102 _ZN4SDDM4SeatC2ERK7QStringP7QObject (sddm)
                                                       #6  0x00005555bd9500c1 _ZN4SDDM11SeatManager10createSeatERK7QString (sddm)
                                                       #7  0x00005555bd950ee2 n/a (sddm)
                                                       #8  0x00007f2daa571b70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #9  0x00005555bd94f130 _ZN4SDDM10LogindSeat19canGraphicalChangedEb (sddm)
                                                       #10 0x00005555bd94f443 n/a (sddm)
                                                       #11 0x00007f2daa571b70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #12 0x00007f2daaf73d00 _ZN23QDBusPendingCallWatcher8finishedEPS_ (libQt5DBus.so.5)
                                                       #13 0x00007f2daaf73e01 n/a (libQt5DBus.so.5)
                                                       #14 0x00007f2daa57244a _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                       #15 0x00007f2daa5459a0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                       #16 0x00007f2daa548739 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                       #17 0x00007f2daa59e3a4 n/a (libQt5Core.so.5)
                                                       #18 0x00007f2da8d80cf4 g_main_context_dispatch (libglib-2.0.so.0)
                                                       #19 0x00007f2da8d82b11 n/a (libglib-2.0.so.0)
                                                       #20 0x00007f2da8d82b51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #21 0x00007f2daa59d9a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #22 0x00007f2daa5445ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #23 0x00007f2daa54c326 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                       #24 0x00005555bd90c8da main (sddm)
                                                       #25 0x00007f2da9f15ee3 __libc_start_main (libc.so.6)
                                                       #26 0x00005555bd90cbde _start (sddm)
                                                       
                                                       Stack trace of thread 976:
                                                       #0  0x00007f2da9fe0667 __poll (libc.so.6)
                                                       #1  0x00007f2da8d82a80 n/a (libglib-2.0.so.0)
                                                       #2  0x00007f2da8d82b51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #3  0x00007f2daa59d9a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #4  0x00007f2daa5445ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #5  0x00007f2daa3772f5 _ZN7QThread4execEv (libQt5Core.so.5)
                                                       #6  0x00007f2daaf0fb37 n/a (libQt5DBus.so.5)
                                                       #7  0x00007f2daa378520 n/a (libQt5Core.so.5)
                                                       #8  0x00007f2da9ed757f start_thread (libpthread.so.0)
                                                       #9  0x00007f2da9feb0e3 __clone (libc.so.6)
Jul 31 14:32:06 Asus-VivoBook-S sddm[989]: Failed to read display number from pipe
Jul 31 14:32:06 Asus-VivoBook-S sddm[989]: Display server failed to start. Exiting
Jul 31 14:32:06 Asus-VivoBook-S systemd-coredump[995]: Process 989 (sddm) of user 0 dumped core.
                                                       
                                                       Stack trace of thread 989:
                                                       #0  0x00007fc139f70755 raise (libc.so.6)
                                                       #1  0x00007fc139f5b851 abort (libc.so.6)
                                                       #2  0x00007fc13a3848b6 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                                       #3  0x0000562d2d47c0f5 n/a (sddm)
                                                       #4  0x0000562d2d4c0ebe _ZN4SDDM4Seat13createDisplayEi (sddm)
                                                       #5  0x0000562d2d4c1102 _ZN4SDDM4SeatC2ERK7QStringP7QObject (sddm)
                                                       #6  0x0000562d2d4c30c1 _ZN4SDDM11SeatManager10createSeatERK7QString (sddm)
                                                       #7  0x0000562d2d4c3ee2 n/a (sddm)
                                                       #8  0x00007fc13a5b8b70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #9  0x0000562d2d4c2130 _ZN4SDDM10LogindSeat19canGraphicalChangedEb (sddm)
                                                       #10 0x0000562d2d4c2443 n/a (sddm)
                                                       #11 0x00007fc13a5b8b70 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                       #12 0x00007fc13afbad00 _ZN23QDBusPendingCallWatcher8finishedEPS_ (libQt5DBus.so.5)
                                                       #13 0x00007fc13afbae01 n/a (libQt5DBus.so.5)
                                                       #14 0x00007fc13a5b944a _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                       #15 0x00007fc13a58c9a0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                       #16 0x00007fc13a58f739 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                       #17 0x00007fc13a5e53a4 n/a (libQt5Core.so.5)
                                                       #18 0x00007fc138dc7cf4 g_main_context_dispatch (libglib-2.0.so.0)
                                                       #19 0x00007fc138dc9b11 n/a (libglib-2.0.so.0)
                                                       #20 0x00007fc138dc9b51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #21 0x00007fc13a5e49a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #22 0x00007fc13a58b5ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #23 0x00007fc13a593326 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                       #24 0x0000562d2d47f8da main (sddm)
                                                       #25 0x00007fc139f5cee3 __libc_start_main (libc.so.6)
                                                       #26 0x0000562d2d47fbde _start (sddm)
                                                       
                                                       Stack trace of thread 990:
                                                       #0  0x00007fc13a027667 __poll (libc.so.6)
                                                       #1  0x00007fc138dc9a80 n/a (libglib-2.0.so.0)
                                                       #2  0x00007fc138dc9b51 g_main_context_iteration (libglib-2.0.so.0)
                                                       #3  0x00007fc13a5e49a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #4  0x00007fc13a58b5ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                       #5  0x00007fc13a3be2f5 _ZN7QThread4execEv (libQt5Core.so.5)
                                                       #6  0x00007fc13af56b37 n/a (libQt5DBus.so.5)
                                                       #7  0x00007fc13a3bf520 n/a (libQt5Core.so.5)
                                                       #8  0x00007fc139f1e57f start_thread (libpthread.so.0)
                                                       #9  0x00007fc13a0320e3 __clone (libc.so.6)
Jul 31 14:32:06 Asus-VivoBook-S systemd[1]: Failed to start Simple Desktop Display Manager.

the vbox modules are causing the modules-load service failing to load.

have you run a full update recently?
sudo pacman -Syyu

do you have virtualbox installed?

if not, or even if you do, you can rename the file so it wont try loading those and we can rule that out as a possibility.

sudo mv /etc/modules-load.d/linux419-virtualbox-host-modules.conf /etc/modules-load.d/linux419-virtualbox-host-modules.conf.bak

also post:

pacman -Qs sddm

A full upgrade was done before I started this adventure this morning.

Virtualbox is installed.
I get this error when I run the command to rename.

$ sudo mv /etc/modules-load.d/linux419-virtualbox-host-modules.conf /etc/modules-load.d/linux419-virtualbox-host-modules.conf.bak
mv: cannot stat '/etc/modules-load.d/linux419-virtualbox-host-modules.conf': No such file or directory

But it seems like it was renamed anyway?
Never mind. The command was copied with extra stuff somehow (probably from formatting) and it ran okay, but did weird things in the terminal so I recopied. That was after running it correctly with only the command. So I just ran it twice on accident.

$ ls /etc/modules-load.d
99-nvidia.conf  linux419-virtualbox-host-modules.conf.bak  modules.conf

Output:

$ pacman -Qs sddm
local/sddm 0.18.1-1
    QML based X11 and Wayland display manager
local/sddm-breath-theme 0.4.0-2
    breath theme for SDDM
local/sddm-kcm 5.16.3-1 (plasma)
    KDE Config Module for SDDM

thats, odd.

also make this edit before you set intel mode

sudo nano /etc/switch/intel/intel-modprobe.conf
comment out these 2 lines by adding a #

#stops display from "blinking" or "flashing"
#during boot when using the intel driver.

#options i915 enable_fbc=1   <--------
#options i915 fastboot=1     <---------

save/exit, then sudo set-intel.sh and reboot.

No dice. Made the edit and switched - still boots to black.

anything that had to be specially modified to make work with optimus-manager should be undone. this for example, from the instructions you followed for optimus-manager

6. For Manjaro KDE users (others ignore at this point):

Edit the file /etc/sddm.conf and simply put a # before the line starting with DisplayCommand and the one starting with DisplayStopCommand .

The reason for that is that Manjaro ships with a default configuration for SDDM (the default login manager for KDE) which overrides some keys needed by optimus-manager.

Weirdly enough, it’s possible that you may not have lines:

DisplayCommand
DisplayStopCommand

In such case you are fine and you have nothing to do. It’s possible some recent Manjaro updates deleted those additional lines (they are not present in non-Manjaro systems anyway).

post output of:

cat /proc/cmdline
pacman -Qs | grep -Ei 'linux419|linux53'

then reinstall SDDM. first rename sddm.conf and then reinstall with this command

sudo mv /etc/sddm.conf /etc/sddm.bak
sudo pacman -S sddm sddm-breath-theme sddm-kcm --overwrite '*'

also you mentioned you installed the 5.3 kernel, have you tried booting with it by selecting it from grub?

I made a backup before I made any changes. After I restored the backup, I checked that all of my changes were reversed, and indeed they were.
Here are the two lines that were to be commented out in your quote:

$ cat /etc/sddm.conf
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

Which aren't commented out.

Outputs:

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.3-x86_64 root=UUID=7e1a4841-77e8-4e78-8ca0-6c66f74150f8 rw quiet resume=UUID=fc1c86de-0ffc-46e3-b934-999a9839d8d0
$ pacman -Qs | grep -Ei 'linux419|linux53'
local/linux419 4.19.60-1
    The Linux419 kernel and modules
local/linux419-headers 4.19.60-1
    Header files and scripts for building modules for Linux419 kernel
local/linux419-nvidia 1:430.26-10 (linux419-extramodules)
local/linux419-virtualbox-host-modules 6.0.10-2 (linux419-extramodules)
local/linux53 5.3rc1.d0721.g5f9e832-1
    The Linux53 kernel and modules
local/linux53-headers 5.3rc1.d0721.g5f9e832-1
    Header files and scripts for building modules for Linux53 kernel
local/linux53-nvidia 1:430.26-0.1 (linux53-extramodules)

Reinstalled SDDM with your commands.
I haven't tried. I'll reboot with it now.

Update: Reinstalling SDDM and booting in 5.3 still yields a black screen.

Forum kindly sponsored by