/srv/irclogs.ubuntu.com/2010/03/17/#ubuntu-x.txt

brycehSarvatt, good idea00:22
brycehSarvatt, sometimes I've used pages under http://wiki.ubuntu.com/X/Bugs for that sort of work00:23
brycehsometimes it helps to start putting bugs into tables with their symptoms00:23
brycehSarvatt, also, I have automatically generated tables for -ati and -intel using the tagged symptoms and chip name00:23
brycehif you think that sort of thing could be useful for -nvidia, we can also do one for that00:24
brycehhowever it'd require symptom tagging all the -nvidia bugs, and getting the chip names identified and such00:24
brycehI made some scripts for doing this when we tagged -intel and -ati which could probably be modified to work on -nvidia00:24
brycehit'd be a bit of work, but I know exactly what needs done.  Let me know if you want to undertake it and I can give specifics.00:25
Sarvattok starting to fill out https://wiki.ubuntu.com/X/Bugs with symptoms and actions to take00:34
Sarvattyeah its formatted horribly but thats easy to fix after making a significant list :)00:35
Sarvatthow do we want to start collecting lists of gpu's that need UMS quirks? a new tag?00:39
Sarvattor just mark it when we see it somewhere00:40
brycehSarvatt, in the past I just stuck [Needs quirk] in the subject00:45
brycehSarvatt, afaik most remaining cases where quirks are needed will need done in the kernel, so we'll want a separate bug report for each piece of hw which we can forward to the kernel team to add the quirk00:47
Sarvattbtw about Backport Xv fixes and other fixes from -intel 2.10 (and 2.11), I really don't think thats going to be possible realistically from looking at it00:49
Sarvatttime to turn the computer off for tonight, thanks for all the help and getting me into bugcontrol :)00:51
brycehSarvatt, I'd be interested in hearing why not?01:45
Sarvattwell,  there was *so much* code refactoring between the initial drmmode overlay support addition just after 2.9.0 which we could easily bring in (and manually define DRM_MODE_OVERLAY_LANDED to enable) and the subsequent fixes that might be needed, the later fixes there wont apply to UMS which is like the main target for overlay support anyway (8xx not having textured video) and it might be dependant on PutImage acceleration which was one of the 02:04
Sarvattmajor features in 2.10 for decent performance 02:04
brycehmm, well I can still take a look when I get some time02:09
brycehthe Xv stuff actually went in pretty early on in the 2.10 tree so I think it has a higher chance of being a clean port02:09
SarvattI still think intel 2.10 might be a better choice at this point, selectively blacklisting KMS initially for 8xx people will guarantee they have vesa and a workable desktop and I still can't find any reports of the 8xx situation being better with UMS, just reports that nomodeset fixed things for them *because* it was forcing vesa to be used as intel couldn't work with it because of being built with --kms-only02:10
brycehalso I suspect it's self contained away from the stuff which changed02:10
Sarvattyeah but there were a huge number of fixes for it throughout the 2.10 cycle (including the removal of UMS overlay so that code didn't get fixed along with the KMS fixes)02:10
Sarvattso much for turning the computer off, got stuck updating xorg-edgers stuff since i'm behind :D02:21
Sarvattwoohoo sold off a bunch of old ram I had lying around, *almost* enough to buy that 8.9" eGalax touchscreen overlay for some evtouch testing :D02:37
Sarvattwhy oh why does apport attach Xorg logs .gz and not in a format gedit can read sometimes? :D04:19
Sarvattseems to be only when filed against xserver-xorg-video-intel and not generic xorg like this https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/54001704:19
ubottuUbuntu bug 540017 in xserver-xorg-video-intel "i915 crashes after resume (not powersave mode problem) (dup-of: 539533)" [Undecided,New]04:19
ubottuUbuntu bug 539533 in xserver-xorg-video-intel "apport-gpu-error-intel.py crashed with KeyError in __getitem__()" [Undecided,Confirmed]04:19
Sarvattxserver 1.7.6 out04:40
tjaaltonyep05:42
tjaaltonbryceh: is versions_current still going to be broken in the foreseeable future? I'd file some sync requests but it's harder to check what there are :)06:16
brycehtjaalton, it's going to be broken a little while longer, but it's high on my todo list to fix06:50
brycehSarvatt, not sure it's apport that does that or launchpad06:52
brycehbut I know launchpad enforces a size limit on individual file uploads06:52
tjaaltonbryceh: ok, I'll check the (short) list manually06:52
brycehI assume the compression is to get around that06:52
tjaaltonit's annoying that ffox sometimes doesn't open those itself, but uses file-roller06:53
tjaaltonsince it's perfectly capable to open gzipped text06:54
brycehtjaalton, agreed06:57
brycehheya tjaalton and jpetersen06:58
bryceher tseliot and jpetersen :-)06:58
tseliothi bryceh06:58
jpetersenhi bryceh 06:58
tseliotand hi jpetersen06:58
jpetersenhey tseliot 06:58
tseliotbryceh: can you send me those scripts of yours when you can, please? (i.e. how to close bug reports)07:00
brycehtseliot, certainly07:00
brycehin fact here I've been drafting the email describing them :-)07:00
tseliotI remember that something went wrong last time I tried with my scripts (which I lost)07:00
brycehtseliot, sent07:00
tseliothehe, excellent07:00
Sarvattbryceh: pretty sure its apport - /home/robert/Downloads/XorgLog: application/octet-stream; charset=binary08:16
Sarvattits 21k08:16
Sarvattmime type is screwed up on the file so it doesn't transparently decompress the .gz08:17
Sarvattwell it doesn't have the .txt extension they usually have either after extracting it, cant imagine it would compress a 21kb file and leave a 1.8mb gpu dump on the same bug uncompressed on purpose..08:19
brycehmm ok08:20
brycehSarvatt, might ask pitti for more rationale then08:21
brycehseb128, present for you08:43
seb128hey bryceh08:43
seb128oh?08:43
brycehseb128, http://www2.bryceharrington.org:8080/X/Reports/desktop-bugs/milestone-bugs.html08:44
* seb128 clicks08:44
seb128oh, I love that list ;-)08:45
* seb128 hugs bryceh08:45
bryceh:-)08:45
seb128bryceh, how do you determine what is a desktop component? using the packages the desktop-bugs team is watching?08:45
brycehseb128, that's right08:46
seb128ok, so +packagebugs for the team in launchpad?08:46
seb128bryceh, thanks a lot!08:47
brycehseb128, exactly08:47
seb128that will be handy for looking at lucid tasks08:47
brycehglad to know the reports are useful :-)08:47
seb128bryceh, the page is updated daily I guess?08:47
brycehhourly08:47
seb128even better08:47
seb128you rock ;-)08:47
brycehscript takes some time to run, but ~15 minutes08:47
brycehthat's for desktop as well as X, mozilla, audio, and openoffice08:48
seb128does that require anything special?08:48
seb128would it be faster to run from the dc? ie on a people page08:48
brycehseb128, there are also JSON reports if you want to pull this data into bughugger08:48
seb128I don't want to load your server if we can use canonical servers for the same job08:48
seb128ah, nice08:49
seb128though I find the webpage easier to read than bughugger screen08:49
brycehyeah08:49
seb128but bughugger let you do query which can be handy too08:49
brycehwell, the reports are generated from the same data as bughugger so it's not really any extra work to get both08:51
seb128bryceh, while you are there do you know about a way to "watch" xrandr events?08:51
seb128like a xrandr --monitor or something08:51
brycehnot sure what you mean08:52
brycehthere is xtrace but not sure that's what you're after08:52
seb128not sure if you read my laptop screen activation issue08:52
seb128basically if I suspend with external dvi on and laptop lcd off08:52
brycehoh you mean for watching for things which poll/set stuff via libXrandr?08:52
seb128and wake up without the dvi screen08:52
seb128I get no screen08:53
brycehhave you seen doign a vt switch brings it back?08:53
seb128mars 16 20:59:16 <federico>seb128: server/hw/xfree86/modes/xf86RandR12.c:xf86RandR12EnterVT()08:53
seb128mars 16 20:59:32 <federico>seb128: basically see if something runs RRGetInfo() when unsuspending08:53
tjaaltonit does08:53
seb128is what federico recommended08:53
seb128so I'm trying to set if RRGetInfo() get called08:53
seb128yes it does08:53
seb128set -> see08:54
brycehyeah I've seen that one as well (or something similar)08:54
brycehafaik there is nothing which watches xrandr events, although they often print into Xorg.0.log08:54
seb128mars 16 20:51:18 <federico>seb128: that should already work, BTW - xserver got fixed so that it re-probes the outputs (and sends out RANDR events if appropriate) when it enters from a VT switch, and that happens when you unsuspend...08:54
seb128mars 16 20:51:34 <federico>seb128: I don't know if that would be affected by KMS, though08:54
brycehtail -f Xorg.0.log *might* get what you need08:54
seb128I'm trying to figure if that issue is from the xorg side08:54
seb128ie if that event doesn't get fired on waking up from suspend08:55
brycehotherwise I think debug print statements would be needed.  Maybe federico has more clue08:55
seb128or if g-s-d just doesn't act on it08:55
seb128ok, thanks08:55
brycehI'm curious if the fix for xserver is included for 1.7.6 (which tjaalton will be merging in soonish) or is in newer code than that08:56
tjaaltonI don't think it has anything related last I looked08:57
seb128it might already be in 1.7.508:59
seb128federico said he doesn't know how well that plays with kms though08:59
tjaaltonwhat is?09:00
brycehyeah09:00
seb128tjaalton, the "re-probes the outputs after suspend"09:00
seb128he said it's working in non-kms cases09:00
seb128but he didn't try with kms09:00
seb128and he was not sure if that could create issues09:00
tjaaltonyeah it's an old commit09:02
tjaaltonfrom last May09:02
jcristauthe entervt code should still be called on resume09:02
seb128the xrandr output seems to be correct09:04
seb128but I'm still unsure if xorg or g-s-d should be activating screens09:05
seb128well xrandr does list the laptop lcd screen as active09:05
jcristausounds like a kernel bug then09:05
seb128which is wrong since nothing is on screen09:05
seb128so xrandr seems to list correctly how things should be09:06
seb128ie what screen should be active09:06
jcristauit's not just brightness which is off?09:06
seb128but that doesn't match reality09:06
seb128no09:06
seb128if I dock the laptop again xrandr says the dvi is on09:06
seb128but the monitor led stay on orange09:06
seb128ie no signal09:06
seb128I do basically type xrandr before undocking09:07
seb128while undocked09:07
seb128and after docking again09:07
seb128and I get no screen after undocking or docking again09:07
seb128xrandr correctly list what should be active09:07
seb128but the screen gets no signal09:07
Ngman I wish X would timestamp its log entries13:12
jcristau1.8 does.13:12
Ngsomething keeps making my screen flicker every half an hour or so (I think) and I can't tell if it corrolates with all the EDID stuff in logs13:13
Ngjcristau: good good :)13:13
Ngok, doesn't corrolate with the log13:17
NgI can't tell what it is though. I do hope my laptop isn't developing issues13:18
tjaaltonNg: flickers when it should go to sleep?13:21
tjaaltonprobably g-p-m not doing it's business13:22
tjaaltonhappens here too13:22
Ngtjaalton: nup, I'm using it, I just get a tiny little flicker along the bottom, but I work in a maximised window that's sitting on top of nautilus' background window, so it's quite hard to tell if it's a window briefly corrupting or the display as a whole13:22
NgI have all the stupid "dim when idle" type options set off, and the display shouldn't be sleeping until it's been idle for half an hour13:23
jcristauwhat chip?13:24
NgGM4513:24
jcristauweird.13:25
Ngyeah13:26
Nghrm, I have a horrible feeling this is happening at the driver/hardware level13:38
SarvattNg: I'd actually see if disabling the client side decorations patches for GTK+ fixes that issue14:04
NgSarvatt: I thought that was already done in Lucid? aiui the CSD stuff is deferred14:05
seb128Sarvatt, we did disable that one 3 weeks ago14:05
Sarvattoh? I've been getting the maximized gnome terminal title changes scrambling my display until I moved the mouse up to the panel that I got from it before since then and just assumed it was still on, sorry14:08
=== Sinnerman is now known as Cobalt
Sarvattbryceh: intel apport script is *definitely* too trigger happy, we're getting good bug reports masked because the gpu resets while still dumping and processing the previous reset and thats screwing things up15:01
Sarvatthttps://bugs.launchpad.net/bugs/53983715:01
ubottuUbuntu bug 539837 in xserver-xorg-video-intel "apport-gpu-error-intel.py crashed with KeyError in __getitem__() (dup-of: 539533)" [Undecided,New]15:01
ubottuUbuntu bug 539533 in xserver-xorg-video-intel "apport-gpu-error-intel.py crashed with KeyError in __getitem__()" [Medium,Confirmed]15:01
Sarvattdoes it make sense to have the dump udev rule like it is? isn't it getting run even if apport is disabled as it is now since its calling the apport script straight from the udev rule when theres a drm change event with RESET=1 in the env?15:10
Sarvattmaybe putting it in -dbg where we can ask people to install it later when we ask for more info might be a good idea15:11
Sarvatthmm, we could go a step further by putting a modprobe.d conf with options drm debug=4 (or some other value) in the -dbg package for extra good upstreamable reports? bad idea? :D15:24
jpetersenapport-gpu-error-intel.py seems to crash when there is no 'MachineType' key/value in the report, I attached a patch to https://launchpad.net/bugs/53953315:40
ubottuUbuntu bug 539533 in xserver-xorg-video-intel "apport-gpu-error-intel.py crashed with KeyError in __getitem__()" [Medium,Confirmed]15:40
bjsniderSarvatt, is the nouveau driver in the edgers ppa for lucid using galium?15:51
bjsniderricotz, already posed the question15:51
=== yofel_ is now known as yofel
jibeltseliot, hi, could you please have a quick look at bug 533970 . 16:42
ubottuLaunchpad bug 533970 in linux "package linux-image-2.6.31-20-generic 2.6.31-20.57 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10" [Undecided,Confirmed] https://launchpad.net/bugs/53397016:42
jibelThere are likely duplicates but hard to diagnose. Thanks.16:42
* tseliot has a look16:43
tseliotjibel: I'm pretty sure that we fixed that in Lucid16:44
tseliotjibel: in DKMS, that is16:44
jibeltseliot, the duplicate is from a few days ago in lucid.16:46
tseliotjibel: was it a dist-upgrade to Lucid?16:47
jibeltseliot, no16:48
tseliothmm...16:51
tseliotjibel: let me check with cjwatson16:54
jibeltseliot, ok, thank you16:57
tseliotjibel: #536711 might be different from #533970. I'll ask further information in the latter report17:11
jibeltseliot, ok. There are many similar issues. Is there a way to distinguish them before triagers duplicates all of them ?17:13
tseliotjibel: yes, using DEBCONF_DEBUG=developer should show me what's going on. For example: DEBCONF_DEBUG=developer sudo apt-get install -f17:15
jibeltseliot, will do on recent reports of that kind. Thanks for your help.17:16
tseliotjibel: thanks to you17:16
Sarvattbjsnider: darn my responses to him got lost, guess I wasn't connected at the time17:16
bjsniderto ricotz?17:22
bjsniderwhat were the responses?17:22
ricotzSarvatt, hi17:24
ricotzSarvatt, http://paste.ubuntu.com/396815/, compiz gives me not output, seems to fallback to metacity automatically17:24
Sarvattricotz: that looks fine, running compiz --replace in a terminal gives no output at all? if you're using an actual VT you need to use DISPLAY=:0 compiz --replace, not sure if you tried from a VT or gnome-terminal17:32
Sarvatttry compiz --debug --replace?17:34
Sarvatttry LIBGL_DEBUG=verbose compiz --replace17:34
ricotzSarvatt, ok, one moment17:35
Sarvattthey just merged a nv30 and nv40 unification in mesa and I'm expecting theres problems there you're hitting17:37
ricotzlibGL: OpenDriver: trying /usr/lib/dri/tls/nouveau_dri.so17:37
ricotzlibGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so17:37
ricotzlibGL: Can't open configuration file /etc/drirc: No such file or directory.17:37
ricotzlibGL: Can't open configuration file /home/rico/.drirc: No such file or directory.17:37
ricotz^ output for LIBGL_DEBUG=verbose compiz --replace17:38
ricotzSarvatt, is it normal that /etc/drirc is missing17:39
Sarvattyep17:39
Sarvattonly there if you installed driconf or manually changed it17:40
ricotzok, didnt do that17:40
Sarvatti'm not used to compiz being completely silent like this when theres errors, guess I'm used to having the wrapper still17:42
ricotzSarvatt, or is compiz blacklisting nouveau17:42
Sarvattnope it shouldn't be, I've used compiz on nv50 recently. i'm digging through the patches now17:43
ricotzSarvatt, using "LIBGL_DEBUG=verbose compiz --debug --replace" gives some complains about plugin files (compiz (core) - Debug: Could not stat() file /home/rico/.compiz/plugins/libccp.so : No such file or directory)17:47
Sarvattyeah I get that too17:47
ricotzbut i see no problem in that17:47
ricotzok17:47
Sarvattyeah they're in another package not installed by default17:47
ricotzSarvatt, are you the nouveau expert or RAOF?17:49
Sarvatti'm confused, it should be doing a printf any time it launches the fallback window manager17:51
Sarvattare you using metacity compositing?17:51
ricotzyes17:51
Sarvattahhh that explains it, cant start compiz with metacity compositing enabled17:51
Sarvattthats a global problem not nouveau specific17:52
ricotzahh ok, ill check17:52
Sarvattmetacity --no-composite --replace & (or uncheck the option in gconf) then compiz --replace17:52
Sarvattits not actually launching the fallback, metacity is just refusing to give up compositing control to compiz17:53
ricotzsame output as before17:53
Sarvattyou're sure metacity compositing  is disabled? no transparency? does the screen change to show just the background for a few seconds when you try to start compiz?17:56
ricotzyes, i am using docky which is a good indicator when compositing is gone ;-)17:56
Sarvattpastebin ~/.xsession-errors?18:00
SarvattRAOF: you're using an NV40, have you had any problems like this with xorg-edgers today or yesterday?18:01
ricotzSarvatt, no output18:02
ricotzi think he is still asleep ;-)18:02
Sarvattjust got my nvidia laptop back, 38 hours to fix all the bad hdd sectors on my wife's old one :( setting up nouveau on there now to see if I have any problems18:02
ricotzSarvatt, ok, ty18:02
ricotzSarvatt, another thing, are you able to run mutter on your main setup?18:04
Sarvattyep thats what I use all the time18:04
ricotzok, hoping gnome-shell is usable18:05
Sarvattit was here on nouveau about 3 weeks ago when I built it last at least, will check once i get nouveau setup18:05
ricotzmutter/clutter needs to built against mesa git then?18:07
Sarvattsuperm1 or tseliot: can we add jockey-text commands to the nvidia maintainer scripts in a way where it will get setup right if installing nvidia-current from a console? like in recovery mode18:08
superm1Sarvatt, you mean the postinst etc?18:08
Sarvattyeah18:08
Sarvattso it's actually working if you install it in recovery to try to fix things18:09
superm1i'd say that's probably not a smart idea, because you have no ideas on the state of dbus when that might be running18:09
superm1and you cant install from a chroot anymore18:09
Sarvattah ok I don't know much about how jockey is set up so I didn't know if it was possible18:09
superm1not to mention the circular loop of the fact those scripts get called when installing "from" jockey18:09
Sarvattoh really? can't install from a chroot? that means I can close a crapload of bugs about it installing against the host kernel thats not available in a chroot18:10
superm1well it's possible now, but it wouldnt be if that change was made18:11
superm1at least not easily18:11
Sarvattoh I see, there are quite alot of bugs about it not being able to install in a chroot because theres no headers for uname -r available18:11
Sarvattricotz: sorry this is taking awhile, had a few weeks worth of updates to grab18:14
ricotzSarvatt, ok18:16
Sarvatthuh, sudo jockey-text -d xorg:nvidia_current doesn't call update-initramfs?18:21
Sarvattneed to remove the backlist from the initrd I thought18:22
Sarvattguess it does it silently because lbm-nouveau is still loaded 1 second in 18:26
Sarvattricotz: sarvatt@arcueid:~$ DISPLAY=:0 compiz --replace18:28
SarvattLaunching fallback window manager18:28
SarvattCouldn't find a perfect decorator match; trying all decorators18:28
SarvattStarting gtk-window-decorator18:28
Sarvattcompiz no workie here either18:28
Sarvattbut I get messages..18:28
Sarvattprobably just a transient mesa problem, hopefully it'll be fixed soon :D18:30
Sarvattinstalling your ppa packages and trying mutter18:32
SarvattX crashed18:34
ricotzSarvatt, mutter will need to be built against edge mesa, i think18:36
Sarvattyour PPA works fine on intel18:37
ricotzmhh ok18:37
* ricotz need to grab dinner18:38
Sarvattplymouth is segfaulting and things are all screwed up because of it, ahh18:39
Sarvattthings are all kinds of screwed up and I can't mess with it remotely (not near the machine now) :(18:45
SarvattWindow manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':0.0'.18:45
=== radoe_ is now known as radoe
ricotzSav19:16
ricotzSarvatt, using "MESA_DEBUG=1 LIBGL_DEBUG=verbose compiz --debug --replace" brings up a new line "Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable"19:16
bjsnidernvidia-current needs to conflict with nvidia-xxx-libvdpau to prevent mismatched libvdpau drivers20:34
Sarvattthats normal and nothing  to worry about ricotz, it always tries to load that lib since its not able to be distributed with mesa20:42
ricotzSarvatt, i have tried with latest mesa git, but it isnt working either20:59
ricotzso hopefully there is a fix coming soon20:59
Sarvattcan ya send me your /var/log/Xorg.0.log and dmesg just to look over? compiz isn't working here but I'd like to see how the packages are working on your system otherwise21:00
Sarvattguess I should build mesa with debug enabled to troubleshoot it more21:01
ricotzyes this should generate more output21:02
ricotzi just used your current packaging now21:02
Sarvattoh, you aren't using all of the xorg-edgers packages?21:03
Sarvattrebuilt mesa yourself?21:03
ricotzyes21:03
ricotzi am using all packages, and for testing i built the mesa git now21:04
Sarvattadd --enable-debug to the confflags-common section in the rules21:06
ricotzdid you get the Xorg.0.log?21:07
Sarvattoh sorry didnt see the PK21:08
SarvattPM21:08
Sarvattnope DCC sends are screwed up with my bouncer it looks like21:08
Sarvattwoohooooo jcristau's patches to move libdrm headers to $(includedir)/libdrm instead of $(includedir)/drm went upstream,  no more interfering with linux-libc-dev half of every release cycle :)21:10
RAOFSarvatt: Good morning.21:12
Sarvattthat gets old fast because linux-libc-dev updates overwrite the libdrm-dev headers when you just use Replaces: linux-libc-dev in libdrm-dev21:12
Sarvattheyo RAOF!21:13
* bryceh waves21:13
Sarvattcan you try xorg-edgers and see if gallium works for you on your NV40 if you get any time today RAOF?21:13
RAOFAlready have done; compiz fails silently.21:13
ricotzSarvatt, i sent it to you via email21:14
Sarvattthanks ricotz 21:14
Sarvattlooks like you arent alone on compiz failing silently on nv40 right now :D21:14
ricotzRAOF, hi, was hoping you have an idea, wanted to try nouveau :-)21:15
ricotzRAOF, did you have time for docky yet?21:15
RAOFNo, sorry.21:15
RAOFSarvatt: neverputt SIGSEGVs in nouveau_dri.so; I'd guess edgers is just plain broken for now.21:16
Sarvattyeah a crapload of gallium changes in mesa the past few days including the nv30-nv40 unification :(21:17
RAOFAaaand that's my morning 10 minutes of xorg-edgers :)\21:17
Sarvattbuilding intel gallium now to see what happens when you have both classic and gallium dri drivers available21:18
=== BUGabundo1 is now known as BUGabundo
ricotzSarvatt, now i just installed your ppa mesa packages of 20100313 and its working22:37

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