Setup & Software Discussions
NUC eGPU random hangup during boot
 

NUC eGPU random hangup during boot  

  RSS

gabor.papp
(@gabor-papp)
New Member
Joined: 11 months ago
 

Hi,

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[1026]: (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[1026]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
/usr/libexec/gdm-x-session[1026]: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
/usr/libexec/gdm-x-session[1026]: (EE) No devices detected.
/usr/libexec/gdm-x-session[1026]: (EE)
/usr/libexec/gdm-x-session[1026]: Fatal server error:
/usr/libexec/gdm-x-session[1026]: (EE) no screens found(EE)
/usr/libexec/gdm-x-session[1026]: (EE)
/usr/libexec/gdm-x-session[1026]: Please consult the Fedora Project support
/usr/libexec/gdm-x-session[1026]: at http://wiki.x.org
/usr/libexec/gdm-x-session[1026]: for help.
/usr/libexec/gdm-x-session[1026]: (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.
/usr/libexec/gdm-x-session[1026]: (EE)

Any suggestion to solve this would be greatly appreciated.

- Gabor
----

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

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
Topic Tags
nu_ninja
(@nu_ninja)
Estimable Member
Joined: 2 years ago
 

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"

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
nu_ninja
(@nu_ninja)
Estimable Member
Joined: 2 years ago
 

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.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
gabor.papp
(@gabor-papp)
New Member
Joined: 11 months ago
 

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.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Estimable Member
Joined: 2 years ago
 

Yeah sounds like a driver issue possibly with the iGPU

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
gabor.papp
(@gabor-papp)
New Member
Joined: 11 months ago
 

The problem seems to be solved by delayed startup of the gdm.service.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


nu_ninja liked
ReplyQuote