After several painstaking hours I finally got it working on Manjaro, so I wanted to share my experience for anyone else that is new to patching the kernel like me. This is my first time ever doing so.
I tried and tried to make this work on Ubuntu Budgie 20.10 following the guide by @Baq Domalaq (baq) but I just couldnt get the ubuntu kernel to build. Manjaro on the other hand was fairly painless.
4. Edit the PKGBUILD file and add '0303-pinctrl-amd2.patch' after the line that has '0303-pinctrl-amd.patch'
5. Update the checksums
# updpkgsums
6. Build the package. This will take some time. You may be prompted for something about PREMPT. Choose CONFIG_PREEMPT_VOLUNTARY.
# makepkg -s
7. Once it's done, you can install the package.
# makepkg -i
In my case, this broke the nvidia driver so I ended up uninstalling the nonfree driver and using the free driver instead. This can be done with the following commands.
8. Remove nonfree driver. Could also be video-nvidia-455xx
# sudo mhwd -r pci video-nvidia-440xx
After several painstaking hours I finally got it working on Manjaro, so I wanted to share my experience for anyone else that is new to patching the kernel like me. This is my first time ever doing so.
I tried and tried to make this work on Ubuntu Budgie 20.10 following the guide by @Baq Domalaq (baq) but I just couldnt get the ubuntu kernel to build. Manjaro on the other hand was fairly painless.
This only works for Manjaro
1. Clone the kernel repo for linux 5.8 /gitlab. manjaro. org/packages/ core/linux58. git
# git clone https:/
2. open the repo
# cd ./linux58
3. Download the patch from #179 /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1887190/ +attachment/ 5418465/ +files/ 0303-pinctrl- amd2.patch
# wget https:/
4. Edit the PKGBUILD file and add '0303-pinctrl- amd2.patch' after the line that has '0303-pinctrl- amd.patch'
5. Update the checksums
# updpkgsums
6. Build the package. This will take some time. You may be prompted for something about PREMPT. Choose CONFIG_ PREEMPT_ VOLUNTARY.
# makepkg -s
7. Once it's done, you can install the package.
# makepkg -i
In my case, this broke the nvidia driver so I ended up uninstalling the nonfree driver and using the free driver instead. This can be done with the following commands.
8. Remove nonfree driver. Could also be video-nvidia-455xx
# sudo mhwd -r pci video-nvidia-440xx
9. Install the free driver
# sudo mhwd -i pci video-linux
Also installing the free driver fixed the display brightness issue. Everything seems to be working for me now!
In case anyone runs into any issues, this is the guide I followed to build the kernel. https:/ /leduccc. medium. com/compiling- a-custom- linux-kernel- on-manjaro- f09aa103713f