Comment 589 for bug 1958019

Revision history for this message
In , thijs (thijs-linux-kernel-bugs) wrote :

(In reply to Fer Korol from comment #572)
> Here is another variant, now with RC6, works the sound and the nvidia
> drivers at the same time! (with some tricks):
>
> A) FIRST TIME
> 1) install kernel build tools:
> (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
>
> * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev dkms
> libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git p7zip-full
>
> 2) clone the kernel from github and checkout to v5.17 branch (Rather large,
> multiple GB's):
>
> * git clone https://github.com/torvalds/linux.git
>
> 3)Make a 7z of the linux folder in a clear state
> 7z a linux-clean.7z linux
>
> 3) get the patch and let it in one superior level of the linux folder:
>
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> <email address hidden>/
>
>
> A) FOR EACH RC RELEASE:
> 7z x linux-clean.7z
> cp Support-Spi-in-i2c-multi-instantiate-driver.patch linux/
> cd linux
> git pull
> git checkout v5.17-rc6
> git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> make olddefconfig
> ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> ./scripts/config --disable CONFIG_DEBUG_INFO
> ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> make -j 16
> make modules_install
> make install
>
>
> The patch is mandatory to enable the sound in ubuntu, im tried without the
> path and the sound don't work. With this steps will do.
> In order to make work the nvidia drivers in the 17-rc6 im just change in
> "more drivers" option of ubuntu, the current versión of the nvidia driver
> for another (511 to 470 for example).
> Im using hybrid graphics mode in the bios.

Thanks! I just tried this rc6 version on my machine, and sound plus nvidia drivers work fine with this. In addition to the described steps, I also did run a "make headers_install", to make sure that nvidia could compile it's module.

My machine: Lenovo Legion 7 16ACHg6 82N6 - Laptop 16" IPS 2560 x 1600 (WQXGA) 165 Hz - AMD Ryzen - with 3 external monitors connected and working (2560x1440).

I hope the patch gets propagated soon to a real release.