I am trying to install the driver for a external RTX2070 (in the Aorus Gaming Box) on my Macbook Pro Touchbar (MacbookPro 14,2) running a fresh Ubuntu 18.04 (dual boot with OSX).
I am not able to attach the GPU during bootup of Ubuntu or the Ubuntu Installer, otherwise my internal screen stays blank, so I always have to attach it after bootup. I also tried ssh in that case.
What I tried:
Installed rEFInd and Ubuntu 18.04 with updates and third party drivers option.
Installed nvidia driver 430
sudo apt-get purge nvidia*
sudo apt autoremove
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-driver-430 nvidia-prime
blacklisted nouveau
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
Added nvidia-drm.modeset=1 to grub, but I am unsure how to verify it
sudo gedit /etc/default/grub
sudo update-initramfs -u
reboot
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.
nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:27721): GLib-GObject-CRITICAL **: 18:28:48.855: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 18:28:48.858: PRIME: Requires offloading
** Message: 18:28:48.858: PRIME: is it supported? yes
lspci -k | grep -EA2 ‘VGA|3D’
00:02.0 VGA compatible controller: Intel Corporation Device 5927 (rev 06)
Subsystem: Apple Inc. Device 0175
Kernel driver in use: i915
--
42:00.0 VGA compatible controller: NVIDIA Corporation Device 1f02 (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 37d5
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
gpu-manager log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/4.18.0-25-generic/updates/dkms
Found nvidia module: nvidia-uvm.ko
Looking for amdgpu modules in /lib/modules/4.18.0-25-generic/updates/dkms
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? yes
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:5927
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:1f02
BusID "PCI:66@0:0:0"
Is boot vga? no
Error: can't access /sys/bus/pci/devices/0000:42:00.0/driver
The device is not bound to any driver.
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Found "/dev/dri/card0", driven by "i915"
output 0:
card0-eDP-1
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 2
I couldn't open /var/lib/ubuntu-drivers-common/last_gfx_boot for writing.
Error: can't write to /var/lib/ubuntu-drivers-common/last_gfx_boot
I also tried:
sudo prime-select nvidia
sudo nvidia-xconfig
sudo apt install nvidia-modprobe
And tried downloading the .run installer which always fails: “Unable to load the ‘nvidia-drm’ kernel module”
Secure Boot was always off
mokutil --sb-state
This system doesn't support Secure Boot
I really don’t know what else I can do to get it running.
Thank you!
nvidia-bug-report.log.gz (378 KB)