/srv/irclogs.ubuntu.com/2019/08/16/#ubuntu-discuss.txt

lotuspsychjegood morning to all05:23
lordievaderGood morning06:05
ducassemorning folks06:32
marcoagpintoHeya!07:43
lotuspsychjeEoflaOE: awake?08:20
EoflaOEYes lotuspsychje08:21
lotuspsychjeEoflaOE: got a proposal for an UWN article about making #ubuntu-bugs-announce more popular, maybe suggest to the UWN team?08:21
lotuspsychjeEoflaOE: maybe if we mention, more users find their way up there08:22
EoflaOElotuspsychje: Yes.08:22
marcoagpintomy dear beloved brothers! >:)08:24
EoflaOEhi marcoagpinto08:24
lotuspsychjehi marcola08:24
marcoagpintoHi08:24
lotuspsychjelol08:25
lordievader👋08:43
EoflaOEhi lordievader08:44
lordievaderHey EoflaOE How are you doing?08:46
EoflaOEDoing fine. How about you?08:47
lordievaderDoing good here :)09:17
marcoagpintoahhh... on my research for the warfare eras I learned that the ancient warfare ended with the finding of iron :)09:39
TJ-Here's an interesting issue for you: Been seeing the reaction to an external Bluetooth mouse being stuttering movement for a few days, despite opening up the mouse several times looking for problems. A BT-connected keyboard/touchpad didn't have the same problem. The BT hub is connected internally on USB. This PC (Asus T300CHI transgormer) has a single USB3.0 mini connector on the side. This has two09:41
TJ-connectors (USB2 mini + USB3 mini) as one so there is backward compatibility. For some time the USB3 side has been flakey because as far as I can tell physical leverage has broken the solder traces to the mainboard. I usually have a USB3 mini to USB-A adapter connected even when no USB device is plugged in. Today I had inspiration and unplugged the adapter (a passive cable) and the BT mouse instantly09:41
TJ-behaved properly. So.. physical damage on the edge connector causes internal spurious USB interference.09:41
marcoagpintoguys?! Has the Kernel issue been fixed?09:42
marcoagpinto:)09:42
marcoagpintoso that I can update my 19.04?09:42
lordievadermarcoagpinto: The kernel issue?09:43
marcoagpintoV 15 something09:43
marcoagpinto:)09:43
lordievaderWhat?09:44
marcoagpintothat people were complaining a week or two ago09:44
marcoagpinto:)09:44
marcoagpinto5.0.1509:44
marcoagpintoBuaaaaaaaaa... I can't remember the version... too much pressure09:44
lordievaderThis really tells me nothing. Link to a bugreport?09:44
marcoagpintolordievader: people were complaining that if would freeze Ubuntu09:45
marcoagpintoit*09:45
marcoagpintoor cause flickering in the screen09:45
lordievaderlotuspsychje: Do you know what bug marcoagpinto is talking about, and if it has been fixed?09:45
jeremy31I know lotuspsychje had flickering on a Clevo09:46
lordievaderYeah, I remember him talking about that.09:48
jeremy31I have the same graphics card in this HP and no flickering with the same kernel09:57
marcoagpintowhat is this "waiting for unattended-upg to exit"?10:17
marcoagpintoit takes 10 minutes to disappear?10:17
marcoagpintoon software updater10:17
lordievaderUnattended upgrades busy with performing updates?10:41
lotuspsychjelordievader jeremy31 tomreyn found a workaround for my flickering bug 5.0 see https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/183864410:45
ubot5Ubuntu bug 1838644 in linux-hwe (Ubuntu) "Booting into desktop results in flickering" [Undecided,Confirmed]10:45
lordievadermarcoagpinto: ^10:46
marcoagpintolordievader: yes, exactly10:57
marcoagpinto:)10:57
marcoagpintosorry... I went to the store to buy cola... I ran out of stock10:57
TJ-lotuspsychje: I've added some info to your flicker bug report11:22
lotuspsychjelets c11:23
lotuspsychjetnx TJ- you want me to try a 4.19 mainline then?11:24
lotuspsychje4.18 is confirmed working11:24
TJ-lotuspsychje: it would help yes, since if you can confirm the issue is between the 2 a git bisect across those commits would not need a lot of steps11:24
lotuspsychjeTJ-: allrighty lets grab a 4.1911:25
TJ- git bisect start v4.19 v4.18 -- drivers/gpu/drm/i91511:26
TJ-Bisecting: 273 revisions left to test after this (roughly 8 steps)11:26
lotuspsychjeTJ-: alot of folder on the 4.19 series, wich one to start?11:27
TJ-lotuspsychje: v4.19   -- the first11:28
lotuspsychjehttps://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc1/ this?11:28
TJ-no, that's a release candidate. https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/11:29
lotuspsychjekk11:29
TJ-oops, not that one !!11:29
TJ-that's 4.9 noto 4.19 :D11:29
TJ-https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/11:29
lotuspsychjeon it11:29
TJ-lotuspsychje: the upstream bug suggests it affects 4.19 onwards so if you can confirm that we're much closer to finding the cause11:30
lotuspsychjei can still use the i915.fastboot=0 bootline right11:31
lotuspsychjeok reboot test11:35
lotuspsychjeTJ-: 4.19 also flickering, i presume thats what you wanted to prove right?11:38
TJ-lotuspsychje: fab, yes :)12:11
TJ-lotuspsychje: do you have a local (powerful) amd64 system to do kernel builds on? It'd make it much easier and faster to do these tests since you could do your own bisect and kernel builds12:12
BluesKajHowdy folks12:13
lotuspsychjeTJ-: intel i5 here, and my nuc i712:13
TJ-lotuspsychje: the i5 would be a good one... after the first complete build (which will take some time) later builds will be incremental so should be much quicker12:14
lotuspsychjeTJ-: is it 4.19 bisect time, thats what you suggest?12:14
TJ-lotuspsychje: bisect between v4.19 (bad) and v4.18 (good) just using the drivers/gpu/drm/i915 path12:15
lotuspsychjeTJ-: is that intel-drm daily builds you mean for 4.19 specific then?12:16
EoflaOEWhat is "bisect"?12:20
marcoagpintoEoflaOE: compare the source code between versions12:20
marcoagpinto:)12:20
marcoagpintoto try to find out what introduced the issue12:20
EoflaOEThanks marcoagpinto12:21
marcoagpinto>:)12:21
marcoagpintoI am just a little demon12:21
TJ-lotuspsychje: no, it isn't daily, it means building the kernel as it exists between 4.18 and 4.19 using binary section (bisect) which divides the distance between the 'good' and 'bad' commits by 2 each time12:23
lotuspsychjeTJ-: so you want me to find the weak spot in the 4.18 series?12:24
lotuspsychje4.19 sorry12:24
TJ-From my earlier git-bisect report it expects there to be 8 steps (builds) to find the problem commit12:24
TJ-lotuspsychje: correct12:24
lotuspsychjeTJ-: https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.5/ to start with?12:26
TJ-It said "Bisecting: 273 revisions left to test after this (roughly 8 steps)" ... so that means 273 /2=136 /2=67 /2=34 /2=17 /2=8 /2=4 =/2=2 /2=112:26
lotuspsychjenot sure i follow that12:27
TJ-lotuspsychje: no, the first 'bad' is v4.19 so it'll work backwards from that tag to v4.18, passing through only the commits to the drivers/gpu/drm/i915/ changes12:27
lotuspsychjeso its the 4.18 series to bisect then12:28
TJ-lotuspsychje: the count is the number of commits affecting the drivers/gpu/drm/i915/ path ... binary section means take the middle commit between 'good' and 'bad' and test it. If that is 'bad' then you've halved the number of commits to test so you build the next test from a commit half way between 'good' and this new 'bad' etc12:29
TJ-lotuspsychje: no, it is the commits added between v4.18 and v4.19, this has nothing to do with the stable releases (v4.18.X are stable releases)12:29
lotuspsychjeyeah but i dont get those numbers, can you gimme examples of kernels i should test up or down12:30
TJ-lotuspsychje: those added commits will have arrived as soon as the v4.19 development cycle started and would be contained in the various v4.19-rcX points12:30
TJ-lotuspsychje: OK, let's go back to (git) basics.12:31
TJ-Every kernel change is self-contained as a small patch that affects only the files that relate to the change being made. We call that change a "commit". Every commit has a unique SHA hash which is the commit ID. Every so often the project (in this case Linux Torvalds) decides to make a test 'release' so a commit is 'tagged'. A tag is the version numbers you're more familiar with, e.g. v4.19rc1,12:34
TJ-v4.19rc2, ... maybe to v4.19rc7 ... when Linus is happy there are no regressions he'll make a full release which is tagged as v4.19  ... and then start the 4.20 release cycle.12:34
lotuspsychjeyeah i get every kernel version has commits added12:34
TJ-In the 4.20 release cycle there may come fixes for bugs and regression reported against v4.19 ... those are added to a separate git repository, the stable tree, maintained by Gregg Kroah-Hartman. When Gregg makes releases he adds a number to the release so you'll see v4.19.1, v4.19.2, v4.19.3 ... and so on. Those are where Ubuntu kernel will pull most if its fixes from12:35
lotuspsychjeyeah nocticed those12:36
TJ-So in your specific case you know the v4.18 release works fine but the v4.19 release is bad. We also deduce in your case the problem is most likely in the i915 driver itself, so we can limit where we look for the bug to the drivers/gpu/drm/i915/ path in the kernel source.12:36
TJ-So when we ask git-bisect to get to work it counts all the commits on that path between the two tags v4.18 and v4.19, which is 27312:37
lotuspsychjeahh i see12:37
lotuspsychje273 versions to test in between12:37
TJ-then it it picks the commit half-way between, which is ~136 commits after v4.18 and builds the kernel there12:37
TJ-you test that build and tell git-bisect it was either 'good' or 'bad'12:38
TJ-If it was bad git-bisect then knows the problem is between v4.18 and 136 commits later, so it picks the commit half-way between (~ 67) and you build again.12:39
lotuspsychjeTJ-: but im not a dev, i know nothing on commits, only to install kernel versions12:39
lotuspsychjeso you tell me wich kernel version is on halfway 136 commits?12:39
TJ-lotuspsychje: right, but this process only involves issuing simple git-bisect good/bad commands after each test, executing the kernel build instruction and waiting for the kernel to be ready, then installing and testing it.12:39
TJ-git bisect automatically checks out the commit to be tested and then you issue the kernel build command and sit back until it is ready12:40
lotuspsychjegit-bisect is something else then kernel bisect?12:40
TJ-lotuspsychje: instead of you telling seth and him telling git-bisect and then waiting for seth to build the kernel, you do that part yourself which means you aren't waiting on someone else12:41
TJ-lotuspsychje: git-bisect is the tool used to do kernel bisecting12:41
lotuspsychjeright12:41
TJ-that's what devs mean when they talk about kernel bisect, they're using git-bisect's automated workflow which just involves telling git-bisect which are the good and bad commits/tags and then it checks out the commit 1/2 way beteen those and you trigger a build, test, report good or bad and go around again :)12:42
TJ-and as I said, git-bisect indicates you'll only need a max of 8 builds to find the bug12:42
lotuspsychjeTJ-: yeah i noticed the dev helping me was building stuff on the 5.0 series, wich he presumed the commits12:43
lotuspsychjebut not sure i wanna start playing with git bisect lol12:44
TJ-lotuspsychje: I promise you it is simple :) here's the man-page... all you'd use is the 'start' 'good' and 'bad' options12:44
TJ-http://manpages.ubuntu.com/manpages/bionic/en/man1/git-bisect.1.html12:44
lotuspsychjecan you give me an example on one kernel12:45
TJ-lotuspsychje: how do you mean 'on one kernel' ?12:45
lotuspsychjewell we want to test on the 4.18 and 4.19 series specificly right?12:46
lotuspsychjedoes this test the kernel you booted on?12:47
TJ-The kernel is ONE tree of code with continuously added changes (commits). Some of those commits get 'tagged' with version numbers is all. There are NOT separate 'kernels' or 'trees' for each release version.12:47
lotuspsychjeTJ-: give me an example of git-bisect ill see if i udnerstand12:49
TJ-It goes like this: 1) use git to clone the kernel source-code locally  2) install the tools required to build the kernel 3)  use git-bisect to indicate the known 'good' and 'bad' commits (tags) 4) git-bisect will 'check-out' the source tree at the midddle commit 5) build the kernel from source to binary 6) install the built kernel 7) test 8) tell git-bisect if it was 'good' or 'bad' 9) repeat from 512:50
TJ-lotuspsychje: that man-page contains an example workflow using bisect on the kernel , you'll see there it does "git bisect good v2.6.13-rc2"12:51
lotuspsychjeTJ-: tnx for the explanation but im not gonna start mess with it12:54
lotuspsychjethis is the work devs need to do12:55
TJ-that's a shame, you'd have the exact commit that broke it in a few hours12:55
lotuspsychjethey know wich kernels work and doesnt now..12:55
TJ-They've got do all I've described and you've got to test every build anyhow to discover the bad commit12:56
TJ-Especially as this only seems to affect that model/BIOS12:56
lotuspsychjei wanna help kernel testing but not gonna start building them12:57
lordievaderBuilding kernels is not that complicated...12:58
lotuspsychjemaybe, but the devs are payed to do this12:58
lotuspsychjeand im not really pleased this happened on lts..12:59
lotuspsychjeknowing this works on several other kernels versions12:59
lordievaderNot enough qa testers on real and different hardware?13:00
lotuspsychjemaybe lordievader but if 5.2 and 5.3 work nicely, the commits used there are known to work13:00
lotuspsychjethey 'should' know where the cuplrit is?13:01
lordievaderBack when I still did qa testing I mainly used virtual machines since that way you could test multiple targets at the same time.13:01
lordievaderBut you miss these kind of things that show with particular hardware combinations.13:01
lotuspsychjeyou mean that only i (on this machine) can really find the right 'bad' commit that causing it?13:02
TJ-lotuspsychje: you have to consider those 'devs' have greater priorities than this issue since it only affects a small number of models/BIOS, whereas you have a greater interest in solving it. Being able to tell the devs X commit is the problem might save several weeks of back and forth13:02
lotuspsychjeok fair enough13:03
TJ-lotuspsychje: and the other point is the dev's may be paid but not specifically for this kind of issue, they're paid to solve issues for paying customers mostly... if that helps the communnity users its a benefit of course13:03
lotuspsychjeTJ-: is it possible if this bug isnt traced right, this will happen to next ubuntu versions?13:06
lordievaderIf they are payed at all.13:06
TJ-lotuspsychje: of course, moreso because the Intel i915 dev that looked at the upstream bug in March/April hasn't responded about it since13:08
lotuspsychjeright..13:10
=== jelly-home is now known as jelly
lotuspsychjeTJ-: could you doublecheck this plz: https://bbs.archlinux.org/viewtopic.php?id=24411514:33
TJ-lotuspsychje: that commit (a99790bf5c7f3d68d8b01e015d3212a98ee7bd57) suggests the affect is wider than just video14:44
lotuspsychjebut they also mentioning the flickering14:44
lotuspsychjeand my wifi:14:45
TJ-from your dmesg14:45
lotuspsychjedescription: Wireless interface14:45
lotuspsychje       product: Wireless-AC 926014:45
TJ-[    0.238658] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it14:45
TJ-[    0.369195] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]14:46
TJ-[    0.370267] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration14:46
TJ-[    0.378300] pci 0000:00:1c.3: ASPM: current common clock configuration is broken, reconfiguring14:46
TJ-[    2.409840] r8169 0000:01:00.1: can't disable ASPM; OS doesn't have ASPM control14:46
TJ-So, all that suggests that despite the ACPI FADT saying there is no PCIe ASPM, the BIOS has enabled it anyhow14:47
TJ-But Linux cannot control it14:47
OerHekslolz .. i knew something was comming20:56
OerHeksredmine server issues20:56
=== kallesbar_ is now known as kallesbar

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!