From: Chris Wilson <chris@chris-wilson.co.uk>
To: Grant <emailgrant@gmail.com>, intel-gfx@lists.freedesktop.org
Subject: Re: black screen if sna & TearFree
Date: Sat, 18 Aug 2012 11:20:12 +0100 [thread overview]
Message-ID: <1345285212_118079@CP5-2952> (raw)
In-Reply-To: <CAN0CFw3C21CNBx-JrNAiwtFeTX+HwPyNeHSg=gZ4-L-x9PaLmQ@mail.gmail.com>
On Thu, 16 Aug 2012 04:19:26 -0700, Grant <emailgrant@gmail.com> wrote:
> 'xset dpms force off; sleep 1; xset dpms force on' does indeed trigger
> the error. I've attached my Xorg.0.log.old which includes the
> segfault backtrace. I'm like a newborn baby when it comes to
> compiling and Gentoo doesn't have a debug USE flag for
> xf86-video-intel or xorg-server so I can't help there. Is there a
> different package I should check for a debug USE flag?
In the Xorg.log, the first error appears to be a failed modeset after
resume:
[ 5131.319] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 5131.319] (II) intel(0): switch to mode 1366x768 on crtc 3 (pipe 0)
[ 5131.319] (EE) intel(0): failed to set mode: Invalid argument
[ 5131.319] (WW) intel(0): failed to restore desired modes on VT switch
That is going to leave the screens blank. And the subsequent segfault
suggests that I don't have sufficient safeguards to handle that failure.
Can you please run 'addr2line -e
/usr/lib64/xorg/modules/drivers/intel_drv.so 0xb9ed7 0x68517 0x5aa2e' ?
To solve what happened to prevent the modeswitch we need to have the
dmesg, preferrably with drm.debug=6 (echo 6 >
/sys/modules/drm/parameters/debug).
Compiling a debug driver is pretty straightforward.
$ git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
$ cd xf86-video-intel
$ ./autogen.sh --prefix=/usr --enable-debug=full
$ make && sudo make install
This will overwrite the system driver and so not need any modification
to config files. (It is possible to install into local and change
/etc/X11/xorg.conf to load the driver from there.) So just reinstall
your distro package to revert.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
next prev parent reply other threads:[~2012-08-18 10:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-15 10:21 black screen if sna & TearFree Grant
2012-08-15 15:09 ` Grant
2012-08-15 21:31 ` Chris Wilson
[not found] ` <CAN0CFw0FsK=drsrdYCLf9B4eb-eE205tUSappcWUyh_5LNR=cQ@mail.gmail.com>
2012-08-16 7:43 ` Grant
2012-08-16 7:44 ` Grant
2012-08-16 11:19 ` Grant
2012-08-18 10:20 ` Chris Wilson [this message]
2012-08-18 19:30 ` Grant
2012-09-05 9:42 ` Grant
2012-09-16 9:08 ` Grant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1345285212_118079@CP5-2952 \
--to=chris@chris-wilson.co.uk \
--cc=emailgrant@gmail.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox