/srv/irclogs.ubuntu.com/2009/12/16/#ubuntu-x.txt

Sarvatteww, 7 boots in a row getting failsafe, thanks for the hint that fbdev works at least :D00:50
Sarvattxorg metapackage, brltty, ntp, ifupdown, dhcp3-client, mountall, console-setup. something in that round of updates broke startup for me, hmm00:57
Sarvattor xorg-server actually.. http://paste.ubuntu.com/342254/01:00
Sarvattanyone else come in here this afternoon saying x wouldnt start? :)01:01
JanCSarvatt: I think I saw bryce & others talking about something like that01:04
JanCwhere "like that" == people getting failsafe X01:05
JanCit was something related to dkms IIRC01:06
geserHello, I've installed lucid alpha on my new Dell mini 10v and the touchpad is driving me crazy. Drag&Drop is nearly impossible to do as the cursor jumps into the upper right corner as soon as I try to do it.09:58
geseris this a known problem? and are any workarounds known?09:59
hyperaironly drag&drop?09:59
seb128I've no such issue there10:01
tseliotI can't reproduce the problem here10:02
geserif I only use one finger it's ok but when I try to do a quick click and use an other finger it jumps too10:02
tseliotwith the Mini 10v10:02
tseliotmaybe you're missing the udev rules for synaptics?10:03
tseliottjaalton: I assume that my patch for synaptics is already in Lucid10:03
tseliotthe one about the jumpy cursor10:03
tjaaltontseliot: actually no, it's in git though10:04
geserwhich package are they in? (I used http://cdimages.ubuntu.com/ubuntu-netbook-remix/daily-live/current/ for installation)10:04
tseliotgeser: then it's because my patch is not in Lucid yet, as tjaalton said10:04
tseliottjaalton: can you upload it, please?10:04
seb128I'm getting the issue too using 2 fingers there...10:05
tjaaltontseliot: sure10:05
* tseliot will become core-dev soon (hopefully) and won't have to bug other core-devs (too much) for uploads ;)10:05
tseliotthanks10:05
tseliotseb128: yes, that's expected, without my patch10:06
seb128ok10:07
tjaaltontseliot: uploaded10:08
tseliotthanks10:08
virtualdmew10:43
gesertseliot: I've tested the new package and the touchpad works fine now. Big thanks.11:17
tseliotgeser: good, thank tjaalton for the upload ;)11:18
gesertjaalton: thanks for the upload :)11:19
tjaaltonnp :)11:20
=== ripps is now known as ripps|sleep
bjsnidertseliot, for some reason as yet undetermined, the nvidia 195 blob is almost twice the size (70MB) of the 185/190 drivers14:41
bjsnideri thought you might find that interesting/puzzling, but maybe i'm wrong14:41
tseliotbjsnider: are you referring to the whole package?14:42
bjsniderpkg1/pkg2 combined14:42
tseliotbjsnider: you should use pkg0/pkg2 instead14:43
bjsniderthe 64 nvidia package is 39.1 MB. the previous one was 2214:43
tseliotbjsnider: maybe they're shipping bigger and/or more libraries?14:44
tseliotI'm working on the new packaging scripts for Lucid and I'll start with 19014:44
bjsnideri think i'm using the right packages. i've been doing this for awhile. i just can't figure out what the hell they've put into this driver to make it so much bigger14:45
tseliotbjsnider: pkg1 has some prebuilt modules which pkg0 doesn't have (for 32 bit)14:45
tseliotprebuilt for suse, redhat, etc.14:46
bjsnideryeah, pkg1 is also almost twice as big as before14:46
bjsnideri mean i know they've been gradually growing, but this is a huge leap in size14:46
tseliotok, thanks for reporting14:47
bjsnidertseliot, in the new scripts, is it possible to have most of the version numbers as variables? it is such a pain in the butt when a new driver comes out to change all of the numbers14:47
bjsniderlike it is in the .in files14:48
tseliotbjsnider: yes, the new scripts will be much saner to maintain14:48
bjsniderawesome14:48
tseliotand to use14:48
tseliot:-)14:48
bjsniderand you're putting everything into one package, or so i hear14:49
bjsniderbut debian is going in the opposite direction14:49
tseliotright14:50
tseliotbut I'll talk to the debian maintainers when I'm done. I think we can share at least part of the code with them14:51
bjsnideri'd like to backport the changes you're implementing. any idea whent hey might be done?14:52
bjsnideror can i help?14:52
tseliotbackport to what? Karmic?14:52
bjsniderindeed14:53
tseliotit can turn into an utter mess14:53
bjsnideri already implemented the minor changes in mario's ppa14:54
bjsnideri'd say the current one is an utter mess14:54
tseliotI'll use alternatives instead of diversions in mesa, fglrx and nvidia14:54
tseliotyes, the current one is an utter mess (which is part of the problem for a backport)14:54
bjsniderwell, blob users face those types of issues when switching from packaged versions to nvidia's installer as well. they know what they're getting into.15:03
tseliotbjsnider: usually they don't. Furthermore I'm going to prevent problems with the nvidia installer from happening15:09
tseliotbut if you warn them, then it's ok15:12
federico1hmm, no tseliot19:24
bjsniderhe was here earlier19:30
bjsniderthe ddos attacks have kicked everybody off from time to time19:31
federico1bryce: ping?19:39
brycehi federico1, what's up?19:44
federico1bryce: my man19:46
federico1bryce: tseliot mentioned that he's interested in the moblin patches to do transformations in the GnomeRR API19:46
federico1bryce: but we didn't have a chance to discuss what that would actually be used for19:46
brycemm ok 19:46
federico1bryce: do you know anything about that?19:46
bryceno, hadn't discussed it with him.19:47
federico1in moblin I think we just use transforms to implement cloning by scaling the display, if one of them doesn't support the same resolution19:47
brycemy guess is that it's for an OEM project for some hardware19:47
brycethere was one question that I heard of where they needed a zoom functionality but couldn't use compiz19:48
bryceanother question involved supporting multi-head on an i945 chip that was limited to 4k x 4k so they wanted a workaround to allow external monitors to work with large resolutions19:49
federico1haven't heard about the zooming one19:49
federico1the other one is a *constant* source of pain for us19:49
federico1some stupid OEMs can't make up their minds on whether they want 3D or external monitors19:50
federico1(not even Windows supports both)19:50
bryceI don't know if his question to you was in relation to either of those or something completely different19:50
federico1bryce: ok, I'll ping him later19:50
bryceyeah we need xinerama back on intel...19:50
brycefederico1, hey btw a side question to you19:51
federico1bryce: sure19:51
bryceone thing we've been doing in ubuntu is modify xserver to re-throw signals, so if X crashes we have a tool (apport) which collects the backtrace and auto-files the bug report19:51
bryceI maintain the patch to rejigger the signal handling myself, but have wondered if it would be of any interest outside ubuntu.  do you guys do anything like that for crash handling?19:52
brycethe patch is kind of invasive and ugly so I've been afraid to propose it upstream ;-)19:52
brycefederico1, an example of the kinds of bug reports we are able to generate with this type of thing -  https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/45940219:55
ubottuError: Could not parse data returned by Ubuntu: The read operation timed out (https://launchpad.net/bugs/459402)19:56
federico1bryce: one sec20:03
federico1bryce: interesting but scary :)20:04
federico1bryce: do you need any kind of user input?  if the X server is toast, you can't get much input... :)20:04
brycefederico1, right, apport stores a .crash file on /var when this happens, then on a later reboot it prompts them, displays the bug filing page, etc.20:07
brycefederico1, heh, ok, I think you answered my question :-)20:08
federico1ah, okay20:11
federico1makes sense20:11
federico1hmmmmmmmmm20:11
federico1I'm not very sure what we do these days in opensuse about automatic crash reports20:12
federico1since bug-buddy got broken beyond all recognition a few years ago, it has been kind of spotty20:12
federico1bryce: anyway, I'm documenting all of this here: http://en.opensuse.org/Moblin/RANDR20:30
brycefederico1, thanks I'll pass it along to tseliot20:47
tormodwhat's this (vdso) (__kernel_rt_sigreturn+0x0) that I get in Xorg backtraces?20:53
tormodhttp://paste.ubuntu.com/342983/20:55
=== ubott2 is now known as ubottu
brycetormod, realtime kernel?20:59
brycetormod, probably a sconklin question (#ubuntu-kernel?)20:59
tormodbryce, don't think so: 2.6.32-8.12-generic20:59
tormodI noticed that Sarvatt's pastebin earlier had (vdso) (__kernel_sigreturn+0x0)21:00
brycedoes the v in vdso stand for virtual?21:00
brycert == run-time21:02
brycetormod, how's your memory situation?21:03
tormodprobably, but I have no idea why I have "rt". memory is 1GB21:03
tormodif you talk about my laptop and not me :)21:04
bryceheh21:04
tormodbut how it was at the time of the crash I don21:05
brycetormod, hmm well looks like kernel was unhappy about something (low memory, bad system call or some such) and raised a signal21:05
brycethe call appears to be a fairly standard signal raising routines if google is to be trusted21:05
brycecan you repro the problem?  I've got a rewrite of the xserver signal handling patch if you'd like to give that a try?21:06
tormodthis things happen if I switch from console to X (with radeon, stock lucid)21:06
tormodI think I heard about a similar issue on intel before21:06
brycemm, so could be failing to map some memory during the switch21:07
bryceif you can repro it easily enough, maybe try gdb'ing it21:07
brycemaybe we can get more info that way?21:07
tormodok will try21:08
tormodthis is on my USB stick install (poor man's SSD), but I don't see it on my HD install which has xorg-edgers21:10
tormodok will try now, guess that means brb21:11
brycetormod, ok xserver with refreshed apport signal handling hook patch is at https://edge.launchpad.net/~bryceharrington/+archive/blue21:14
brycetormod, ok xserver with refreshed apport signal handling hook patch is at https://edge.launchpad.net/~bryceharrington/+archive/blue21:27
tormodbryce, thanks, I guess gdb is fine: http://paste.ubuntu.com/343010/21:29
bryceinteresting, no kernel_rt_sigreturn call this time?21:33
tormodnope21:34
bryceaccording to my source, it's crashing on this line?        radeon_cs_space_add_persistent_bo(info->cs, driver_priv->bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0);21:35
brycemm, could crash if driver_priv == NULL; that looks unchecked21:36
bryceor something inside radeon_cs_space_add_persistent_bo(), however I think that symbol would have been in your stack trace if it descended into it21:36
brycehmm this is weird21:39
bryceexaGetPixmapDriverPrivate() gets called twice in that routine21:39
tormodone with src one with dst21:39
brycemm21:40
bryceFUNC_NAME(RADEONPrepareSolid) also has a pair of calls21:40
bryceand in the second of those, it does a NULL ptr check21:40
bryce        driver_priv = exaGetPixmapDriverPrivate(pPix);21:40
bryceif (driver_priv)21:40
bryce            info->state_2d.dst_bo = driver_priv->bo;21:40
brycemakes me wonder if ALL of these calls need such a check21:41
brycetormod, if you have this up in gdb, next thing I'd do is check if indeed driver_priv is NULL before dereferencing driver_priv->bo21:42
bryceor alternatively, insert a print statement 21:42
brycelike:        if (driver_priv == NULL)21:42
bryce            RADEON_FALLBACK(("driver_priv is NULL\n"));21:42
tormodno, I have rebooted, and it got totally stuck after I tried to stop X21:43
* bryce speculates21:43
brycemaybe during the console->X switch there is a brief period where the driver privates aren't available for some reason?21:44
tormodI think I should first see if I can reproduce on my main install by uninstalling edgers21:44
tormodthing is I have no journal on the USB stick, so these crashes can mess up my fs there21:44
bryceouch21:44
tormodyeah I can reproduce here on my HD install21:56
tormodare we getting a newer libdrm soon? could be that one21:58
brycemaybe; lookos like 2.4.15-1 is available in debian, looks like it's waiting on merge?21:59
tormodmaybe the merge is waiting for 2.4.16 ?22:04
tjaaltonit's merged, but .16 was rejected from debian22:05
tjaaltonI'll upload it as -0ubuntu122:06
tormodwhy was it rejected?22:06
tjaaltondebian/copyright was missing stuff22:06
tjaaltonit was stuck in NEW because it added libdrm-radeon122:07
tormodok, meanwhile I will see if just upgrading libdrm from edgers will help22:08
brycetjaalton, btw the rethrow_signals patch is rewritten to apply now.  I'll upload it once it's tested sufficiently.22:08
tjaaltonbryce: yeah, sounds good22:08
brycetjaalton, I'm going on vacation after friday through to the end of the year, any things that I should get squared away before I go?22:09
tjaaltonbryce: close all the bugs?-)22:10
tjaaltonI don't know if there's anything special right now. maybe we should prepare a new ati snapshot?22:11
brycedoes -intel need an update too?22:13
tjaaltonnot really. the beta needs kernel changes..22:14
bryceah ok22:14
tjaaltonor so I'm told22:14
tjaaltonbecause of the pageflip stuff22:14
bryceok then I'll do an -ati update22:15
bryceand hammer on bugs with what time remains22:15
tjaaltonnote that I didn't say "fix the bugs", closing is sufficient :)22:15
* bryce lols22:15
bryceok I have a script for that ;-)22:16
tjaaltonhehehe22:16
bryceactually speaking of which I promised to set up some of my automatic bug scripts for others on the desktop team, including the close bugs one22:16
tjaaltonyeah, they will benefit from them22:17
tjaaltonjbarnes: hey, do you know if kernel support for the intel Q4 release will be backported to .32.x or will it require .33?22:19
tormodno, libdrm update did not help, guess next to try is DDX22:26
tjaaltonbryce: heh, the "current" nvidia source package name on debian is just "nvidia-graphics-drivers"22:31
tjaaltonso at least they don't seem to care if the upgrade goes boom22:31
bryceheh22:32
tjaalton(the nvidia maintainers)22:32
tjaaltonand the legacy packages are "nvidia-graphics-legacy-173" etc (binary nvidia-glx-legacy-173 etc)22:33
bryceany relation between debian's packages and ours?22:34
brycei.e. should we be considering changing in ubuntu to better match what debian does?22:34
tjaaltonsome, I haven't checked how much they have diverged since22:34
tjaaltonwell, it's something to consider, even if we won't actively merge from them22:35
jbarnestjaalton: q4 should be ok with 2.6.3222:35
tjaaltonjbarnes: cool, thanks22:35
brycetjaalton, ok if you see tseliot, you might mention the idea to him22:35
tjaaltonbryce: I will22:35
tormodbuilding radeon DDX from git solved the issue. no time for bisecting now. I don't think anything has changed in the radeon_exa_funcs.c stuff we looked at22:38
brycetormod, ok, well I'll up us to a newer snapshot later this week.  got a favorite snapshot id I should use?22:40
tjaaltonlibdrm uploaded22:40
tjaaltonoh wait22:40
tjaaltonConnection failed, aborting. Check your network [Errno 111] Connection refused22:41
tormodbryce, HEAD is my favorite :)22:41
tjaaltonwhattaheck22:41
tormodlp is down for service22:41
tjaaltongah22:41
Sarvattpheeew, might get another day of stability then because that libdrm update is going to ruin it :D22:42
tjaaltonoh right, source v3 rollout and that22:42
tjaaltonSarvatt: why?22:42
Sarvatti'm lucky to last an hour without crashing with 2.4.1622:43
Sarvattjust crashed there with only 2.4.16 libdrm different than lucid, same problems i'm getting with edgers22:44
tjaaltonwhich driver?22:44
Sarvattintel 2.9.1 through git master22:45
Sarvatt[ 3389.832500] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.22:45
Sarvatt[ 3389.836934] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.Fatal server error:22:45
SarvattFailed to map batchbuffer: Input/output error22:45
tjaaltonok then.. jbarnes ^^22:46
tjaaltonif the new intel builds, maybe time to update that as well22:47
jbarnessounds like a gpu rese4t22:47
jbarnesreset22:47
tjaaltonthat's with just a new libdrm22:47
Sarvattif i downgrade libdrm to 11-25 like Duke` also has to do it doesn't happen22:48
tjaaltonI'll try it myself before uploading22:51
Sarvatttry like, loading a folder in icon view with alot of video thumbnails, that almost always seems to trigger it22:52
Sarvattmessage is a little different when it crashes after suspend/resume23:01
Sarvatt[264301.566382] (WW) intel(0): i830_uxa_pixmap_swap_bo_with_image: bo map failed23:01
Sarvatt[264301.566535] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error23:01
Sarvatt[264301.566658] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error23:01
Sarvatt[264301.566777] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error23:01
Sarvattthen hundreds of those failed to submit batch buffer messages23:01
brycehrm23:01
Sarvattfreezes to a solid color when those happen23:01
brycewhat do you guys think of holding off on doing the update until this is sorted?23:02
tjaaltonwell, if 2.9.99.902 builds, we could update that as well23:02
bryceif -intel is looking like it might be getting unstable again, I'd prefer holding off on updating. 23:02
Sarvattthat needs the headers from libdrm installed because our linux-libc-dev doesnt have the pageflip ioctls23:02
tjaaltonthat would likely mean the same for nouveau and ati23:02
tjaaltonSarvatt: jbarnes said it wouldn't23:03
tjaaltonwell23:03
tjaaltonnot exactly true, I didn't say we use the kernel headers, not libdrm23:03
Sarvatthttp://lists.freedesktop.org/archives/intel-gfx/2009-December/005166.html23:04
Sarvattget those errors unless you have the headers from libdrm or 2.6.3323:04
Sarvattah i'll check the irclogs23:05
tjaaltonthen the kernel needs those commits. simple as that23:06
tjaaltonbryce: I meant that nouveau/ati probably depend on .16 as well23:06
bryceI'm just fearful of if we put in known-bad stuff expecting the fixes will arrive in time for release... they might not23:07
Sarvattthere was a thread about it on dri-devel last month where they talked about how people should be using libdrm's headers instead of the installed kernel ones because they use getparam things to enable runtime detection of features and they dont want all the ifdef trickery on top of that23:07
bryce(as has burned us before...)23:07
Sarvattcould just revert this commit from 2.9.99.902 to get it to work though http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=bd81734465912d79d6320a6fb021ce43d258b90623:09
tjaaltonI'm just saying.. no need to upload broken stuff23:10
bryceSarvatt, you can verify this resolves the issue for you?23:10
Sarvattdoesnt resolve any issue outside of letting it compile :D23:11
brycetjaalton, also I can raise the issues as blockers to Intel if we have bug reports on them23:11
Sarvattintel has been more broken than it ever was for me in jaunty since 11-0623:11
bryceSarvatt, :-/23:11
bryceok23:12
brycewell, first I've been told (by jbarnes and others) that libdrm policy is "regression-free"23:12
bryceso if we've found regressions in libdrm with -intel, flag those for me and I'll get them raised with Intel ASAP23:13
brycewe can focus on at least getting libdrm in and stable, so the nouveau and ati work can continue unimpeded23:13
brycewe can hold off on updating -intel until we have confidence that it's rock solid23:14
bryceif Sarvatt's findings are right and it's a pile of breakage at the moment, well I'd rather not update intel until we're absolutely confident about it23:15
bryceotherwise we'll be swimming in more bug reports :-)23:15
tormodSarvatt, maybe we should add a reinstall of linux-libc-dev in ppa-purge... I got burnt now :)23:15
tormodbryce, he talked about libdrm not intel, right?23:16
brycetormod, here's the exact quite from Yingying @ Intel:23:16
tormodbryce, if libdrm is held back, the latest ati commit that builds is 0061c4db23:17
bryce> For libdrm, we'd suggest Lucid pick up the latest libdrm. We've got23:17
bryce> some performance fixes in there, and some useful correctness fixes.23:17
bryce> Libdrm has a no-regressions policy which we've been good at, so this23:17
bryce> shouldn't be a problem. For -intel driver, the right version is going23:17
bryce> to be 2.10 (Intel Q4 version) which will provide KMS-based overlay23:17
bryce> support. If Ubuntu wants to support pre-915 chips and KMS, that seems23:17
bryce> like a requirement.23:17
tormodbryce, I am sure we will get there eventually :)23:17
brycetormod, think I should update to that commit or just hold off until the libdrm stuff is in place?  is there testing value in moving to that snapshot?23:18
tormodbryce, it will fix the console switching breakage23:18
bryceok23:18
brycethen I'll work on getting that snapshot in23:19
tormodwell let me test it once more :)23:19
brycemeanwhile, if anyone has specific bugs narrowed to the libdrm update, make sure they're in LP and subscribe me to them and I'll ensure they get upstream priority on them23:19
tormod bryce, yes that works: I reverted to old libdrm, built the above ati commit, and it fixed the issue23:21
Sarvattwas going to say that commit went into the stable branch too so it should work23:22
Sarvatttormod: thats nasty, guess ppa-purge should check for all provides: and install those too huh..23:23
Sarvatterr Replaces:23:24
tjaaltonlooks like having a stable radeon kms needs a lot from .3323:25
tormodSarvatt, ideally, but can get a bit ugly to detect all that, maybe we should just track our Replaces23:25
tjaaltonby reading a thread from last month23:25
Sarvattwill do bryce, i havent filed any bugs on lp because its been edgers packages and i've seen all my issues on fdo bugzilla already23:29
Sarvattnote to self: dont use jordan.freenode.net :D23:31
tormodSarvatt, it's netsplit all over I think23:33
Sarvatttjaalton: this was the thread I was talking about, sorry http://marc.info/?l=dri-devel&m=125770698907397&w=223:35
tjaaltonSarvatt: yes I read most of it23:36
tjaaltonso could be that we'll be shipping them from libdrm, again23:36
tjaaltonGranted this means the F12 kernel has now got 23:37
tjaaltona bunch of patches that should be in 2.6.32 but will have to wait for 23:37
tjaalton2.6.33, distros thinking of packaging radeon kms do take note.23:37
tjaaltonthat's what I said about earlier (if you got that)23:38
tjaaltonso I think the kernel team will have to pull a lot of drm updates from .3323:38
bjsniderthen why not just use the .33 kernel at large?23:56

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