NUC eGPU random hangup during boot
I have an Intel NUC 7i7BNB with a Sonnet eGFX Breakaway Box 350 and an MSI Geforce GTX 1050ti working under Fedora 29.
The gpu works well, the only problem is that the system often hangs during boot. It seems that the eGPU is not detected. I tried to add more waiting time at grub with no avail.
/usr/libexec/gdm-x-session: (II) NVIDIA dlloader X Driver 410.78 Sat Nov 10 22:15:52 CST 2018
Dec 21 11:57:42 /usr/libexec/gdm-x-session: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
/usr/libexec/gdm-x-session: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
/usr/libexec/gdm-x-session: (EE) No devices detected.
/usr/libexec/gdm-x-session: Fatal server error:
/usr/libexec/gdm-x-session: (EE) no screens found(EE)
/usr/libexec/gdm-x-session: Please consult the Fedora Project support
/usr/libexec/gdm-x-session: at http://wiki.x.org
/usr/libexec/gdm-x-session: for help.
/usr/libexec/gdm-x-session: (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.
Any suggestion to solve this would be greatly appreciated.
This is how it was installed:
# nuc bios legacy mode advanced/security/thunderbolt security level - legacy mode # nvidia driver from rpmfusion sudo dnf install xorg-x11-drv-nvidia akmod-nvidia # blacklist nouveau sudo mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img sudo dracut -f /boot/initramfs-$(uname -r).img $(uname -r) # fedora prime - might not be needed git clone https://github.com/bosim/FedoraPrime.git cd FedoraPrime sudo make install sudo fedora-prime-select nvidia # lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics 650 (rev 06) 06:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1) # edit /etc/X11/xorg.conf.d/20-nvidia.conf and add NVIDIA bus id Section "Device" Identifier "Nvidia Card" Driver "nvidia" VendorName "NVIDIA Corporation" Option "NoLogo" "true" Option "AllowExternalGpus" "true" BusID "PCI:6:0:0" EndSection
Since the hangup seems to be the x-session, I would start by adding the lines from this thread's x config into yours. Namely loading "modesetting" and adding the Option "AllowEmptyInitialConfiguration"
You can also check nvidia's x config options documentation for more options. Specifically, the Option "ConnectedMonitor" could be useful to you since the NUC doesn't have an internal display like a laptop.
Thanks for the suggestions.
"modesetting" and "AllowEmptyInitialConfiguration" don't seem to make a difference.
I try other options from the docs.
The symptoms during hangup is that gdm/Gnome does not start up. the NUC display freezes with the boot sequence information, the nvidia display is inactive. I can login in the computer on the console and if I reboot the machine from the terminal it usually works.
Edit: Couldn't find any solutions with the "ConnectedMonitor" option either. It seems that the driver cannot detect the gpu after hard reset.
The problem seems to be solved by delayed startup of the gdm.service.