|
| 1 | +--- |
| 2 | +layout: card |
| 3 | +title: "Gigabyte Nvidia RTX 4090 OC" |
| 4 | +picture: "/images/gpu-nvidia-rtx-4090-oc.jpg" |
| 5 | +functionality: "Currently Testing" |
| 6 | +driver_required: "Yes" |
| 7 | +github_issue: "https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/504" |
| 8 | +buy_link: https://amzn.to/3KaTN26 |
| 9 | +videos: [] |
| 10 | +--- |
| 11 | +The RTX 4090 is supported by both Nvidia's proprietary driver and the open source Nouveau driver in the Linux Kernel. |
| 12 | + |
| 13 | +It will require a 1x to 16x adapter, or some other means of adapting the 16x-sized card pins into the 1x slot on the CM4 IO Board. You also need to supply at least 450W through the card's ATX12VO power plug. |
| 14 | + |
| 15 | +There are two ways to try installing the driver: |
| 16 | + |
| 17 | +### Proprietary Nvidia driver |
| 18 | + |
| 19 | +After flashing the 64-bit Pi OS beta to my Pi, I made sure to upgrade everything on it, and install the kernel source, so the Nvidia driver would compile: |
| 20 | + |
| 21 | +``` |
| 22 | +sudo apt-get update |
| 23 | +sudo apt-get -y dist-upgrade |
| 24 | +sudo apt-get install -y raspberrypi-kernel-headers |
| 25 | +sudo reboot |
| 26 | +``` |
| 27 | + |
| 28 | +After rebooting, if you have X server running (e.g. you are logged in via GUI), you need to log out. If you're running this over SSH or serial connection, you can quit X server with: `sudo systemctl stop lightdm`. |
| 29 | + |
| 30 | +Now, download Nvidia's latest [AARCH64 Driver for ARM 64-bit processors](https://www.nvidia.com/en-us/drivers/unix/linux-aarch64-archive/), make the downloaded `.run` file executable, and run it with `sudo`: |
| 31 | + |
| 32 | +``` |
| 33 | +chmod +x NVIDIA-Linux-aarch64-525.89.02.run |
| 34 | +sudo ./NVIDIA-Linux-aarch64-525.89.02.run |
| 35 | +``` |
| 36 | + |
| 37 | +TODO: What happens? |
| 38 | + |
| 39 | +### Nouveau (open source) driver |
| 40 | + |
| 41 | +To get the Nouveau driver loaded, you have to [recompile the Linux kernel for Pi OS](https://github.com/geerlingguy/raspberry-pi-pcie-devices/tree/master/extras/cross-compile). |
| 42 | + |
| 43 | +Go to `Device Drivers` > `Graphics support` on the `menuconfig` step, and select the `Nouveau` driver to install. |
| 44 | + |
| 45 | +If you want to be able to boot the Pi all the way, make sure to blacklist the `nouveau` kernel module: |
| 46 | + |
| 47 | +``` |
| 48 | +sudo nano /etc/modprobe.d/blacklist-nouveau.conf |
| 49 | +
|
| 50 | +# Put this inside the file and save it: |
| 51 | +blacklist nouveau |
| 52 | +``` |
| 53 | + |
| 54 | +Now, after a reboot, you can explicitly load the module and see what happens by following `dmesg` in another terminal session: |
| 55 | + |
| 56 | +``` |
| 57 | +sudo modprobe nouveau |
| 58 | +``` |
| 59 | + |
| 60 | +TODO: What happens? |
| 61 | + |
| 62 | +See the linked GitHub issue for more details. |
0 commit comments