Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 260325
Alias:
Product:
Component:
Status: RESOLVED
Resolution: UPSTREAM
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Bettler <bettlertho@sis.unibe.ch>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xorg.conf.new xorg.conf text/plain Thomas Bettler 2009-02-26 00:37 0000 2.34 KB Details
Xorg.0.log Xorg.0.log text/plain Thomas Bettler 2009-02-26 07:43 0000 8.21 KB Details
xorg.conf xorg.conf - forcing intel text/plain Thomas Bettler 2009-02-26 07:57 0000 342 bytes Details
Xorg.1.log Xorg.1.log - forcing intel text/plain Thomas Bettler 2009-02-26 08:01 0000 15.13 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 260325 depends on: Show dependency tree
Bug 260325 blocks: 251832
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-02-26 00:33 0000
The X server won't start but initially crashes with this message.

Reproducible: Always

Steps to Reproduce:
1. Follow Guidelines in #251832 and install Xserver 1.5.3 and the rest of the
zoo.
2. Rebuild xorg.conf with 'X -configure'. Reuse that config.
3. Start X. Here you are.

Actual Results:  
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-gentoo-r2 i686
Current Operating System: Linux unser 2.6.28-gentoo-r2 #2 SMP PREEMPT Sat Feb
21 22:01:48 CET 2009 i686
Build Date: 26 February 2009  12:12:31AM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 26 01:24:30 2009
(++) Using config file: "/root/xorg.conf.new"
(EE) intel(0): Failed to pin front buffer: Cannot allocate memory

Fatal server error:
Couldn't bind memory for BO front buffer


Expected Results:  
a running X.

------- Comment #1 From Thomas Bettler 2009-02-26 00:35:33 0000 -------
dmesg:
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12

------- Comment #2 From Thomas Bettler 2009-02-26 00:37:54 0000 -------
Created an attachment (id=183208) [details]
xorg.conf

------- Comment #3 From Thomas Bettler 2009-02-26 00:38:46 0000 -------
uname -a
Linux unser 2.6.28-gentoo-r2 #2 SMP PREEMPT Sat Feb 21 22:01:48 CET 2009 i686
Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

------- Comment #4 From Thomas Bettler 2009-02-26 00:39:37 0000 -------
emerge --info:
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.28-gentoo-r2 i686)
=================================================================
System uname:
Linux-2.6.28-gentoo-r2-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Wed, 25 Feb 2009 20:10:10 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config
/usr/kde/4.2/shutdown /usr/lib/openoffice/share/dict/ /usr/share/config
/var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg collision-protect distcc distlocks fixpackages
parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi akode akonadi alsa apache2 arts
avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli
cracklib crypt cups curl daap dbus dri dts dvd dvdread eds emboss encode evo
exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimp glut
google-gadgets gphoto2 gpm gstreamer gtk hal htmlhandbook iconv imagemagick
ipv6 isdnlog java jpeg jpeg2k kde kdehiddenvisibility kdeprefix kipi kontakt
lcms libnotify logrotate mad midi mikmod mmap mmx mng mp3 mpeg mudflap
musicbrainz mysql ncurses nepomuk nls nptl nptlonly nsplugin ogg openexr opengl
openmp pam pch pcre pdf perl plasma png ppds pppd python qt3 qt3support qt4
quicktime readline reflection samba scanner sdl semantic-desktop session slp
spell spl sqlite sse sse2 ssl startup-notification subversion svg sysfs tcpd
tetex theora tiff truetype unicode usb vcd vorbis win32codecs x86 xattr xcb
xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zeroconf
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug
rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter
file_cache filter headers ident imagemap include info log_config logio
mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse
vmmouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633
glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU"
VIDEO_CARDS="vga vesa fbdev vmware nv ati radeon radeonhd intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #5 From Rémi Cardona 2009-02-26 00:56:53 0000 -------
X -configure is mildly broken. Please try running X without any xorg.conf and
please attach the full resulting Xorg.0.log.

Thanks

------- Comment #6 From Thomas Bettler 2009-02-26 07:43:24 0000 -------
Created an attachment (id=183229) [details]
Xorg.0.log

Unfortunately running without xorg.conf works neither.

------- Comment #7 From Thomas Bettler 2009-02-26 07:48:00 0000 -------
well, appending lspci for completeness.

# lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub
Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics
Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller
(rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev
02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev
02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
AC'97 Audio Controller (rev 02)
05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit
Ethernet (rev 03)
05:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 6c)
05:0a.0 Ethernet controller: 3Com Corporation 3cSOHO100-TX Hurricane (rev 30)

------- Comment #8 From Thomas Bettler 2009-02-26 07:56:23 0000 -------
Seems like the built-in configuration falls back to fbdev, which probably
happens because of the crashing intel driver.

------- Comment #9 From Thomas Bettler 2009-02-26 07:57:51 0000 -------
Created an attachment (id=183231) [details]
xorg.conf - forcing intel

------- Comment #10 From Pacho Ramos 2009-02-26 07:58:58 0000 -------
In http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512200 a reporter says that
this could work with kernel 2.6.26 for now

------- Comment #11 From Thomas Bettler 2009-02-26 08:01:08 0000 -------
Created an attachment (id=183235) [details]
Xorg.1.log - forcing intel

dmesg happens to say:
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12

------- Comment #12 From Rémi Cardona 2009-02-26 10:51:25 0000 -------
Well of course it's going to work with kernels <2.6.27 since those don't have
GEM and the driver falls back to older code paths...

Thomas, could you try removing the fbdev driver which somehow seems to have a
higher priority than the intel one?

Oh, and if you have any sort of kernel framebuffer driver (vesafb, uvesafb or
intelfb), please disable them.

Thanks

------- Comment #13 From Thomas Bettler 2009-02-26 17:52:38 0000 -------
It even kind of works with kernel 2.6.27 ... however dri won't work:
xserver 1.5.* requires >= mesa 7.3 and that uses GEM instead of TTM which OTOH
requires >= kernel 2.6.28

So with that in mind it becomes clear that we shouldn't go stable with xserver
w/o dri. We need to get X running on kernel 2.6.28 - or we will crash intel
cards.

------- Comment #14 From Rémi Cardona 2009-02-26 23:20:56 0000 -------
(In reply to comment #13)
> It even kind of works with kernel 2.6.27 ... however dri won't work:
> xserver 1.5.* requires >= mesa 7.3

Nope, xorg-server 1.5 works fine with libdrm 2.3 + mesa 7.2 + -intel 2.4 as
well. I actually recommend this combo if newer versions of the intel drivers
don't work out for you.

> So with that in mind it becomes clear that we shouldn't go stable with xserver
> w/o dri. We need to get X running on kernel 2.6.28 - or we will crash intel
> cards.

I think we'll stabilize the latest versions, but we will definitely keep the
versions I just mentioned for a while, at least until things start to work for
a really high percentage of users.

Thanks

------- Comment #15 From Thomas Bettler 2009-02-27 12:44:17 0000 -------
Remi, you are only partly right.

1) yes, xorg-server-1.5.3 also works with mesa 7.1 / 7.2

2) however TTM has been disabled after mesa 7.0.4 ! See commit log for details:
http://cgit.freedesktop.org/mesa/mesa/commit/?h=mesa_7_2_branch&id=eb10cdc838fc31ea2cf59f556f6f7d8b072f5bae

So X will work with the proposition in comment 14, but dri still won't work -
as TTM got disabled...


Any other helping ideas ? - If not I propose to not yet stabilize until this
issue gets a reliable resolution.

------- Comment #16 From Rémi Cardona 2009-02-27 12:53:24 0000 -------
(In reply to comment #15)
> So X will work with the proposition in comment 14, but dri still won't work -
> as TTM got disabled...

You'll get the old DRI, the one that existed long before TTM. The one that's
been available for the better part of this century. Yes, you'll get the warning
message that will tell you TTM is not available, but it's only a warning. Just
ignore it.

> Any other helping ideas ? - If not I propose to not yet stabilize until this
> issue gets a reliable resolution.

No, we will continue the stabilization effort. We cannot hold back so many
improvements any longer, even if some users are going to be temporarily left
out.

The real solution is to fix this upstream as there's nothing I can do to help
you, I'm just a packager.

Please try the libdrm/mesa/-intel combo I suggested, that should get you a
running system.

------- Comment #17 From Thomas Bettler 2009-02-27 13:06:48 0000 -------
Well, Rémi, I did already as you suggested try your combo and the result is
sloooooooow. GLPerformance is dropping from 400 to 25 !

Please consider upstream issues and don't blame all the intel users, only
favoring radeon and nvidia hardware.

------- Comment #18 From Rémi Cardona 2009-02-27 14:34:25 0000 -------
Listen, I'm not blaming users, I'm myself very much impacted by all the new
code that's hitting Xorg these days. I have an 855 laptop, I know it's
difficult.

Meanwhile, I want Gentoo to move on, like EVERY distro is doing. I know very
well this upgrade WILL upset some users, it's not something I enjoy doing.
Trust me, I'd rather things were different.

Try to understand *my* point of view when I say I *cannot* support every single
Intel laptop out there. We just can't, not with the resources we have.

So please, if you want to vent your frustration, go talk to upstream. They are
the *only* ones capable of fixing your bug.

Thanks

------- Comment #19 From Rémi Cardona 2009-02-27 14:35:54 0000 -------
Oh and for the record, the X11 team's policy is to never ever again get held up
by proprietary drivers.

With that in mind, I don't think it's fair for you to accuse us of favoring
those users...

------- Comment #20 From Pacho Ramos 2009-03-20 19:13:09 0000 -------
Has anyone tried
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/304871/comments/86
?

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug