After upgrading to x11-drivers/xf86-video-i810 - 1.7.3, I get the following exception when running X with beryl: (EE) I810(0): Failed to allocate texture space. (EE) AIGLX: Screen 0 is not DRI capable XGL Absent, checking for NVIDIA Nvidia Absent, checking for texture_from_pixmap texture_from_pixmap Present beryl: No GLXFBConfig for default depth, falling back on visinfo. Reloading all options. Backtrace: 0: X(xf86SigHandler+0x81) [0x80c0873] 1: [0xb7f78420] 2: /usr/lib/xorg/modules/extensions/libglx.so(__glXVendorPrivate+0x183) [0xb7c6d3f9] 3: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c714ba] 4: X(Dispatch+0x18f) [0x8085a66] 5: X(main+0x48e) [0x806e585] 6: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d22864] 7: X(FontFileCompleteXLFD+0xa9) [0x806d901] Fatal server error: Caught signal 4. Server aborting I had to downgrade back to 1.7.2-r1 for it to work again. seraph ~ # emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18.5 i686) ================================================================= System uname: 2.6.18.5 i686 Genuine Intel(R) CPU U2500 @ 1.20GHz Gentoo Base System version 1.12.6 Last Sync: Mon, 11 Dec 2006 21:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi aiglx alsa bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode esd fam firefox flac fortran gdbm gif glade glitz gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux ldap libg++ libnotify mad mikmod mmx mp3 mpeg msn ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png ppds pppd python qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl synaptics tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 vorbis win32codecs wma xml xorg xrandr xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
confirmed, same solution
I'm running Beryl on 1.7.3 right now. What versions of mesa and xorg-server do you have?
* media-libs/mesa Installed: 6.5.1-r1 * x11-base/xorg-server Installed: 1.1.1-r3 And the USE flags for them are: mesa: "nptl -debug -doc -hardened -motif" VIDEO_CARDS="i810 -mach64 -mga -none -r128 -radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via" xorg-server: "aiglx dri nptl sdl xorg -3dfx -debug -dmx -ipv6 -kdrive -minimal -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="i810 -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 -i740 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo"
Created attachment 103894 [details] My xorg.conf file
(In reply to comment #4) > Created an attachment (id=103894) [edit] > My xorg.conf file > I don't think that's the right file. It doesn't contain any references to the i810 driver. It'd also be useful to see your full Xorg log from the failed environment.
Created attachment 103897 [details] xorg.conf oppss... sorry about that. Here's the correct xorg.conf file
(In reply to comment #5) > > It'd also be useful to see your full Xorg log from the failed environment. > I'll attach that shortly
Created attachment 103901 [details] Xorg.0.log crash file I recompiled xf86-video-i810-1.7.3 and restarted X, attached is the crash log file. Use flags are: x11-drivers/xf86-video-i810-1.7.3 USE="dri -debug"
I see you're running a 2.6.18-series kernel. Try upgrading to 2.6.19 and see what happens.
(In reply to comment #9) > I see you're running a 2.6.18-series kernel. Try upgrading to 2.6.19 and see > what happens. > Still crashes - here's a diff between the two Xorg.log kernel versions: seraph log # diff Xorg.0.log.old Xorg.0.log 6c6 < Current Operating System: Linux seraph 2.6.18.5 #11 SMP Tue Dec 12 11:58:09 EST 2006 i686 --- > Current Operating System: Linux seraph 2.6.19 #2 SMP Tue Dec 12 20:32:44 EST 2006 i686 14c14 < (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 12 18:41:31 2006 --- > (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 12 20:39:56 2006 2198,2200c2198,2200 < (II) I810(0): Allocated 4 kB for HW cursor at 0xdfff000 (0x37929000) < (II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xdffb000 (0x3764c000) < (II) I810(0): Allocated 4 kB for Overlay registers at 0xdffa000 (0x375b4000). --- > (II) I810(0): Allocated 4 kB for HW cursor at 0xdfff000 (0x36ea6000) > (II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xdffb000 (0x36ed4000) > (II) I810(0): Allocated 4 kB for Overlay registers at 0xdffa000 (0x373a1000). 2218,2219c2218,2219 < (II) I810(0): [drm] added 8192 byte SAREA at 0xf88fd000 < (II) I810(0): [drm] mapped SAREA 0xf88fd000 to 0xb7a9f000 --- > (II) I810(0): [drm] added 8192 byte SAREA at 0xf8876000 > (II) I810(0): [drm] mapped SAREA 0xf8876000 to 0xb7b59000 2227c2227 < (II) I810(0): [drm] unmapping 8192 bytes of SAREA 0xf88fd000 at 0xb7a9f000 --- > (II) I810(0): [drm] unmapping 8192 bytes of SAREA 0xf8876000 at 0xb7b59000 2352,2361c2352,2358 < 1: [0xb7eff420] < 2: /usr/lib/xorg/modules/extensions/libGLcore.so(_mesa_free+0x1d) [0xa77934ec] < 3: /usr/lib/xorg/modules/extensions/libGLcore.so(XMesaDestroyVisual+0x1d) [0xa788808b] < 4: /usr/lib/xorg/modules/extensions/libGLcore.so [0xa7887684] < 5: /usr/lib/xorg/modules/extensions/libglx.so(__glXResetScreens+0x37) [0xb7bf8fe3] < 6: /usr/lib/xorg/modules/extensions/libglx.so [0xb7bf82a3] < 7: X(CloseDownExtensions+0x44) [0x8092375] < 8: X(main+0x4a8) [0x806e59f] < 9: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7ca9864] < 10: X(FontFileCompleteXLFD+0xa9) [0x806d901] --- > 1: [0xb7fb9420] > 2: /usr/lib/xorg/modules/extensions/libglx.so(__glXVendorPrivate+0x183) [0xb7cae3f9] > 3: /usr/lib/xorg/modules/extensions/libglx.so [0xb7cb24ba] > 4: X(Dispatch+0x18f) [0x8085a66] > 5: X(main+0x48e) [0x806e585] > 6: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d63864] > 7: X(FontFileCompleteXLFD+0xa9) [0x806d901] 2364c2361 < Caught signal 11. Server aborting --- > Caught signal 4. Server aborting seraph log # I think the main problem seems to be these two lines from the Xorg server log: (EE) I810(0): Failed to allocate texture space. (EE) AIGLX: Screen 0 is not DRI capable I'll play around abit with this kernel version to see if I can find anything.
I tried 2.6.19 with the 1.7.2-r1 drivers and it worked - no problem (seems a bit faster then 2.6.18.5). Retried with 1.7.3 and still no go. Some info about my chipset: 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) It's a Dell D420. I run 915resolution to set 1280x800. Let me know if you need anything else. I'll probably be going back to 2.6.18.5 for the time being.
Feel free to revert your kernel. What version of libdrm are you using?
(In reply to comment #12) > What version of libdrm are you using? > * x11-libs/libdrm Available versions: 2.0.1 2.0.2 2.3.0 Installed: 2.3.0 It's now working! After googling most of the xorg.conf options, it appears that the "VideoRam" option was causing the problem. I set it to 131072 and it now works with 1.7.3 in 2.6.18 and 2.6.19. Suspend/resume also works. Thanks for the help! I don't know why setting it to 224M would crash 1.7.3 but not 1.7.2. From the docs I've seen (and other searching), Intel 945GM is suppose to support upto 224M shared ram.
(In reply to comment #13) > It's now working! After googling most of the xorg.conf options, it appears that > the "VideoRam" option was causing the problem. I set it to 131072 and it now > works with 1.7.3 in 2.6.18 and 2.6.19. Suspend/resume also works. Thanks for > the help! I don't know why setting it to 224M would crash 1.7.3 but not 1.7.2. > From the docs I've seen (and other searching), Intel 945GM is suppose to > support upto 224M shared ram. > Good work! Although the chip can handle that much memory, it is often controlled by other means (ie. the BIOS). Setting it differently in the configuration does not actually change how much is assigned to the chip, but rather changes X's view on how much RAM should be available.