Re: [ubuntu-x] Automatic GPU lockup bug reports

2010-03-24 Thread Bryce Harrington
On Wed, Mar 24, 2010 at 01:11:27PM +0100, Geir Ove Myhr wrote:
> On Wed, Mar 17, 2010 at 11:16 AM, Geir Ove Myhr  wrote:
> > The first happens whether the GPU is wedged or not (as defined by
> > dev_priv->mm.wedged). There is no uevent that is triggered for all
> > chipsets, but only if the GPU is wedged, which may be what we want.
> > [...]
> > Open question:
> > - Is wedged the same as hung, or is there a subtle difference?
> 
> I just realized that there is /sys/kernel/debug/dri/0/i915_wedged on
> Lucid now the .33 drm is included [1]. Attaching this file
> automatically may aid in deciphering what's going on sometimes. I see
> the apport hook was just disabled, but possibly for next time...
> 
> [1]: 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f3cd474bb235f2331c1a6f579bdbf892386e5c7c

We discussed it in yesterday's meeting.  Rick, Raof, Sarvatt, and myself
reached consensus that we have a sufficient number of bug reports now on
freeze issues to work on, and at this point the script is mostly
gathering dupes (or invalid reports as your thorough analysis has
proven) so it's giving diminishing returns at the moment.
We can turn it on again later once we get these bugs resolved, but by
turning it off we can expend less manpower into triaging and hopefully
more into pulling in fixes.

Meanwhile, you've done some excellent investigation into the apport
hook, and I definitely agree it would be good to get those implemented
at least in Lucid+1.  It's a bit of a bummer that the key seems to be
carrying that temporary debug kernel patch, because I'm doubtful the
kernel team would be open to that at this late stage in the release.
(Also, I'm skeptical that even if we did this, that upstream would just
come back with something else needed.)

What I've done is scheduled a session at UDS to discuss freeze hooks in
general, and I've captured some of your advice into a wiki page[1] which
we can use for reference at the UDS session.  That session will cover
getting freeze hooks set up for -ati and -nouveau as well, that use the
infrastructure and lessons-learned we've gained doing this for -intel.
If you have further thoughts or want to do copyediting on the wiki page,
please do!  That would make life easier for whomever drafts this
blueprint post-UDS.  :-)

1: https://wiki.ubuntu.com/X/Blueprints/ApportFreezeHooks

Bryce

-- 
Ubuntu-x mailing list
Ubuntu-x@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-x


Re: [ubuntu-x] Backported features from xserver 1.8

2010-03-24 Thread Timo Aaltonen
On Wed, 24 Mar 2010, Timo Aaltonen wrote:

>
>   Hi!
>
>  I've backported support for some features from xserver 1.8 to 1.7.6:
>
> - xorg.conf.d
> - inputclass
> - udev (the one we have is slightly different)
> - "various patches on top of these to fix some bugs or added features"
>
> and last, but not least, from bugzilla:
>
> - finally a proper fallback patch from SuSE to fix autoloading when there's a
>  conffile (which would've been always the case with xorg.conf.d)
>  https://bugs.freedesktop.org/show_bug.cgi?id=27229

Forgot to say that the patch is really fresh and hasn't seen that many 
eyes yet. There probably are some issues with it, but in the simple case 
(no xorg.conf with Screen sections etc) it works ok. The rest of the 
backport is pretty well baked and is quite safe.

> Tested on lucid and seems to work fine, fallbacks are loaded even when 
> there's the evdev catchall-config in place:
>
> http://pastebin.com/PB4a80i4
>
>  Why?
>
> Well, if this could be shipped with squeeze/lucid, it would allow us to get 
> in sync with upstream, and not ship a "temporary" udev hotplug solution on a 
> long term release with different documentation than the rest of the world 
> (and us in six months). Other benefits:
>
> - let the users configure their devices in the file format they all know
>  to hate :)
> - adding driver quirks in human-readable format, not C code
> - admins can ship config snippets depending on the hardware (possibly my
>  main motivation to get this, and will probably ship this locally in any
>  case)
> - blob autoload..
> - probably other stuff I've forgot
>
>  What's would be needed next?
>
> The drivers need to ship a config file in /usr/lib/X11/xorg.conf.d, since the 
> udev rules have become meaningless. Also wacom needs to drop the check for 
> input ABI 9. I didn't bump it because wacom is the only driver that is 
> affected and it's less painful this way. The above link has a rule for evdev, 
> similar ones can be trivially made for other drivers (I'll check wacom next).
>
> Where?
>
> here: git://git.debian.org/users/tjaalton-guest/xorg-server.git
> debian-unstable / ubuntu-test branches.
>
>
> I know this is late, especially for lucid which will release in a month, but 
> here you go anyway :) Let the flames roar!

-- 
Timo Aaltonen
Systems Specialist
IT Services, Aalto University School of Science and Technology

-- 
Ubuntu-x mailing list
Ubuntu-x@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-x


Re: [ubuntu-x] Automatic GPU lockup bug reports

2010-03-24 Thread Geir Ove Myhr
On Wed, Mar 17, 2010 at 11:16 AM, Geir Ove Myhr  wrote:
> The first happens whether the GPU is wedged or not (as defined by
> dev_priv->mm.wedged). There is no uevent that is triggered for all
> chipsets, but only if the GPU is wedged, which may be what we want.
> [...]
> Open question:
> - Is wedged the same as hung, or is there a subtle difference?

I just realized that there is /sys/kernel/debug/dri/0/i915_wedged on
Lucid now the .33 drm is included [1]. Attaching this file
automatically may aid in deciphering what's going on sometimes. I see
the apport hook was just disabled, but possibly for next time...

[1]: 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f3cd474bb235f2331c1a6f579bdbf892386e5c7c

-- 
Ubuntu-x mailing list
Ubuntu-x@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-x