ASUS ROG Zephyrus G15 2021 - Ubuntu 20.04 (GeForce RTX 3080, AMD Ryzen 9 5900HS)

Greetings everyone,
just received this computer and need to put Ubuntu 20.04 on it.
Unfortunately, I can’t migrate to 21.04 yet (everything works on 21.04, this is a good sign!)

I have read lots of posts and mixed solution, but so far nothing is working properly.
Adding to the equation that it is quite complex to move on a new kernel 5.12.x easily. See here.

I am willing to test anything to make this work :)
If you want me to try something, do not hesitate, I am sure that will serve many people with the same configuration.

Best,
J.

1 Like

Hi everyone,

I am facing a similar issue, and would like to follow this thread.

I just bought a similar model (ASUS ROG Zephyrus GA503QM: NVIDIA GeForce RTX 3060, AMD Ryzen 7 5800HS,) and am struggling to set things up properly.

I’ve tried installing the nvidia driver by (a) using the GUI additional drivers → apply changes (b) sudo apt-get install nvidia-driver-460 (c) sudo add-apt-repository ppa:graphics-drivers/ppa and then sudo apt-get update (d) using the nvidia installer

Other people seem to be having issues as well (reddit).

Best,
Chia

If you can live with a 5.11 kernel, it’s not that hard. You can use a version between 5.11.13 and 5.11.17 from mainline.
(I don’t know the status at ubuntu, other then what your link shows).
And you need the amdgpu firmware files.
Fetch all green_sardine* files from amdgpu - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel and put them into /lib/firmware/amdgpu.

I am actually almost there :)
There are some options indeed.
Kernel 5.11.16 and Kernel 5.12-rc2 are still generated with a compatible libc6.

So, I installed a fresh Ubuntu, bump the kernel to 5.12-rc2 (no need for the amdgpu firmware any more) and install the Nvidia 460 driver from software update

Why won’t you need the firmware files?
Won’t hurt anyway.
So what problem is left?

I think the firmware file are in the 5.12 kernel, not in 5.11.
I need to do intensive testing to see if the GPU is actually used at its full potential, but so far so good!

The firmware usually is a separate package. I suggest you add them. Won’t hurt at all.

1 Like

will do!

Would you mind sharing how you bumped up to kernel 5.12-rc2? After reading the posts on Ask Ubuntu, it’s still unclear to me how to best go about this. Did you compile the kernel yourself or did you use the lts-mainline ppa?

I noticed your ubuntu version is 20.04.02. Mine is 20.04.01. I wonder if I need to upgrade to 20.04.02.

Download those 4 file from there
linux-headers-5.12.0-051200rc2-generic
linux-headers-5.12.0-051200rc2_all
linux-image-unsigned-5.12.0-051200rc2
linux-modules-5.12.0-051200rc2-generic

Then in a terminal, assuming you are in the download folder :

sudo dpkg -i *.deb

Reboot, and voila :)

It seems that the rc8 is also working!
No need to add manually the green_sardine firmware as they are already integrated in the 5.12 kernel branch