MacBookPro+ Razer CoreX with Geforce RTX2080 super doesnt work in Ubuntu 18.04

The main objective is to work with an eGPU to accelerate processes

specifically, train neural networks in tensorflow and anaconda 3 ( python)

my system:
Mac book Pro 2017 + Razer CoreX with Geforce RTX2080 super.

I made a disk partition to install ubuntu 18.04.

I have been installing drivers, Cudo, etc. for months. and it does not recognize the egpu (I have no image in the HDMI) and tensorflow does not recognize it.

when i use these commands:
1.-
nvidia-settings

ERROR: NVIDIA driver is not loaded

ERROR: Unable to load info from any available system

2.-
sudo prime-select nvidia

Info: the nvidia profile is already set

3./
nvidia-smi

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

4./
lspci | grep -i nvidia
b9:00.0 VGA compatible controller: NVIDIA Corporation Device 1e81 (rev a1)
b9:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
b9:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
b9:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)

please help me I’m a little desperate…

I’m not a Linux expert, only user

thanks

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).

thiis iis the file

nvidia-bug-report.log (503.2 KB)

thanks

[  320.443364] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR1 is 0M @ 0x0 (PCI:0000:b9:00.0)
[  320.443367] NVRM: The system BIOS may have misconfigured your GPU.
[  320.443377] nvidia: probe of 0000:b9:00.0 failed with error -1

Please try booting with kernel parameter

pci=realloc

I reboot with GRUB menu and press “e”, but did not find the pci parameter…
is this procedure correct?

note: I always have to turn off and disconnect the eGPU before reboot. if I don’t turn it off it won’t initialize

Add it permanently:
https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter

it is correct…

Yes. Save, then run
sudo update-grub
and reboot. Afterwards, create a new nvidia-bug-report.log


nvidia-bug-report2.log (765.9 KB)

This doesn’t look like it was correctly added, the whole cmdline with “quiet splash” now vanished.

new report (3)
nvidia-bug-report3.log (969.7 KB)

i repeated the procedure

nvidia-bug-report4.log (890.8 KB)

You can use
cat /proc/cmdline
to output the current kernel parameters.

$ cat/proc/cmdline
bash: cat/proc/cmdline: No such file or directory

Can I reinstall ubuntu and repeat the procedure … wait…

Ok, generix, I reinstall ubuntu 18.04

and recheck…

1./
uname -r
5.3.0-59-generic

2./
lspci | grep -i nvidia
b9:00.0 VGA compatible controller: NVIDIA Corporation Device 1e81 (rev a1)
b9:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
b9:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
b9:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)

3./
lspci |grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560] (rev c0)
b9:00.0 VGA compatible controller: NVIDIA Corporation Device 1e81 (rev a1)

4./
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

and report…

nvidia-bug-report1.1.log (87.4 KB)

Please set pci=realloc in kernel commandline.
Afterwards,

cat /proc/cmdline

should contain it. There’s a space between ‘cat’ and’/proc/cmdline’

hahahaha, im stupid… sorry generix…

i did it:

cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.3.0-59-generic root=UUID=3a52acf3-c8f3-4c87-9035-17dacb7f9f4e ro quiet splash pci=realloc vt.handoff=1


and again:

nvidia-settings

ERROR: NVIDIA driver is not loaded

ERROR: Unable to load info from any available system

nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

i connect de eGPU and fans spin faster …but I have no image on the external monitor *(HDMI connection)

nvidia-bug-report1.2.log (600.3 KB)

The parameter is correctly set now. The bug report you attached didn’t show any nvidia gpu attached over thunderbolt, did you forget to power it on?
Please try connecting the egpu before turning on the macbook and check if you can boot.