From: Eric Anholt <eric@anholt.net>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Kernel development list <linux-kernel@vger.kernel.org>,
David Airlie <airlied@linux.ie>
Subject: Re: Problems with AGPGART/drm and X11 2D-acceleration
Date: Fri, 06 Mar 2009 17:37:56 -0800 [thread overview]
Message-ID: <1236389876.30263.16.camel@gaiman> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0903061522001.2715-100000@iolanthe.rowland.org>
[-- Attachment #1: Type: text/plain, Size: 3499 bytes --]
On Fri, 2009-03-06 at 15:33 -0500, Alan Stern wrote:
> I've been experiencing problems running X with recent kernels.
> Without 2D-acceleration everything seems to work okay, but scrolling is
> uncomfortably slow. With acceleration enabled...
>
> Under 2.6.27.19, X runs okay. But the dmesg log gets these error
> messages when X start:
>
> [ 54.375769] [drm] Initialized drm 1.1.0 20060810
> [ 54.441049] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [ 54.441521] pci 0000:00:02.0: setting latency timer to 64
> [ 54.442380] [drm] Initialized i915 1.6.0 20060119 on minor 0
> [ 54.543516] [drm:i915_getparam] *ERROR* Unknown parameter 5
> [ 55.292058] [drm:i915_getparam] *ERROR* Unknown parameter 5
This says userland is asking about things (GEM) that the kernel doesn't
know about.
> Under 2.6.28.7, X fails during startup and exits with an error message.
> Dmesg says:
>
> [ 63.129319] [drm] Initialized drm 1.1.0 20060810
> [ 63.196690] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [ 63.196704] pci 0000:00:02.0: setting latency timer to 64
> [ 63.197679] [drm] Initialized i915 1.6.0 20080730 on minor 0
> [ 63.457664] [drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
> [ 63.457673] [drm:i915_gem_object_pin] *ERROR* Failure to bind: -12
Your xorg log probably says that you ran out of aperture space while
trying to initialize the server. This message says "I ran out of
aperture space".
If userland's defaults (as long as you don't have any options in
xorg.conf) fail, then they need to be fixed.
> Under 2.6.29-rc6, X hangs during startup. I have to reboot the machine
> to recover. Dmesg says only:
>
> [ 57.001997] [drm] Initialized drm 1.1.0 20060810
> [ 57.121966] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [ 57.121980] pci 0000:00:02.0: setting latency timer to 64
> [ 57.127739] [drm] Initialized i915 1.6.0 20080730 on minor 0
Can't really say anything here without Xorg.0.log. Maybe a backtrace of
the server, too?
> Relevant device info:
>
> # lspci -v -s 0:2.0
> 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03) (prog-if 00 [VGA controller])
> Subsystem: Intel Corporation Device 5247
> Flags: bus master, fast devsel, latency 0, IRQ 16
> Memory at f0000000 (32-bit, prefetchable) [size=128M]
> Memory at ffa80000 (32-bit, non-prefetchable) [size=512K]
> Capabilities: [d0] Power Management version 1
> Kernel modules: intelfb
intelfb could interact badly with the DRM, I'd recommend removing it.
> From /etc/X11/xorg.conf:
>
> Section "Device"
> Identifier "Card0"
> Driver "intel"
> VendorName "Intel Corporation"
> BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
> BusID "PCI:0:2:0"
> Option "AccelMethod" "XAA"
> # Option "NoAccel" "yes"
> Option "BackingStore" "on"
> EndSection
>
> I use XAA because the default EXA method causes X to hang during
> startup even under 2.6.27.
>
> Any advice or suggestions for things to try?
Userland needs to get fixed so that the defaults work for pre-9xx. But
we don't support XAA.
--
Eric Anholt
eric@anholt.net eric.anholt@intel.com
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-03-07 1:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-06 20:33 Problems with AGPGART/drm and X11 2D-acceleration Alan Stern
2009-03-06 23:19 ` Problems with AGPGART/drm and X11 2D-acceleration (i8xx) Sitsofe Wheeler
2009-03-09 14:49 ` Alan Stern
2009-03-07 1:37 ` Eric Anholt [this message]
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=1236389876.30263.16.camel@gaiman \
--to=eric@anholt.net \
--cc=airlied@linux.ie \
--cc=linux-kernel@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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