Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224789 - x11-drivers/xf86-video-intel-2.2.1 - Error in I830WaitLpRing
Summary: x11-drivers/xf86-video-intel-2.2.1 - Error in I830WaitLpRing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 18:18 UTC by Thorsten Lusser
Modified: 2009-02-02 10:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel configuration (2.6.25-tuxonice-r3) (config,52.43 KB, text/plain)
2008-06-03 18:24 UTC, Thorsten Lusser
Details
lspci -v (lspci.txt,8.44 KB, text/plain)
2008-06-03 18:25 UTC, Thorsten Lusser
Details
xorg.conf (xorg.conf,3.60 KB, text/plain)
2008-06-03 18:26 UTC, Thorsten Lusser
Details
tail -f /var/log/Xorg.0.log during resume (xcrash.txt,3.49 KB, text/plain)
2008-06-03 18:30 UTC, Thorsten Lusser
Details
Xserver packages installed (xpackages.txt,228 bytes, text/plain)
2008-06-04 16:23 UTC, Thorsten Lusser
Details
full Xorg.0.log (Xorg.0.log,32.78 KB, text/plain)
2008-06-04 16:23 UTC, Thorsten Lusser
Details
new xorfg.conf (xorg.conf,3.60 KB, text/plain)
2008-06-04 16:24 UTC, Thorsten Lusser
Details
xorg.conf (xorg.conf,3.55 KB, text/plain)
2008-06-05 07:29 UTC, Thorsten Lusser
Details
full Xorg.0.log (Xorg.0.log,32.74 KB, text/plain)
2008-06-05 07:30 UTC, Thorsten Lusser
Details
xorg.log when my x lockups, config described in my post (crash.xorg.log,20.35 KB, text/plain)
2008-09-15 03:11 UTC, Tobias Jakobi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Lusser 2008-06-03 18:18:27 UTC
Hallo!
I have a HP NC4200 Laptop with an "Intel 915 GM" GFX-Card. When i use the xf86-video-vesa driver s2ram works great, but when i use "xf86-video-i810" driver, version 2.1.1 X crashes. I can reboot the system by pressing the power button, or access the machine via ssh, but i have no chance to get X working.
Comment 1 Thorsten Lusser 2008-06-03 18:20:14 UTC
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r3 i686)
=================================================================
System uname: 2.6.25-tuxonice-r3 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Tue, 03 Jun 2008 16:07:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/desktop-effects /usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib accessibility acl avi beagle berkdb branding bzip2 cdparanoia cdr cli cracklib crypt cups dbus divx doc dri dv dvd dvdr dvdread encode fbcondecor ffmpeg flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg lame live mad midi mjpeg mmx mng mono mp3 mudflap ncurses nls nptl nptlonly ogg openmp pam pcre pdf perl png pppd python quicktime readline real reflection samba session spl sse sse2 ssl svg symlink tcpd truetype unicode vcd vidix vorbis win32codecs x86 xorg xv zlib" ALSA_CARDS="snd-intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vesa intel i810 i915"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-03 18:21:04 UTC
Not a bugzilla bug. Please file these bugs in Gentoo Linux product.
Comment 3 Thorsten Lusser 2008-06-03 18:24:20 UTC
Created attachment 155403 [details]
kernel configuration (2.6.25-tuxonice-r3)
Comment 4 Thorsten Lusser 2008-06-03 18:25:31 UTC
Created attachment 155405 [details]
lspci -v
Comment 5 Thorsten Lusser 2008-06-03 18:26:20 UTC
Created attachment 155407 [details]
xorg.conf
Comment 6 Thorsten Lusser 2008-06-03 18:30:41 UTC
Created attachment 155409 [details]
tail -f /var/log/Xorg.0.log during resume
Comment 7 Thorsten Lusser 2008-06-03 18:50:05 UTC
(In reply to comment #2)
> Not a bugzilla bug. Please file these bugs in Gentoo Linux product.
> 

This is my fist Bugreport. Is it now correct placed?
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2008-06-04 05:26:23 UTC
Please try with xorg-server 1.4.0.90 and with xf86-video-i810 2.3.1

Thanks
Comment 9 Thorsten Lusser 2008-06-04 16:21:40 UTC
Hi!

I upgraded the driver, but now i get a black screen. I can access the box via ssh, but X seems to be dead. In the new Attachments you can find the installed packages and the new X log file.

regards Thorsten
Comment 10 Thorsten Lusser 2008-06-04 16:23:02 UTC
Created attachment 155515 [details]
Xserver packages installed
Comment 11 Thorsten Lusser 2008-06-04 16:23:45 UTC
Created attachment 155517 [details]
full Xorg.0.log
Comment 12 Thorsten Lusser 2008-06-04 16:24:13 UTC
Created attachment 155519 [details]
new xorfg.conf
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2008-06-04 22:19:31 UTC
(In reply to comment #12)
> Created an attachment (id=155519) [edit]
> new xorfg.conf

Your Device and Monitor sections contain way too much stuff. The i810 driver is now very clever about getting those things right.

Please try removing :
 - the BusID and all Option lines from the Device section
 - HorizSync, VertRefresh and Gamma lines from the Monitor section

Thanks
Comment 14 Thorsten Lusser 2008-06-05 07:28:07 UTC
> Please try removing :
>  - the BusID and all Option lines from the Device section
>  - HorizSync, VertRefresh and Gamma lines from the Monitor section
>

I removed the options from xorg.conf but there is no change. I get a black screen again. See my xorg.conf where i commented out the lines. I will also attach the Xorg.0.log file.

regards Thorsten
Comment 15 Thorsten Lusser 2008-06-05 07:29:59 UTC
Created attachment 155559 [details]
xorg.conf
Comment 16 Thorsten Lusser 2008-06-05 07:30:29 UTC
Created attachment 155561 [details]
full Xorg.0.log
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2008-06-05 08:57:44 UTC
Alright, well there's little else I can do for you. Please :

 - read this howto http://intellinuxgraphics.org/how_to_report_bug.html
 - open a bug over at http://bugs.freedesktop.org/
 - add "remi@gentoo.org" as a CC on that bug

Thanks
Comment 18 Rémi Cardona (RETIRED) gentoo-dev 2008-06-05 10:59:42 UTC
Thanks for reporting upstream. I'll track the outcome there
Comment 19 Thorsten Lusser 2008-06-09 16:34:18 UTC
I think i found the problem:
xf86-video-i810 depends on "x11-libs/libpciaccess" but this package is not in the portage only in a portage-overlay.

Could someone put this dependency in the ebuild an provide the ebuild from x11-libs/libpciaccess into portage? (xf86-video-i810 version 2.3.1-r1 needs x11-libs/libpciaccess version 0.10 or higher)

regards Thorsten
Comment 20 Rémi Cardona (RETIRED) gentoo-dev 2008-06-09 17:16:07 UTC
(In reply to comment #19)
> I think i found the problem:
> xf86-video-i810 depends on "x11-libs/libpciaccess" but this package is not in
> the portage only in a portage-overlay.
> 
> Could someone put this dependency in the ebuild an provide the ebuild from
> x11-libs/libpciaccess into portage? (xf86-video-i810 version 2.3.1-r1 needs
> x11-libs/libpciaccess version 0.10 or higher)

Nope, 2.3.1-r1 builds fine without libpciaccess and so do all the drivers currently in portage. We will be adding libpciaccess support for xorg-server 1.5. You can use the latest git driver with xorg-server 1.4, but you'll need to edit the overlay ebuild to drop libpciaccess support.

Or you can use the x11 overlay entirely.

But for now, libpciaccess will not be used for xorg-server 1.4 as it is broken and the server-side API changed quite a bit.

Could you tell me a bit more which combination of versions finally solved your issues?

Thanks for tracking this bug all the way :)
Comment 21 Thorsten Lusser 2008-06-09 18:05:48 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > I think i found the problem:
> > xf86-video-i810 depends on "x11-libs/libpciaccess" but this package is not in
> > the portage only in a portage-overlay.
> > 
> > Could someone put this dependency in the ebuild an provide the ebuild from
> > x11-libs/libpciaccess into portage? (xf86-video-i810 version 2.3.1-r1 needs
> > x11-libs/libpciaccess version 0.10 or higher)
> 
> Nope, 2.3.1-r1 builds fine without libpciaccess and so do all the drivers
> currently in portage. We will be adding libpciaccess support for xorg-server
> 1.5. You can use the latest git driver with xorg-server 1.4, but you'll need to
> edit the overlay ebuild to drop libpciaccess support.
> 
> Or you can use the x11 overlay entirely.
> 
> But for now, libpciaccess will not be used for xorg-server 1.4 as it is broken
> and the server-side API changed quite a bit.
> 
> Could you tell me a bit more which combination of versions finally solved your
> issues?
I installed following packages:

   * x11-drivers/xf86-video-i810-2.3.1-r1
   * x11-libs/libpciaccess-0.10.2 from the x11 overlay
   * x11-base/xorg-server-1.4.0.90-r3

> Thanks for tracking this bug all the way :)
No problem.

If you have any further questions feel free to ask ;)

I think debian uses libpciaccess to build the xserver-xorg-video-intel driver...


Comment 22 Rémi Cardona (RETIRED) gentoo-dev 2008-06-09 18:39:17 UTC
(In reply to comment #21)
>    * x11-libs/libpciaccess-0.10.2 from the x11 overlay

Could you attach the full output when building the intel driver with libpciaccess on the system? I just want to make sure that it does get picked up. Because if libpciaccess is the only piece that solves your issue, then you need to let upstream know about it. I think Jesse Barnes did not understand your message properly :)

> I think debian uses libpciaccess to build the xserver-xorg-video-intel
> driver...

We'll eventually use it, but for xorg R7.4 which should be available before the summer (hopefully...) The problem is, both the server and drivers need to be rebuilt to use libpciaccess.

Thanks
Comment 23 Rémi Cardona (RETIRED) gentoo-dev 2008-08-29 15:00:18 UTC
Reassigning back to x11 as I am now on that alias.
Comment 24 Tobias Jakobi 2008-09-15 03:10:37 UTC
I can confirm this with xf86-video-i810-2.4.2-r1, libdrm-2.3.1, mesa-7.1, xorg-server-1.5.0 and gentoo-sources-2.6.26-r1 (DRM module built from kernel sources).

Gonna attach my xorg.log from the crash. This lockup already happened twice this day, so it's REALLY annoying, because I always have to restart the whole system (ACPI keys still work) to get it working again.

Greets,
Tobias
Comment 25 Tobias Jakobi 2008-09-15 03:11:13 UTC
Created attachment 165453 [details]
xorg.log when my x lockups, config described in my post
Comment 26 Rémi Cardona (RETIRED) gentoo-dev 2008-09-15 05:49:53 UTC
Tobias,

Could you please open a bug in freedesktop's bugzilla? The one Thorsten opened was somewhat invalid. Now that xorg-server 1.5 is available, it should be easier to find out what the issue is.

Thanks
Comment 27 Tobias Jakobi 2008-09-15 20:19:09 UTC
This bug is already filed at the FDO bugzilla by me:
https://bugs.freedesktop.org/show_bug.cgi?id=16521

Maybe it has a wrong description and the issue is much bigger.

At least with my current mesa setup I don't have any FBO extension exported by the driver.

I'm going to update the bug and include the new log with further information.
Comment 28 Rémi Cardona (RETIRED) gentoo-dev 2008-10-24 00:20:30 UTC
Any changes with newer drivers?

Thanks
Comment 29 Tobias Jakobi 2008-10-24 13:08:09 UTC
Currently using the git 2.5-branch here. I don't experience the issue anymore during normal operation, but I still can hang the system with the fbo firecube demo.
So it's still not fixed properly.
Comment 30 Rémi Cardona (RETIRED) gentoo-dev 2008-10-24 13:14:41 UTC
Keep bugging upstream, stay on the radar :)

Thanks for the follow up
Comment 31 Rémi Cardona (RETIRED) gentoo-dev 2009-02-02 10:24:29 UTC
It seems this bug has been fixed by upstream. If you have any more issues, don't hesitate to open a new bug or to reopen this one if the symptoms are the same.

Thanks