pop-os / linux

Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux
Other
111 stars 13 forks source link

Linux 5.18.10 #163

Closed 13r0ck closed 2 years ago

13r0ck commented 2 years ago

Same checklist from https://github.com/pop-os/linux/pull/157#issue-1276156783 applies here, but all of those should be done.

https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.10

13r0ck commented 2 years ago

Check if the issues from 5.18.8 are fixed first before continuing with remaining kernel QA

gangwerz commented 2 years ago

I performed a clean install of Pop 22.04, and upgraded to the 5.18.10 kernel, and set the graphics to Nvidia mode. The galp5-1650Ti was able to suspend multiple times with fwts s3 --s3-multiple 10. The system has just completed the kernel checklist on Pop 22.04.

I am now working on Ubuntu 22.04, and will upload the checklists then.

linuxgnuru commented 2 years ago

Pop 22.04:

Will test Ubuntu Monday

n3m0-22 commented 2 years ago

22.04 darp6 - all tests passed darp6-22.04-kernel-testing.txt

22.04 gaze15 - all tests passed except for VirtualBox gaze15-22.04-kernel-testing.txt

22.04 lemp11 - all tests passed except for 150 suspend/resume 22.04-lemp11-150-suspend-resume.log lemp11-22.04-kernel-testing.txt

Note: VirtualBox installs on all machines, but on gaze15 if the guest OS uses GNOME e.g., (Pop, Ubuntu, Manjaro-GNOME, Fedora) gnome-shell restarts repeatedly and Firefox crashes. I assumed this was due to the NVIDIA driver version, but it happens with all driver versions and without an NVIDIA driver installed. It also happens on the Framwork Laptop with integrated graphics. The addition or removal of VirtualBox Extension Pack as well as VBoxGuestAddtitions seems to have no impact. Ubuntu 22.04 does not have this issue with a guest OS untill system76-driver is installed. Guests with KDE and Xfce do not have this issue.

Update: New version 6.1.34 of VirtualBox has not resolved these issues on both intel and nvidia graphics machines.

Logs from Pop 22.04 guest on Pop 22.04 host: virtualbox-firefox.txt virtualbox-gnome-shell.txt

gangwerz commented 2 years ago

Pop 22.04 was able to pass testing on the galp5-1650Ti.

However, on Ubuntu 22.04, I have not been able to get Steam to launch with Nvidia 515 or 510 (470 was working fine). After attempting to launch Steam, I consistently find a stack dump in dmesg starting with kernel BUG at drivers/gpu/drm/drm_gem.c:155!

QA Checklists for Pop and Ubuntu 22.04 galp5-1650ti-linux-5.18.10.txt

The dmesg output from Ubuntu 22.04 with Nvidia 515 after attempting to launch Steam 20220711-0740-ubuntu-dmesg.log

gangwerz commented 2 years ago

I have tested launching Steam on a clean install of Ubuntu 22.04 with 5.18.10 once more on the galp5-1650Ti, but with the 515.57 release of the Nvidia driver.

I am still unable to launch Steam, and I see the same dump in dmesg as before.

mmstick commented 2 years ago

[ 273.378981] kernel BUG at drivers/gpu/drm/drm_gem.c:155!

Oof

linuxgnuru commented 2 years ago

I believe these were fixed in pop with the gnome-shell patch https://github.com/pop-os/gnome-shell/blob/master_jammy/debian/patches/ignore-nvidia-only.patch

which we discussed yesterday.

13r0ck commented 2 years ago

@linuxgnuru so is that an approval? Or what are we missing?

linuxgnuru commented 2 years ago

@linuxgnuru so is that an approval? Or what are we missing?

I believe @gangwerz was working on Ubuntu without our system76-driver installed

gangwerz commented 2 years ago

After a suggestion from @linuxgnuru, I retested Ubuntu with the currently available software, and I am able to reproduce the issues I cited with a stock Ubuntu install, and no System76 software installed. I do not believe the issues I saw with Steam are regressions, so they should not block the approval of this kernel.

13r0ck commented 2 years ago

@gangwerz is that an approval?

gangwerz commented 2 years ago

@gangwerz is that an approval?

It's an approval from me! if the concerns @n3m0-22 (or anyone else) had were addressed as well, I can approve

n3m0-22 commented 2 years ago

I'm still seeing issues with VirtualBox. This is an example from a fresh install on a gaze15 of Pop 22.04 for the host and Pop 22.04 as the guest.

The only changes made are:

It can take a while, but Firefox will eventually crash and GNOME keeps restarting. This happens with or without open-vm-tools-desktop or Guest Additions as well as with and without virtualbox-ext-pack. This will happen before and after updating the host and guest. Adding master had no effect. I am seeing this in all graphics modes and with different NVIDIA drivers installed. This is happening on the gaze15, darp6, orpy4, and Framework.

https://user-images.githubusercontent.com/11048214/179589050-d448e7a5-b663-4527-8ff3-347efccb855b.mp4

Update: After further testing it has been determined this is not a regression caused by the 5.18.10 kernel. This PR is good to go on my end.

dmgiangi commented 2 years ago

hi i would to beta-test linux 5.18.10 on pop. where can i read up?

leviport commented 2 years ago

@dmgiangi Thanks for your interest! However, we did just complete testing on this update and it should be merged and released soon.

In the future, if you'd like to test PRs before they're released, you can do so with the apt script in the pop-os/pop repo.

To use it, first clone the repo:

git clone https://github.com/pop-os/pop

Then make sure the name of the branch you're looking to test is available (we'll use this branch, linux-5.18.10 as an example):

cd pop
./scripts/apt remote

If you saw the branch name in that output (greping through it might help), then add it and install updates:

./scripts/apt add linux-5.18.10
sudo apt update && sudo apt upgrade

Then reboot or restart whatever piece of software you're trying to test.

The apt script also can be used to remove testing sources:

./scripts/apt remove linux-5.18.10
RafalSkolasinski commented 2 years ago

Thanks for your interest! However, we did just complete testing on this update and it should be merged and released soon.

Is there a chance that this patch https://github.com/pop-os/linux/pull/165 will also be included?

leviport commented 2 years ago

@RafalSkolasinski Not in this one, but that's probably a patch that doesn't need to be in a version upgrade.

dmgiangi commented 2 years ago

@leviport I thank you. I have one last question. if I don't remove the code I'm testing with

./scripts/apt remove [branch]

is it still replaced by subsequent updates?

leviport commented 2 years ago

@dmgiangi it will not be replaced. If this branch doesn't exist, but the source is still on your machine, installing updates will just show you a 404 error and not be able to update. It can be removed afterwards though, and if the currently released version is the same as the version from that branch, nothing will be updated or downgraded.