/srv/irclogs.ubuntu.com/2019/08/02/#ubuntu-kernel.txt

alkisgHi, which kernel is 19.10 mostly likely going to ship with? We want to prepare some out-of-tree drivers before release...06:48
tjaaltonalkisg: 5.3 is planned06:54
alkisgThank you tjaalton :)06:54
lotuspsychjehey alkisg tjaalton 07:36
alkisgHeya lotuspsychje07:36
lotuspsychjetjaalton: i been able to grab a dmesg on that intel flickering with a kernel param Bug #183864407:37
ubot5bug 1838644 in linux-hwe (Ubuntu) "Booting into desktop results in flickering" [Undecided,Incomplete] https://launchpad.net/bugs/183864407:37
tjaaltonlotuspsychje: hi, tested -12 yet?07:37
lotuspsychjetjaalton: no, did you own build or from mainline? can you link plz?07:38
tjaaltonsame link07:38
tjaaltonhttps://aaltoset.kapsi.fi/bisect/07:38
lotuspsychjeok lets test07:38
tjaaltonfifo underruns would match the expected symptom07:39
tjaaltonI'm going to be afk for a bit.. but will check once back07:41
lotuspsychjetjaalton: Rootbox 5.0.0-rc1 #12 working : )07:42
tjaaltonreally?07:52
tjaaltonit's basically 5.0-rc107:52
tjaaltonnow you can bisect using mainline rc builds while I'm gone07:52
tjaaltonback in 1,5h or so07:53
lotuspsychjetjaalton: wich versions07:53
tjaalton5.0-rcN07:53
lotuspsychjecan you link plz07:53
tjaaltonsame mainline repo https://kernel.ubuntu.com/~kernel-ppa/mainline07:53
lotuspsychjetnx07:53
lotuspsychjerc1==>rc8 right07:55
apwlotuspsychje, obviously you should bisect it, -rc4 first or whatever07:58
lotuspsychjeapw: sorry im not really a dev, bisect means?07:59
apwnot a technical term, it is a search algorithm07:59
apwdivide-and-conquor07:59
lotuspsychjecan you explain a bit plz?08:00
apwif you think the answer is between 1 and 10, and you can tell if your guess is too low08:00
apwyou would try 508:00
apwif the guess was too low you try 7.5, too high 2.508:00
apwand so on08:00
lotuspsychjeapw: we are looking for the bottleneck kernel version and guess into the middle?08:00
apwyou are doing the equivalent here08:00
apwso always take a half way, eliminating half08:00
apwfor you you know 5.0-rc1 is good i think, and a 5.0 ubuntu kernel is bad08:02
apwso likely i would test v5.0 itself next, to eliminate the ubuntu delta08:04
apwthen if that 5.0 fails (and you may have tested that already), v5.0-rc4 or something08:04
lotuspsychjeapw: so lets say i test rc5, how would i know if upper or lower is bad/good?08:04
apwlotuspsychje, you know which is good, you are testing for something, like display issues right ?08:07
apwso you said -rc0 does not have 'the problem' and ubuntu has 'the problem'08:07
lotuspsychjeapw: correct, intel gpu gives flickering at desktop boot08:07
TJ-lotuspsychje: imagine you've got (to make it easy) 12 commits between the known-bad and later known-good. A bisect will build #6 first. if you report that works (good) it'll then build #3, if you report that bad, it'll then build #5, if that is good it'll build #4, if that is good you know it contains the fix. if it is bad, you know #5 contained the fix08:08
lotuspsychjeright08:09
apwthat is your test to say which way to go08:09
apwif 5.0-final is good then we know ubuntu delta is faulty08:09
apwif 5.0-final is bad we know the breaking commit is before 5.0 so try something later than good and before bad08:10
lotuspsychjeevery kernel test i should update my bug with?08:11
lotuspsychjeapw TJ- 5.0.0-050000rc4-generic is bad08:26
RikMillslotuspsychje: someone in #kubuntu reported same today: https://paste.ubuntu.com/p/JcrbHxq2hn/08:26
RikMillssadly they have gone08:26
lotuspsychjeRikMills: can you check my bug if its related to the new KDE guy that replyed?  Bug #183864408:26
ubot5bug 1838644 in linux-hwe (Ubuntu) "Booting into desktop results in flickering" [Undecided,Incomplete] https://launchpad.net/bugs/183864408:26
RikMillslotuspsychje: no, as I said, they left the channel before I looked. I only have the log08:27
RikMillsI was just FYI08:28
apwlotuspsychje, 08:28
apwlotuspsychje, lower then 08:28
lotuspsychjeapw: ok08:28
apwalways closing the gap between good and bad08:28
TJ-lotuspsychje: for what it is worth I examined the Ubuntu cherry-picked patches since 5.0.0-18.19 I think it was, comparing them with where they came from in the later kernel, and I got an indication a related patch that should have been cherry-picked was missing, but I ran out of time in analysing it in more detail to figure out which08:29
lotuspsychjeRikMills: did you read #12 on my bug?08:30
lotuspsychjethats also a carl08:30
RikMillslotuspsychje: oh, I sees. can't confirm, but seems likely08:31
lotuspsychjeRikMills: ok tnx for the notice08:32
lotuspsychjeapw: rc1 rc2 rc3 rc4 are bad08:54
lotuspsychjenow what?08:54
apwlotuspsychje, huh ... -rc1 was reported good earlier in this channel, so now i am confused08:55
apwlotuspsychje, or more specifically the thing you tested which was labelled 'basically' -rc1 by tjaalton was good08:55
lotuspsychjeapw: that was an own built one version from tjaalton #1208:55
apwlotuspsychje, can you re-test that one to confirm it still works; if so that say -rc1..<tjaalton-12> has the fix08:56
lotuspsychjesure08:56
lotuspsychjeLinux Rootbox 5.0.0-rc1 #12 SMP Thu Aug 1 19:38:58 EEST 2019 x86_64 x86_64 x86_64 GNU/Linux build from tjaalton confirmed still working08:58
apwtjaalton, ^ it seems my mainline 5.0-rc1 is bad and that is good ... so we need to know how they differ08:59
apwlotuspsychje, we need to t-jaalton now to know what to try, i assume he will be around later08:59
lotuspsychjeallright, tnx for your time apw 09:00
apwlotuspsychje, np09:00
tjaaltonlotuspsychje: verify that you had -modules installed for the mainline builds, if not then i915.ko isn't available and you can't hit the bug09:37
tjaaltonyou can also check with 'lsmod| grep i915'09:37
lotuspsychjetjaalton: yeah i installed headers, modules and image on all tests09:59
tjaaltonweird10:01
lotuspsychjetjaalton: did you check the dmesg with drm.debug=0x1e log_buf_len=4M maybe some clues there?10:02
tjaaltonit just verifies the bug10:02
lotuspsychjeok10:02
lotuspsychjetjaalton: that carl guy from my bug, also has intel 620 graphics like me10:04
lotuspsychjeon my NUC its intel 650 and there it doesnt happen10:04
tjaaltonit's not the gpu but the panel10:05
lotuspsychjeah10:05
tjaaltonyour nuc doesn't have one10:05
lotuspsychjecorrect10:05
tjaaltonis it a 4k unit?10:05
tjaaltonresolution10:05
lotuspsychjeResolution: 1920x1080@60.01hz10:06
tjaaltonok10:06
tjaaltonso I don't know what to do now10:23
lotuspsychjetjaalton: im currently browsing older bugs on underrun errors10:24
lotuspsychjeso far i didnt have customers calling for issues yet10:25
tjaaltonI wonder if your testing of my -12 was just incomplete, meaning that maybe it'd start to flicker later or something10:26
lotuspsychjetjaalton: from my testing, i can reproduce pretty similar, aka, few seconds i see desktop, then the flickering starts heavy, cant do anything anymore in between10:27
tjaaltonmaybe double check if you have i915 loaded with -1210:28
lotuspsychjei am https://paste.ubuntu.com/p/4W83KkgT6M/10:29
tjaaltonyep10:30
lotuspsychjetjaalton: im browsing this currently, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/155077910:31
ubot5Ubuntu bug 1550779 in linux (Ubuntu) "[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun" [Medium,Confirmed]10:31
lotuspsychjeas they also mentioning flickering10:32
lotuspsychjeand jeremy31 found just this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/182421610:40
ubot5Ubuntu bug 1824216 in linux (Ubuntu Disco) "Linux 5.0 black screen on boot, display flickers (i915 regression with certain laptop panels)" [Undecided,Fix released]10:40
tjaaltonthat was a revert of a commit 10:41
tjaaltona regression in 5.0.x stable branch10:45
tjaaltonlotuspsychje: could you post dmesg without debug output from both -12 and mainline 5.0-rc1 somewhere..11:01
tjaaltontrying to search for hints why the other fails while the other doesn't11:02
lotuspsychjeon it11:02
tjaaltonbtw, check for bios updates11:04
lotuspsychjeRC1: https://paste.ubuntu.com/p/QFJY3jNSHb/11:18
lotuspsychje#12: https://paste.ubuntu.com/p/hTXK4KmgVS/11:19
tjaaltonthanks, I'll have a look..11:20
lotuspsychjety tjaalton 11:21
lotuspsychjeanother fact i just found out, pressing backlight Fn+ F8/F9 brightness makes it flicker more11:23
tjaaltonthey look mostly the same, my kernel has a slimmer config but all the framebuffer/drm things look the same on both12:04
apwtjaalton, so perhaps a timing issue?  the extra weight changing the timing ?12:05
apwcould you perhaps make your kernel using the other config and see?12:06
tjaaltonsure12:17
tjaaltonlotuspsychje: -13 is built, using identical config as mainline rc113:14
lotuspsychjeon it tjaalton 13:15
tjaaltonapw: I'm using 'make bindeb-pkg' btw, and gcc 7.4.0 from bionic. the mainline builds are built on a newer distro?13:18
apwlikely so yes13:18
apwprolly against disco13:18
* apw realises he could use the version data to produce multiple, but uggg13:19
lotuspsychjetjaalton: its flickering https://paste.ubuntu.com/p/B3WQDxfwdK/13:21
tjaaltonphew13:22
lotuspsychjeis that a good phew?13:24
tjaaltonyes13:24
lotuspsychjeyay13:24
tjaaltonat least we have a baseline now...13:25
lotuspsychjewell done tjaalton ; )13:25
tjaaltonngh, looking at the config diff makes me sad13:26
tjaaltonlet's just bisect13:26
tjaaltonI'll build drm-intel-next-2019-02-02 now, which was what you tested as -11 with the old config13:28
lotuspsychjeokay13:28
tjaaltonlotuspsychje: -14 is uploaded13:40
lotuspsychjelets test13:40
lotuspsychjetjaalton: Linux Rootbox 5.0.0-rc1 #14 SMP Fri Aug 2 16:28:16 EEST 2019 x86_64 x86_64 x86_64 GNU/Linux13:43
lotuspsychje working13:44
tjaaltongreat13:46
tjaaltonnow the actual bisecting can start..13:46
lotuspsychjegood luck13:47
tjaaltonyou're still testing them :P13:47
lotuspsychjeapreciating the work you doing mate, its the least i can do13:48
tjaaltonmy part is just mechanics, building kernels13:48
tjaaltontakes maybe 5min to build13:48
lotuspsychjesure, coffee to the rescue :p13:49
=== jdstrand_ is now known as jdstrand
tjaaltonbeer13:58
lotuspsychjelol13:58
tjaaltonok it took 15min, -15 is available14:02
lotuspsychjelets fire it up14:02
lotuspsychjetjaalton: 5.0.0-rc1+ boot this now?14:04
tjaaltonyes14:04
lotuspsychjeallrighty14:05
lotuspsychjetjaalton: + is flickering14:08
tjaaltoncool14:08
tjaaltonlotuspsychje: -16 done14:21
lotuspsychjeokay tnx14:21
lotuspsychjetjaalton: 16 flickering14:28
tjaaltongreat14:28
lotuspsychje: )14:28
tjaaltonthe actual compile takes a minute, then building the package takes 1014:30
lotuspsychjedont worry mate, im used to idle14:30
tjaaltonlotuspsychje: -17 uploaded14:35
lotuspsychjeallrighty!14:36
lotuspsychjetjaalton: Linux Rootbox 5.0.0-rc1+ #17 working!14:39
tjaaltonaha14:39
tjaaltonlotuspsychje: -18 up14:48
lotuspsychjeokay14:48
lotuspsychjetjaalton: -18 flickering14:52
tjaaltongot it14:53
tjaaltonmeanwhile, you could try booting 18 with 'i915.fastboot=1'14:57
lotuspsychjetjaalton: im always installing ubuntu in legacy, will that param have effect?14:57
tjaaltondunno14:58
lotuspsychjeok lets try14:58
tjaaltoncould be it's "drm/i915: Try to sanitize bogus DPLL state left over by broken SNB BIOSen" but we have that backported in 5.0 already14:59
tjaaltonbut if bisect points to it, then it needs some other commit(s) to work...14:59
tjaalton-19 uploading15:00
lotuspsychjewant me to test 18 with param first?15:00
tjaaltoneither way15:01
tjaaltonhmm maybe yes, if this replaces 1815:01
lotuspsychjetjaalton: fastboot trick on -18 worked15:03
tjaaltonha15:03
tjaaltona true head-scratcher...15:04
tjaaltonlotuspsychje: and no fifo underruns in dmesg?15:05
lotuspsychjehttps://paste.ubuntu.com/p/4GN5kzzJCq/15:07
tjaaltonthat would be a no then15:08
lotuspsychjetjaalton: try -19 now?15:10
tjaaltonlotuspsychje: so, boot the distro kernel with fastboot15:10
tjaalton-19 should be bad15:10
lotuspsychje5.0.0.23 with fastbbot right?15:10
lotuspsychjeboot15:10
tjaaltonyep15:10
lotuspsychjekk15:11
tjaaltonand then maybe boot 5.1 mainline with fastboot=015:11
tjaaltonto rule this out15:12
lotuspsychjetjaalton: working! 5.0.0-23-generic #24~18.04.1-Ubuntu15:13
tjaaltonnow try suspend&resume :)15:13
lotuspsychjetjaalton: suspend makes it flicker15:16
tjaaltonbingo15:16
lotuspsychje\o/15:17
tjaaltonso, boot 5.1 with fastboot=015:18
tjaaltonmaybe add it to /etc/default/grub so that it's always there15:18
tjaaltonGRUB_CMDLINE_LINUX15:19
lotuspsychjeyeah im doing it that way15:19
tjaaltoncool15:19
lotuspsychjetjaalton: i got a 5.1.0 and 5.1.2115:20
tjaaltonboot .2115:20
lotuspsychjeallrighty15:20
lotuspsychjetjaalton: i915.fastboot=0 on 5.1.21 flickering15:24
tjaaltonmarvellous15:24
tjaaltonapw: recent drm-tip builds have failed15:25
tjaalton07-30 is the latest15:25
tjaaltondrm-next too15:26
tjaaltonum, drm-intel-next that is15:26
tjaaltonlotuspsychje: install this https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/2019-07-30/15:26
lotuspsychjeallrighty15:27
tjaaltonif it's broken, then all we can do is wait for the guy at intel responsible for this to return from vacation :P15:29
lotuspsychjetjaalton: boot with fastboot=0 ?15:29
tjaaltonor bisect where it broke, but I'd say reverting something at this point would risk breaking it for others15:29
tjaaltonyes15:29
lotuspsychjecross your fingerz15:30
lotuspsychjetjaalton: 5.3 with fastboot=0 working15:32
lotuspsychjetry suspend?15:32
tjaaltonsure15:32
tjaaltonbut that sounds promising15:33
lotuspsychjenot flickering15:33
tjaaltontry latest 5.3-rc then15:33
lotuspsychjerc2?15:34
tjaaltonyes15:34
lotuspsychjetjaalton: 5.3.0-050300rc2-generic working, but it doesnt wanna suspend15:39
tjaaltonok, good. now test 5.2.515:40
lotuspsychjeok15:40
lotuspsychjetjaalton: 5.2.5 flickering15:46
tjaaltonokay15:46
tjaaltonlotuspsychje: try this one https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/2019-06-20/15:47
lotuspsychjeinstalling15:48
tjaaltonlotuspsychje: if that works, try the one before that15:49
tjaaltonon the parent dir15:49
tjaaltonand so on15:49
lotuspsychjeokay15:51
tjaaltononce we have known good/bad, it's time for another bisect..15:51
tjaaltonbut I'm about to hop on a swimming pool :P15:52
lotuspsychjetjaalton: 2019-06-20/ 5.2.0 flickering15:54
tjaaltonoh15:55
tjaaltononly a handful of commits between that and 5.3-rc215:59
tjaaltonbut a new build will take closer to an hour now16:04
lotuspsychjeallrighty, lets take a break :p16:04
tjaalton19 commits of which two are suspicious16:04
tjaaltonbut both seem to fix commits not in 5.0 :/16:04
tjaaltonok, swim/beer break16:05
tjaaltonlotuspsychje: -20 uploaded16:50
tjaalton5.2.0-rc4+16:50
tjaaltonlotuspsychje: ping?17:40
lotuspsychjetjaalton: ok lemme test17:43
lotuspsychjetjaalton: 5.2.0 rc4 flickering17:53
tjaaltonalright17:55
=== Laney is now known as awayney
tjaaltonbuilding the next one, seems to take a while18:08
lotuspsychjeokay tnx18:08
lotuspsychjetjaalton: i need to still test them all with fastboot=0 right?18:09
tjaaltonyes18:09
lotuspsychjekk18:09
tjaaltonlotuspsychje: -21 finally uploaded18:45
lotuspsychjeallrighty!18:46
lotuspsychjetjaalton: -21 also flickering18:51
tjaaltonthanks18:53
tjaaltonbuilding18:53
lotuspsychjecool18:53
tjaaltonlotuspsychje: -22 uploaded19:41
lotuspsychjeokay19:41
lotuspsychjetjaalton: -22 also flickering19:45
tjaaltonokie19:46
lotuspsychjetjaalton: was the last one for today for me, ill continue tomorrowz ok19:47
tjaaltonok19:47
tjaaltonI'll push 23 once it's ready, you'll find it in the same place19:48
lotuspsychjeallrighty!19:48
lotuspsychjeill test when i wake19:48
tjaaltonthanks19:53
jeremy31I just tried the 5.0.0-23 kernel on my laptop with the Intel UHD 620 graphics and have no flicker21:28

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