FS#63194 - Kernel 5.2 breaks wifi and graphics on Lenovo Thinkpad E485

Attached to Project: Arch Linux
Opened by Kalyan (coder_kalyan) - Sunday, 14 July 2019, 17:41 GMT
Last edited by freswa (frederik) - Saturday, 22 February 2020, 21:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Kernel 5.2 caused the rtw_pci module to be used instead of the r8822be module that was (correctly) used before. Also, running kernel 5.2 introduces rendering artifacts on this system, however I haven't correlated it to a specific module/driver problem. Kernel 5.2 might also have broken the ability to wake up from sleep when he laptop lid is opened, however this is unconfirmed.

Additional info:
* kernel 5.2, everything else is up to date
* Discovered on existing system, reproduced on completely fresh install of Arch Linux
* Lenovo Thinkpad E485 running a Ryzen 2700U processor and a Realtek RTL8822BE WiFi adapter.

Steps to reproduce:
Install a fresh system or upgrade to kernel 5.2 on similar systems?
This task depends upon

Closed by  freswa (frederik)
Saturday, 22 February 2020, 21:33 GMT
Reason for closing:  No response
Comment by loqs (loqs) - Monday, 15 July 2019, 22:29 GMT
Have you reported the issue(s) upstream?
What do you want the arch kernel package maintainers to do?
Edit:
If you blacklist [1] the rtw_pci module does that resolve the first issue?

[1] https://wiki.archlinux.org/index.php/Kernel_module#Blacklisting
Comment by AK (Andreaskem) - Tuesday, 16 July 2019, 05:14 GMT
Hi, I also encountered these graphics issues and opened a bug report upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=111122

My E485 has a different Wi-Fi adapter (Qualcomm Atheros QCA9377) so I had no issues with that.
Comment by squis (squish) - Tuesday, 16 July 2019, 05:48 GMT
I'd like to confirm the same issue; model is thinkpad e585

attached is the output to my lsmod, the only other points of note I can come up with are that it's a RTL8822BE wifi module, the wifi driver properly lists as wlps40, but when I go to scan with it it won't pick anything up.

also getting the graphical artifacts he mentioned. I'm probably going to try that blacklisting idea now and come back if it works, if that doesn't work I'll probably just switch kernel to linux-lts; until this blows over. It sounds like an upstream problem or someone oopsied a compilation option on the module that'll get fixed over the next month given rtw88 explicitly claims to support this chipset, and it's newly merged with 5.2 kernel version.
Comment by squis (squish) - Tuesday, 16 July 2019, 06:26 GMT
nope, had to blacklist rtw88 and rtwpci to make it stop loading but that just made wifi stop recognizing at all, rather than let the old driver load.

on a positive note adding iommu=pt to the kernel boot params seems to have fixed the graphical issues
Comment by Kalyan (coder_kalyan) - Tuesday, 16 July 2019, 18:27 GMT
@squish thanks for the graphics fix, however I cannot try it until WiFi works :(
Comment by loqs (loqs) - Tuesday, 16 July 2019, 19:01 GMT
@coder_kaylan blacklisting rtw_pci rtwpci and replacing with rtl8822be from https://aur.archlinux.org/packages/rtlwifi_new-extended-dkms/ for 5.2 does not work for you?
Comment by Kalyan (coder_kalyan) - Wednesday, 17 July 2019, 02:30 GMT
@squish thanks for the graphics fix, however I cannot try it until WiFi works :(
Comment by Kalyan (coder_kalyan) - Wednesday, 17 July 2019, 02:31 GMT
@logs thanks ill try that when I get a chance

Loading...