/srv/irclogs.ubuntu.com/2010/04/08/#ubuntu-x.txt

RAOFI'm trying the reporter's cpuburn trick; still no flicker here.00:04
Sarvattgot your backlight maxed? maybe if you dim it all the way?00:14
* Sarvatt gets flicker at the lowest brightness setting but its a hardware problem00:14
RAOFThe pcert tag is for... hardware that we want to platform-certify?00:16
brycehkewl: http://homepage.mac.com/arekkusu/bugs/GLInfo.html01:29
RAOFThat's moderately fun :)01:33
RAOFbryceh: I see we've both decided that bug #541492 is a candidate for kms blacklisting at the same time :)03:01
ubottuLaunchpad bug 541492 in xserver-xorg-video-intel "MASTER: [i845] GPU lockup (apport-crash) (Should KMS be blacklisted?)" [Unknown,Confirmed] https://launchpad.net/bugs/54149203:01
brycehRAOF, heh03:01
brycehRAOF I already sent i830 off to be blacklisted03:02
brycehRAOF, any other chipsets we should think about blacklisting?03:02
brycehthere was an ati card, but it ended up the kernel team got some patches to solve it03:02
RAOFI'm still going through the list.  I think we should quirk off acceleration for some nvidia cards, and I've got a patch for that, but we can't quirk off kms for them :)03:03
RAOFOh, while I think of it - do you have any tips for how to decypher fedora's kernel packaging?  I wanted to see if they had any secret sauce for making macbook pros work, but I'm struggling with viewcvs.03:04
brycehlink?03:06
RAOFhttp://cvs.fedoraproject.org/viewvc/F-12/kernel/ ?03:07
brycehI don't have particular tricks, usually I just thumb through the patches and cherrypick03:07
brycehmm, slow webpage03:07
RAOFNouveau's a bit difficult for that in Fedora, since they basically take the diff between 2.6.33 and nouveau/linux-2.6 and apply it.03:08
brycehah, ick03:09
brycehyeah in that case you'll have to go through the nouveau git tree or something03:10
RAOFAnd hope that it's not one of the changes that is in fedora but not the nouveau git tree :/03:11
brycehtjaalton, I've moved the versions page up a level (and discarded the historical data):  http://www2.bryceharrington.org:8080/X/Reports/ubuntu-x-swat/versions-current.html03:28
bjsnideri830. never heard of that one03:44
RAOFYeah.  It's rare, and that doesnt' help.03:45
bjsniderthe number suggests it's pretty old i guess03:45
bjsnideri wonder how many people are still using it03:46
bjsniderand on what type of device03:46
RAOFAt least some on at least one tablet, and it doesn't drive their lvds because the encoder(?) isn't supported at all.03:46
bjsniderdon't tablets come with their own operating systems?03:50
RAOFTablet laptops, like the lenovo x30003:50
RAOFMan, rev 02 Intel hardware is a rich source of hardware bugs.03:51
RAOFWhy is drm not even *attempting* to load in bug #552481 ?04:00
ubottuLaunchpad bug 552481 in xserver-xorg-video-intel "[i845g] Login screen doesn't appear" [High,Incomplete] https://launchpad.net/bugs/55248104:00
brycehRAOF, excluding proprietary drivers, we are at a point where we have fewer bugs in our workqueue than when we started:04:32
brycehhttp://www2.bryceharrington.org:8080/X/Reports/ubuntu-x-swat/totals-lucid-workqueue.svg04:32
RAOFThat's a *nice* looking curve at the end04:32
Sarvattbryceh: did you drop the hunk in drmmode_xf86crtc_resize on purpose in the intel 101-copy-fb.patch04:33
Sarvatt?04:33
Sarvatthttp://cvs.fedoraproject.org/viewvc/F-12/xorg-x11-drv-intel/copy-fb.patch?revision=1.9&content-type=text/plain&view=co04:33
Sarvatt@@ -1373,6 +1382,8 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scr  -- that hunk is missing in ours04:34
brycehSarvatt, wow that's an old one04:35
Sarvatti'm looking at the newest one relevant to 2.9.104:35
brycehthe formatting of our patch doesn't match what I generally create04:35
brycehnor does it look like an upstream patch04:35
brycehiirc someone gave it to me to include, but I don't remember who.  alberto maybe04:36
Sarvatti figured you applied it by hand and did a manual diff or something, must not have been you :)04:36
brycehmmm, maybe it's one of the ones we got from moblin04:36
brycehno, when I do patches they don't have the line of ======'s there at the top04:36
brycehperhaps the fedora patch is an updated version04:36
Sarvattthey always had that hunk and fedora doesn't have any changes in the time frame of that diff04:37
brycehwait, are you sure we're missing that?04:38
brycehthe chunk is04:38
bryceh+scrn->canDoBGNoneRoot = TRUE;04:39
bryceh+04:39
brycehwhich we do have in our patch04:39
Sarvattwe have +pScrn->canDoBGNoneRoot = TRUE; in another area04:39
brycehI assume it's fine04:40
brycehRAOF, yeah been busting hump getting bug reports cleared out... a lot I'm just reassigning to the kernel, some I'm terminating with prejudice, others sending upstream04:41
brycehI've gotten -ati and xserver under control04:42
bryceh-intel's going in the right direction but needs more attention04:42
RAOFIt looks like we'll want to kms-blacklist 845 & 855, which should resolve quite a number.04:46
brycehyeah I didn't get to i855 but noticed there's a bunch of bug reports there04:47
ScottKI'm testing my 865 machine and I got the video into a mode the won't display.  How can I reset the resolution via ssh?04:49
RAOFDISPLAY=:0 xrandr --output $WHATEVER --mode $SOMETHINGSAFE04:49
* ScottK tries04:50
brycehor sometimes just DISPLAY=:0 xrandr --auto04:50
* ScottK tries that first04:50
RAOFThat'll be a good one to squirrel away.04:51
brycehthat and 'stty sane' :-)04:53
RAOFHm.  Taking out that cheese has made it clear how hungry I am.  Luncheon!04:55
brycehand Dinner for me!04:55
ScottKDISPLAY=:0 xrandr --output VGA1 --mode 2048x1536 FTW!  Thanks bryceh.04:57
RAOFAgain these people with huge displays driven over VGA /:?04:58
ScottKRAOF: That was the default after I upgraded.04:59
ScottKI'm not going to leave it that way.05:00
ScottKbryceh: Kwin desktop effects at 1400x1050 on 865G!05:28
ScottKDefinitely better than Karmic.05:29
Sarvattbryceh: *all* of the batchbuffer no space left on device bugs i can find that are happening right after startup have multiple displays and drmmode_xf86crtc_resize is called in that case, i'm not sure if its screwing up there because we are missing that hunk but it seems suspicious05:59
Sarvatt(plus I cant find any non ubuntu reports of it happening upstream)05:59
RAOFSarvatt: Hm.  Could this perhaps *also* be related to the “plymouth, nouveau, and more than one screen” hang we've got?06:16
* RAOF will be back shortly, after checking this kernel build06:17
RAOFGood.  That patch works as expected.06:23
tjaaltonbryceh: ok thanks, updated my setup here06:33
Sarvatti think theres just something wrong in general with the bgnr stuff with multiple displays, looks like its happening in fedora too and we dont see it on radeon/nouveau because it doesn't work if theres multiple displays :)06:51
Sarvatthttps://bugzilla.redhat.com/attachment.cgi?id=38670006:51
Sarvattthe failed to submit batchbuffer no space error always happens right after a (II) intel(0): Allocate new frame buffer event in Xorg.0.log in both ubuntu and fedora, no reports elsewhere06:55
Sarvatt(with multiple monitors)06:56
RAOFSo, what happens if we don't put plymouth on any secondary monitors?06:57
Sarvattneed to hook up another monitor and try to reproduce it so i can mess around in drmmode_xf86crtc_resize to see where its failing07:00
RAOFThis is the one big failing of the x200s: it's got a stupid, useless VGA output instead of something useful.07:00
brycehSarvatt, ok on the batchbuffer no  space bug, keep investigating and let me know if you find something definitive; sounds like a promising lead07:01
brycehSarvatt, might be worth making a ppa with redhat's patch instead of ours for folks to test; I can examine it more closely next week if it proves to make a difference07:01
Sarvatti dont think the nouveau thing is related btw, that seems to be a lockup in TTM when theres multiple monitors and it just waits forever somewhere, and its exacerbated by alot of <=nv40 cards always saying they have a tv connected which fedora forces off by default07:02
Sarvattbryceh: it happens on fedora too07:02
Sarvattjust fedora and us07:02
brycehwell, that's like 95% of the market between the two ;-)07:03
RAOFDo we have any reports of -ati disliking plymouth + dual-head?07:03
Sarvattno because it doesnt copy the fb in dual head07:03
Sarvattonly intel does that07:03
brycehRAOF, not that I've seen07:03
Sarvattfirst place i looked was drmmode_display.c in both radeon and nouveau, they have the copyfb stuff upstream already07:04
brycehSarvatt, or maybe a ppa with that patch dropped07:04
Sarvattyeah thats what i'm thinking, ask them to test with it dropped at worst case (even though that sucks)07:05
Sarvattits the ones with Failed to submit batchbuffer: No space left on device in the xorg log, or [drm:i915_gem_execbuffer] *ERROR* Failed to pin buffer with a -28 return07:06
brycehwe need a Ubuntu Bug Triage drinking game07:15
RAOFEverytime vga16fb messes things up you take a shot?07:16
brycehand every mention of bug #107:16
ubottuhttps://bugs.launchpad.net/ubuntu/+bug/1 (Timeout)07:16
brycehor "total show stopper"07:17
RAOFNo!  “I see this behaviour too, on $TOTALLY_DIFFERENT_HARDWARE”07:17
RAOFs/behaviour/bug/07:18
Sarvattok going to upload an intel with no 101-copy-fb.patch and ask the 10 or so bugs I see from a quick search to test :) if anything disabling it if theres >1 monitor shouldn't be hard, drmmode_display.c is pretty much duplicated between the 3 drivers and we can just do it how nouveau does (besides the uxa specific stuff)07:21
RAOFI'm not sure that doing it how nouveau does it is a wonderful idea; copy it too well and you'll make plymouth hang with >1 monitor :)07:23
Sarvattthat happening on NV50+ too?07:24
RAOFYes.07:25
Sarvatti think thats a nouveau specific problem though, seems to be hung looping a gem ioctl and getting stuck in ttm_bo_wait07:28
Sarvattfirst thing i looked at was http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f0fbe3eb5f65fe5948219f4ceac68f8a665b1fc6 but we have that07:30
Sarvattthats where its getting stuck though07:30
RAOFYeah.  I'm pretty sure that we've got the interesting bugfixes from nouveau/linux-2.6.07:32
Sarvattsomething tells me its a problem fixed in the api bump :)07:32
RAOFI seem to remember having the same problem with xorg-edgers, though.07:33
brycehoh one other thing with >1 head systems07:33
brycehI feel like a dunce for not mentioning it already since it's >exactly< what I've been fiddling with all afternoon07:34
brycehwatch for cases that are: a) multihead with total width > 2048; and b) running compiz; and c) older hardware with max texture size = 204807:35
brycehsymptoms include black screen, strange corruption on right side of monitor, freezes, or other random behavior07:35
brycehregression from karmic07:35
brycehsee bug #42876907:36
ubottuLaunchpad bug 428769 in xserver-xorg-video-intel "compiz starts with a blank screen on a 2048x1152 monitor due to hw limit with textures > 2048" [Unknown,Fix released] https://launchpad.net/bugs/42876907:36
brycehin karmic, there was a wrapper script to compiz that checked the max texture size and refused to run07:36
brycehin lucid, they got rid of the wrapper in favor of doing the checks in the compiz binary, but it seems something is still not quite right07:36
brycehbug #555641 is the X.org side of things, basically that it's a hardware limit and compiz shouldn't run in this case07:37
ubottuLaunchpad bug 555641 in xorg-server "MASTER: max texture size prevents compiz from running" [Wishlist,Triaged] https://launchpad.net/bugs/55564107:37
brycehsee also http://bugs.freedesktop.org/show_bug.cgi?id=27530 where alex confirms as much07:38
ubottuFreedesktop bug 27530 in Driver/Radeon "[RV370] Portion of second monitor unusable" [Normal,Resolved: notabug]07:38
RAOFbryceh: That's a slightly different bug though, isn't it?  I'm fairly sure multihead with *>* 2048 width works by falling back to metacity (I've seen this confimed in lucid bug reports).07:40
RAOFThe problem in that bug is with a screen resolution exactly *equal* to the max texture size.07:41
brycehRAOF, it's supposed to do that, but I've run through several bug reports now where it clearly did not happen07:41
RAOFWhich is significantly less common, I'd hope.07:41
brycehwell, see #556631 as another example, where it's >204807:42
Sarvattyeah its 1 pixel off it seems bryceh, 2047 works 2048 doesn't so theres something odd going on07:45
Sarvatt2048 = compiz starts fine but you get a black screen, 2047 works from the bugs i've read over the past few months07:45
Sarvatt2049 would just fall back to metacity right07:46
RAOFSarvatt: Bug #556631 does seem to be a counter example there.07:46
ubottuLaunchpad bug 556631 in xserver-xorg-video-ati "Portion of second monitor unusable" [Medium,Triaged] https://launchpad.net/bugs/55663107:46
RAOFAlbiet an -ati counterexample, rather than an -intel one.07:46
brycehI mean we don't have any compiz logs, so don't know exactly whats going on07:47
brycehthe reporter could have mindlessly overridden compiz doing checking (if that's still possible to do) for all we know07:47
RAOFYeah.  I just thought of that.07:48
brycehcould be an easy fix in the == 2048 case though:  https://bugs.edge.launchpad.net/ubuntu/lucid/+source/compiz/+bug/428769/comments/1707:49
ubottuLaunchpad bug 428769 in xserver-xorg-video-intel "compiz starts with a blank screen on a 2048x1152 monitor due to hw limit with textures > 2048" [Unknown,Fix released]07:49
RAOFRight.  A >= rather than > on the compiz check.07:49
Sarvattsheesh, how did i not notice that, i've known about this problem since december :D07:54
Sarvattah nevermind thats just the fix for == which *should* work, i need sleep07:55
brycehheh, you saying I'm not alone in being a dunce?07:56
brycehanyway, I've set up both bugs to get top priority from the compiz folks so hopefully they'll get it sorted07:57
brycehmeanwhile if you guys see more blank screen on boot bugs where they're running compiz on dual head with small max texture sizes, dupe 'em up07:57
brycehheya mvo07:59
Sarvatti was figuring it was one of these other ancient patches in here extending the texture 1 pixel in some direction (like 015_draw_dock_shadows_on_desktop.patch maybe?) but couldn't work it out08:02
mvohey bryceh08:03
brycehmvo, we were just discussing an issue we've seen reported a bunch, that I think may be a compiz regression - https://bugs.edge.launchpad.net/ubuntu/lucid/+source/compiz/+bug/42876908:07
ubottuLaunchpad bug 428769 in xserver-xorg-video-intel "compiz starts with a blank screen on a 2048x1152 monitor due to hw limit with textures > 2048" [Unknown,Fix released]08:07
mvobryceh: so compiz is not correctly detecting that it can not work in this environment?08:10
brycehmvo, right08:11
mvobryceh: that is very possible, the code that detects this has changed in lucid08:12
mvobryceh: aha, I see put that in comment #15 already08:13
mvobryceh: I can do a upload with a fix as described in #1708:14
mvobryceh: I don't have the HW to test it though08:14
mvobryceh: this particular error08:14
mvobut it does make perfect sense08:14
mvo(the fix)08:14
brycehmvo, great08:15
mvoif LP lets me that is08:18
brycehheh08:18
brycehmvo, probably will be blocked until freeze is lifted tomorrow08:18
mvobryceh: while I have you here, you set bug #540519 to confirmed and targeted it. do you have more inside into it?08:27
ubottuLaunchpad bug 540519 in software-center "software-center crashed with SIGSEGV in webkit_web_view_execute_script()" [Undecided,Confirmed] https://launchpad.net/bugs/54051908:27
mvobryceh: it looks like a webkit issue to me08:28
mvobryceh: or do you have a recipe to reproduce?08:29
* bryceh ponders08:29
brycehI got the crash myself, and this was suggested as the dupe of it08:30
brycehmvo, I think I was trying to look at screenshots of games08:30
mvook, so just clicking on the "enlarge" screenshot picture?08:31
mvobryceh: I upload your suggested fix now. one thing that is odd is that the reporter claims it works with the jaunty version of X/compiz on the same HW08:33
brycehmvo, I think it might have been on a game where the screenshot didn't show.  I don't really remember the precise situation, eventually software-center locked up and I think I had to kill it, so got the crash report later08:35
* mvo nods08:44
Mirvdo other intel lucid users have this recent slowdown bug #555595 ?09:19
ubottuLaunchpad bug 555595 in linux "Intel graphics performance regression in recent lucid kernel update (was: Firefox Slows Down Compiz)" [Undecided,Confirmed] https://launchpad.net/bugs/55559509:19
brycehMirv, no10:34
Mirvbryceh: amd64 or not? 11:34
Mirvit seems the problem was not there in at least -16 which I managed to get now installed. 11:35
Mirvthe bug reporter and me are using amd6411:35
=== BUGabundo is now known as BUGabundo_lunch
=== BUGabundo_lunch is now known as BUGa_vacations
brycehhaha http://article.gmane.org/gmane.linux.kernel/96935518:06
* BUGa_vacations reads18:24
BUGa_vacationsthanks bryceh18:25
BUGa_vacationsI needed that18:25
BUGa_vacationsMAUAUUAU18:28
BUGa_vacationsbryceh: look at the date18:28
brycehBUGa_vacations, sure or read the rest of the thread http://thread.gmane.org/gmane.linux.kernel/96935518:30
tjaaltonbloody hell, waltop/wacom merge works20:16
apwbryceh, do i take you reposonses to the radeon PLL thread to mean that you think we need it regardless of its hugeness?20:45
brycehapw, yes-ish.  If anyone has specific concerns about possible regressions though, I'd favor further testing first.  I skimmed through the code briefly and didn't see anything that frightened me20:52
brycehbut devil's in the details of course20:52
apwbryceh, there are kernels with the patches applied in that bug, so we could get people to test that20:52
brycehapw, my experience has been that Alex is a pretty careful coder, and is good about recommending only patches that are safe20:52
apwbryceh, yeah as alwasy, a difficult choice20:52
apwthats good to know20:53
bryceh(one of the reasons I like working on -ati so much more than -intel)20:53
apwbryceh, :) thats something ... 20:53
apwits works pretty well on my only ati box the current stuff, but i did see some flickering there ... perhaps i need to test20:54
brycehapw, dunno if you saw them but we've bumped a bunch of pll quirk bugs over to linux the past couple weeks20:59
brycehif you do a search for 'needs_pll_quirk' I think you'll turn them up.  At least half a dozen, maybe more.20:59
brycehmy guess/assumption is they'd all be fixable after this patch is in place21:00
brycehapw, <shifting-topics> so with the firmware update on my MT tablet, it looks like I'm going to need to reinstall windows 7 in order to install the firmware.  Urgh.21:01
brycehI'll give it a go next week21:01
merriamYou know compiz was broken the same way (black screen) in the Karmic release?  -->  <bryceh> in karmic, there was a wrapper script to compiz that checked the max texture size and refused to run23:46
RAOFmerriam: Which bug is this?  The == 2048 width bug, or a > 2048 dimension bug?23:51
merriam==23:58

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