/srv/irclogs.ubuntu.com/2010/05/31/#ubuntu-x.txt

Bernardohi05:50
RAOFHowdie06:03
RAOFtseliot: Do you want to merge synaptics, or shall I?09:37
RAOFHm.  r700+mesa 7.8.1 really doesn't like compiz blur.  Unless you like smoothly shaded black/red/yellow/green cornered rectangles for windows, of course.09:38
tseliotRAOF: I'm quite busy hacking on radeon's drm code (for different reasons) right now. I'd appreciate if you could do the merge for me. Of course if a patch doesn't apply I'm available to adapt it11:11
RAOFtseliot: Cool.  Thanks.11:12
SarvattRAOF: I already merged synaptics locally, did you already do it or do you want me to push?12:52
RAOFSarvatt: I've done some preliminaries, but not fully.  Go for a push.12:52
Sarvattok will do in a minute, just updating the changelog13:01
Sarvattevdev can just be synced, we dont need that patch anymore13:10
jcristaudid xserver get updated in m?13:10
jcristaumany drivers have a build dep on 1.7.6.901 which wasn't in lucid13:10
Sarvattnot yet, just preparing for when it is13:11
jcristauk13:12
RAOFSarvatt:  There's an evdev sync bug already.13:12
Sarvattand yeah thats caused no end of headaches in xorg-edgers, been having to use experimental and hoping it doesnt get updated :)13:12
SarvattRAOF: why universe for this?  [raof] Fork a pre-2.10 -intel driver and package it in universe.13:18
RAOFBecause I 'ain't supportin in.13:19
RAOFs/in/it.13:19
Sarvatthaving it installed side by side with intel would be nice, so it automatically falls back to it with no KMS13:19
Sarvattah13:19
Sarvattbtw SUSE has already done this if you haven't seen13:19
RAOFI have not, no.13:19
Sarvattdarn lost my bookmark to it last crash13:20
RAOFEh, finding the SuSE packaging can't be _that_ hard :)13:20
Sarvatthttps://build.opensuse.org/package/show?package=xorg-x11-driver-video-intel-legacy&project=openSUSE:Factory13:21
Sarvatti've been poking at 2.7.1 for newer servers since that was the last one with EXA, 2.8.0 was easy but doesn't seem to be an improvement for anyone13:26
RAOFThat's probably a better idea; my understanding of the i845 & i855 problems is in the buffer manager, which would disappear without UXA/DRI213:29
=== ara_ is now known as ara
hyperairSarvatt: weird. my Xorg.0.log says that page flipping was forcibly disabled, yet i'm seeing the same kinds of hangs that page flipping brought about for you =\14:28
hyperairimage frozen on screen, and everything else stalled.14:28
* Sarvatt makes sure he actually forcibly disabled it..14:28
Sarvattwouldn't put it past me to have just updated the  message and not actually disabled it :)14:29
hyperairheh14:29
Sarvattsame patch14:30
Sarvattjust the message updated, should be working still..14:31
Sarvattanything change in your setup? did you install the gallium package or anything?14:35
RAOFWhy does everyone else see the crazy bugs?  I've been using xserver 1.8.1 and -intel 2.11, and *I* don't get these hangs :)14:35
Sarvatton your primary machine?14:36
Sarvatti think thats the big difference :)14:36
Sarvatti dont tend to do the things that really break things on other machines14:38
RAOFOn (one of) my primary machine(s)14:40
Sarvattricotz: the gallium dri2 tfp problem fixed in mesa and its build in edgers already btw14:56
ricotzSarvatt, nice! so i can upgrade again ;-)14:56
Sarvattyep :) thinking about uploading compiz without the parts in the ubuntu patch forcing it to not start with swrast now that that has tfp support too14:59
Sarvatthyperair: you crashed twice in an hour earlier? or were you just switching drivers?15:13
=== Kangarooo1 is now known as Kangarooo
Kangarooounbelievable. ssh -x user@ip rocks. i opened other comps google chrome with all its tabs in this comp 15:28
Sarvattand then you load a page with flash by mistake? :)15:38
* Sarvatt is lusting over this sharp netwalker PC-Z115:39
Sarvatteww, a whole bunch of poulsbo based tablet announcements today.. :(15:49
Sarvattwhich means people are going to want to run ubuntu on them and have it work. great :)15:50
=== \vish is now known as vish
hyperairSarvatt: no, i went offline due to the rain, then it crashed.16:07
hyperairSarvatt: right now i'm trying to coax my btrfs balancing thing to actually complete, since it crashed twice in 24h, interrupting the balancing preocedure twice.16:08
hyperairso i'm not starting X until it completes =p16:08
KangaroooSarvatt: opening ssh -X  in browser page in flash does something bad?16:17
KangaroooSarvatt: im now on pc1 opened vnc pc2 and in there opened ssh -X to pc1 and google-chrome from it :)16:17
Sarvattits just really slow16:27
Sarvattyou may want to -XC16:28
Sarvattdoes gnome-shell really need to depend on xserver-xephyr? does anyone actually use gnome-shell in xephyr? (hint: it doesnt work with glx 1.4..)16:36
jcristaudepend on Xephyr?  what kind of silliness is that?16:39
Sarvatta looong time ago that was the recommended way of testing it16:41
Sarvattlike a year before it was packaged16:42
Sarvattok exaggeration, more like 6 months or so16:43
Sarvattahhh Recommends: xserver-xephyr16:44
Kangaroooif i have FF crashing Xorg when opened a lot gif tabs in FF then can i also replicate it using ssh -X or -XC ? -XC means faster yes? right now i have opened crashed pcs FF in last week debugged pc :) and its not crashin. if ill open otherwise will then it crash?16:45
Sarvattwonder where xserver 1.8.2 (or 1.8.1.901 even) is, has had quite a lot of important fixes in it16:57
Kangarooowhat is SysRq in Alt+SysRq+1 ?17:21
Sarvattthe sysrq key :)17:25
Sarvattripps: --target=i586-linux in your configure flags for mplayer on maverick?17:28
Sarvattmaverick's i686 default now17:29
rippsSarvatt: --cpu='i686'17:29
rippsbeen using it for a while17:29
Sarvattthats in ffmpeg options not mplayer?17:30
rippsSarvatt: yeah, --target=i586-linux is in my i386 arch rules17:31
Kangaroooi was making xorg dbg and when in dbg i entered pid nr then all computer froze. mouse and keyb not moving. all screen stopped17:33
Kangaroooi can thrue ssh do something17:34
Sarvattattach gdb over ssh and type continue when it happens17:36
Sarvatthandle SIGUSR1 nostop (in gdb)17:37
Sarvattdarn, I wish nouveau/xf86-video-nouveau was on the xorg-commit list, i always miss updates17:41
Kangaroooah sick of this comp not working. ill sell it. but before if u want i can make it clean and vnc acces to it and if u want u can make all crash and reporting17:48
Kangarooowiki.ubuntu.com/X/Backtracing and wiki.ubuntu.com/DebuggingXorg is the same info17:50
Kangarooo(gdb) attach 764 Attaching to program: /usr/bin/Xorg, process 764 ptrace: Operation not permitted.17:53
Kangarooo(gdb) cont The program is not being run. (maybe becouse i cant move mouse and keyb on it and screen is showing but not moving anything)17:54
Bernardohi18:09
KangaroooSarvatt: when i do whats in https://wiki.ubuntu.com/X/Backtracing then my comp crashes. even if i do it thrue ssh. on command (gdb) attach (pidnr) it crashes and nothing moves anymore18:20
Sarvatttype cont18:21
KangaroooSarvatt: so i do again sudo gdb /usr/bin/Xorg 2>&1 | tee gdb-Xorg.txt and then dont do attach but just cont?18:37
Sarvattahh I give up, nouveau needs newer xserver now too. guess I'll just build xserver from origin/ubuntu instead of using the old one and rebuild the world again in the PPA18:37
SarvattKangarooo: no do whats set in the ssh section further down18:37
Sarvattit really says to do that?18:37
Sarvattthat'd never work unless you were handling signals in .gdbinit..18:38
Kangaroooah yes. it was not so easy couse both computers are not in same room. i was with crashing pc vnc to working pc and in there ssh so when in ssh i do that attach that comp crashed. now im at working pc :)18:39
Sarvattyou could just gdb -p $(pidof X) -batch -ex 'handle all nostop' -ex 'handle all pass' -ex 'handle 11 stop' -ex 'cont' -ex 'bt full' -ex 'cont' from a VT if you just wanted the backtrace from a segfault, not sure what you're doing18:40
KangaroooSarvatt: im just following https://wiki.ubuntu.com/X/Backtracing and its the same as https://wiki.ubuntu.com/DebuggingXorg18:40
Sarvatti dont know why you're doing it is what I meant, sorry18:41
Sarvatti'm having a hard time wrapping my head around what you just said you were doing :)18:42
Kangarooook so now i was able to do next step (gdb) cont but now since comp i want to inwestigate why FF makes it crash Xorg cant be  backtraced since it crashed on attach (pid)18:43
SarvattKangarooo: are you on radeon or nouveau?18:43
Sarvattbecause if so i can tell you why its crashing18:43
KangaroooXorg crashing computer has nvidia18:43
Kangarooogeforce fx5500 and i couldnt find gdb for nvidia18:44
Sarvattusing the binary nvidia drivers?18:44
Sarvattinstalled through hardware drivers?18:44
Sarvattor just the default stuff?18:44
Sarvattbecause if its the default stuff it's the same exa bug18:44
Kangarooosystem->hardware drivers18:45
Kangarooonvidia somthing airc 17318:45
Sarvattwhich ones does that use? nvidia-96? have you filed a bug on launchpad?18:45
Sarvattah18:45
Kangaroooairc = as i recall corretly :D18:46
bjsniderthe 5500 should be using the nvidia-173 driver18:46
Kangaroooi was able to choose somekind 96 and 173 and 173 was working faster18:47
Sarvattdid you do anything like upgrade to a 2.6.34 kernel by any chance?18:47
Sarvattbecause nvidia-96/nvidia-173 dont work on those, just ruling things out18:47
Kangaroooi have latest kernel there witch can be updated from default ubuntu universes18:48
Kangarooow8 ill thrue ssh check18:48
Sarvattalrighty18:48
Sarvattits ok you'd know if you installed it18:48
Kangarooo2.6.32-22-generic18:48
Sarvatthave you filed a bug on launchpad about it so I can look through your logs?18:49
Kangaroooi think i installed that what u named in this comp im at now. couse at what im now has i845 and at bug report i wrote that that solution with kernel .34 didnt work even starting pc. but the realy latest witch 4 days ago was rc7 that worked a little better (loading logo was better resolution) but crash still happened.18:50
KangaroooSarvatt: w8 3 min.. ill chek ihave a lot bug :)18:50
Sarvatti've never even been to the nvida-graphics-drivers-173 bug list18:51
* Sarvatt hides18:51
Kangarooobug 587710 this is bug i made ubuntu-bug and to add more info i was checking https://wiki.ubuntu.com/X/Debugging but since on (gdb) attach (pid) my system crashes i cant backtrace this reported bug.18:53
ubot4Launchpad bug 587710 in nvidia-graphics-drivers (Ubuntu) "if FF wit lot Gif & overloading CPU then X-boom to login (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/58771018:53
Sarvattthanks, you have a backtrace there in one of the logs too :)18:57
Kangarooooh i dont know how to know :)18:58
Sarvattthe xorglogold has it, i put it in the bug description18:58
Sarvattthere's another problem, the -dbg packages for xserver-xorg-core that you need in lucid are useless18:59
Sarvattwhat sucks is I remember the nvidia 170 series having that same problem like 2 years ago and they fixed it in the 180 series19:01
Sarvattnot sure if I should move that over to xorg-server or leave it there, the backtrace is all in X19:02
Kangarooook so a new bug asking about nvidia 180 put to universe is needed? or it has some other bugs?19:03
Sarvattno you cant use it on that GPU, they dropped support for the older cards19:04
Kangaroooso now this card is also one of restriced ?19:04
Sarvattdoes this only happen with compiz enabled?19:05
Kangarooowhen doing compiz check i got error that this card is restricted. but actually i dont want compiz and dont use it. just tryd that check.19:05
Kangaroooah but actually i tryd compiz installing on xubuntu 1 week ago and it worked. very fast19:05
Kangaroooouh wait. sorry no my card for comp witch that bug is was not compiz check showing as restriceted. compiz check showed ok.19:06
Kangaroooso compiz check showed ok for all checks.19:07
Kangarooofor other comp witch has i845 compiz check showd restricted card/driver19:08
Sarvattso its enabled then because it defaults to enabled19:08
Sarvattcan you try disabling visual effects in system - preferences - appearance to see if you can crash it that way too?19:08
KangaroooSarvatt: no compiz is removed now.19:08
Sarvattoh the nvidia machine?19:08
Sarvatterr on19:08
Kangaroooye :)19:08
Kangaroooi put compiz on nvidia 5500 machine and it workd and i dont need fx so i removed. and nvidia 173 is activated19:09
Sarvattoh you're on xubuntu ok19:10
Kangaroooye19:10
Sarvattusing any kind of compositing?19:10
Sarvattxcompmgr or anything, no idea what xubuntu uses19:11
Kangarooosearching google whats that. so theres Xfce 19:12
Sarvattit'd be great if you could get a core dump i could poke around on :)19:13
Kangarooodefault xubuntu installation nothing then programms added. fx not added. w8 ill ask on #xubuntu19:13
KangaroooSarvatt: ok thrue ssh ill get it where only?19:14
Sarvattwonder why http://cgit.freedesktop.org/xorg/xserver/commit/?id=4151a13c80f3afa43f88afcf19a7aeb16dace93a didn't make it to 1.7 branch19:18
KangaroooSarvatt: compositing in xubuntu not by default. so i dont have it also. where is that core dump? ill cp and post to that LP bug19:19
Sarvatthave you enabled apport? anything in /var/crash/?19:21
KangaroooSarvatt: yes apport ive enabled on all comps. about that bug when FF with a lot gifs crashes Xorg apport didnt gave crash. thats why i made ubuntu-bug to post that bug and to get more info i wanted to do today that backtracing19:23
Kangarooonow theres noting new in /var/cras19:23
Kangaroootheres xfce4-systemload crash and update-apt-xapian crash . when i post crash i delete them so i dont get confused couse i dont post them immidiatly but later all.19:25
Kangarooothouse has nothing to do with nvidia and i got them when FF Xorg crash wanst happening19:26
Sarvattyou have to manually enable apport for it to catch things now, but apport is only catching a small number of X crashes anyway19:29
Sarvattchange the enabled=0 line to enabled=1 in /etc/default/apport then sudo service apport start and reproduce the crash, hopefully it shows up in /var/crash/19:30
KangaroooSarvatt: yes ive done that to all comps19:34
Kangarooono it doens show19:35
KangaroooSarvatt: interesting news. im now back at crashing comp and now all is moving. GDB still active19:36
Kangaroooi went to other comp couse this crashed. and im in pidgin in working comp true vnc from crashing comp19:37
Kangaroooso ill now make it make backtace?19:38
Kangaroooum reproduce bug while backtracing gdb is working thrue ssh ok? 19:38
Kangaroooand what about that core dump? where i can get it?19:39
Kangaroooah core dump is a crash file?19:40
Kangaroooso apport is started and made to start on comp start enabled=119:40
Kangaroooit was already 3 weeks ago19:40
SarvattKangarooo: I'm building an xserver package in a PPA for you that might fix it, but even if it doesn't fix it it will have a correct -dbg package that'll actually work unlike the one in the archives19:41
Sarvatthttps://edge.launchpad.net/~sarvatt/+archive/bugsbugsbugs19:41
Kangaroooso manually also i have to make? from working comp thrue ssh on crashing comp?19:42
Sarvattmake what?19:42
Sarvattoh that means apport isnt catching it, yeah19:42
Kangaroooanother apport ?19:42
Sarvattsorry was packaging it up and not reading it19:42
Sarvattno19:42
Kangaroooyea isnt catching19:42
Sarvattnevermind about that, didnt know you already turned it on19:42
Sarvattyeah have to start X with -core19:43
Sarvattand set the ulimit right first19:43
Kangaroooapport i made 3 weeks ago to be  starting on comp start19:43
Kangarooow8. im now at comp thats crashing. i went to other comp couse this one stopped again working when put command attach (pid) now im back at it and keyb is working and gdb is working19:44
Kangaroooso i can make that backtrace reproducing bug finally if needed19:45
Kangaroooill make backtrace now and then lets try next steps/options19:46
Kangaroooill still be in chanell since im in vnc and chanel is open in working pc19:47
Sarvatttry this PPA when it finishes building, it might fix your problem - https://edge.launchpad.net/~sarvatt/+archive/bugsbugsbugs19:47
Sarvattokie, what i was saying is the backtrace in gdb will probably not be very useful because the -dbg packages for xserver-xorg-core in lucid don't work19:48
Sarvattthe ones in the PPA will though so you'll be able to get a good backtrace if the patch I added doesn't fix it19:49
Sarvattbe sure to get a bt full and not just a bt, you have the bt output already19:49
Sarvattnow I see you have another crash in one of the other logs too - *** glibc detected *** /usr/bin/X: corrupted double-linked list: 0x09048e90 ***19:58
Sarvatthttp://cgit.freedesktop.org/xorg/xserver/commit/?id=4151a13c80f3afa43f88afcf19a7aeb16dace93a is the commit I added to lucid's xserver in that PPA, I think it might fix it19:59
Sarvattits done building20:00
Kangarooothis comp was restarted while all finally was working :)20:04
Kangaroooill try again20:04
SarvattKangarooo: try with the PPA so even if it doesnt fix things the backtrace you get will actually be useful20:05
Kangaroooah Sarvatt i found out that when i write in (dgb) cont then the crashing comp unfreezes to continue Xorg backtracing20:24
Sarvattyeah20:24
SarvattKangarooo: run this then it wont do that anymore -20:24
Sarvatthandle all nostop20:24
Sarvatthandle all pass20:25
Sarvatthandle 11 stop20:25
Sarvattthen continue20:25
Sarvattand you wont have to run between rooms anymore until that crashes :)20:25
Kangaroooeven now? i did cont and now im wainting for crash to happen. or for future do thouse commands?20:27
Sarvattyou wont have to cont anymore, it'll keep going until it crashes20:37
Sarvattif it freezes that means it crashed20:37
Sarvattthen you can get your bt full20:37
Kangarooono now crash i want to reproduce is making all closed and login open. so no freeze will now happen20:44
Kangarooowow 100 tabs open 600mb ram used swap 0 still not crashing20:47
bjsniderif this was windows, i could cause a crash in less than 5 clicks20:50
Sarvattis that with the PPA xserver Kangarooo?20:53
Kangarooono still the same way i was tryng to do today. ill do all backtraces. first this one ill complete20:54
Sarvattah, ok20:54
Sarvattdid you do anything different? you said you enabled compiz now?20:55
Kangarooonow already 850mb ram used swap now only first 2 mb. no nothing different. no compiz not installed. this crash was able to reproduce without compiz. i installed compiz 4 days ago only for 10 min and purged it.20:56
Kangaroooill close all tabs and start again opening all gifs20:56
KangaroooSarvatt: All again froze and in terminal from ssh Program received signal SIGSEGV, Segmentation fault. 0x08087041 in dixChangeGC () . should i cont again? and all other commands u wrote so no stopping happens yes?20:59
Sarvattnope cant continue,thats your crash20:59
Sarvattbt full now20:59
Kangarooono this crash is not the one i wanted to bacrtrace. crash i wanted to reproduce make login screen popup21:00
SarvattKangarooo: thats the same crash, it stopped there because you are in GDB21:00
Sarvattset logging file ~/xcrash.txt21:00
Kangarooook so when ill go out of gdb then crashing comp will be in login promt?21:00
Sarvattset logging on21:01
Sarvattbt full21:01
Kangarooologgin is with | tee filename21:01
Kangarooook i did bt full. now do i have to quit gdb somehow?21:02
Sarvattyep, just quit21:03
Kangaroooand then that comp will respond?21:04
Kangaroooquit with quit ?21:04
Kangarooo(gdb) quit A debugging session is active. Inferior 1 [process 2562] will be detached.21:05
KangaroooSarvatt: ?21:06
Sarvattyep21:10
Sarvattyou're done, you have your backtrace..21:10
Kangaroooyeah login poped up. where can u see that? so ill upload backtrace to the same bug?21:16
Kangarooo1Sarvatt: so i make sudo add-apt-repository ppa:sarvatt/bugsbugsbugs/ubuntu ? and then install that package ?21:29
Sarvattyep!21:30
* hyperair is quite sure it doesn't need an extra /ubuntu at the back21:31
Sarvatti dont use that so i assumed he just pasted it from the ppa page and said yeah lol21:35
Kangarooook after realod i got 3 package updates. xserver-xorg-core-dgb xserver-common xserver-xorg-core . all install Sarvatt ? and then restart pc? and this crash will not happen? or then make test reproducing?21:40
Sarvattsudo apt-get update && sudo apt-get dist-upgrade, it'll grab everything21:40
Sarvattdont know what you have installed to tell you what needs to be upgraded21:41

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