Asus Tuf Gaming fx505dy

CPU
The CPU is an AMD Ryzen 5 3550H with four cores.

Graphics
The CPU provides Radeon Vega Mobile graphics, and there is a Radeon RX 560X GPU (List_of_AMD_graphics_processing_units) with 4Gb of dedicated memory. Follow the instructions in the amdgpu article.

Note that once the amdgpu driver is working, Xorg will use the Vega graphics by default. To use the faster RX 560 GPU, export the DRI_PRIME variable before executing your program.

Wireless
The rtl8821ce wifi is not supported by the 5.3.1 kernel. The simplest way to enable it is to download Tomás Pinho's driver for Archlinux, and copy the directory tree into the corresponding directory of gentoo-sources.

Run make nconfig and select the option:

Device Drivers ---> [*] Network device support ---> [*]  Wireless LAN  --->   Realtek 8821C PCI WiFi

Then compile and install the kernel.

Touchpad
The laptop's touchpad will probably be an Elan 1200 model, which probably will not be detected by system tools, including lspci.

To enable it, use the following kernel configuration settings:

Device Drivers ---> -*- Pin controllers ---> <*>  AMD GPIO pin control HID support ---> Special HID drivers ---> <*> ELAN USB Touchpad Support <*> HID Multitouch panels I2C HID support ---> <*> HID over I2C transport layer I2C support ---> I2C Hardware Bus support ---> <*> AMD MP2 PCIe <*> Synopsys DesignWare Platform <*> Synopsys DesignWare PCI Input device support ---> Mice ---> <*>  ELAN I2C Touchpad support [*]    Enable I2C support [*]    Enable SMbus support