Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've found a tool called xdiagnose on my 12.04LTS, but no documentation.
I have a Dell Latitude laptop -- will this help me resolve suspend and resume issues that might be related to nvidia and nouveau?

share|improve this question
up vote 1 down vote accepted

xdiagnose can be quite a useful tool for some issues concerning graphics cards, although not particularly for suspend/resume issues as they are to do with the ACPI implementation of your laptop. There isn't a manpage for xdiagnose and the --help option relays a pretty terse selection of commands. However, the utility is really used for diagnosing and repairing Xorg issues, even though it could be the case that the Xorg server might be locking up on resume.

You can use xdiagnose -v & to track X errors in a general way and let it run in the background, and the 'extra graphics..' option in the pop-up screen (see screenshot) can be ticked to send more graphics debug messages to dmesg. Even though this information doesn't concern suspend/resume directly, the results might indirectly be useful if X is freezing on suspend or resume.

enter image description here

You can get information regarding ACPI by using grep to search dmesg, /var/log/kern.log and /var/log/pm-suspend.log for ACPI, suspend, and hibernate errors.

There are also a lot of references to Dell Latitude laptops on Ubuntuforums, so there should be some useful information there; but to answer your specific question, xdiagnose isn't really that useful for diagnosing suspend/resume issues. See this Ubuntu wiki page and this one for a very useful and general account of how to debug resume/suspend problems.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.