First, I cleaned off the drive, and did a new initial installation of Fedora 26, and applied all updates. To get the installer to not freeze my laptop, I had to install in failback video mode. Once the laptop was installed and patched, I then proceeded to troubleshoot the issues that prevented me from getting either Nouveau or nVidia Xorg drivers working. After quite a bit of trial and error, I determined that there are several main issues. First, on Fedora 25, I had just ignored the Intel component of nVidia Optimus, and just installed the closed-source nVidia driver. That seems to no longer be possible, on my hardware, with Fedora 26. Second, there is an ACPI issue, with a number of laptops based on EFI versions of the AMI BIOS. Third, the default for Bumblebee (the open source Optimus solution) is to disable kernel modesetting, but for me, this breaks EDID.
So, here is the solution that I came up with, to install Bumblebee:
- Set the default for systemd to multi-user instead of graphical
- # systemctl set-default multi-user.target
- Update Fedora 26 to -current
- # dnf update
- Reboot
- Follow Bumblebee docs from https://fedoraproject.org/wiki/Bumblebee
- Check laptop graphics hardware
- $ lspci | grep VGA
- 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
- 01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev ff)
- Add the main Bumblebee repo
- # dnf -y --nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora$(rpm -E %fedora)/noarch/bumblebee-release-1.2-1.noarch.rpm
- Add the Bumblebee managed nVidia repo
- # dnf -y --nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora$(rpm -E %fedora)/noarch/bumblebee-nonfree-release-1.2-1.noarch.rpm
- Install the required Bumblebee packages (note that libglvnd-devel is needed, even though the docs don't mention it)
- # dnf install bumblebee-nvidia bbswitch-dkms VirtualGL.x86_64 VirtualGL.i686 primus.x86_64 primus.i686 kernel-devel libglvnd-devel
- Reboot
https://fedoraproject.org/wiki/Bumblebee#Compatibility_with_recent_laptops_that_have_American_Megatrend_BIOSes
To fix this issue:
- Add "splash acpi_osi=! acpi_osi='Windows 2009'", after "quiet" to the /etc/sysconfig/grub GRUB_CMDLINE_LINUX entry
- Rebuild grub2 config
- # grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
To fix the resolution problem:
- Remove "nomodeset", from the /etc/sysconfig/grub GRUB_CMDLINE_LINUX entry. I got the suggestion to remove "nomodeset" from https://forums.linuxmint.com/viewtopic.php?t=216235#p1131177
- Rebuild grub2 config
- # grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
- After this, everything worked in 4k, as espected, so I set the default target to graphical, again
- # systemctl set-default graphical.target
Confirmed to work on msi stealth pro gs73vr as well
ReplyDelete