/srv/irclogs.ubuntu.com/2013/03/14/#ubuntu-kernel.txt

ppisatimoin07:30
=== jibel_ is now known as jibel
=== yofel_ is now known as yofel
=== amitk is now known as amitk-afk
rtg_ogra_, is dropping luxd all that it took for the ambient light sensor to start working ?12:39
ogra_rtg_, well, there is definitely also a kernel issue .. but without luxd it wont be exposed as easily (i bet though that you end up with a black screen when moving the brightness slider to zero12:40
ogra_)12:40
rtg_ogra_, you probably also lose the automatic adjustment ?12:41
rtg_I find that it annoys the hell out of on Android 'cause it never gets it right and is always hopping around.12:42
ogra_well, yeah, but that was supposed to be moved into gnome-settings-daemon anyway, luxd was a hackish interim 12:42
rtg_ogra_, so ppisati N7 wasn't really broken ?12:43
ogra_well, there is an issue for sure ... in that our kernel behaves differently once phablet was installed 12:43
ogra_something redefines the 0 value12:44
ogra_but you will atm only hit it if you use the brightness slider and pull it to 0 i guess12:44
ogra_would be good if ppisati could check that 12:44
rtg_ogra_, sounds pretty low priority unless he's got no other N7 bugs to work on.12:45
ogra_yeah12:45
ogra_it might even be that g-s-d catches that and sets it to 1 instead of 0 ... so a test would be welcome 12:46
ogra_with luck userspace shields us from the bug 12:46
ogra_(which would make it a non issue for now)12:46
ppisatiogra_: got a new high priority task assigned, put n7 work on the back burner13:38
ppisatirtg_: ^13:38
ogra_well, could you at least do that one test (open the brigfhtness GUI and slide all the way down) ?13:39
ppisatiogra_: android? phablet? desktop?13:39
ogra_desktop13:39
ogra_if the screen doesnt turn fully black with that, we're fine and there is no further work required anyway13:40
ppisatiogra_: ok, i'll do13:40
ogra_thx13:40
ppisatiogra_: ok so13:49
ppisatiogra_: i pulled the slide down to 013:49
ppisatiogra_: and i've a black monolith13:49
ppisatiogra_: now13:49
ogra_lol13:49
ppisatiobviously the chance i'll hit the slide again13:50
ogra_right, so its still serious13:50
ppisatiand bring the brightness to a normal level are 0 now13:50
ogra_you can indeed do it from cmdline 13:50
ogra_echoing something into the brightness setting in sysfs13:50
ppisatiogra_: neee13:52
ppisatiogra_: i was able to find it again13:52
ogra_haha, lucky guy13:52
ogra_well, move on to your important thing ... we can take care later ... 13:53
ppisatii could still see some shadow on the screen13:53
ogra_sad, i was hoping we can put it to death13:53
ppisatiogra_: did you drop luxd in today's img?13:53
ogra_yes13:54
ppisatiogra_: nice13:54
ogra_it was an interim solution anyway ... 13:54
ogra_gnome-settings-daemon will get that functionality 13:54
=== amitk-afk is now known as amitk
bjfppisati, did you turn the crank on quantal ti-omap4 after our respin?14:18
ppisatibjf: not yet14:18
ppisatibjf: i'll do it now14:18
ppisatigit log -p14:19
ppisatiops14:19
ogra_"not a branch"14:20
* ogasawara back in 2014:55
rtg_jsalisbury, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1154917/comments/515:01
ubot2Launchpad bug 1154813 in initramfs-tools "duplicate for #1154917 Boot broken with initramfs-tools 0.103ubuntu0.5b1 - wait-for-root doesn't wait" [Critical,Fix released]15:01
ppisatibjf: done15:07
bjfppisati, thanks15:08
jsalisburyrtg_, ack, thanks for the info15:18
=== lfaraone_ is now known as lfaraone
sconklinhttps://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/109731515:26
ubot2Launchpad bug 1097315 in xserver-xorg-video-intel "Xorg hangs in drm_helper_connector_dpms" [High,Triaged]15:26
sconklinhttps://bugs.launchpad.net/utah/+bug/109292415:26
ubot2Launchpad bug 1092924 in utah "Cobbler install of recent raring-desktop images failing" [High,Triaged]15:26
* ppisati goes out for a bit16:12
* rtg_ -> lunch17:28
tjaaltonogasawara: hey, how about rebasing i915_hsw to 3.8.x, yea/nay? the current version is showing it's age already :/17:35
* cking -> food18:22
rtg_tjaalton, confused. what are you referring to ?18:23
tjaaltonrtg_: the drm driver for haswell on the quantal kernel, currently based on 3.7-rc618:26
rtg_tjaalton, oh, you mean rev the haswell driver in Quantal up to current Linux 3.9-rc2 upstream ?18:27
tjaaltonrtg_: well, to 3.8.x for starters, going further would probably mean (more) issues with drm_*18:28
rtg_tjaalton, would the fix some specific issues ?18:29
rtg_would tah*18:29
rtg_frick18:29
tjaalton:)18:30
rtg_thats 325 patches18:30
tjaaltonyes, and enable backporting newer fixes18:30
tjaalton3.9rc would be some 250 more :)18:31
rtg_tjaalton, how about if you just wait for the 3.8 LTS kernel ? or is it Quantal user space you need ?18:31
tjaaltonthat's one option yes18:32
tjaaltonso raring kernel + quantal xorg stack18:32
gQuigsdoes mtrr_cleanup serve a purpose on a server machine?  is it even still relevant on deskops?18:33
rtg_tjaalton, I don't think there is _any_ chance that we could SRU 325 patches back into Quantal18:33
gQuigsrelated askubuntu question: http://askubuntu.com/questions/244473/how-and-why-should-i-specify-mtrr-gran-size-mtrr-chunk-size18:33
tjaaltonrtg_: well, it is unreleased hw, i915_hsw is only used on hsw18:33
rtg_tjaalton, except that the haswell fixes are all intertwined with the rest of the i915 driver code18:34
ohsixif you have a processor that can do PAT, mtrr's aren't very relevant18:34
tjaaltonrtg_: umm, no? it's a separate module in ubuntu/i91518:35
rtg_tjaalton, lemme refresh my memory. haven't looked at it in awhile18:35
mainerrorohsix, are there still CPUs there PAT isn't available? I mean it should be available since P3.18:36
mainerrors/there/where/18:36
rtg_tjaalton, ok, now I remember. ogasawara copied the whole haswell mess into ubuntu/i915 and restricted the PCI IDs18:37
tjaaltonyep18:37
rtg_tjaalton, so there are no haswell based systems out there in the real world yet ?18:37
tjaaltonrtg_: nope18:38
rtg_tjaalton, ok, that makes it easier.18:38
ohsixmainerror: i have one somewhere, but that was the intent of mentioning it :]18:39
ogasawarartg_, tjaalton: so one concern I do have is I pulled the updated driver from an intel specific branch which only contained the patches we supposedly needed for haswell18:39
rtg_ogasawara, one would assume that all landed in 3.8 ?18:40
ogasawarartg_, tjaalton: so I'd be concerned what else we'd get if we pulled the driver directly from v3.8.2.  I'm not opposed to it though since it is pretty well quarantined to just those pci id's18:40
tjaaltoni've created a dkms package and tested that it at least builds against the quantal headers, so rebasing it should be doable18:40
ogasawarartg_: yes, I would assume all those patches are in the current 3.818:40
ogasawarartg_, tjaalton: and we do at least haswell platforms to test on18:41
rtg_tjaalton, does your DKMS driver actually fix some problems ?18:41
gQuigsohsix: mainerror:  docs say it's still used as a workaround for X, but I'm not sure that's still true18:41
gQuigsohsix: mainerror: if you check both of your dmesgs the current patern is that one of you would have an mtrr error18:43
ohsixgQuigs: on machines without PAT, and MTRRs that are set up poorly by the bios that might be true; kms may have implications for mtrrs too, id unno18:43
ohsix\m/ [    0.000000] PAT not supported by CPU.18:43
Sarvattrtg_: yeah, the SDP's are decentish but real hardware is coming back with lots of problems fixed in it, especially eDP ones (no surprise)18:44
rtg_Sarvatt, ok, I'll have a look to see what can be done.18:44
gQuigsohsix: :(.. what's your CPU?18:44
tjaaltonogasawara: yeah, aiui the branch was based on 3.7-rc6, and since you only pulled i915 the rest of the branch churn was likely irrelevant18:45
tjaaltonyeah I was about to mention the eDP issues..18:45
tjaaltonalso, powerxpress with fglrx18:45
ohsixgQuigs: it's an old P3; but it doesn't matter :>18:47
tjaaltonrtg_: there are some issues with the nightly mainline kernel where it just boots up with a blank screen, so testing with them is worthless atm until the issues are fixed. the dkms package allows updating just the module we want to test18:49
tjaalton3.8 definitely fixes some issues18:50
tjaaltonwith ivb + eDP for instance18:50
tjaaltoni915_hsw won't help there18:51
rtg_tjaalton, I think ogasawara must have gone a bit further. the last commit in ubuntu/i915 'UBUNTU: SAUCE: i915_hsw: move i915_hsw_enabled symbol to intel_ips' appears to be 68d18ad7fbc16288aa230ec0ffb4416fd4363c87 upstream, which is v3.8-rc2~13^2~7^2~1718:51
* gQuigs didn't realize P3s were still supported18:52
tjaaltonyeah it has some additional fixes18:52
rtg_or rather 'UBUNTU: SAUCE: drm/i915: set the LPT FDI RX polarity reversal bit when needed'18:52
ogasawarartg_: lemme know if you'd prefer I take a first stab at this i915 rebase18:56
rtg_ogasawara, can you really rebase it? I was just extracting all 52 patches and was gonna apply them mostly by hand.18:57
tjaalton52?18:57
rtg_tjaalton, in the 3.8.2 tree, 'git format-patch 68d18ad7fbc16288aa230ec0ffb4416fd4363c87..HEAD -- drivers/gpu/drm/i915/'18:57
tjaaltonah18:57
ogasawarartg_: I'd go the route of applying by hand18:58
tjaaltonwell what I tried was: copy i915/*, re-apply the SAUCE patches by hand, and fix the conflicts18:58
tjaaltonthen commit that as the rebase, and any additional ones as new SAUCE patches18:59
tjaaltonfor instance, drm_mm_hsw.{c,h} needs a refresh :/18:59
rtg_tjaalton, but you lose the history18:59
tjaaltonrtg_: true18:59
tjaaltonbut only of the rebase18:59
tjaaltoni mean, the first commit didn't carry the history either19:00
ogasawarartg_: the other way is you'd have to revert all the patches, copy i915/* like tjaalton said, and then reapply all the sauce patches and fix any conflicts19:00
tjaaltonyou don't need to revert them either :)19:00
ogasawarartg_: I'd assume it's just as much work as just applying the new ones by hand19:00
tjaaltonalthough it's probably cleaner/safer to re-do those steps19:00
rtg_tjaalton, you might be right19:01
* ogasawara lunch19:02
rtg_tjaalton, though I am loathe to rebase bjf stable tree. we generally don't do that after its released, so there are gonna be lots of messy reverts.19:02
tjaaltonwell, you can avoid the reverts if you just copy/re-appy sauce/fix conflicts, then commit the result as le grande rebase19:04
rtg_yeah, I'll mess with it a bit.19:05
tjaaltonif you want to do it that's fine, but I know what api changes happened in 3.8 so when you give up I can give it a go ;)19:07
rtg_tjaalton, if you're jonsing to do it. just remember that it can't be a rebase, it has to be a linear application of patches (which may include reverts)19:14
tjaaltonrtg_: ok, I'll keep that in mind19:32
tjaaltonrtg_: but with this approach it's easy to spot the issues, so I'm not stopping you (the kernel team) to do it the right way :)19:34
rtg_kamal, git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git19:39
kamalrtg_: thanks19:39
tjaaltonrtg_: so, I'm good either way, just let me know20:06
rtg_tjaalton, go ahead and try it your way. I'm still grovelling around in it.20:06
rtg_though I gotta take off soon20:07
tjaaltonrtg_: heh, ok something for tomorrow20:07
rtg_tjaalton, seems that there are some new functions; drm_mm_insert_node_in_range_generic() and drm_mm_insert_node_generic().20:12
* rtg_ -> EOD20:12
=== kentb is now known as kentb-out

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