Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4475

May 14th, 2019 11:00

XPA 13-9380 Ubuntu Nvidia drivers not loading

Hi,

 

I'm trying to use the XPS 13 9380 with Ubuntu 18.04 and an external Nvidia GPU in a Razer Core.

I've tried the driver version 390 and 430.

I've tried the 4.15, 4.18 and 5.1.1 kernels.

But I still have the same error in `dmesg` :

 

[  118.981359] nvidia-nvlink: Nvlink Core is being initialized, major device number 511
[  118.981668] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR1 is 0M @ 0x0 (PCI:0000:23:00.0)
[  118.981668] NVRM: The system BIOS may have misconfigured your GPU.
[  118.981670] nvidia: probe of 0000:23:00.0 failed with error -1
[  118.981681] NVRM: The NVIDIA probe routine failed for 1 device(s).
[  118.981682] NVRM: None of the NVIDIA graphics adapters were initialized!
[  118.981768] nvidia-nvlink: Unregistered the Nvlink Core, major device number 511

Based on my research, it might be a BIOS related issue.

 

https://devtalk.nvidia.com/default/topic/1049263/linux/-nvrm-this-pci-i-o-region-assigned-to-your-nvidia-device-is-invalid-nvrm/post/5325456/#5325456

 

https://devtalk.nvidia.com/default/topic/1047349/linux/unable-to-load-the-nvidia-drm-kernel-module-on-centos-7/post/5315092/#5315092

May 22nd, 2019 02:00

It started working this morning.

Here is what I've done:

* reinstall Ubuntu 18.04 from scratch

* use a second monitor directly from the first (top left) thunderbolt port with a USB C to HDMI (+ power) adapter

* just this morning, tried to plug the eGPU (GTX 1080 in a Razer Core) on the 2nd (bottom left) thunderbolt port : after the boot, the eGPU was not detected (same error as my 1st post)

* reboot with the eGPU connected to the 1st (top left) thunderbolt port

* eGPU is detected, and the monitor is also detected

* install the nvidia-390 drivers directly from the Ubuntu "Additional drivers" tab

* reboot

* eGPU and screens are detected...

 

I have no idea what I did different from my 1st install/try.

Maybe because the whole install has been performed with secure boot disabled.

May 16th, 2019 08:00

Same issue here with a XPS 9380 and a Razer Core X. Currently i have tested it with a Nvidia GTX 970. I'm getting the same error message in dmesg.

 

Edit: I found a workaround for the issue.

If I boot the device with the egpu plugged in it does not get the necessary memory bars from kernel. You can verify this with  "lspci -vv".

As soon as the egpu is then plugged to the second thunderbolt port it works.

May 22nd, 2019 00:00

What do you mean by "second thunderbolt port"?

Can you please provide a step by step procedure?

Thank you!

June 11th, 2019 11:00

You have 2 thunderbolt ports on the left side.

I have plugged in the egpu to one of them first.

After verifying the unallocated memory bars, I insert the egpu to the other port at the notebook.

After this all memory bars are getting allocated correctly, and the egpu starts working.

No Events found!

Top