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.
[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
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:
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.
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
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?
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!