/srv/irclogs.ubuntu.com/2011/04/21/#ubuntu-x.txt

=== yofel_ is now known as yofel
aquariushm. I keep getting GPU crashes (I think that's what they are), and then when I reboot the machine to get my display back, I ge tthe "System program problems detected" dialog. When I say "yes, report the problem", I get *another* crash dialog saying "apport-gpu-error-intel.py closed unexpectedly". I think this means that the program trying to diagnose the crash is itself crashing?10:02
aquarius So I have two questions: how do I diagnose and report the GPU crash, and am I correct in my assumptions? :)10:02
tseliotaquarius: I think you should report the problem with apport then, otherwise you won't be able to report the other erro10:05
tselioterror10:05
tseliotyou can talk to pitti about apport in #ubuntu-devel10:05
aquariustseliot, I spoke to seb128 and he says that apport-gpu-error-intel.py is part of the X packages; it's not an apport problem10:06
tseliotaquarius: oh, right, so maybe bryceh knows more about it10:07
brycehaquarius, run apport-gpu-error-intel.py by itself, copy and paste  the error messages printed out into a bug report, and assign to me10:07
brycehaquarius, you can file the bug report against 'xorg'10:08
aquariusI'll happily try running that apport-gpu python thing myself to see how it fails, but I don't know how apport decides to run it.10:08
aquariusI would file a bug report but apport won't let me, because apparently my version of upstart is out of date, sigh10:08
brycehaquarius, regarding the GPU freeze, basically what the tool does is while your system is frozen it collects your dmesg and /sys/kernel/debug/dri/0/i915_error_state, so you can grab those and file a bug report manually if you want10:09
aquariusbryceh, aha, that sounds useful. I'll do that.10:09
brycehaquarius, part of the problem may be that today apport was turned off from filing gpu lockups10:09
brycehbut... you should get an error message not a crash10:09
brycehhiya tseliot10:10
tseliothi bryceh10:10
brycehtseliot, http://www.bryceharrington.org/Arsenal/Reports/ubuntu-x-swat/totals-natty-workqueue.svg is looking really good this release10:10
tjaaltonwait a couple of weeks :)10:11
tseliothehe10:11
tjaaltonthough then we can start fresh on totals-oneiric-workqueue.svg10:12
brycehtjaalton, yeah within 2 weeks I won't care how the natty chart looks  \o/10:12
brycehand I've got toolage ideas on how to keep the O bugs under even better control10:13
aquariusbryceh, https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/768176 filed. Hopefully it contains the info you need.10:15
ubot4Launchpad bug 768176 in xorg (Ubuntu) "GPU hang (affects: 1) (heat: 6)" [Undecided,New]10:15
bryceh[   10.351148] [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work.10:16
brycehthat's unusual10:16
brycehaquarius, delete your /etc/X11/xorg.conf and ~/.drirc10:16
brycehneither of those look necessary and esp. the drirc could be mussing things up10:17
aquariussure thing. Will deleting them take immediate effect on my machine, or just after an X restart?10:17
brycehxorg.conf only takes effect on startup10:18
bryceh.drirc I'm less sure about10:18
aquariusI have deleted them and my graphics doesn't seem to have gone away or anything, so that's OK :)10:18
brycehbtw for gpu lockups, you need to collect the dmesg and /sys/kernel/debug/dri/0/i915_error_state *while* it's frozen; otherwise they are boring10:19
aquariusoh!10:19
aquariusum. Given that I only have one machine, is that doable?10:19
aquariusactually...I could probably ssh in from my phone. Will give it a try next time it happens.10:20
brycehprobably not10:20
bryceh(this is one reason why the apport hook exists...)10:20
aquariusya. Can I run the apport hook in the same way that apport itself does, so I can see why it's failing?10:21
brycehyep, it's just a python script, go ahead and execute it10:21
bryceh/usr/share/apport/apport-gpu-error-intel.py10:21
brycehmy wager is "    if not packaging.enabled():10:22
bryceh" is returning false10:22
aquariuscorrect: python -c "from apport.packaging_impl import impl as packaging; print packaging.enabled()" -> False10:23
* bryceh nods10:23
brycehright, that's 'cause apport is switched off for release now10:23
brycehyou could try sneakily commenting out those lines10:24
aquariusso running the script by hand doesn't do anything. But that's not what happened after the GPU hang and reboot; I got an apport crash dialog for apport-gpu-error-intel.py itself, which suggests it was crashing, not just silently exiting.10:24
brycehyeah... *that* sounds interesting to me10:24
aquariusalthough I did upgrade after getting the crash, to see if I'd be able to file the bug.10:24
brycehah10:24
aquariusso perhaps it was crashing before, then I upgraded and got a new apport which said to not run the script after all.10:24
aquariusdarn.10:24
brycehwell, I can attest the hook has been working fine for most people (the resultant reports have been keeping me quite busy)10:25
brycehaquarius, yes that does seem plausible10:25
aquariusahaha!10:25
aquariushave just copied the script and made it skip the pacakging.enabled() check. And now when I run it I get the  "apport-gpu-error-intel.py closed unexpectedly" crash dialog.10:26
aquariusnow filing that itself as a bug :)10:27
brycehthanks!10:28
brycehI really need to write some python tests for that...10:29
aquariuserm! confused. I said "report bug" on the "apport-gpu-error-intel.py closed unexpectedly" dialog, and it's filed https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/768184 which is the bug for the GPU hang!10:29
ubot4Launchpad bug 768184 in xserver-xorg-video-intel (Ubuntu) "[i965gm] GPU lockup (ESR: 0x00000001 IPEHR: 0x01800020) (affects: 1) (heat: 6)" [Undecided,New]10:29
* aquarius does the baffled look.10:29
brycehheh10:29
aquariusso maybe apport-gpu-error-intel isn't actually crashing after all, but apport gets confused and says that it is.10:30
brycehlooks similar to 765416 or 757399; slightly different chip though10:32
aquariusI am happy to provide whatever other information you'd find useful :)10:35
brycehaquarius, can you tell me is this a recently upgraded natty from maverick or have you been running natty for a while?10:35
aquariusI've been running natty for a while10:35
brycehhave you had other gpu freezes since upgrading or is this the first?10:35
aquariussince about, um, November.10:35
aquariusThis isn't the first, but it's about the third, and they've all happened in the last week or so.10:36
brycehdo you know if you can reproduce this freeze at will?10:36
aquariusI think. (I've been having compiz-locking-up-but-I-can-switch-to-a-VC hangs for a long time; this is different.)10:36
aquariusI can't reproduce it, sorry10:36
brycehmm ok this is all good info10:37
brycehit'd be most helpful if the bug were easily reproduced10:38
aquariusI agree entirely :)10:38
brycehthen I'd have you downgrade to a kernel from last week, possibly do a git bisect, etc.10:38
brycehor alternatively have you try one of the newer mainline kernels10:38
brycehwe also have a few proposed patches for similar issues (but different chips)10:39
aquariussadly, it doesn't seem to be prompted by anything specific that I do. (I mean, obviously *something* I did made it happen, but there is no thing that I do that reliably makes it happen.)10:39
brycehand those are always the best of the best bugs ;-)10:40
brycehwell, let's just keep an eye on it for now; I've got some similar bugs on my end10:41
brycehif you can get to a point that it's frustrating enough for you, that you'd notice if the bug were gone, you can start testing mainline kernels10:41
aquariussure. Sorry I can't do more than whine and say "it crashes! for no discernable reason and with no way of replicating it! but you have to fix it anyway!" :)10:41
brycehhttp://kernel.ubuntu.com/~kernel-ppa/mainline/10:41
aquariusyeah; so far it hasn't happened much; the GPU is way, way behind compiz and the kernel thermal stuff for interrupting my work :)10:42
brycehaquarius, nah, it's useful anyway.  but obviously we want to have a way to know if a fix actually fixes it10:42
brycehif I have time I'll probably send the report upstream and see what they have to say10:42
aquariuscool. If it happens again I'll try more stuff.10:43
brycehthere's been a spate of these rare lockups on 965, that various people (including mark!) have reported10:43
aquariusheh. How to get your bug fixed quickly: buy the same laptop as mark :)10:43
aquariusI am told that Amber Graner has the same laptop as me, which means that kernel bugs ought to get fixed quickly ;)10:43
* gord makes note, find out what laptop mark has10:44
aquariushe did at one point have the dell M1330, which is what I've got. But he replaces his machine more often than I do :)10:46
brycehactually, from what I can tell, you want to have the same hw as mdz10:56
brycehmdz is way better at following up on bugs, and quite prolific at filing them10:57
brycehanyway, getting late for me.  night.10:58
Sarvatt+        AC_MSG_ERROR([LLVM is required to build r300g])16:18
Prf_JakobSarvatt: OpenSUSE is (was?) shipping r300g with LLVM disabled. Can you believe it? Poor users with SWTCL chipsets... and bad reputation for us too.16:46
SarvattPrf_Jakob: debian and ubuntu too16:47
Sarvattand fedora 14 I believe16:47
Sarvattyep16:48
Prf_Jakobif its going to cause troubles for you please chip in.16:48
Sarvattnah wont be a problem, was just pasting that as heads up we're going to have to do it16:49
Prf_JakobSarvatt: which llvm version are you guys shipping with btw?16:51
tjaalton2.8 currently16:51
Prf_Jakobok, there is a bug in 2.8 that causes it to fail on any AVX processor.16:52
Prf_Jakobits fixed in 2.916:52
Sarvatt2.8, luckily the swtcl r300g wont ever  be combined with a sandybridge16:52
Prf_Jakobarn't you going to use llvmpipe for swrast?16:53
Sarvatt11.04 is done pretty much, this will all be in 11.10 which will have 2.916:54
Prf_Jakobok16:54
bjsniderSarvatt, if nouveau was blacklisted but nvidia wasn't installed would nouveau be used anyway?17:30
Sarvattnope nv should be used17:31
sithlord48can anyone tell me if Hardware texture compression is possible w/ the intel i915 driver in natty (i have the xcrack ppa version)18:19
tjaaltonno18:26
tjaaltonhttp://www.phoronix.com/scan.php?page=news_item&px=OTIzMQ18:26
sithlord48can i make wine think it has HW texture support ?18:27
tjaaltondunno18:27
sithlord48well thats the goal i have a game i want to play (via wine) and it requires hw texture support.. 18:29
Sarvatts3tc support is in the ppa but if you're using amd64 you're out of luck since wine uses the 32 bit libs in ia32-libs which doesn't have it18:33
sithlord48i have 32bit on this machine..18:33
sithlord48how can i enable it ?18:34
Sarvattits enabled (if you're talking about xorg-edgers), must not be what you're looking for if it still doesnt work18:34
Sarvattwhat game?18:35
sithlord48lord of the rings online18:35
Sarvattsithlord48: is libtxc_dxtn0 installed?18:38
sithlord48not sure let me check that 18:38
sithlord48is that the package? i cna't find it 18:39
Sarvatterr sorry, libtxc-dxtn018:39
sithlord48i see that now that i've opened a package manager.. :D18:40
sithlord48no it was not.. 18:40
sithlord48 i've installed xorg ppa. wine 1.3 (from teh c-korn ppa w/ pulse support) and now this libtxc-dxtn0 . brb to test18:42
Sarvattalternatively you can just install driconf and toggle the first option on the second tab18:43
tjaaltonhuh, mesa has s3tc now? or maybe I should stop reading phoronix..18:50
Sarvattoh good llvm-2.9 is in experimental20:43
sithlord48sorry i crashed X. but i did get it working w/ libtxc-dxtn0 .althouth the intel GMA945 chipset is still garbage20:57
Sarvattyeah much too slow for that game21:11

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